From 1c4dc68628f10c098f999fb4fa065c1f6a5c41b8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 12 Mar 2024 07:08:23 +0000 Subject: [PATCH] feat(beyondcorp): update the api #### beyondcorp:v1 The following keys were added: - schemas.GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata (Total Keys: 18) #### beyondcorp:v1alpha The following keys were added: - resources.projects.resources.locations.resources.global.resources.securityGateways.methods.create (Total Keys: 16) - resources.projects.resources.locations.resources.global.resources.securityGateways.methods.delete (Total Keys: 15) - resources.projects.resources.locations.resources.global.resources.securityGateways.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.global.resources.securityGateways.methods.list (Total Keys: 20) - resources.projects.resources.locations.resources.global.resources.securityGateways.methods.patch (Total Keys: 17) - schemas.GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse (Total Keys: 7) - schemas.GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig (Total Keys: 6) - schemas.GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway (Total Keys: 32) --- ...s.global_.partnerTenants.proxyConfigs.html | 8 +- ...rp_v1alpha.projects.locations.global_.html | 91 +++++ ...ts.locations.global_.securityGateways.html | 341 ++++++++++++++++++ ...beyondcorp_v1alpha.projects.locations.html | 5 + .../documents/beyondcorp.v1.json | 46 ++- .../documents/beyondcorp.v1alpha.json | 340 ++++++++++++++++- 6 files changed, 824 insertions(+), 7 deletions(-) create mode 100644 docs/dyn/beyondcorp_v1alpha.projects.locations.global_.html create mode 100644 docs/dyn/beyondcorp_v1alpha.projects.locations.global_.securityGateways.html diff --git a/docs/dyn/beyondcorp_v1alpha.organizations.locations.global_.partnerTenants.proxyConfigs.html b/docs/dyn/beyondcorp_v1alpha.organizations.locations.global_.partnerTenants.proxyConfigs.html index 8c11b0327fd..4f3b282067b 100644 --- a/docs/dyn/beyondcorp_v1alpha.organizations.locations.global_.partnerTenants.proxyConfigs.html +++ b/docs/dyn/beyondcorp_v1alpha.organizations.locations.global_.partnerTenants.proxyConfigs.html @@ -131,7 +131,7 @@

Method Details

"routingInfo": { # Message contains the routing information to direct traffic to the proxy server. # Required. Routing info to direct traffic to the proxy server. "pacUri": "A String", # Required. Proxy Auto-Configuration (PAC) URI. }, - "transportInfo": { # Message contains the transport layer information to verify the proxy server. # Required. Transport layer information to verify for the proxy server. + "transportInfo": { # Message contains the transport layer information to verify the proxy server. # Optional. Transport layer information to verify for the proxy server. "serverCaCertPem": "A String", # Required. PEM encoded CA certificate associated with the proxy server certificate. "sslDecryptCaCertPem": "A String", # Optional. PEM encoded CA certificate associated with the certificate used by proxy server for SSL decryption. }, @@ -230,7 +230,7 @@

Method Details

"routingInfo": { # Message contains the routing information to direct traffic to the proxy server. # Required. Routing info to direct traffic to the proxy server. "pacUri": "A String", # Required. Proxy Auto-Configuration (PAC) URI. }, - "transportInfo": { # Message contains the transport layer information to verify the proxy server. # Required. Transport layer information to verify for the proxy server. + "transportInfo": { # Message contains the transport layer information to verify the proxy server. # Optional. Transport layer information to verify for the proxy server. "serverCaCertPem": "A String", # Required. PEM encoded CA certificate associated with the proxy server certificate. "sslDecryptCaCertPem": "A String", # Optional. PEM encoded CA certificate associated with the certificate used by proxy server for SSL decryption. }, @@ -319,7 +319,7 @@

Method Details

"routingInfo": { # Message contains the routing information to direct traffic to the proxy server. # Required. Routing info to direct traffic to the proxy server. "pacUri": "A String", # Required. Proxy Auto-Configuration (PAC) URI. }, - "transportInfo": { # Message contains the transport layer information to verify the proxy server. # Required. Transport layer information to verify for the proxy server. + "transportInfo": { # Message contains the transport layer information to verify the proxy server. # Optional. Transport layer information to verify for the proxy server. "serverCaCertPem": "A String", # Required. PEM encoded CA certificate associated with the proxy server certificate. "sslDecryptCaCertPem": "A String", # Optional. PEM encoded CA certificate associated with the certificate used by proxy server for SSL decryption. }, @@ -364,7 +364,7 @@

Method Details

"routingInfo": { # Message contains the routing information to direct traffic to the proxy server. # Required. Routing info to direct traffic to the proxy server. "pacUri": "A String", # Required. Proxy Auto-Configuration (PAC) URI. }, - "transportInfo": { # Message contains the transport layer information to verify the proxy server. # Required. Transport layer information to verify for the proxy server. + "transportInfo": { # Message contains the transport layer information to verify the proxy server. # Optional. Transport layer information to verify for the proxy server. "serverCaCertPem": "A String", # Required. PEM encoded CA certificate associated with the proxy server certificate. "sslDecryptCaCertPem": "A String", # Optional. PEM encoded CA certificate associated with the certificate used by proxy server for SSL decryption. }, diff --git a/docs/dyn/beyondcorp_v1alpha.projects.locations.global_.html b/docs/dyn/beyondcorp_v1alpha.projects.locations.global_.html new file mode 100644 index 00000000000..da0de82d550 --- /dev/null +++ b/docs/dyn/beyondcorp_v1alpha.projects.locations.global_.html @@ -0,0 +1,91 @@ + + + +

BeyondCorp API . projects . locations . global_

+

Instance Methods

+

+ securityGateways() +

+

Returns the securityGateways Resource.

+ +

+ close()

+

Close httplib2 connections.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ + \ No newline at end of file diff --git a/docs/dyn/beyondcorp_v1alpha.projects.locations.global_.securityGateways.html b/docs/dyn/beyondcorp_v1alpha.projects.locations.global_.securityGateways.html new file mode 100644 index 00000000000..16b1c14a797 --- /dev/null +++ b/docs/dyn/beyondcorp_v1alpha.projects.locations.global_.securityGateways.html @@ -0,0 +1,341 @@ + + + +

BeyondCorp API . projects . locations . global_ . securityGateways

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ create(parent, body=None, requestId=None, securityGatewayId=None, x__xgafv=None)

+

Creates a new SecurityGateway in a given project and global location.

+

+ delete(name, requestId=None, validateOnly=None, x__xgafv=None)

+

Deletes a single SecurityGateway.

+

+ get(name, x__xgafv=None)

+

Gets details of a single SecurityGateway.

+

+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)

+

Lists SecurityGateways in a given project and global location.

+

+ list_next()

+

Retrieves the next page of results.

+

+ patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)

+

Updates the parameters of a single SecurityGateway.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ create(parent, body=None, requestId=None, securityGatewayId=None, x__xgafv=None) +
Creates a new SecurityGateway in a given project and global location.
+
+Args:
+  parent: string, Required. The resource project name of the SecurityGateway location using the form: `projects/{project_id}/locations/global` (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Information about a BeyoncCorp SecurityGateway resource.
+  "createTime": "A String", # Output only. Timestamp when the resource was created.
+  "displayName": "A String", # Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
+  "name": "A String", # Identifier. Name of the resource.
+  "regionConfigs": [ # Optional. List of regions where the egress connectivity is required.
+    { # Message contains the configuration for each supported region for the securityGateway instance.
+      "egressIpAddresses": [ # Output only. External IP addresses that will be used for establishing connection to the egress endpoints.
+        "A String",
+      ],
+      "region": "A String", # Required. The region where the egress connectivity is required.
+    },
+  ],
+  "state": "A String", # Output only. The operational state of the SecurityGateway.
+  "updateTime": "A String", # Output only. Timestamp when the resource was last modified.
+}
+
+  requestId: string, 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 request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
+  securityGatewayId: string, Optional. User-settable SecurityGateway resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or letter.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+  "done": 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.
+  "error": { # 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.
+    "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+    "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+      {
+        "a_key": "", # Properties of the object. Contains field @type with type URL.
+      },
+    ],
+    "message": "A String", # 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.
+  },
+  "metadata": { # 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.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+  "name": "A String", # 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}`.
+  "response": { # 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`.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+}
+
+ +
+ delete(name, requestId=None, validateOnly=None, x__xgafv=None) +
Deletes a single SecurityGateway.
+
+Args:
+  name: string, Required. BeyondCorp SecurityGateway name using the form: `projects/{project_id}/locations/global/securityGateways/{security_gateway_id}` (required)
+  requestId: string, 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 after 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).
+  validateOnly: boolean, Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+  "done": 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.
+  "error": { # 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.
+    "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+    "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+      {
+        "a_key": "", # Properties of the object. Contains field @type with type URL.
+      },
+    ],
+    "message": "A String", # 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.
+  },
+  "metadata": { # 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.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+  "name": "A String", # 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}`.
+  "response": { # 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`.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+}
+
+ +
+ get(name, x__xgafv=None) +
Gets details of a single SecurityGateway.
+
+Args:
+  name: string, Required. The resource name of the PartnerTenant using the form: `projects/{project_id}/locations/global/securityGateway/{security_gateway_id}` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Information about a BeyoncCorp SecurityGateway resource.
+  "createTime": "A String", # Output only. Timestamp when the resource was created.
+  "displayName": "A String", # Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
+  "name": "A String", # Identifier. Name of the resource.
+  "regionConfigs": [ # Optional. List of regions where the egress connectivity is required.
+    { # Message contains the configuration for each supported region for the securityGateway instance.
+      "egressIpAddresses": [ # Output only. External IP addresses that will be used for establishing connection to the egress endpoints.
+        "A String",
+      ],
+      "region": "A String", # Required. The region where the egress connectivity is required.
+    },
+  ],
+  "state": "A String", # Output only. The operational state of the SecurityGateway.
+  "updateTime": "A String", # Output only. Timestamp when the resource was last modified.
+}
+
+ +
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists SecurityGateways in a given project and global location.
+
+Args:
+  parent: string, Required. The parent location to which the resources belong. `projects/{project_id}/locations/global/` (required)
+  filter: string, Optional. A filter specifying constraints of a list operation. All fields in the SecurityGateway message are supported. For example, the following query will return the SecurityGateway with displayName "test-security-gateway" For more information, please refer to https://google.aip.dev/160.
+  orderBy: string, Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.
+  pageSize: integer, Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.
+  pageToken: string, Optional. The next_page_token value returned from a previous ListSecurityGatewayRequest, if any.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Message for response to listing SecurityGateways.
+  "nextPageToken": "A String", # A token to retrieve the next page of results, or empty if there are no more results in the list.
+  "securityGateways": [ # A list of BeyondCorp SecurityGateway in the project.
+    { # Information about a BeyoncCorp SecurityGateway resource.
+      "createTime": "A String", # Output only. Timestamp when the resource was created.
+      "displayName": "A String", # Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
+      "name": "A String", # Identifier. Name of the resource.
+      "regionConfigs": [ # Optional. List of regions where the egress connectivity is required.
+        { # Message contains the configuration for each supported region for the securityGateway instance.
+          "egressIpAddresses": [ # Output only. External IP addresses that will be used for establishing connection to the egress endpoints.
+            "A String",
+          ],
+          "region": "A String", # Required. The region where the egress connectivity is required.
+        },
+      ],
+      "state": "A String", # Output only. The operational state of the SecurityGateway.
+      "updateTime": "A String", # Output only. Timestamp when the resource was last modified.
+    },
+  ],
+  "unreachable": [ # A list of locations that could not be reached.
+    "A String",
+  ],
+}
+
+ +
+ list_next() +
Retrieves the next page of results.
+
+        Args:
+          previous_request: The request for the previous page. (required)
+          previous_response: The response from the request for the previous page. (required)
+
+        Returns:
+          A request object that you can call 'execute()' on to request the next
+          page. Returns None if there are no more items in the collection.
+        
+
+ +
+ patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None) +
Updates the parameters of a single SecurityGateway.
+
+Args:
+  name: string, Identifier. Name of the resource. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # Information about a BeyoncCorp SecurityGateway resource.
+  "createTime": "A String", # Output only. Timestamp when the resource was created.
+  "displayName": "A String", # Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.
+  "name": "A String", # Identifier. Name of the resource.
+  "regionConfigs": [ # Optional. List of regions where the egress connectivity is required.
+    { # Message contains the configuration for each supported region for the securityGateway instance.
+      "egressIpAddresses": [ # Output only. External IP addresses that will be used for establishing connection to the egress endpoints.
+        "A String",
+      ],
+      "region": "A String", # Required. The region where the egress connectivity is required.
+    },
+  ],
+  "state": "A String", # Output only. The operational state of the SecurityGateway.
+  "updateTime": "A String", # Output only. Timestamp when the resource was last modified.
+}
+
+  requestId: string, 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 after the first request. For example, consider a situation where you make an initial request and the request timed 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).
+  updateMask: string, Required. Mutable fields include: display_name, gateway_regions.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+  "done": 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.
+  "error": { # 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.
+    "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+    "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+      {
+        "a_key": "", # Properties of the object. Contains field @type with type URL.
+      },
+    ],
+    "message": "A String", # 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.
+  },
+  "metadata": { # 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.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+  "name": "A String", # 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}`.
+  "response": { # 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`.
+    "a_key": "", # Properties of the object. Contains field @type with type URL.
+  },
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/beyondcorp_v1alpha.projects.locations.html b/docs/dyn/beyondcorp_v1alpha.projects.locations.html index e7fd7ab23bd..73445c02e56 100644 --- a/docs/dyn/beyondcorp_v1alpha.projects.locations.html +++ b/docs/dyn/beyondcorp_v1alpha.projects.locations.html @@ -119,6 +119,11 @@

Instance Methods

Returns the connectors Resource.

+

+ global_() +

+

Returns the global_ Resource.

+

insights()

diff --git a/googleapiclient/discovery_cache/documents/beyondcorp.v1.json b/googleapiclient/discovery_cache/documents/beyondcorp.v1.json index 2305395beff..b1ee8fa3d11 100644 --- a/googleapiclient/discovery_cache/documents/beyondcorp.v1.json +++ b/googleapiclient/discovery_cache/documents/beyondcorp.v1.json @@ -1804,7 +1804,7 @@ } } }, -"revision": "20240221", +"revision": "20240228", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { @@ -3015,6 +3015,50 @@ }, "type": "object" }, +"GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudLocationListLocationsResponse": { "description": "The response message for Locations.ListLocations.", "id": "GoogleCloudLocationListLocationsResponse", diff --git a/googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json b/googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json index 38cfe768c13..50966e22dee 100644 --- a/googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +++ b/googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json @@ -3302,6 +3302,197 @@ } } }, +"global": { +"resources": { +"securityGateways": { +"methods": { +"create": { +"description": "Creates a new SecurityGateway in a given project and global location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/global/securityGateways", +"httpMethod": "POST", +"id": "beyondcorp.projects.locations.global.securityGateways.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource project name of the SecurityGateway location using the form: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"requestId": { +"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 request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.", +"location": "query", +"type": "string" +}, +"securityGatewayId": { +"description": "Optional. User-settable SecurityGateway resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or letter.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/securityGateways", +"request": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single SecurityGateway.", +"flatPath": "v1alpha/projects/{projectsId}/locations/global/securityGateways/{securityGatewaysId}", +"httpMethod": "DELETE", +"id": "beyondcorp.projects.locations.global.securityGateways.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. BeyondCorp SecurityGateway name using the form: `projects/{project_id}/locations/global/securityGateways/{security_gateway_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/securityGateways/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"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 after 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).", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single SecurityGateway.", +"flatPath": "v1alpha/projects/{projectsId}/locations/global/securityGateways/{securityGatewaysId}", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.global.securityGateways.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the PartnerTenant using the form: `projects/{project_id}/locations/global/securityGateway/{security_gateway_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/securityGateways/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists SecurityGateways in a given project and global location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/global/securityGateways", +"httpMethod": "GET", +"id": "beyondcorp.projects.locations.global.securityGateways.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter specifying constraints of a list operation. All fields in the SecurityGateway message are supported. For example, the following query will return the SecurityGateway with displayName \"test-security-gateway\" For more information, please refer to https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous ListSecurityGatewayRequest, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent location to which the resources belong. `projects/{project_id}/locations/global/`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/securityGateways", +"response": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single SecurityGateway.", +"flatPath": "v1alpha/projects/{projectsId}/locations/global/securityGateways/{securityGatewaysId}", +"httpMethod": "PATCH", +"id": "beyondcorp.projects.locations.global.securityGateways.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Name of the resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/securityGateways/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"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 after the first request. For example, consider a situation where you make an initial request and the request timed 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).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Mutable fields include: display_name, gateway_regions.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, "insights": { "methods": { "configuredInsight": { @@ -3716,7 +3907,7 @@ } } }, -"revision": "20240221", +"revision": "20240228", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { @@ -5319,7 +5510,7 @@ }, "transportInfo": { "$ref": "GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo", -"description": "Required. Transport layer information to verify for the proxy server." +"description": "Optional. Transport layer information to verify for the proxy server." }, "updateTime": { "description": "Output only. Timestamp when the resource was last modified.", @@ -5815,6 +6006,151 @@ }, "type": "object" }, +"GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse": { +"description": "Message for response to listing SecurityGateways.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"securityGateways": { +"description": "A list of BeyondCorp SecurityGateway in the project.", +"items": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway" +}, +"type": "array" +}, +"unreachable": { +"description": "A list of locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig": { +"description": "Message contains the configuration for each supported region for the securityGateway instance.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig", +"properties": { +"egressIpAddresses": { +"description": "Output only. External IP addresses that will be used for establishing connection to the egress endpoints.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"region": { +"description": "Required. The region where the egress connectivity is required.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway": { +"description": "Information about a BeyoncCorp SecurityGateway resource.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway", +"properties": { +"createTime": { +"description": "Output only. Timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters.", +"type": "string" +}, +"name": { +"description": "Identifier. Name of the resource.", +"type": "string" +}, +"regionConfigs": { +"description": "Optional. List of regions where the egress connectivity is required.", +"items": { +"$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig" +}, +"type": "array" +}, +"state": { +"description": "Output only. The operational state of the SecurityGateway.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"UPDATING", +"DELETING", +"RUNNING", +"DOWN", +"ERROR" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"SecurityGateway is being created.", +"SecurityGateway is being updated.", +"SecurityGateway is being deleted.", +"SecurityGateway is running.", +"SecurityGateway is down and may be restored in the future. This happens when CCFE sends ProjectState = OFF.", +"SecurityGateway encountered an error and is in an indeterministic state." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the resource was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, "GoogleCloudLocationListLocationsResponse": { "description": "The response message for Locations.ListLocations.", "id": "GoogleCloudLocationListLocationsResponse",