From 157093f69cdb560d72945d66bd1b22eefa71a03b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 24 May 2023 18:27:11 +0000 Subject: [PATCH] feat(networkconnectivity): update the api #### networkconnectivity:v1 The following keys were added: - resources.projects.resources.locations.resources.serviceClasses.methods.create (Total Keys: 16) - resources.projects.resources.locations.resources.serviceClasses.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.serviceClasses.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.serviceClasses.methods.list (Total Keys: 20) - resources.projects.resources.locations.resources.serviceClasses.methods.patch (Total Keys: 17) - resources.projects.resources.locations.resources.serviceConnectionMaps.methods.create (Total Keys: 16) - resources.projects.resources.locations.resources.serviceConnectionMaps.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.serviceConnectionMaps.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.serviceConnectionMaps.methods.list (Total Keys: 20) - resources.projects.resources.locations.resources.serviceConnectionMaps.methods.patch (Total Keys: 17) - resources.projects.resources.locations.resources.serviceConnectionPolicies.methods.create (Total Keys: 16) - resources.projects.resources.locations.resources.serviceConnectionPolicies.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.serviceConnectionPolicies.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.serviceConnectionPolicies.methods.list (Total Keys: 20) - resources.projects.resources.locations.resources.serviceConnectionPolicies.methods.patch (Total Keys: 17) - resources.projects.resources.locations.resources.serviceConnectionTokens.methods.create (Total Keys: 16) - resources.projects.resources.locations.resources.serviceConnectionTokens.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.serviceConnectionTokens.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.serviceConnectionTokens.methods.list (Total Keys: 20) - schemas.ConsumerPscConfig (Total Keys: 5) - schemas.ConsumerPscConnection (Total Keys: 12) - schemas.ListServiceClassesResponse (Total Keys: 7) - schemas.ListServiceConnectionMapsResponse (Total Keys: 7) - schemas.ListServiceConnectionPoliciesResponse (Total Keys: 7) - schemas.ListServiceConnectionTokensResponse (Total Keys: 7) - schemas.ProducerPscConfig (Total Keys: 3) - schemas.PscConfig (Total Keys: 6) - schemas.PscConnection (Total Keys: 10) - schemas.ServiceClass (Total Keys: 16) - schemas.ServiceConnectionMap (Total Keys: 24) - schemas.ServiceConnectionPolicy (Total Keys: 19) - schemas.ServiceConnectionToken (Total Keys: 17) --- ...orkconnectivity_v1.projects.locations.html | 9 +- ..._v1.projects.locations.serviceClasses.html | 246 +++ ...jects.locations.serviceConnectionMaps.html | 382 ++++ ...s.locations.serviceConnectionPolicies.html | 346 ++++ ...cts.locations.serviceConnectionTokens.html | 272 +++ ...nectivity_v1alpha1.projects.locations.html | 4 +- .../documents/networkconnectivity.v1.json | 1549 +++++++++++++++-- .../networkconnectivity.v1alpha1.json | 4 +- 8 files changed, 2636 insertions(+), 176 deletions(-) create mode 100644 docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionTokens.html diff --git a/docs/dyn/networkconnectivity_v1.projects.locations.html b/docs/dyn/networkconnectivity_v1.projects.locations.html index 825c32ddb4e..b9909444bae 100644 --- a/docs/dyn/networkconnectivity_v1.projects.locations.html +++ b/docs/dyn/networkconnectivity_v1.projects.locations.html @@ -104,6 +104,11 @@

Instance Methods

Returns the serviceConnectionPolicies Resource.

+

+ serviceConnectionTokens() +

+

Returns the serviceConnectionTokens Resource.

+

spokes()

@@ -141,7 +146,7 @@

Method Details

Returns: An object of the form: - { # A resource that represents Google Cloud Platform location. + { # A resource that represents a Google Cloud location. "displayName": "A String", # The friendly name for this location, typically a nearby city name. For example, "Tokyo". "labels": { # Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} "a_key": "A String", @@ -173,7 +178,7 @@

Method Details

{ # The response message for Locations.ListLocations. "locations": [ # A list of locations that matches the specified filter in the request. - { # A resource that represents Google Cloud Platform location. + { # A resource that represents a Google Cloud location. "displayName": "A String", # The friendly name for this location, typically a nearby city name. For example, "Tokyo". "labels": { # Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} "a_key": "A String", diff --git a/docs/dyn/networkconnectivity_v1.projects.locations.serviceClasses.html b/docs/dyn/networkconnectivity_v1.projects.locations.serviceClasses.html index 13a498a9b2d..2aad57e7ad1 100644 --- a/docs/dyn/networkconnectivity_v1.projects.locations.serviceClasses.html +++ b/docs/dyn/networkconnectivity_v1.projects.locations.serviceClasses.html @@ -77,9 +77,27 @@

Instance Methods

close()

Close httplib2 connections.

+

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

+

Creates a new ServiceClass in a given project and location.

+

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

+

Deletes a single ServiceClass.

+

+ get(name, x__xgafv=None)

+

Gets details of a single ServiceClass.

getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

+

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

+

Lists ServiceClasses in a given project and 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 ServiceClass.

setIamPolicy(resource, body=None, x__xgafv=None)

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

@@ -92,6 +110,125 @@

Method Details

Close httplib2 connections.
+
+ create(parent, body=None, requestId=None, serviceClassId=None, x__xgafv=None) +
Creates a new ServiceClass in a given project and location.
+
+Args:
+  parent: string, Required. The parent resource's name of the ServiceClass. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # The ServiceClass resource. Next id: 8
+  "createTime": "A String", # Output only. Time when the ServiceClass was created.
+  "description": "A String", # A description of this resource.
+  "labels": { # User-defined labels.
+    "a_key": "A String",
+  },
+  "name": "A String", # Immutable. The name of a ServiceClass resource. Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names
+  "serviceClass": "A String", # Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.
+  "serviceConnectionMaps": [ # Output only. URIs of all Service Connection Maps using this service class.
+    "A String",
+  ],
+  "updateTime": "A String", # Output only. Time when the ServiceClass was updated.
+}
+
+  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 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).
+  serviceClassId: string, Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceClasses/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.
+  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 response of the operation in case of success. 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, x__xgafv=None) +
Deletes a single ServiceClass.
+
+Args:
+  name: string, Required. The name of the ServiceClass to delete. (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).
+  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 response of the operation in case of success. 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 ServiceClass.
+
+Args:
+  name: string, Required. Name of the ServiceClass to get. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # The ServiceClass resource. Next id: 8
+  "createTime": "A String", # Output only. Time when the ServiceClass was created.
+  "description": "A String", # A description of this resource.
+  "labels": { # User-defined labels.
+    "a_key": "A String",
+  },
+  "name": "A String", # Immutable. The name of a ServiceClass resource. Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names
+  "serviceClass": "A String", # Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.
+  "serviceConnectionMaps": [ # Output only. URIs of all Service Connection Maps using this service class.
+    "A String",
+  ],
+  "updateTime": "A String", # Output only. Time when the ServiceClass was updated.
+}
+
+
getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
@@ -140,6 +277,115 @@ 

Method Details

}
+
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists ServiceClasses in a given project and location.
+
+Args:
+  parent: string, Required. The parent resource's name. (required)
+  filter: string, A filter expression that filters the results listed in the response.
+  orderBy: string, Sort the results by a certain order.
+  pageSize: integer, The maximum number of results per page that should be returned.
+  pageToken: string, The page token.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response for ListServiceClasses.
+  "nextPageToken": "A String", # The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
+  "serviceClasses": [ # ServiceClasses to be returned.
+    { # The ServiceClass resource. Next id: 8
+      "createTime": "A String", # Output only. Time when the ServiceClass was created.
+      "description": "A String", # A description of this resource.
+      "labels": { # User-defined labels.
+        "a_key": "A String",
+      },
+      "name": "A String", # Immutable. The name of a ServiceClass resource. Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names
+      "serviceClass": "A String", # Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.
+      "serviceConnectionMaps": [ # Output only. URIs of all Service Connection Maps using this service class.
+        "A String",
+      ],
+      "updateTime": "A String", # Output only. Time when the ServiceClass was updated.
+    },
+  ],
+  "unreachable": [ # 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 ServiceClass.
+
+Args:
+  name: string, Immutable. The name of a ServiceClass resource. Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # The ServiceClass resource. Next id: 8
+  "createTime": "A String", # Output only. Time when the ServiceClass was created.
+  "description": "A String", # A description of this resource.
+  "labels": { # User-defined labels.
+    "a_key": "A String",
+  },
+  "name": "A String", # Immutable. The name of a ServiceClass resource. Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names
+  "serviceClass": "A String", # Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.
+  "serviceConnectionMaps": [ # Output only. URIs of all Service Connection Maps using this service class.
+    "A String",
+  ],
+  "updateTime": "A String", # Output only. Time when the ServiceClass was updated.
+}
+
+  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 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).
+  updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the ServiceClass resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
+  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 response of the operation in case of success. 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.
+  },
+}
+
+
setIamPolicy(resource, body=None, x__xgafv=None)
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
diff --git a/docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionMaps.html b/docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionMaps.html
index 1f2ffaa4cf9..5e908ada027 100644
--- a/docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionMaps.html
+++ b/docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionMaps.html
@@ -77,9 +77,27 @@ 

Instance Methods

close()

Close httplib2 connections.

+

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

+

Creates a new ServiceConnectionMap in a given project and location.

+

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

+

Deletes a single ServiceConnectionMap.

+

+ get(name, x__xgafv=None)

+

Gets details of a single ServiceConnectionMap.

getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

+

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

+

Lists ServiceConnectionMaps in a given project and 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 ServiceConnectionMap.

setIamPolicy(resource, body=None, x__xgafv=None)

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

@@ -92,6 +110,193 @@

Method Details

Close httplib2 connections.
+
+ create(parent, body=None, requestId=None, serviceConnectionMapId=None, x__xgafv=None) +
Creates a new ServiceConnectionMap in a given project and location.
+
+Args:
+  parent: string, Required. The parent resource's name of the ServiceConnectionMap. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # The ServiceConnectionMap resource. Next id: 14
+  "consumerPscConfigs": [ # The PSC configurations on consumer side.
+    { # Allow the producer to specify which consumers can connect to it.
+      "disableGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
+      "network": "A String", # The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
+      "project": "A String", # The consumer project where PSC connections are allowed to be created in.
+    },
+  ],
+  "consumerPscConnections": [ # Output only. PSC connection details on consumer side.
+    { # PSC connection details on consumer side.
+      "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 most recent error during operating this connection.
+        "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.
+      },
+      "errorType": "A String", # The error type indicates whether the error is consumer facing, producer facing or system internal.
+      "forwardingRule": "A String", # The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.
+      "gceOperation": "A String", # The last Compute Engine operation to setup PSC connection.
+      "ip": "A String", # The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.
+      "network": "A String", # The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).
+      "project": "A String", # The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.
+      "pscConnectionId": "A String", # The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.
+      "serviceAttachmentUri": "A String", # The URI of a service attachment which is the target of the PSC connection.
+      "state": "A String", # The state of the PSC connection.
+    },
+  ],
+  "createTime": "A String", # Output only. Time when the ServiceConnectionMap was created.
+  "description": "A String", # A description of this resource.
+  "infrastructure": "A String", # Output only. The infrastructure used for connections between consumers/producers.
+  "labels": { # User-defined labels.
+    "a_key": "A String",
+  },
+  "name": "A String", # Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names
+  "producerPscConfigs": [ # The PSC configurations on producer side.
+    { # The PSC configurations on producer side.
+      "serviceAttachmentUri": "A String", # The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.
+    },
+  ],
+  "serviceClass": "A String", # The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.
+  "serviceClassUri": "A String", # Output only. The service class uri this ServiceConnectionMap is for.
+  "token": "A String", # The token provided by the consumer. This token authenticates that the consumer can create a connecton within the specified project and network.
+  "updateTime": "A String", # Output only. Time when the ServiceConnectionMap was updated.
+}
+
+  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 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).
+  serviceConnectionMapId: string, Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.
+  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 response of the operation in case of success. 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, x__xgafv=None) +
Deletes a single ServiceConnectionMap.
+
+Args:
+  name: string, Required. The name of the ServiceConnectionMap to delete. (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).
+  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 response of the operation in case of success. 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 ServiceConnectionMap.
+
+Args:
+  name: string, Required. Name of the ServiceConnectionMap to get. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # The ServiceConnectionMap resource. Next id: 14
+  "consumerPscConfigs": [ # The PSC configurations on consumer side.
+    { # Allow the producer to specify which consumers can connect to it.
+      "disableGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
+      "network": "A String", # The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
+      "project": "A String", # The consumer project where PSC connections are allowed to be created in.
+    },
+  ],
+  "consumerPscConnections": [ # Output only. PSC connection details on consumer side.
+    { # PSC connection details on consumer side.
+      "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 most recent error during operating this connection.
+        "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.
+      },
+      "errorType": "A String", # The error type indicates whether the error is consumer facing, producer facing or system internal.
+      "forwardingRule": "A String", # The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.
+      "gceOperation": "A String", # The last Compute Engine operation to setup PSC connection.
+      "ip": "A String", # The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.
+      "network": "A String", # The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).
+      "project": "A String", # The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.
+      "pscConnectionId": "A String", # The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.
+      "serviceAttachmentUri": "A String", # The URI of a service attachment which is the target of the PSC connection.
+      "state": "A String", # The state of the PSC connection.
+    },
+  ],
+  "createTime": "A String", # Output only. Time when the ServiceConnectionMap was created.
+  "description": "A String", # A description of this resource.
+  "infrastructure": "A String", # Output only. The infrastructure used for connections between consumers/producers.
+  "labels": { # User-defined labels.
+    "a_key": "A String",
+  },
+  "name": "A String", # Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names
+  "producerPscConfigs": [ # The PSC configurations on producer side.
+    { # The PSC configurations on producer side.
+      "serviceAttachmentUri": "A String", # The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.
+    },
+  ],
+  "serviceClass": "A String", # The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.
+  "serviceClassUri": "A String", # Output only. The service class uri this ServiceConnectionMap is for.
+  "token": "A String", # The token provided by the consumer. This token authenticates that the consumer can create a connecton within the specified project and network.
+  "updateTime": "A String", # Output only. Time when the ServiceConnectionMap was updated.
+}
+
+
getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
@@ -140,6 +345,183 @@ 

Method Details

}
+
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists ServiceConnectionMaps in a given project and location.
+
+Args:
+  parent: string, Required. The parent resource's name. (required)
+  filter: string, A filter expression that filters the results listed in the response.
+  orderBy: string, Sort the results by a certain order.
+  pageSize: integer, The maximum number of results per page that should be returned.
+  pageToken: string, The page token.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response for ListServiceConnectionMaps.
+  "nextPageToken": "A String", # The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
+  "serviceConnectionMaps": [ # ServiceConnectionMaps to be returned.
+    { # The ServiceConnectionMap resource. Next id: 14
+      "consumerPscConfigs": [ # The PSC configurations on consumer side.
+        { # Allow the producer to specify which consumers can connect to it.
+          "disableGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
+          "network": "A String", # The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
+          "project": "A String", # The consumer project where PSC connections are allowed to be created in.
+        },
+      ],
+      "consumerPscConnections": [ # Output only. PSC connection details on consumer side.
+        { # PSC connection details on consumer side.
+          "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 most recent error during operating this connection.
+            "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.
+          },
+          "errorType": "A String", # The error type indicates whether the error is consumer facing, producer facing or system internal.
+          "forwardingRule": "A String", # The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.
+          "gceOperation": "A String", # The last Compute Engine operation to setup PSC connection.
+          "ip": "A String", # The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.
+          "network": "A String", # The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).
+          "project": "A String", # The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.
+          "pscConnectionId": "A String", # The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.
+          "serviceAttachmentUri": "A String", # The URI of a service attachment which is the target of the PSC connection.
+          "state": "A String", # The state of the PSC connection.
+        },
+      ],
+      "createTime": "A String", # Output only. Time when the ServiceConnectionMap was created.
+      "description": "A String", # A description of this resource.
+      "infrastructure": "A String", # Output only. The infrastructure used for connections between consumers/producers.
+      "labels": { # User-defined labels.
+        "a_key": "A String",
+      },
+      "name": "A String", # Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names
+      "producerPscConfigs": [ # The PSC configurations on producer side.
+        { # The PSC configurations on producer side.
+          "serviceAttachmentUri": "A String", # The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.
+        },
+      ],
+      "serviceClass": "A String", # The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.
+      "serviceClassUri": "A String", # Output only. The service class uri this ServiceConnectionMap is for.
+      "token": "A String", # The token provided by the consumer. This token authenticates that the consumer can create a connecton within the specified project and network.
+      "updateTime": "A String", # Output only. Time when the ServiceConnectionMap was updated.
+    },
+  ],
+  "unreachable": [ # 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 ServiceConnectionMap.
+
+Args:
+  name: string, Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # The ServiceConnectionMap resource. Next id: 14
+  "consumerPscConfigs": [ # The PSC configurations on consumer side.
+    { # Allow the producer to specify which consumers can connect to it.
+      "disableGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
+      "network": "A String", # The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.
+      "project": "A String", # The consumer project where PSC connections are allowed to be created in.
+    },
+  ],
+  "consumerPscConnections": [ # Output only. PSC connection details on consumer side.
+    { # PSC connection details on consumer side.
+      "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 most recent error during operating this connection.
+        "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.
+      },
+      "errorType": "A String", # The error type indicates whether the error is consumer facing, producer facing or system internal.
+      "forwardingRule": "A String", # The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.
+      "gceOperation": "A String", # The last Compute Engine operation to setup PSC connection.
+      "ip": "A String", # The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.
+      "network": "A String", # The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).
+      "project": "A String", # The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.
+      "pscConnectionId": "A String", # The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.
+      "serviceAttachmentUri": "A String", # The URI of a service attachment which is the target of the PSC connection.
+      "state": "A String", # The state of the PSC connection.
+    },
+  ],
+  "createTime": "A String", # Output only. Time when the ServiceConnectionMap was created.
+  "description": "A String", # A description of this resource.
+  "infrastructure": "A String", # Output only. The infrastructure used for connections between consumers/producers.
+  "labels": { # User-defined labels.
+    "a_key": "A String",
+  },
+  "name": "A String", # Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names
+  "producerPscConfigs": [ # The PSC configurations on producer side.
+    { # The PSC configurations on producer side.
+      "serviceAttachmentUri": "A String", # The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.
+    },
+  ],
+  "serviceClass": "A String", # The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.
+  "serviceClassUri": "A String", # Output only. The service class uri this ServiceConnectionMap is for.
+  "token": "A String", # The token provided by the consumer. This token authenticates that the consumer can create a connecton within the specified project and network.
+  "updateTime": "A String", # Output only. Time when the ServiceConnectionMap was updated.
+}
+
+  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 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).
+  updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionMap resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
+  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 response of the operation in case of success. 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.
+  },
+}
+
+
setIamPolicy(resource, body=None, x__xgafv=None)
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
diff --git a/docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionPolicies.html b/docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionPolicies.html
index a94ec41bbe6..3a4ae6c6eed 100644
--- a/docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionPolicies.html
+++ b/docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionPolicies.html
@@ -77,9 +77,27 @@ 

Instance Methods

close()

Close httplib2 connections.

+

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

+

Creates a new ServiceConnectionPolicy in a given project and location.

+

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

+

Deletes a single ServiceConnectionPolicy.

+

+ get(name, x__xgafv=None)

+

Gets details of a single ServiceConnectionPolicy.

getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

+

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

+

Lists ServiceConnectionPolicies in a given project and 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 ServiceConnectionPolicy.

setIamPolicy(resource, body=None, x__xgafv=None)

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

@@ -92,6 +110,175 @@

Method Details

Close httplib2 connections.
+
+ create(parent, body=None, requestId=None, serviceConnectionPolicyId=None, x__xgafv=None) +
Creates a new ServiceConnectionPolicy in a given project and location.
+
+Args:
+  parent: string, Required. The parent resource's name of the ServiceConnectionPolicy. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # The ServiceConnectionPolicy resource. Next id: 11
+  "createTime": "A String", # Output only. Time when the ServiceConnectionMap was created.
+  "description": "A String", # A description of this resource.
+  "infrastructure": "A String", # Output only. The type of underlying resources used to create the connection.
+  "labels": { # User-defined labels.
+    "a_key": "A String",
+  },
+  "name": "A String", # Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
+  "network": "A String", # The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
+  "pscConfig": { # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
+    "limit": "A String", # Max number of PSC connections for this policy.
+    "subnetworks": [ # The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
+      "A String",
+    ],
+  },
+  "pscConnections": [ # Output only. [Output only] Information about each Private Service Connect connection.
+    { # Information about a specific Private Service Connect connection.
+      "consumerAddress": "A String", # The resource reference of the consumer address.
+      "consumerForwardingRule": "A String", # The resource reference of the PSC Forwarding Rule within the consumer VPC.
+      "consumerTargetProject": "A String", # The project where the PSC connection is created.
+      "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 most recent error during operating this connection.
+        "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.
+      },
+      "errorType": "A String", # The error type indicates whether the error is consumer facing, producer facing or system internal.
+      "gceOperation": "A String", # The last Compute Engine operation to setup PSC connection.
+      "pscConnectionId": "A String", # The PSC connection id of the PSC forwarding rule.
+      "state": "A String", # State of the PSC Connection
+    },
+  ],
+  "serviceClass": "A String", # The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.
+  "updateTime": "A String", # Output only. Time when the ServiceConnectionMap was updated.
+}
+
+  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 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).
+  serviceConnectionPolicyId: string, Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location.
+  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 response of the operation in case of success. 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, x__xgafv=None) +
Deletes a single ServiceConnectionPolicy.
+
+Args:
+  name: string, Required. The name of the ServiceConnectionPolicy to delete. (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).
+  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 response of the operation in case of success. 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 ServiceConnectionPolicy.
+
+Args:
+  name: string, Required. Name of the ServiceConnectionPolicy to get. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # The ServiceConnectionPolicy resource. Next id: 11
+  "createTime": "A String", # Output only. Time when the ServiceConnectionMap was created.
+  "description": "A String", # A description of this resource.
+  "infrastructure": "A String", # Output only. The type of underlying resources used to create the connection.
+  "labels": { # User-defined labels.
+    "a_key": "A String",
+  },
+  "name": "A String", # Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
+  "network": "A String", # The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
+  "pscConfig": { # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
+    "limit": "A String", # Max number of PSC connections for this policy.
+    "subnetworks": [ # The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
+      "A String",
+    ],
+  },
+  "pscConnections": [ # Output only. [Output only] Information about each Private Service Connect connection.
+    { # Information about a specific Private Service Connect connection.
+      "consumerAddress": "A String", # The resource reference of the consumer address.
+      "consumerForwardingRule": "A String", # The resource reference of the PSC Forwarding Rule within the consumer VPC.
+      "consumerTargetProject": "A String", # The project where the PSC connection is created.
+      "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 most recent error during operating this connection.
+        "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.
+      },
+      "errorType": "A String", # The error type indicates whether the error is consumer facing, producer facing or system internal.
+      "gceOperation": "A String", # The last Compute Engine operation to setup PSC connection.
+      "pscConnectionId": "A String", # The PSC connection id of the PSC forwarding rule.
+      "state": "A String", # State of the PSC Connection
+    },
+  ],
+  "serviceClass": "A String", # The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.
+  "updateTime": "A String", # Output only. Time when the ServiceConnectionMap was updated.
+}
+
+
getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
@@ -140,6 +327,165 @@ 

Method Details

}
+
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists ServiceConnectionPolicies in a given project and location.
+
+Args:
+  parent: string, Required. The parent resource's name. (required)
+  filter: string, A filter expression that filters the results listed in the response.
+  orderBy: string, Sort the results by a certain order.
+  pageSize: integer, The maximum number of results per page that should be returned.
+  pageToken: string, The page token.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response for ListServiceConnectionPolicies.
+  "nextPageToken": "A String", # The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
+  "serviceConnectionPolicies": [ # ServiceConnectionPolicies to be returned.
+    { # The ServiceConnectionPolicy resource. Next id: 11
+      "createTime": "A String", # Output only. Time when the ServiceConnectionMap was created.
+      "description": "A String", # A description of this resource.
+      "infrastructure": "A String", # Output only. The type of underlying resources used to create the connection.
+      "labels": { # User-defined labels.
+        "a_key": "A String",
+      },
+      "name": "A String", # Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
+      "network": "A String", # The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
+      "pscConfig": { # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
+        "limit": "A String", # Max number of PSC connections for this policy.
+        "subnetworks": [ # The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
+          "A String",
+        ],
+      },
+      "pscConnections": [ # Output only. [Output only] Information about each Private Service Connect connection.
+        { # Information about a specific Private Service Connect connection.
+          "consumerAddress": "A String", # The resource reference of the consumer address.
+          "consumerForwardingRule": "A String", # The resource reference of the PSC Forwarding Rule within the consumer VPC.
+          "consumerTargetProject": "A String", # The project where the PSC connection is created.
+          "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 most recent error during operating this connection.
+            "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.
+          },
+          "errorType": "A String", # The error type indicates whether the error is consumer facing, producer facing or system internal.
+          "gceOperation": "A String", # The last Compute Engine operation to setup PSC connection.
+          "pscConnectionId": "A String", # The PSC connection id of the PSC forwarding rule.
+          "state": "A String", # State of the PSC Connection
+        },
+      ],
+      "serviceClass": "A String", # The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.
+      "updateTime": "A String", # Output only. Time when the ServiceConnectionMap was updated.
+    },
+  ],
+  "unreachable": [ # 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 ServiceConnectionPolicy.
+
+Args:
+  name: string, Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # The ServiceConnectionPolicy resource. Next id: 11
+  "createTime": "A String", # Output only. Time when the ServiceConnectionMap was created.
+  "description": "A String", # A description of this resource.
+  "infrastructure": "A String", # Output only. The type of underlying resources used to create the connection.
+  "labels": { # User-defined labels.
+    "a_key": "A String",
+  },
+  "name": "A String", # Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
+  "network": "A String", # The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
+  "pscConfig": { # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. # Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
+    "limit": "A String", # Max number of PSC connections for this policy.
+    "subnetworks": [ # The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
+      "A String",
+    ],
+  },
+  "pscConnections": [ # Output only. [Output only] Information about each Private Service Connect connection.
+    { # Information about a specific Private Service Connect connection.
+      "consumerAddress": "A String", # The resource reference of the consumer address.
+      "consumerForwardingRule": "A String", # The resource reference of the PSC Forwarding Rule within the consumer VPC.
+      "consumerTargetProject": "A String", # The project where the PSC connection is created.
+      "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 most recent error during operating this connection.
+        "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.
+      },
+      "errorType": "A String", # The error type indicates whether the error is consumer facing, producer facing or system internal.
+      "gceOperation": "A String", # The last Compute Engine operation to setup PSC connection.
+      "pscConnectionId": "A String", # The PSC connection id of the PSC forwarding rule.
+      "state": "A String", # State of the PSC Connection
+    },
+  ],
+  "serviceClass": "A String", # The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.
+  "updateTime": "A String", # Output only. Time when the ServiceConnectionMap was updated.
+}
+
+  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 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).
+  updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
+  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 response of the operation in case of success. 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.
+  },
+}
+
+
setIamPolicy(resource, body=None, x__xgafv=None)
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
diff --git a/docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionTokens.html b/docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionTokens.html
new file mode 100644
index 00000000000..51b9d89b9cd
--- /dev/null
+++ b/docs/dyn/networkconnectivity_v1.projects.locations.serviceConnectionTokens.html
@@ -0,0 +1,272 @@
+
+
+
+

Network Connectivity API . projects . locations . serviceConnectionTokens

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

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

+

Creates a new ServiceConnectionToken in a given project and location.

+

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

+

Deletes a single ServiceConnectionToken.

+

+ get(name, x__xgafv=None)

+

Gets details of a single ServiceConnectionToken.

+

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

+

Lists ServiceConnectionTokens in a given project and location.

+

+ list_next()

+

Retrieves the next page of results.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ create(parent, body=None, requestId=None, serviceConnectionTokenId=None, x__xgafv=None) +
Creates a new ServiceConnectionToken in a given project and location.
+
+Args:
+  parent: string, Required. The parent resource's name of the ServiceConnectionToken. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # The ServiceConnectionToken resource. Next id: 9
+  "createTime": "A String", # Output only. Time when the ServiceConnectionToken was created.
+  "description": "A String", # A description of this resource.
+  "expireTime": "A String", # Output only. The time to which this token is valid.
+  "labels": { # User-defined labels.
+    "a_key": "A String",
+  },
+  "name": "A String", # Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
+  "network": "A String", # The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
+  "token": "A String", # Output only. The token generated by Automation.
+  "updateTime": "A String", # Output only. Time when the ServiceConnectionToken was updated.
+}
+
+  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 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).
+  serviceConnectionTokenId: string, Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/ServiceConnectionTokens/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.
+  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 response of the operation in case of success. 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, x__xgafv=None) +
Deletes a single ServiceConnectionToken.
+
+Args:
+  name: string, Required. The name of the ServiceConnectionToken to delete. (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).
+  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 response of the operation in case of success. 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 ServiceConnectionToken.
+
+Args:
+  name: string, Required. Name of the ServiceConnectionToken to get. (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # The ServiceConnectionToken resource. Next id: 9
+  "createTime": "A String", # Output only. Time when the ServiceConnectionToken was created.
+  "description": "A String", # A description of this resource.
+  "expireTime": "A String", # Output only. The time to which this token is valid.
+  "labels": { # User-defined labels.
+    "a_key": "A String",
+  },
+  "name": "A String", # Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
+  "network": "A String", # The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
+  "token": "A String", # Output only. The token generated by Automation.
+  "updateTime": "A String", # Output only. Time when the ServiceConnectionToken was updated.
+}
+
+ +
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) +
Lists ServiceConnectionTokens in a given project and location.
+
+Args:
+  parent: string, Required. The parent resource's name. (required)
+  filter: string, A filter expression that filters the results listed in the response.
+  orderBy: string, Sort the results by a certain order.
+  pageSize: integer, The maximum number of results per page that should be returned.
+  pageToken: string, The page token.
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # Response for ListServiceConnectionTokens.
+  "nextPageToken": "A String", # The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.
+  "serviceConnectionTokens": [ # ServiceConnectionTokens to be returned.
+    { # The ServiceConnectionToken resource. Next id: 9
+      "createTime": "A String", # Output only. Time when the ServiceConnectionToken was created.
+      "description": "A String", # A description of this resource.
+      "expireTime": "A String", # Output only. The time to which this token is valid.
+      "labels": { # User-defined labels.
+        "a_key": "A String",
+      },
+      "name": "A String", # Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
+      "network": "A String", # The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
+      "token": "A String", # Output only. The token generated by Automation.
+      "updateTime": "A String", # Output only. Time when the ServiceConnectionToken was updated.
+    },
+  ],
+  "unreachable": [ # 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.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/networkconnectivity_v1alpha1.projects.locations.html b/docs/dyn/networkconnectivity_v1alpha1.projects.locations.html index a50418fbd83..3fc10374215 100644 --- a/docs/dyn/networkconnectivity_v1alpha1.projects.locations.html +++ b/docs/dyn/networkconnectivity_v1alpha1.projects.locations.html @@ -126,7 +126,7 @@

Method Details

Returns: An object of the form: - { # A resource that represents Google Cloud Platform location. + { # A resource that represents a Google Cloud location. "displayName": "A String", # The friendly name for this location, typically a nearby city name. For example, "Tokyo". "labels": { # Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} "a_key": "A String", @@ -158,7 +158,7 @@

Method Details

{ # The response message for Locations.ListLocations. "locations": [ # A list of locations that matches the specified filter in the request. - { # A resource that represents Google Cloud Platform location. + { # A resource that represents a Google Cloud location. "displayName": "A String", # The friendly name for this location, typically a nearby city name. For example, "Tokyo". "labels": { # Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} "a_key": "A String", diff --git a/googleapiclient/discovery_cache/documents/networkconnectivity.v1.json b/googleapiclient/discovery_cache/documents/networkconnectivity.v1.json index 07cbf2b14de..8190cf4489c 100644 --- a/googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +++ b/googleapiclient/discovery_cache/documents/networkconnectivity.v1.json @@ -848,102 +848,104 @@ }, "serviceClasses": { "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkconnectivity.projects.locations.serviceClasses.getIamPolicy", + "create": { + "description": "Creates a new ServiceClass in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses", + "httpMethod": "POST", + "id": "networkconnectivity.projects.locations.serviceClasses.create", "parameterOrder": [ - "resource" + "parent" ], "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "parent": { + "description": "Required. The parent resource's name of the ServiceClass.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+$", "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 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).", + "location": "query", + "type": "string" + }, + "serviceClassId": { + "description": "Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceClasses/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.", + "location": "query", + "type": "string" } }, - "path": "v1/{+resource}:getIamPolicy", + "path": "v1/{+parent}/serviceClasses", + "request": { + "$ref": "ServiceClass" + }, "response": { - "$ref": "Policy" + "$ref": "GoogleLongrunningOperation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkconnectivity.projects.locations.serviceClasses.setIamPolicy", + "delete": { + "description": "Deletes a single ServiceClass.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}", + "httpMethod": "DELETE", + "id": "networkconnectivity.projects.locations.serviceClasses.delete", "parameterOrder": [ - "resource" + "name" ], "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "name": { + "description": "Required. The name of the ServiceClass to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$", "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" } }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, + "path": "v1/{+name}", "response": { - "$ref": "Policy" + "$ref": "GoogleLongrunningOperation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] }, - "testIamPermissions": { - "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.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkconnectivity.projects.locations.serviceClasses.testIamPermissions", + "get": { + "description": "Gets details of a single ServiceClass.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}", + "httpMethod": "GET", + "id": "networkconnectivity.projects.locations.serviceClasses.get", "parameterOrder": [ - "resource" + "name" ], "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "name": { + "description": "Required. Name of the ServiceClass to get.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$", "required": true, "type": "string" } }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, + "path": "v1/{+name}", "response": { - "$ref": "TestIamPermissionsResponse" + "$ref": "ServiceClass" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - } - } - }, - "serviceConnectionMaps": { - "methods": { + }, "getIamPolicy": { "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}:getIamPolicy", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}:getIamPolicy", "httpMethod": "GET", - "id": "networkconnectivity.projects.locations.serviceConnectionMaps.getIamPolicy", + "id": "networkconnectivity.projects.locations.serviceClasses.getIamPolicy", "parameterOrder": [ "resource" ], @@ -957,7 +959,7 @@ "resource": { "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$", "required": true, "type": "string" } @@ -970,92 +972,86 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkconnectivity.projects.locations.serviceConnectionMaps.setIamPolicy", + "list": { + "description": "Lists ServiceClasses in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses", + "httpMethod": "GET", + "id": "networkconnectivity.projects.locations.serviceClasses.list", "parameterOrder": [ - "resource" + "parent" ], "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "filter": { + "description": "A filter expression that filters the results listed in the response.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Sort the results by a certain order.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results per page that should be returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource's name.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" } }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, + "path": "v1/{+parent}/serviceClasses", "response": { - "$ref": "Policy" + "$ref": "ListServiceClassesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] }, - "testIamPermissions": { - "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.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkconnectivity.projects.locations.serviceConnectionMaps.testIamPermissions", + "patch": { + "description": "Updates the parameters of a single ServiceClass.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}", + "httpMethod": "PATCH", + "id": "networkconnectivity.projects.locations.serviceClasses.patch", "parameterOrder": [ - "resource" + "name" ], "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "name": { + "description": "Immutable. The name of a ServiceClass resource. Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$", "required": true, "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, - "serviceConnectionPolicies": { - "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkconnectivity.projects.locations.serviceConnectionPolicies.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", + }, + "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 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).", "location": "query", - "type": "integer" + "type": "string" }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$", - "required": true, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the ServiceClass resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", "type": "string" } }, - "path": "v1/{+resource}:getIamPolicy", + "path": "v1/{+name}", + "request": { + "$ref": "ServiceClass" + }, "response": { - "$ref": "Policy" + "$ref": "GoogleLongrunningOperation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" @@ -1063,9 +1059,9 @@ }, "setIamPolicy": { "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}:setIamPolicy", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}:setIamPolicy", "httpMethod": "POST", - "id": "networkconnectivity.projects.locations.serviceConnectionPolicies.setIamPolicy", + "id": "networkconnectivity.projects.locations.serviceClasses.setIamPolicy", "parameterOrder": [ "resource" ], @@ -1073,7 +1069,7 @@ "resource": { "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$", "required": true, "type": "string" } @@ -1091,9 +1087,9 @@ }, "testIamPermissions": { "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.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}:testIamPermissions", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}:testIamPermissions", "httpMethod": "POST", - "id": "networkconnectivity.projects.locations.serviceConnectionPolicies.testIamPermissions", + "id": "networkconnectivity.projects.locations.serviceClasses.testIamPermissions", "parameterOrder": [ "resource" ], @@ -1101,7 +1097,7 @@ "resource": { "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$", "required": true, "type": "string" } @@ -1119,38 +1115,38 @@ } } }, - "spokes": { + "serviceConnectionMaps": { "methods": { "create": { - "description": "Creates a Network Connectivity Center spoke.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes", + "description": "Creates a new ServiceConnectionMap in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps", "httpMethod": "POST", - "id": "networkconnectivity.projects.locations.spokes.create", + "id": "networkconnectivity.projects.locations.serviceConnectionMaps.create", "parameterOrder": [ "parent" ], "parameters": { "parent": { - "description": "Required. The parent resource.", + "description": "Required. The parent resource's name of the ServiceConnectionMap.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" }, "requestId": { - "description": "Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server know that it can ignore the request if it has already been completed. The server guarantees 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 to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly 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).", + "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).", "location": "query", "type": "string" }, - "spokeId": { - "description": "Required. Unique id for the spoke to create.", + "serviceConnectionMapId": { + "description": "Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.", "location": "query", "type": "string" } }, - "path": "v1/{+parent}/spokes", + "path": "v1/{+parent}/serviceConnectionMaps", "request": { - "$ref": "Spoke" + "$ref": "ServiceConnectionMap" }, "response": { "$ref": "GoogleLongrunningOperation" @@ -1160,23 +1156,23 @@ ] }, "delete": { - "description": "Deletes a Network Connectivity Center spoke.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}", + "description": "Deletes a single ServiceConnectionMap.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}", "httpMethod": "DELETE", - "id": "networkconnectivity.projects.locations.spokes.delete", + "id": "networkconnectivity.projects.locations.serviceConnectionMaps.delete", "parameterOrder": [ "name" ], "parameters": { "name": { - "description": "Required. The name of the spoke to delete.", + "description": "Required. The name of the ServiceConnectionMap to delete.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$", "required": true, "type": "string" }, "requestId": { - "description": "Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server know that it can ignore the request if it has already been completed. The server guarantees 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 to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly 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).", + "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" } @@ -1190,25 +1186,25 @@ ] }, "get": { - "description": "Gets details about a Network Connectivity Center spoke.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}", + "description": "Gets details of a single ServiceConnectionMap.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}", "httpMethod": "GET", - "id": "networkconnectivity.projects.locations.spokes.get", + "id": "networkconnectivity.projects.locations.serviceConnectionMaps.get", "parameterOrder": [ "name" ], "parameters": { "name": { - "description": "Required. The name of the spoke resource.", + "description": "Required. Name of the ServiceConnectionMap to get.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$", "required": true, "type": "string" } }, "path": "v1/{+name}", "response": { - "$ref": "Spoke" + "$ref": "ServiceConnectionMap" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" @@ -1216,9 +1212,9 @@ }, "getIamPolicy": { "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}:getIamPolicy", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}:getIamPolicy", "httpMethod": "GET", - "id": "networkconnectivity.projects.locations.spokes.getIamPolicy", + "id": "networkconnectivity.projects.locations.serviceConnectionMaps.getIamPolicy", "parameterOrder": [ "resource" ], @@ -1232,7 +1228,7 @@ "resource": { "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$", "required": true, "type": "string" } @@ -1246,16 +1242,16 @@ ] }, "list": { - "description": "Lists the Network Connectivity Center spokes in a specified project and location.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes", + "description": "Lists ServiceConnectionMaps in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps", "httpMethod": "GET", - "id": "networkconnectivity.projects.locations.spokes.list", + "id": "networkconnectivity.projects.locations.serviceConnectionMaps.list", "parameterOrder": [ "parent" ], "parameters": { "filter": { - "description": "An expression that filters the list of results.", + "description": "A filter expression that filters the results listed in the response.", "location": "query", "type": "string" }, @@ -1265,7 +1261,7 @@ "type": "string" }, "pageSize": { - "description": "The maximum number of results to return per page.", + "description": "The maximum number of results per page that should be returned.", "format": "int32", "location": "query", "type": "integer" @@ -1276,44 +1272,44 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource.", + "description": "Required. The parent resource's name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" } }, - "path": "v1/{+parent}/spokes", + "path": "v1/{+parent}/serviceConnectionMaps", "response": { - "$ref": "ListSpokesResponse" + "$ref": "ListServiceConnectionMapsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] }, "patch": { - "description": "Updates the parameters of a Network Connectivity Center spoke.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}", + "description": "Updates the parameters of a single ServiceConnectionMap.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}", "httpMethod": "PATCH", - "id": "networkconnectivity.projects.locations.spokes.patch", + "id": "networkconnectivity.projects.locations.serviceConnectionMaps.patch", "parameterOrder": [ "name" ], "parameters": { "name": { - "description": "Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`", + "description": "Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$", "required": true, "type": "string" }, "requestId": { - "description": "Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server know that it can ignore the request if it has already been completed. The server guarantees 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 to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly 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).", + "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).", "location": "query", "type": "string" }, "updateMask": { - "description": "Optional. In the case of an update to an existing spoke, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.", + "description": "Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionMap resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1321,7 +1317,688 @@ }, "path": "v1/{+name}", "request": { - "$ref": "Spoke" + "$ref": "ServiceConnectionMap" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}:setIamPolicy", + "httpMethod": "POST", + "id": "networkconnectivity.projects.locations.serviceConnectionMaps.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "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.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}:testIamPermissions", + "httpMethod": "POST", + "id": "networkconnectivity.projects.locations.serviceConnectionMaps.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "serviceConnectionPolicies": { + "methods": { + "create": { + "description": "Creates a new ServiceConnectionPolicy in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies", + "httpMethod": "POST", + "id": "networkconnectivity.projects.locations.serviceConnectionPolicies.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource's name of the ServiceConnectionPolicy.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "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 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).", + "location": "query", + "type": "string" + }, + "serviceConnectionPolicyId": { + "description": "Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/serviceConnectionPolicies", + "request": { + "$ref": "ServiceConnectionPolicy" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single ServiceConnectionPolicy.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}", + "httpMethod": "DELETE", + "id": "networkconnectivity.projects.locations.serviceConnectionPolicies.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the ServiceConnectionPolicy to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$", + "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" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single ServiceConnectionPolicy.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}", + "httpMethod": "GET", + "id": "networkconnectivity.projects.locations.serviceConnectionPolicies.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the ServiceConnectionPolicy to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ServiceConnectionPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}:getIamPolicy", + "httpMethod": "GET", + "id": "networkconnectivity.projects.locations.serviceConnectionPolicies.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists ServiceConnectionPolicies in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies", + "httpMethod": "GET", + "id": "networkconnectivity.projects.locations.serviceConnectionPolicies.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "A filter expression that filters the results listed in the response.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Sort the results by a certain order.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results per page that should be returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/serviceConnectionPolicies", + "response": { + "$ref": "ListServiceConnectionPoliciesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single ServiceConnectionPolicy.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}", + "httpMethod": "PATCH", + "id": "networkconnectivity.projects.locations.serviceConnectionPolicies.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$", + "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 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).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "ServiceConnectionPolicy" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}:setIamPolicy", + "httpMethod": "POST", + "id": "networkconnectivity.projects.locations.serviceConnectionPolicies.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "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.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}:testIamPermissions", + "httpMethod": "POST", + "id": "networkconnectivity.projects.locations.serviceConnectionPolicies.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "serviceConnectionTokens": { + "methods": { + "create": { + "description": "Creates a new ServiceConnectionToken in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionTokens", + "httpMethod": "POST", + "id": "networkconnectivity.projects.locations.serviceConnectionTokens.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource's name of the ServiceConnectionToken.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "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 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).", + "location": "query", + "type": "string" + }, + "serviceConnectionTokenId": { + "description": "Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/ServiceConnectionTokens/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/serviceConnectionTokens", + "request": { + "$ref": "ServiceConnectionToken" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single ServiceConnectionToken.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionTokens/{serviceConnectionTokensId}", + "httpMethod": "DELETE", + "id": "networkconnectivity.projects.locations.serviceConnectionTokens.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the ServiceConnectionToken to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$", + "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" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single ServiceConnectionToken.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionTokens/{serviceConnectionTokensId}", + "httpMethod": "GET", + "id": "networkconnectivity.projects.locations.serviceConnectionTokens.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the ServiceConnectionToken to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ServiceConnectionToken" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists ServiceConnectionTokens in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionTokens", + "httpMethod": "GET", + "id": "networkconnectivity.projects.locations.serviceConnectionTokens.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "A filter expression that filters the results listed in the response.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Sort the results by a certain order.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results per page that should be returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/serviceConnectionTokens", + "response": { + "$ref": "ListServiceConnectionTokensResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "spokes": { + "methods": { + "create": { + "description": "Creates a Network Connectivity Center spoke.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes", + "httpMethod": "POST", + "id": "networkconnectivity.projects.locations.spokes.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server know that it can ignore the request if it has already been completed. The server guarantees 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 to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly 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" + }, + "spokeId": { + "description": "Required. Unique id for the spoke to create.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/spokes", + "request": { + "$ref": "Spoke" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a Network Connectivity Center spoke.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}", + "httpMethod": "DELETE", + "id": "networkconnectivity.projects.locations.spokes.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the spoke to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server know that it can ignore the request if it has already been completed. The server guarantees 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 to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly 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" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details about a Network Connectivity Center spoke.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}", + "httpMethod": "GET", + "id": "networkconnectivity.projects.locations.spokes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the spoke resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Spoke" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}:getIamPolicy", + "httpMethod": "GET", + "id": "networkconnectivity.projects.locations.spokes.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists the Network Connectivity Center spokes in a specified project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes", + "httpMethod": "GET", + "id": "networkconnectivity.projects.locations.spokes.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "An expression that filters the list of results.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Sort the results by a certain order.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return per page.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/spokes", + "response": { + "$ref": "ListSpokesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a Network Connectivity Center spoke.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}", + "httpMethod": "PATCH", + "id": "networkconnectivity.projects.locations.spokes.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server know that it can ignore the request if it has already been completed. The server guarantees 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 to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly 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": "Optional. In the case of an update to an existing spoke, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Spoke" }, "response": { "$ref": "GoogleLongrunningOperation" @@ -1393,7 +2070,7 @@ } } }, - "revision": "20230329", + "revision": "20230502", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AuditConfig": { @@ -1466,6 +2143,98 @@ }, "type": "object" }, + "ConsumerPscConfig": { + "description": "Allow the producer to specify which consumers can connect to it.", + "id": "ConsumerPscConfig", + "properties": { + "disableGlobalAccess": { + "description": "This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.", + "type": "boolean" + }, + "network": { + "description": "The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.", + "type": "string" + }, + "project": { + "description": "The consumer project where PSC connections are allowed to be created in.", + "type": "string" + } + }, + "type": "object" + }, + "ConsumerPscConnection": { + "description": "PSC connection details on consumer side.", + "id": "ConsumerPscConnection", + "properties": { + "error": { + "$ref": "GoogleRpcStatus", + "description": "The most recent error during operating this connection." + }, + "errorType": { + "description": "The error type indicates whether the error is consumer facing, producer facing or system internal.", + "enum": [ + "CONNECTION_ERROR_TYPE_UNSPECIFIED", + "ERROR_INTERNAL", + "ERROR_CONSUMER_SIDE", + "ERROR_PRODUCER_SIDE" + ], + "enumDescriptions": [ + "An invalid error type as the default case.", + "The error is due to Service Automation system internal.", + "The error is due to the setup on consumer side.", + "The error is due to the setup on producer side." + ], + "type": "string" + }, + "forwardingRule": { + "description": "The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.", + "type": "string" + }, + "gceOperation": { + "description": "The last Compute Engine operation to setup PSC connection.", + "type": "string" + }, + "ip": { + "description": "The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.", + "type": "string" + }, + "network": { + "description": "The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).", + "type": "string" + }, + "project": { + "description": "The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.", + "type": "string" + }, + "pscConnectionId": { + "description": "The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.", + "type": "string" + }, + "serviceAttachmentUri": { + "description": "The URI of a service attachment which is the target of the PSC connection.", + "type": "string" + }, + "state": { + "description": "The state of the PSC connection.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "FAILED", + "CREATING", + "DELETING" + ], + "enumDescriptions": [ + "An invalid state as the default case.", + "The connection is fully established and ready to use.", + "The connection is not functional since some resources on the connection fail to be created.", + "The connection is being created.", + "The connection is being deleted." + ], + "type": "string" + } + }, + "type": "object" + }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "Empty", @@ -1855,11 +2624,104 @@ "$ref": "InternalRange" }, "type": "array" - }, + }, + "nextPageToken": { + "description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ListServiceClassesResponse": { + "description": "Response for ListServiceClasses.", + "id": "ListServiceClassesResponse", + "properties": { + "nextPageToken": { + "description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", + "type": "string" + }, + "serviceClasses": { + "description": "ServiceClasses to be returned.", + "items": { + "$ref": "ServiceClass" + }, + "type": "array" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListServiceConnectionMapsResponse": { + "description": "Response for ListServiceConnectionMaps.", + "id": "ListServiceConnectionMapsResponse", + "properties": { + "nextPageToken": { + "description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", + "type": "string" + }, + "serviceConnectionMaps": { + "description": "ServiceConnectionMaps to be returned.", + "items": { + "$ref": "ServiceConnectionMap" + }, + "type": "array" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListServiceConnectionPoliciesResponse": { + "description": "Response for ListServiceConnectionPolicies.", + "id": "ListServiceConnectionPoliciesResponse", + "properties": { "nextPageToken": { "description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", "type": "string" }, + "serviceConnectionPolicies": { + "description": "ServiceConnectionPolicies to be returned.", + "items": { + "$ref": "ServiceConnectionPolicy" + }, + "type": "array" + }, "unreachable": { "description": "Locations that could not be reached.", "items": { @@ -1870,20 +2732,27 @@ }, "type": "object" }, - "ListLocationsResponse": { - "description": "The response message for Locations.ListLocations.", - "id": "ListLocationsResponse", + "ListServiceConnectionTokensResponse": { + "description": "Response for ListServiceConnectionTokens.", + "id": "ListServiceConnectionTokensResponse", "properties": { - "locations": { - "description": "A list of locations that matches the specified filter in the request.", + "nextPageToken": { + "description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", + "type": "string" + }, + "serviceConnectionTokens": { + "description": "ServiceConnectionTokens to be returned.", "items": { - "$ref": "Location" + "$ref": "ServiceConnectionToken" }, "type": "array" }, - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -1914,7 +2783,7 @@ "type": "object" }, "Location": { - "description": "A resource that represents Google Cloud Platform location.", + "description": "A resource that represents a Google Cloud location.", "id": "Location", "properties": { "displayName": { @@ -2046,6 +2915,101 @@ }, "type": "object" }, + "ProducerPscConfig": { + "description": "The PSC configurations on producer side.", + "id": "ProducerPscConfig", + "properties": { + "serviceAttachmentUri": { + "description": "The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.", + "type": "string" + } + }, + "type": "object" + }, + "PscConfig": { + "description": "Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.", + "id": "PscConfig", + "properties": { + "limit": { + "description": "Max number of PSC connections for this policy.", + "format": "int64", + "type": "string" + }, + "subnetworks": { + "description": "The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "PscConnection": { + "description": "Information about a specific Private Service Connect connection.", + "id": "PscConnection", + "properties": { + "consumerAddress": { + "description": "The resource reference of the consumer address.", + "type": "string" + }, + "consumerForwardingRule": { + "description": "The resource reference of the PSC Forwarding Rule within the consumer VPC.", + "type": "string" + }, + "consumerTargetProject": { + "description": "The project where the PSC connection is created.", + "type": "string" + }, + "error": { + "$ref": "GoogleRpcStatus", + "description": "The most recent error during operating this connection." + }, + "errorType": { + "description": "The error type indicates whether the error is consumer facing, producer facing or system internal.", + "enum": [ + "CONNECTION_ERROR_TYPE_UNSPECIFIED", + "ERROR_INTERNAL", + "ERROR_CONSUMER_SIDE", + "ERROR_PRODUCER_SIDE" + ], + "enumDescriptions": [ + "An invalid error type as the default case.", + "The error is due to Service Automation system internal.", + "The error is due to the setup on consumer side.", + "The error is due to the setup on producer side." + ], + "type": "string" + }, + "gceOperation": { + "description": "The last Compute Engine operation to setup PSC connection.", + "type": "string" + }, + "pscConnectionId": { + "description": "The PSC connection id of the PSC forwarding rule.", + "type": "string" + }, + "state": { + "description": "State of the PSC Connection", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "FAILED", + "CREATING", + "DELETING" + ], + "enumDescriptions": [ + "An invalid state as the default case.", + "The connection is fully established and ready to use.", + "The connection is not functional since some resources on the connection fail to be created.", + "The connection is being created.", + "The connection is being deleted." + ], + "type": "string" + } + }, + "type": "object" + }, "RouterApplianceInstance": { "description": "A router appliance instance is a Compute Engine virtual machine (VM) instance that acts as a BGP speaker. A router appliance instance is specified by the URI of the VM and the internal IP address of one of the VM's network interfaces.", "id": "RouterApplianceInstance", @@ -2077,6 +3041,251 @@ }, "type": "object" }, + "ServiceClass": { + "description": "The ServiceClass resource. Next id: 8", + "id": "ServiceClass", + "properties": { + "createTime": { + "description": "Output only. Time when the ServiceClass was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "A description of this resource.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "User-defined labels.", + "type": "object" + }, + "name": { + "description": "Immutable. The name of a ServiceClass resource. Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names", + "type": "string" + }, + "serviceClass": { + "description": "Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.", + "readOnly": true, + "type": "string" + }, + "serviceConnectionMaps": { + "description": "Output only. URIs of all Service Connection Maps using this service class.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "updateTime": { + "description": "Output only. Time when the ServiceClass was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ServiceConnectionMap": { + "description": "The ServiceConnectionMap resource. Next id: 14", + "id": "ServiceConnectionMap", + "properties": { + "consumerPscConfigs": { + "description": "The PSC configurations on consumer side.", + "items": { + "$ref": "ConsumerPscConfig" + }, + "type": "array" + }, + "consumerPscConnections": { + "description": "Output only. PSC connection details on consumer side.", + "items": { + "$ref": "ConsumerPscConnection" + }, + "readOnly": true, + "type": "array" + }, + "createTime": { + "description": "Output only. Time when the ServiceConnectionMap was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "A description of this resource.", + "type": "string" + }, + "infrastructure": { + "description": "Output only. The infrastructure used for connections between consumers/producers.", + "enum": [ + "INFRASTRUCTURE_UNSPECIFIED", + "PSC" + ], + "enumDescriptions": [ + "An invalid infrastructure as the default case.", + "Private Service Connect is used for connections." + ], + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "User-defined labels.", + "type": "object" + }, + "name": { + "description": "Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names", + "type": "string" + }, + "producerPscConfigs": { + "description": "The PSC configurations on producer side.", + "items": { + "$ref": "ProducerPscConfig" + }, + "type": "array" + }, + "serviceClass": { + "description": "The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.", + "type": "string" + }, + "serviceClassUri": { + "description": "Output only. The service class uri this ServiceConnectionMap is for.", + "readOnly": true, + "type": "string" + }, + "token": { + "description": "The token provided by the consumer. This token authenticates that the consumer can create a connecton within the specified project and network.", + "type": "string" + }, + "updateTime": { + "description": "Output only. Time when the ServiceConnectionMap was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ServiceConnectionPolicy": { + "description": "The ServiceConnectionPolicy resource. Next id: 11", + "id": "ServiceConnectionPolicy", + "properties": { + "createTime": { + "description": "Output only. Time when the ServiceConnectionMap was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "A description of this resource.", + "type": "string" + }, + "infrastructure": { + "description": "Output only. The type of underlying resources used to create the connection.", + "enum": [ + "INFRASTRUCTURE_UNSPECIFIED", + "PSC" + ], + "enumDescriptions": [ + "An invalid infrastructure as the default case.", + "Private Service Connect is used for connections." + ], + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "User-defined labels.", + "type": "object" + }, + "name": { + "description": "Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names", + "type": "string" + }, + "network": { + "description": "The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.", + "type": "string" + }, + "pscConfig": { + "$ref": "PscConfig", + "description": "Configuration used for Private Service Connect connections. Used when Infrastructure is PSC." + }, + "pscConnections": { + "description": "Output only. [Output only] Information about each Private Service Connect connection.", + "items": { + "$ref": "PscConnection" + }, + "readOnly": true, + "type": "array" + }, + "serviceClass": { + "description": "The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.", + "type": "string" + }, + "updateTime": { + "description": "Output only. Time when the ServiceConnectionMap was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ServiceConnectionToken": { + "description": "The ServiceConnectionToken resource. Next id: 9", + "id": "ServiceConnectionToken", + "properties": { + "createTime": { + "description": "Output only. Time when the ServiceConnectionToken was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "A description of this resource.", + "type": "string" + }, + "expireTime": { + "description": "Output only. The time to which this token is valid.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "User-defined labels.", + "type": "object" + }, + "name": { + "description": "Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names", + "type": "string" + }, + "network": { + "description": "The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.", + "type": "string" + }, + "token": { + "description": "Output only. The token generated by Automation.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time when the ServiceConnectionToken was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "id": "SetIamPolicyRequest", diff --git a/googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json b/googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json index 91f64f2511d..ad34fd14572 100644 --- a/googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json +++ b/googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json @@ -1116,7 +1116,7 @@ } } }, - "revision": "20230329", + "revision": "20230502", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AuditConfig": { @@ -1567,7 +1567,7 @@ "type": "object" }, "Location": { - "description": "A resource that represents Google Cloud Platform location.", + "description": "A resource that represents a Google Cloud location.", "id": "Location", "properties": { "displayName": {