Skip to content

Commit

Permalink
feat(connectors): update the api
Browse files Browse the repository at this point in the history
#### connectors:v1

The following keys were deleted:
- schemas.Connection.properties.egressBackends (Total Keys: 3)

The following keys were added:
- schemas.AuthConfig.properties.sshPublicKey.$ref (Total Keys: 1)
- schemas.RuntimeConfig.properties.name (Total Keys: 2)
- schemas.SshPublicKey (Total Keys: 6)
  • Loading branch information
yoshi-automation committed Jun 14, 2022
1 parent 717360c commit c2d081d
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 27 deletions.
54 changes: 41 additions & 13 deletions docs/dyn/connectors_v1.projects.locations.connections.html
Expand Up @@ -162,6 +162,16 @@ <h3>Method Details</h3>
&quot;subject&quot;: &quot;A String&quot;, # Value for the &quot;sub&quot; claim.
},
},
&quot;sshPublicKey&quot;: { # SSH Public Key.
&quot;certType&quot;: &quot;A String&quot;, # Format of SSH Client cert.
&quot;password&quot;: { # Secret provides a reference to entries in Secret Manager. # This is an optional field used in case client has enabled multi-factor authentication
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
},
&quot;sshClientCert&quot;: { # Secret provides a reference to entries in Secret Manager. # SSH Client Cert. It should contain both public and private key.
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
},
&quot;username&quot;: &quot;A String&quot;, # The user account used to authenticate.
},
&quot;userPassword&quot;: { # Parameters to support Username and Password Authentication. # UserPassword.
&quot;password&quot;: { # Secret provides a reference to entries in Secret Manager. # Secret version reference containing the password.
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
Expand All @@ -183,9 +193,6 @@ <h3>Method Details</h3>
&quot;connectorVersion&quot;: &quot;A String&quot;, # Required. Connector version on which the connection is created. The format is: projects/*/locations/global/providers/*/connectors/*/versions/*
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the resource.
&quot;egressBackends&quot;: [ # Output only. Outbound domains/hosts needs to be allowlisted.
&quot;A String&quot;,
],
&quot;envoyImageLocation&quot;: &quot;A String&quot;, # Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}
&quot;imageLocation&quot;: &quot;A String&quot;, # Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}
&quot;labels&quot;: { # 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
Expand Down Expand Up @@ -321,6 +328,16 @@ <h3>Method Details</h3>
&quot;subject&quot;: &quot;A String&quot;, # Value for the &quot;sub&quot; claim.
},
},
&quot;sshPublicKey&quot;: { # SSH Public Key.
&quot;certType&quot;: &quot;A String&quot;, # Format of SSH Client cert.
&quot;password&quot;: { # Secret provides a reference to entries in Secret Manager. # This is an optional field used in case client has enabled multi-factor authentication
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
},
&quot;sshClientCert&quot;: { # Secret provides a reference to entries in Secret Manager. # SSH Client Cert. It should contain both public and private key.
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
},
&quot;username&quot;: &quot;A String&quot;, # The user account used to authenticate.
},
&quot;userPassword&quot;: { # Parameters to support Username and Password Authentication. # UserPassword.
&quot;password&quot;: { # Secret provides a reference to entries in Secret Manager. # Secret version reference containing the password.
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
Expand All @@ -342,9 +359,6 @@ <h3>Method Details</h3>
&quot;connectorVersion&quot;: &quot;A String&quot;, # Required. Connector version on which the connection is created. The format is: projects/*/locations/global/providers/*/connectors/*/versions/*
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the resource.
&quot;egressBackends&quot;: [ # Output only. Outbound domains/hosts needs to be allowlisted.
&quot;A String&quot;,
],
&quot;envoyImageLocation&quot;: &quot;A String&quot;, # Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}
&quot;imageLocation&quot;: &quot;A String&quot;, # Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}
&quot;labels&quot;: { # 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
Expand Down Expand Up @@ -494,6 +508,16 @@ <h3>Method Details</h3>
&quot;subject&quot;: &quot;A String&quot;, # Value for the &quot;sub&quot; claim.
},
},
&quot;sshPublicKey&quot;: { # SSH Public Key.
&quot;certType&quot;: &quot;A String&quot;, # Format of SSH Client cert.
&quot;password&quot;: { # Secret provides a reference to entries in Secret Manager. # This is an optional field used in case client has enabled multi-factor authentication
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
},
&quot;sshClientCert&quot;: { # Secret provides a reference to entries in Secret Manager. # SSH Client Cert. It should contain both public and private key.
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
},
&quot;username&quot;: &quot;A String&quot;, # The user account used to authenticate.
},
&quot;userPassword&quot;: { # Parameters to support Username and Password Authentication. # UserPassword.
&quot;password&quot;: { # Secret provides a reference to entries in Secret Manager. # Secret version reference containing the password.
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
Expand All @@ -515,9 +539,6 @@ <h3>Method Details</h3>
&quot;connectorVersion&quot;: &quot;A String&quot;, # Required. Connector version on which the connection is created. The format is: projects/*/locations/global/providers/*/connectors/*/versions/*
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the resource.
&quot;egressBackends&quot;: [ # Output only. Outbound domains/hosts needs to be allowlisted.
&quot;A String&quot;,
],
&quot;envoyImageLocation&quot;: &quot;A String&quot;, # Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}
&quot;imageLocation&quot;: &quot;A String&quot;, # Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}
&quot;labels&quot;: { # 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
Expand Down Expand Up @@ -599,6 +620,16 @@ <h3>Method Details</h3>
&quot;subject&quot;: &quot;A String&quot;, # Value for the &quot;sub&quot; claim.
},
},
&quot;sshPublicKey&quot;: { # SSH Public Key.
&quot;certType&quot;: &quot;A String&quot;, # Format of SSH Client cert.
&quot;password&quot;: { # Secret provides a reference to entries in Secret Manager. # This is an optional field used in case client has enabled multi-factor authentication
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
},
&quot;sshClientCert&quot;: { # Secret provides a reference to entries in Secret Manager. # SSH Client Cert. It should contain both public and private key.
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
},
&quot;username&quot;: &quot;A String&quot;, # The user account used to authenticate.
},
&quot;userPassword&quot;: { # Parameters to support Username and Password Authentication. # UserPassword.
&quot;password&quot;: { # Secret provides a reference to entries in Secret Manager. # Secret version reference containing the password.
&quot;secretVersion&quot;: &quot;A String&quot;, # The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
Expand All @@ -620,9 +651,6 @@ <h3>Method Details</h3>
&quot;connectorVersion&quot;: &quot;A String&quot;, # Required. Connector version on which the connection is created. The format is: projects/*/locations/global/providers/*/connectors/*/versions/*
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Created time.
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the resource.
&quot;egressBackends&quot;: [ # Output only. Outbound domains/hosts needs to be allowlisted.
&quot;A String&quot;,
],
&quot;envoyImageLocation&quot;: &quot;A String&quot;, # Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}
&quot;imageLocation&quot;: &quot;A String&quot;, # Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}
&quot;labels&quot;: { # 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
Expand All @@ -644,7 +672,7 @@ <h3>Method Details</h3>
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Updated time.
}

updateMask: string, Field mask is used to specify the fields to be overwritten in the Connection 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.
updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the Connection 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
Expand Down
1 change: 1 addition & 0 deletions docs/dyn/connectors_v1.projects.locations.html
Expand Up @@ -162,6 +162,7 @@ <h3>Method Details</h3>
&quot;controlPlaneSubscription&quot;: &quot;A String&quot;, # Output only. Pub/Sub subscription for control plane to receive message. E.g. projects/{project-id}/subscriptions/{topic-id}
&quot;controlPlaneTopic&quot;: &quot;A String&quot;, # Output only. Pub/Sub topic for control plne to send message. communication. E.g. projects/{project-id}/topics/{topic-id}
&quot;locationId&quot;: &quot;A String&quot;, # Output only. location_id of the runtime location. E.g. &quot;us-west1&quot;.
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the form: `projects/*/locations/*/runtimeConfig`
&quot;runtimeEndpoint&quot;: &quot;A String&quot;, # Output only. The endpoint of the connectors runtime ingress.
&quot;schemaGcsBucket&quot;: &quot;A String&quot;, # Output only. The Cloud Storage bucket that stores connector&#x27;s schema reports.
&quot;serviceDirectory&quot;: &quot;A String&quot;, # Output only. The name of the Service Directory service name.
Expand Down
55 changes: 41 additions & 14 deletions googleapiclient/discovery_cache/documents/connectors.v1.json
Expand Up @@ -436,7 +436,7 @@
"type": "string"
},
"updateMask": {
"description": "Field mask is used to specify the fields to be overwritten in the Connection 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.",
"description": "Required. Field mask is used to specify the fields to be overwritten in the Connection 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"
Expand Down Expand Up @@ -1055,7 +1055,7 @@
}
}
},
"revision": "20220523",
"revision": "20220603",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -1123,13 +1123,15 @@
"AUTH_TYPE_UNSPECIFIED",
"USER_PASSWORD",
"OAUTH2_JWT_BEARER",
"OAUTH2_CLIENT_CREDENTIALS"
"OAUTH2_CLIENT_CREDENTIALS",
"SSH_PUBLIC_KEY"
],
"enumDescriptions": [
"Authentication type not specified.",
"Username and Password Authentication.",
"JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication",
"Oauth 2.0 Client Credentials Grant Authentication"
"Oauth 2.0 Client Credentials Grant Authentication",
"SSH Public Key Authentication"
],
"type": "string"
},
Expand All @@ -1141,6 +1143,10 @@
"$ref": "Oauth2JwtBearer",
"description": "Oauth2JwtBearer."
},
"sshPublicKey": {
"$ref": "SshPublicKey",
"description": "SSH Public Key."
},
"userPassword": {
"$ref": "UserPassword",
"description": "UserPassword."
Expand All @@ -1158,13 +1164,15 @@
"AUTH_TYPE_UNSPECIFIED",
"USER_PASSWORD",
"OAUTH2_JWT_BEARER",
"OAUTH2_CLIENT_CREDENTIALS"
"OAUTH2_CLIENT_CREDENTIALS",
"SSH_PUBLIC_KEY"
],
"enumDescriptions": [
"Authentication type not specified.",
"Username and Password Authentication.",
"JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication",
"Oauth 2.0 Client Credentials Grant Authentication"
"Oauth 2.0 Client Credentials Grant Authentication",
"SSH Public Key Authentication"
],
"type": "string"
},
Expand Down Expand Up @@ -1321,14 +1329,6 @@
"description": "Optional. Description of the resource.",
"type": "string"
},
"egressBackends": {
"description": "Output only. Outbound domains/hosts needs to be allowlisted.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"envoyImageLocation": {
"description": "Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}",
"readOnly": true,
Expand Down Expand Up @@ -2647,6 +2647,11 @@
"readOnly": true,
"type": "string"
},
"name": {
"description": "Output only. Resource name of the form: `projects/*/locations/*/runtimeConfig`",
"readOnly": true,
"type": "string"
},
"runtimeEndpoint": {
"description": "Output only. The endpoint of the connectors runtime ingress.",
"readOnly": true,
Expand Down Expand Up @@ -2758,6 +2763,28 @@
},
"type": "object"
},
"SshPublicKey": {
"id": "SshPublicKey",
"properties": {
"certType": {
"description": "Format of SSH Client cert.",
"type": "string"
},
"password": {
"$ref": "Secret",
"description": "This is an optional field used in case client has enabled multi-factor authentication"
},
"sshClientCert": {
"$ref": "Secret",
"description": "SSH Client Cert. It should contain both public and private key."
},
"username": {
"description": "The user account used to authenticate.",
"type": "string"
}
},
"type": "object"
},
"Status": {
"description": "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).",
"id": "Status",
Expand Down

0 comments on commit c2d081d

Please sign in to comment.