diff --git a/docs/dyn/connectors_v1.projects.locations.connections.html b/docs/dyn/connectors_v1.projects.locations.connections.html index a8db7b05975..e0c076087ac 100644 --- a/docs/dyn/connectors_v1.projects.locations.connections.html +++ b/docs/dyn/connectors_v1.projects.locations.connections.html @@ -150,9 +150,11 @@

Method Details

"stringValue": "A String", # Value is a string. }, ], + "authKey": "A String", # Identifier key for auth config "authType": "A String", # The type of authentication configured. "oauth2AuthCodeFlow": { # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlow. "authCode": "A String", # Authorization code to be exchanged for access and refresh tokens. + "authUri": "A String", # Auth URL for Authorization Code Flow "clientId": "A String", # Client ID for user-provided OAuth app. "clientSecret": { # Secret provides a reference to entries in Secret Manager. # Client secret for user-provided OAuth app. "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. @@ -209,6 +211,7 @@

Method Details

}, ], "connectorVersion": "A String", # Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource. + "connectorVersionLaunchStage": "A String", # Output only. Flag to mark the version indicating the launch stage. "createTime": "A String", # Output only. Created time. "description": "A String", # Optional. Description of the resource. "destinationConfigs": [ # Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). @@ -277,6 +280,7 @@

Method Details

"state": "A String", # State. "status": "A String", # Status provides detailed information for the state. }, + "subscriptionType": "A String", # Output only. This subscription type enum states the subscription type of the project. "suspended": True or False, # Optional. Suspended indicates if a user has suspended a connection or not. "updateTime": "A String", # Output only. Updated time. } @@ -378,9 +382,11 @@

Method Details

"stringValue": "A String", # Value is a string. }, ], + "authKey": "A String", # Identifier key for auth config "authType": "A String", # The type of authentication configured. "oauth2AuthCodeFlow": { # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlow. "authCode": "A String", # Authorization code to be exchanged for access and refresh tokens. + "authUri": "A String", # Auth URL for Authorization Code Flow "clientId": "A String", # Client ID for user-provided OAuth app. "clientSecret": { # Secret provides a reference to entries in Secret Manager. # Client secret for user-provided OAuth app. "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. @@ -437,6 +443,7 @@

Method Details

}, ], "connectorVersion": "A String", # Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource. + "connectorVersionLaunchStage": "A String", # Output only. Flag to mark the version indicating the launch stage. "createTime": "A String", # Output only. Created time. "description": "A String", # Optional. Description of the resource. "destinationConfigs": [ # Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). @@ -505,6 +512,7 @@

Method Details

"state": "A String", # State. "status": "A String", # Status provides detailed information for the state. }, + "subscriptionType": "A String", # Output only. This subscription type enum states the subscription type of the project. "suspended": True or False, # Optional. Suspended indicates if a user has suspended a connection or not. "updateTime": "A String", # Output only. Updated time. } @@ -624,9 +632,11 @@

Method Details

"stringValue": "A String", # Value is a string. }, ], + "authKey": "A String", # Identifier key for auth config "authType": "A String", # The type of authentication configured. "oauth2AuthCodeFlow": { # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlow. "authCode": "A String", # Authorization code to be exchanged for access and refresh tokens. + "authUri": "A String", # Auth URL for Authorization Code Flow "clientId": "A String", # Client ID for user-provided OAuth app. "clientSecret": { # Secret provides a reference to entries in Secret Manager. # Client secret for user-provided OAuth app. "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. @@ -683,6 +693,7 @@

Method Details

}, ], "connectorVersion": "A String", # Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource. + "connectorVersionLaunchStage": "A String", # Output only. Flag to mark the version indicating the launch stage. "createTime": "A String", # Output only. Created time. "description": "A String", # Optional. Description of the resource. "destinationConfigs": [ # Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). @@ -751,6 +762,7 @@

Method Details

"state": "A String", # State. "status": "A String", # Status provides detailed information for the state. }, + "subscriptionType": "A String", # Output only. This subscription type enum states the subscription type of the project. "suspended": True or False, # Optional. Suspended indicates if a user has suspended a connection or not. "updateTime": "A String", # Output only. Updated time. }, @@ -798,9 +810,11 @@

Method Details

"stringValue": "A String", # Value is a string. }, ], + "authKey": "A String", # Identifier key for auth config "authType": "A String", # The type of authentication configured. "oauth2AuthCodeFlow": { # Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. # Oauth2AuthCodeFlow. "authCode": "A String", # Authorization code to be exchanged for access and refresh tokens. + "authUri": "A String", # Auth URL for Authorization Code Flow "clientId": "A String", # Client ID for user-provided OAuth app. "clientSecret": { # Secret provides a reference to entries in Secret Manager. # Client secret for user-provided OAuth app. "secretVersion": "A String", # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. @@ -857,6 +871,7 @@

Method Details

}, ], "connectorVersion": "A String", # Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource. + "connectorVersionLaunchStage": "A String", # Output only. Flag to mark the version indicating the launch stage. "createTime": "A String", # Output only. Created time. "description": "A String", # Optional. Description of the resource. "destinationConfigs": [ # Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). @@ -925,6 +940,7 @@

Method Details

"state": "A String", # State. "status": "A String", # Status provides detailed information for the state. }, + "subscriptionType": "A String", # Output only. This subscription type enum states the subscription type of the project. "suspended": True or False, # Optional. Suspended indicates if a user has suspended a connection or not. "updateTime": "A String", # Output only. Updated time. } diff --git a/docs/dyn/connectors_v1.projects.locations.endpointAttachments.html b/docs/dyn/connectors_v1.projects.locations.endpointAttachments.html new file mode 100644 index 00000000000..a6f804455c6 --- /dev/null +++ b/docs/dyn/connectors_v1.projects.locations.endpointAttachments.html @@ -0,0 +1,321 @@ + + + +

Connectors API . projects . locations . endpointAttachments

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ create(parent, body=None, endpointAttachmentId=None, x__xgafv=None)

+

Creates a new EndpointAttachment in a given project and location.

+

+ delete(name, x__xgafv=None)

+

Deletes a single EndpointAttachment.

+

+ get(name, x__xgafv=None)

+

Gets details of a single EndpointAttachment.

+

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

+

List EndpointAttachments in a given project

+

+ list_next()

+

Retrieves the next page of results.

+

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

+

Updates the parameters of a single EndpointAttachment.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ create(parent, body=None, endpointAttachmentId=None, x__xgafv=None) +
Creates a new EndpointAttachment in a given project and location.
+
+Args:
+  parent: string, Required. Parent resource of the EndpointAttachment, of the form: `projects/*/locations/*` (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # represents the Connector's Endpoint Attachment resource
+  "createTime": "A String", # Output only. Created time.
+  "description": "A String", # Optional. Description of the resource.
+  "endpointIp": "A String", # Output only. The Private Service Connect connection endpoint ip
+  "labels": { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
+    "a_key": "A String",
+  },
+  "name": "A String", # Output only. Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment}
+  "serviceAttachment": "A String", # Required. The path of the service attachment
+  "updateTime": "A String", # Output only. Updated time.
+}
+
+  endpointAttachmentId: string, Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.
+  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, x__xgafv=None) +
Deletes a single EndpointAttachment.
+
+Args:
+  name: string, Required. Resource name of the form: `projects/*/locations/*/endpointAttachments/*` (required)
+  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 EndpointAttachment.
+
+Args:
+  name: string, Required. Resource name of the form: `projects/*/locations/*/endpointAttachments/*` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # represents the Connector's Endpoint Attachment resource
+  "createTime": "A String", # Output only. Created time.
+  "description": "A String", # Optional. Description of the resource.
+  "endpointIp": "A String", # Output only. The Private Service Connect connection endpoint ip
+  "labels": { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
+    "a_key": "A String",
+  },
+  "name": "A String", # Output only. Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment}
+  "serviceAttachment": "A String", # Required. The path of the service attachment
+  "updateTime": "A String", # Output only. Updated time.
+}
+
+ +
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) +
List EndpointAttachments in a given project
+
+Args:
+  parent: string, Required. Parent resource od the EndpointAttachment, of the form: `projects/*/locations/*` (required)
+  filter: string, Filter. https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering.
+  orderBy: string, Order by parameters.
+  pageSize: integer, Page size.
+  pageToken: string, 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 message for ConnectorsService.ListEndpointAttachments
+  "endpointAttachments": [ # EndpointAttachments.
+    { # represents the Connector's Endpoint Attachment resource
+      "createTime": "A String", # Output only. Created time.
+      "description": "A String", # Optional. Description of the resource.
+      "endpointIp": "A String", # Output only. The Private Service Connect connection endpoint ip
+      "labels": { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
+        "a_key": "A String",
+      },
+      "name": "A String", # Output only. Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment}
+      "serviceAttachment": "A String", # Required. The path of the service attachment
+      "updateTime": "A String", # Output only. Updated time.
+    },
+  ],
+  "nextPageToken": "A String", # Next page token.
+  "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, updateMask=None, x__xgafv=None) +
Updates the parameters of a single EndpointAttachment.
+
+Args:
+  name: string, Output only. Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment} (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # represents the Connector's Endpoint Attachment resource
+  "createTime": "A String", # Output only. Created time.
+  "description": "A String", # Optional. Description of the resource.
+  "endpointIp": "A String", # Output only. The Private Service Connect connection endpoint ip
+  "labels": { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
+    "a_key": "A String",
+  },
+  "name": "A String", # Output only. Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment}
+  "serviceAttachment": "A String", # Required. The path of the service attachment
+  "updateTime": "A String", # Output only. Updated time.
+}
+
+  updateMask: string, Required. The list of fields to update. Fields are specified relative to the endpointAttachment. A field will be overwritten if it is in the mask. You can modify only the fields listed below. To update the endpointAttachment details: * `description` * `labels`
+  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.
+  },
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/connectors_v1.projects.locations.global_.html b/docs/dyn/connectors_v1.projects.locations.global_.html index 268c44a0e69..738fb37d38f 100644 --- a/docs/dyn/connectors_v1.projects.locations.global_.html +++ b/docs/dyn/connectors_v1.projects.locations.global_.html @@ -74,6 +74,11 @@

Connectors API . projects . locations . global_

Instance Methods

+

+ managedZones() +

+

Returns the managedZones Resource.

+

close()

Close httplib2 connections.

@@ -103,6 +108,7 @@

Method Details

{ # Global Settings details. "name": "A String", # Output only. Resource name of the Connection. Format: projects/{project}/locations/global/settings} "payg": True or False, # Output only. Flag indicates if user is in PayG model + "tenantProjectId": "A String", # Output only. Tenant project id of the consumer project. "vpcsc": True or False, # Optional. Flag indicates whether vpc-sc is enabled. } diff --git a/docs/dyn/connectors_v1.projects.locations.global_.managedZones.html b/docs/dyn/connectors_v1.projects.locations.global_.managedZones.html new file mode 100644 index 00000000000..9c9c8b3c6e0 --- /dev/null +++ b/docs/dyn/connectors_v1.projects.locations.global_.managedZones.html @@ -0,0 +1,322 @@ + + + +

Connectors API . projects . locations . global_ . managedZones

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ create(parent, body=None, managedZoneId=None, x__xgafv=None)

+

Creates a new ManagedZone in a given project and location.

+

+ delete(name, x__xgafv=None)

+

Deletes a single ManagedZone.

+

+ get(name, x__xgafv=None)

+

Gets details of a single ManagedZone.

+

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

+

List ManagedZones in a given project

+

+ list_next()

+

Retrieves the next page of results.

+

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

+

Updates the parameters of a single ManagedZone.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ create(parent, body=None, managedZoneId=None, x__xgafv=None) +
Creates a new ManagedZone in a given project and location.
+
+Args:
+  parent: string, Required. Parent resource of the ManagedZone, of the form: `projects/*/locations/global` (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # represents the Connector's Managed Zone resource
+  "createTime": "A String", # Output only. Created time.
+  "description": "A String", # Optional. Description of the resource.
+  "dns": "A String", # Required. DNS Name of the resource
+  "labels": { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
+    "a_key": "A String",
+  },
+  "name": "A String", # Output only. Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
+  "targetProject": "A String", # Required. The name of the Target Project
+  "targetVpc": "A String", # Required. The name of the Target Project VPC Network
+  "updateTime": "A String", # Output only. Updated time.
+}
+
+  managedZoneId: string, Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.
+  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, x__xgafv=None) +
Deletes a single ManagedZone.
+
+Args:
+  name: string, Required. Resource name of the form: `projects/*/locations/global/managedZones/*` (required)
+  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 ManagedZone.
+
+Args:
+  name: string, Required. Resource name of the form: `projects/*/locations/global/managedZones/*` (required)
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # represents the Connector's Managed Zone resource
+  "createTime": "A String", # Output only. Created time.
+  "description": "A String", # Optional. Description of the resource.
+  "dns": "A String", # Required. DNS Name of the resource
+  "labels": { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
+    "a_key": "A String",
+  },
+  "name": "A String", # Output only. Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
+  "targetProject": "A String", # Required. The name of the Target Project
+  "targetVpc": "A String", # Required. The name of the Target Project VPC Network
+  "updateTime": "A String", # Output only. Updated time.
+}
+
+ +
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None) +
List ManagedZones in a given project
+
+Args:
+  parent: string, Required. Parent resource of the Managed Zone, of the form: `projects/*/locations/global` (required)
+  filter: string, Filter. https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering.
+  orderBy: string, Order by parameters.
+  pageSize: integer, Page size.
+  pageToken: string, 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 message for ConnectorsService.ListManagedZones
+  "managedZones": [ # ManagedZones.
+    { # represents the Connector's Managed Zone resource
+      "createTime": "A String", # Output only. Created time.
+      "description": "A String", # Optional. Description of the resource.
+      "dns": "A String", # Required. DNS Name of the resource
+      "labels": { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
+        "a_key": "A String",
+      },
+      "name": "A String", # Output only. Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
+      "targetProject": "A String", # Required. The name of the Target Project
+      "targetVpc": "A String", # Required. The name of the Target Project VPC Network
+      "updateTime": "A String", # Output only. Updated time.
+    },
+  ],
+  "nextPageToken": "A String", # Next page token.
+}
+
+ +
+ 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, updateMask=None, x__xgafv=None) +
Updates the parameters of a single ManagedZone.
+
+Args:
+  name: string, Output only. Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone} (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # represents the Connector's Managed Zone resource
+  "createTime": "A String", # Output only. Created time.
+  "description": "A String", # Optional. Description of the resource.
+  "dns": "A String", # Required. DNS Name of the resource
+  "labels": { # Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
+    "a_key": "A String",
+  },
+  "name": "A String", # Output only. Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}
+  "targetProject": "A String", # Required. The name of the Target Project
+  "targetVpc": "A String", # Required. The name of the Target Project VPC Network
+  "updateTime": "A String", # Output only. Updated time.
+}
+
+  updateMask: string, Required. The list of fields to update. Fields are specified relative to the managedZone. A field will be overwritten if it is in the mask. You can modify only the fields listed below. To update the managedZone details: * `description` * `labels` * `target_project` * `target_network`
+  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.
+  },
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/connectors_v1.projects.locations.html b/docs/dyn/connectors_v1.projects.locations.html index bd2fd22a850..6ed8de54f7e 100644 --- a/docs/dyn/connectors_v1.projects.locations.html +++ b/docs/dyn/connectors_v1.projects.locations.html @@ -79,6 +79,11 @@

Instance Methods

Returns the connections Resource.

+

+ endpointAttachments() +

+

Returns the endpointAttachments Resource.

+

global_()

@@ -129,7 +134,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", @@ -189,7 +194,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/connectors_v1.projects.locations.providers.connectors.versions.html b/docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html index 02269427229..95eb82d8d0d 100644 --- a/docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html +++ b/docs/dyn/connectors_v1.projects.locations.providers.connectors.versions.html @@ -114,6 +114,7 @@

Method Details

{ # ConnectorVersion indicates a specific version of a connector. "authConfigTemplates": [ # Output only. List of auth configs supported by the Connector Version. { # AuthConfigTemplate defines required field over an authentication type. + "authKey": "A String", # Identifier key for auth config "authType": "A String", # The type of authentication configured. "configVariableTemplates": [ # Config variables to describe an `AuthConfig` for a `Connection`. { # ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection. @@ -334,6 +335,7 @@

Method Details

{ # ConnectorVersion indicates a specific version of a connector. "authConfigTemplates": [ # Output only. List of auth configs supported by the Connector Version. { # AuthConfigTemplate defines required field over an authentication type. + "authKey": "A String", # Identifier key for auth config "authType": "A String", # The type of authentication configured. "configVariableTemplates": [ # Config variables to describe an `AuthConfig` for a `Connection`. { # ConfigVariableTemplate provides metadata about a `ConfigVariable` that is used in a Connection. diff --git a/googleapiclient/discovery_cache/documents/connectors.v1.json b/googleapiclient/discovery_cache/documents/connectors.v1.json index a9049e95124..f8dc1c0b936 100644 --- a/googleapiclient/discovery_cache/documents/connectors.v1.json +++ b/googleapiclient/discovery_cache/documents/connectors.v1.json @@ -635,6 +635,173 @@ } } }, + "endpointAttachments": { + "methods": { + "create": { + "description": "Creates a new EndpointAttachment in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpointAttachments", + "httpMethod": "POST", + "id": "connectors.projects.locations.endpointAttachments.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "endpointAttachmentId": { + "description": "Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource of the EndpointAttachment, of the form: `projects/*/locations/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/endpointAttachments", + "request": { + "$ref": "EndpointAttachment" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single EndpointAttachment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpointAttachments/{endpointAttachmentsId}", + "httpMethod": "DELETE", + "id": "connectors.projects.locations.endpointAttachments.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the form: `projects/*/locations/*/endpointAttachments/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/endpointAttachments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single EndpointAttachment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpointAttachments/{endpointAttachmentsId}", + "httpMethod": "GET", + "id": "connectors.projects.locations.endpointAttachments.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the form: `projects/*/locations/*/endpointAttachments/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/endpointAttachments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "EndpointAttachment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List EndpointAttachments in a given project", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpointAttachments", + "httpMethod": "GET", + "id": "connectors.projects.locations.endpointAttachments.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Filter. https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Order by parameters.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource od the EndpointAttachment, of the form: `projects/*/locations/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/endpointAttachments", + "response": { + "$ref": "ListEndpointAttachmentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single EndpointAttachment.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpointAttachments/{endpointAttachmentsId}", + "httpMethod": "PATCH", + "id": "connectors.projects.locations.endpointAttachments.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/endpointAttachments/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update. Fields are specified relative to the endpointAttachment. A field will be overwritten if it is in the mask. You can modify only the fields listed below. To update the endpointAttachment details: * `description` * `labels`", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "EndpointAttachment" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "global": { "methods": { "getSettings": { @@ -662,6 +829,175 @@ "https://www.googleapis.com/auth/cloud-platform" ] } + }, + "resources": { + "managedZones": { + "methods": { + "create": { + "description": "Creates a new ManagedZone in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/global/managedZones", + "httpMethod": "POST", + "id": "connectors.projects.locations.global.managedZones.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "managedZoneId": { + "description": "Required. Identifier to assign to the ManagedZone. Must be unique within scope of the parent resource.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource of the ManagedZone, of the form: `projects/*/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/managedZones", + "request": { + "$ref": "ManagedZone" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single ManagedZone.", + "flatPath": "v1/projects/{projectsId}/locations/global/managedZones/{managedZonesId}", + "httpMethod": "DELETE", + "id": "connectors.projects.locations.global.managedZones.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the form: `projects/*/locations/global/managedZones/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/managedZones/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single ManagedZone.", + "flatPath": "v1/projects/{projectsId}/locations/global/managedZones/{managedZonesId}", + "httpMethod": "GET", + "id": "connectors.projects.locations.global.managedZones.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the form: `projects/*/locations/global/managedZones/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/managedZones/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ManagedZone" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List ManagedZones in a given project", + "flatPath": "v1/projects/{projectsId}/locations/global/managedZones", + "httpMethod": "GET", + "id": "connectors.projects.locations.global.managedZones.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Filter. https://g3doc.corp.google.com/cloud/control2/g3doc/dev/apihosting/list_filtering.md#filtering.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Order by parameters.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource of the Managed Zone, of the form: `projects/*/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/managedZones", + "response": { + "$ref": "ListManagedZonesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single ManagedZone.", + "flatPath": "v1/projects/{projectsId}/locations/global/managedZones/{managedZonesId}", + "httpMethod": "PATCH", + "id": "connectors.projects.locations.global.managedZones.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/managedZones/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update. Fields are specified relative to the managedZone. A field will be overwritten if it is in the mask. You can modify only the fields listed below. To update the managedZone details: * `description` * `labels` * `target_project` * `target_network`", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "ManagedZone" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } } }, "operations": { @@ -1108,7 +1444,7 @@ } } }, - "revision": "20230412", + "revision": "20230514", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -1170,6 +1506,10 @@ }, "type": "array" }, + "authKey": { + "description": "Identifier key for auth config", + "type": "string" + }, "authType": { "description": "The type of authentication configured.", "enum": [ @@ -1217,6 +1557,10 @@ "description": "AuthConfigTemplate defines required field over an authentication type.", "id": "AuthConfigTemplate", "properties": { + "authKey": { + "description": "Identifier key for auth config", + "type": "string" + }, "authType": { "description": "The type of authentication configured.", "enum": [ @@ -1438,6 +1782,25 @@ "description": "Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource.", "type": "string" }, + "connectorVersionLaunchStage": { + "description": "Output only. Flag to mark the version indicating the launch stage.", + "enum": [ + "LAUNCH_STAGE_UNSPECIFIED", + "PREVIEW", + "GA", + "DEPRECATED", + "PRIVATE_PREVIEW" + ], + "enumDescriptions": [ + "LAUNCH_STAGE_UNSPECIFIED.", + "PREVIEW.", + "GA.", + "DEPRECATED.", + "PRIVATE_PREVIEW." + ], + "readOnly": true, + "type": "string" + }, "createTime": { "description": "Output only. Created time.", "format": "google-datetime", @@ -1507,6 +1870,21 @@ "description": "Output only. Current status of the connection.", "readOnly": true }, + "subscriptionType": { + "description": "Output only. This subscription type enum states the subscription type of the project.", + "enum": [ + "SUBSCRIPTION_TYPE_UNSPECIFIED", + "PAY_G", + "PAID" + ], + "enumDescriptions": [ + "Unspecified subscription type.", + "PayG subscription.", + "Paid Subscription." + ], + "readOnly": true, + "type": "string" + }, "suspended": { "description": "Optional. Suspended indicates if a user has suspended a connection or not.", "type": "boolean" @@ -1603,7 +1981,7 @@ "Connection is being deleted.", "Connection is being updated.", "Connection is not running due to an error.", - "Connection is not running due to an auth error for the Oauth2 Auth Code based connector." + "Connection is not running because the authorization configuration is not complete." ], "type": "string" }, @@ -1930,6 +2308,50 @@ "properties": {}, "type": "object" }, + "EndpointAttachment": { + "description": "represents the Connector's Endpoint Attachment resource", + "id": "EndpointAttachment", + "properties": { + "createTime": { + "description": "Output only. Created time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. Description of the resource.", + "type": "string" + }, + "endpointIp": { + "description": "Output only. The Private Service Connect connection endpoint ip", + "readOnly": true, + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources", + "type": "object" + }, + "name": { + "description": "Output only. Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment}", + "readOnly": true, + "type": "string" + }, + "serviceAttachment": { + "description": "Required. The path of the service attachment", + "type": "string" + }, + "updateTime": { + "description": "Output only. Updated time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "EnumOption": { "description": "EnumOption definition", "id": "EnumOption", @@ -2349,6 +2771,31 @@ }, "type": "object" }, + "ListEndpointAttachmentsResponse": { + "description": "Response message for ConnectorsService.ListEndpointAttachments", + "id": "ListEndpointAttachmentsResponse", + "properties": { + "endpointAttachments": { + "description": "EndpointAttachments.", + "items": { + "$ref": "EndpointAttachment" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Next page token.", + "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", @@ -2367,6 +2814,24 @@ }, "type": "object" }, + "ListManagedZonesResponse": { + "description": "Response message for ConnectorsService.ListManagedZones", + "id": "ListManagedZonesResponse", + "properties": { + "managedZones": { + "description": "ManagedZones.", + "items": { + "$ref": "ManagedZone" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Next page token.", + "type": "string" + } + }, + "type": "object" + }, "ListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "ListOperationsResponse", @@ -2447,7 +2912,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": { @@ -2495,6 +2960,53 @@ }, "type": "object" }, + "ManagedZone": { + "description": "represents the Connector's Managed Zone resource", + "id": "ManagedZone", + "properties": { + "createTime": { + "description": "Output only. Created time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. Description of the resource.", + "type": "string" + }, + "dns": { + "description": "Required. DNS Name of the resource", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources", + "type": "object" + }, + "name": { + "description": "Output only. Resource name of the Managed Zone. Format: projects/{project}/locations/global/managedZones/{managed_zone}", + "readOnly": true, + "type": "string" + }, + "targetProject": { + "description": "Required. The name of the Target Project", + "type": "string" + }, + "targetVpc": { + "description": "Required. The name of the Target Project VPC Network", + "type": "string" + }, + "updateTime": { + "description": "Output only. Updated time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "NodeConfig": { "description": "Node configuration for the connection.", "id": "NodeConfig", @@ -2520,6 +3032,10 @@ "description": "Authorization code to be exchanged for access and refresh tokens.", "type": "string" }, + "authUri": { + "description": "Auth URL for Authorization Code Flow", + "type": "string" + }, "clientId": { "description": "Client ID for user-provided OAuth app.", "type": "string" @@ -3112,6 +3628,11 @@ "readOnly": true, "type": "boolean" }, + "tenantProjectId": { + "description": "Output only. Tenant project id of the consumer project.", + "readOnly": true, + "type": "string" + }, "vpcsc": { "description": "Optional. Flag indicates whether vpc-sc is enabled.", "type": "boolean" diff --git a/googleapiclient/discovery_cache/documents/connectors.v2.json b/googleapiclient/discovery_cache/documents/connectors.v2.json index 42e4287cc9b..69362ebfe4a 100644 --- a/googleapiclient/discovery_cache/documents/connectors.v2.json +++ b/googleapiclient/discovery_cache/documents/connectors.v2.json @@ -478,7 +478,7 @@ } } }, - "revision": "20230403", + "revision": "20230514", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "Action": {