Skip to content

Commit 8840432

Browse files
feat(beyondcorp): update the api
#### beyondcorp:v1 The following keys were deleted: - resources.projects.resources.locations.resources.securityGateways.methods.setPeering (Total Keys: 12) - schemas.GoogleCloudBeyondcorpSecuritygatewaysV1Peering (Total Keys: 5) - schemas.GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest (Total Keys: 6) #### beyondcorp:v1alpha The following keys were deleted: - resources.projects.resources.locations.resources.securityGateways.methods.setPeering (Total Keys: 12) - schemas.GoogleCloudBeyondcorpSecuritygatewaysV1alphaPeering (Total Keys: 5) - schemas.GoogleCloudBeyondcorpSecuritygatewaysV1alphaSetPeeringRequest (Total Keys: 6)
1 parent 5463175 commit 8840432

File tree

4 files changed

+2
-246
lines changed

4 files changed

+2
-246
lines changed

docs/dyn/beyondcorp_v1.projects.locations.securityGateways.html

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ <h2>Instance Methods</h2>
106106
<p class="toc_element">
107107
<code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
108108
<p class="firstline">Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.</p>
109-
<p class="toc_element">
110-
<code><a href="#setPeering">setPeering(securityGateway, body=None, x__xgafv=None)</a></code></p>
111-
<p class="firstline">This is a custom method to allow customers to create a peering connections between Google network and customer networks. This is enabled only for the allowlisted customers.</p>
112109
<p class="toc_element">
113110
<code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
114111
<p class="firstline">Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.</p>
@@ -504,57 +501,6 @@ <h3>Method Details</h3>
504501
}</pre>
505502
</div>
506503

507-
<div class="method">
508-
<code class="details" id="setPeering">setPeering(securityGateway, body=None, x__xgafv=None)</code>
509-
<pre>This is a custom method to allow customers to create a peering connections between Google network and customer networks. This is enabled only for the allowlisted customers.
510-
511-
Args:
512-
securityGateway: string, Required. BeyondCorp SecurityGateway name using the form: `projects/{project}/locations/{location}/securityGateways/{security_gateway}` (required)
513-
body: object, The request body.
514-
The object takes the form of:
515-
516-
{ # Set Peering request for creating a VPC peering between Google network and customer networks.
517-
&quot;peerings&quot;: [ # Required. List of Peering connection information.
518-
{ # VPC Peering details.
519-
&quot;dnsZones&quot;: [ # Optional. List of DNS zones for DNS peering with the customer VPC network.
520-
&quot;A String&quot;,
521-
],
522-
&quot;targetNetwork&quot;: &quot;A String&quot;, # Required. The name of the Target VPC network name in the format: `projects/{project}/global/networks/{network}
523-
},
524-
],
525-
&quot;requestId&quot;: &quot;A String&quot;, # Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
526-
&quot;validateOnly&quot;: True or False, # Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.
527-
}
528-
529-
x__xgafv: string, V1 error format.
530-
Allowed values
531-
1 - v1 error format
532-
2 - v2 error format
533-
534-
Returns:
535-
An object of the form:
536-
537-
{ # This resource represents a long-running operation that is the result of a network API call.
538-
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
539-
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
540-
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
541-
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
542-
{
543-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
544-
},
545-
],
546-
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
547-
},
548-
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
549-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
550-
},
551-
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
552-
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
553-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
554-
},
555-
}</pre>
556-
</div>
557-
558504
<div class="method">
559505
<code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
560506
<pre>Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may &quot;fail open&quot; without warning.

docs/dyn/beyondcorp_v1alpha.projects.locations.securityGateways.html

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ <h2>Instance Methods</h2>
106106
<p class="toc_element">
107107
<code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
108108
<p class="firstline">Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.</p>
109-
<p class="toc_element">
110-
<code><a href="#setPeering">setPeering(securityGateway, body=None, x__xgafv=None)</a></code></p>
111-
<p class="firstline">This is a custom method to allow customers to create a peering connections between Google network and customer networks. This is enabled only for the allowlisted customers.</p>
112109
<p class="toc_element">
113110
<code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
114111
<p class="firstline">Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.</p>
@@ -504,57 +501,6 @@ <h3>Method Details</h3>
504501
}</pre>
505502
</div>
506503

507-
<div class="method">
508-
<code class="details" id="setPeering">setPeering(securityGateway, body=None, x__xgafv=None)</code>
509-
<pre>This is a custom method to allow customers to create a peering connections between Google network and customer networks. This is enabled only for the allowlisted customers.
510-
511-
Args:
512-
securityGateway: string, Required. BeyondCorp SecurityGateway name using the form: `projects/{project}/locations/{location}/securityGateways/{security_gateway}` (required)
513-
body: object, The request body.
514-
The object takes the form of:
515-
516-
{ # Set Peering request for creating a VPC peering between Google network and customer networks.
517-
&quot;peerings&quot;: [ # Required. List of Peering connection information.
518-
{ # VPC Peering details.
519-
&quot;dnsZones&quot;: [ # Optional. List of DNS zones for DNS peering with the customer VPC network.
520-
&quot;A String&quot;,
521-
],
522-
&quot;targetNetwork&quot;: &quot;A String&quot;, # Required. The name of the Target VPC network name in the format: `projects/{project}/global/networks/{network}
523-
},
524-
],
525-
&quot;requestId&quot;: &quot;A String&quot;, # Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
526-
&quot;validateOnly&quot;: True or False, # Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.
527-
}
528-
529-
x__xgafv: string, V1 error format.
530-
Allowed values
531-
1 - v1 error format
532-
2 - v2 error format
533-
534-
Returns:
535-
An object of the form:
536-
537-
{ # This resource represents a long-running operation that is the result of a network API call.
538-
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
539-
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
540-
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
541-
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
542-
{
543-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
544-
},
545-
],
546-
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
547-
},
548-
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
549-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
550-
},
551-
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
552-
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
553-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
554-
},
555-
}</pre>
556-
</div>
557-
558504
<div class="method">
559505
<code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
560506
<pre>Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may &quot;fail open&quot; without warning.

googleapiclient/discovery_cache/documents/beyondcorp.v1.json

Lines changed: 1 addition & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -2197,34 +2197,6 @@
21972197
"https://www.googleapis.com/auth/cloud-platform"
21982198
]
21992199
},
2200-
"setPeering": {
2201-
"description": "This is a custom method to allow customers to create a peering connections between Google network and customer networks. This is enabled only for the allowlisted customers.",
2202-
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}:setPeering",
2203-
"httpMethod": "POST",
2204-
"id": "beyondcorp.projects.locations.securityGateways.setPeering",
2205-
"parameterOrder": [
2206-
"securityGateway"
2207-
],
2208-
"parameters": {
2209-
"securityGateway": {
2210-
"description": "Required. BeyondCorp SecurityGateway name using the form: `projects/{project}/locations/{location}/securityGateways/{security_gateway}`",
2211-
"location": "path",
2212-
"pattern": "^projects/[^/]+/locations/[^/]+/securityGateways/[^/]+$",
2213-
"required": true,
2214-
"type": "string"
2215-
}
2216-
},
2217-
"path": "v1/{+securityGateway}:setPeering",
2218-
"request": {
2219-
"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest"
2220-
},
2221-
"response": {
2222-
"$ref": "GoogleLongrunningOperation"
2223-
},
2224-
"scopes": [
2225-
"https://www.googleapis.com/auth/cloud-platform"
2226-
]
2227-
},
22282200
"testIamPermissions": {
22292201
"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
22302202
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/securityGateways/{securityGatewaysId}:testIamPermissions",
@@ -2431,7 +2403,7 @@
24312403
}
24322404
}
24332405
},
2434-
"revision": "20241024",
2406+
"revision": "20241106",
24352407
"rootUrl": "https://beyondcorp.googleapis.com/",
24362408
"schemas": {
24372409
"AllocatedConnection": {
@@ -3791,24 +3763,6 @@
37913763
},
37923764
"type": "object"
37933765
},
3794-
"GoogleCloudBeyondcorpSecuritygatewaysV1Peering": {
3795-
"description": "VPC Peering details.",
3796-
"id": "GoogleCloudBeyondcorpSecuritygatewaysV1Peering",
3797-
"properties": {
3798-
"dnsZones": {
3799-
"description": "Optional. List of DNS zones for DNS peering with the customer VPC network.",
3800-
"items": {
3801-
"type": "string"
3802-
},
3803-
"type": "array"
3804-
},
3805-
"targetNetwork": {
3806-
"description": "Required. The name of the Target VPC network name in the format: `projects/{project}/global/networks/{network}",
3807-
"type": "string"
3808-
}
3809-
},
3810-
"type": "object"
3811-
},
38123766
"GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway": {
38133767
"description": "Information about a BeyoncCorp SecurityGateway resource.",
38143768
"id": "GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway",
@@ -3918,28 +3872,6 @@
39183872
},
39193873
"type": "object"
39203874
},
3921-
"GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest": {
3922-
"description": "Set Peering request for creating a VPC peering between Google network and customer networks.",
3923-
"id": "GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest",
3924-
"properties": {
3925-
"peerings": {
3926-
"description": "Required. List of Peering connection information.",
3927-
"items": {
3928-
"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1Peering"
3929-
},
3930-
"type": "array"
3931-
},
3932-
"requestId": {
3933-
"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
3934-
"type": "string"
3935-
},
3936-
"validateOnly": {
3937-
"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.",
3938-
"type": "boolean"
3939-
}
3940-
},
3941-
"type": "object"
3942-
},
39433875
"GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata": {
39443876
"description": "Represents the metadata of the long-running operation.",
39453877
"id": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata",

0 commit comments

Comments
 (0)