Skip to content

Commit

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

The following keys were deleted:
- resources.projects.resources.locations.resources.clusters.methods.generateClientCertificate (Total Keys: 12)
- schemas.GenerateClientCertificateRequest (Total Keys: 7)
- schemas.GenerateClientCertificateResponse (Total Keys: 6)

The following keys were added:
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.userLabelSet.$ref (Total Keys: 1)
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.userLabels.deprecated (Total Keys: 1)
- schemas.StorageDatabasecenterPartnerapiV1mainUserLabels (Total Keys: 4)

#### alloydb:v1alpha

The following keys were deleted:
- resources.projects.resources.locations.resources.clusters.methods.generateClientCertificate (Total Keys: 12)
- schemas.GenerateClientCertificateRequest (Total Keys: 9)
- schemas.GenerateClientCertificateResponse (Total Keys: 9)

The following keys were added:
- schemas.Cluster.properties.geminiConfig.$ref (Total Keys: 1)
- schemas.Cluster.properties.maintenanceUpdatePolicy.$ref (Total Keys: 1)
- schemas.DenyMaintenancePeriod (Total Keys: 5)
- schemas.GeminiClusterConfig (Total Keys: 2)
- schemas.GeminiInstanceConfig (Total Keys: 2)
- schemas.GoogleTypeDate (Total Keys: 8)
- schemas.Instance.properties.geminiConfig.$ref (Total Keys: 1)
- schemas.Instance.properties.observabilityConfig.$ref (Total Keys: 1)
- schemas.MaintenanceUpdatePolicy (Total Keys: 6)
- schemas.MaintenanceWindow (Total Keys: 4)
- schemas.ObservabilityInstanceConfig (Total Keys: 13)
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.userLabelSet.$ref (Total Keys: 1)
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.userLabels.deprecated (Total Keys: 1)
- schemas.StorageDatabasecenterPartnerapiV1mainUserLabels (Total Keys: 4)

#### alloydb:v1beta

The following keys were deleted:
- resources.projects.resources.locations.resources.clusters.methods.generateClientCertificate (Total Keys: 12)
- schemas.GenerateClientCertificateRequest (Total Keys: 9)
- schemas.GenerateClientCertificateResponse (Total Keys: 9)

The following keys were added:
- schemas.Cluster.properties.geminiConfig.$ref (Total Keys: 1)
- schemas.Cluster.properties.maintenanceUpdatePolicy.$ref (Total Keys: 1)
- schemas.DenyMaintenancePeriod (Total Keys: 5)
- schemas.GeminiClusterConfig (Total Keys: 2)
- schemas.GeminiInstanceConfig (Total Keys: 2)
- schemas.GoogleTypeDate (Total Keys: 8)
- schemas.Instance.properties.geminiConfig.$ref (Total Keys: 1)
- schemas.Instance.properties.observabilityConfig.$ref (Total Keys: 1)
- schemas.MaintenanceUpdatePolicy (Total Keys: 6)
- schemas.MaintenanceWindow (Total Keys: 4)
- schemas.ObservabilityInstanceConfig (Total Keys: 13)
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.userLabelSet.$ref (Total Keys: 1)
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.userLabels.deprecated (Total Keys: 1)
- schemas.StorageDatabasecenterPartnerapiV1mainUserLabels (Total Keys: 4)
  • Loading branch information
yoshi-automation committed Mar 19, 2024
1 parent 840e463 commit 5a65564
Show file tree
Hide file tree
Showing 8 changed files with 1,100 additions and 341 deletions.
35 changes: 0 additions & 35 deletions docs/dyn/alloydb_v1.projects.locations.clusters.html
Expand Up @@ -96,9 +96,6 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#delete">delete(name, etag=None, force=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes a single Cluster.</p>
<p class="toc_element">
<code><a href="#generateClientCertificate">generateClientCertificate(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Generate a client certificate signed by a Cluster CA. The sole purpose of this endpoint is to support AlloyDB connectors and the Auth Proxy client. The endpoint's behavior is subject to change without notice, so do not rely on its behavior remaining constant. Future changes will not break AlloyDB connectors or the Auth Proxy client.</p>
<p class="toc_element">
<code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
<p class="firstline">Gets details of a single Cluster.</p>
Expand Down Expand Up @@ -464,38 +461,6 @@ <h3>Method Details</h3>
}</pre>
</div>

<div class="method">
<code class="details" id="generateClientCertificate">generateClientCertificate(parent, body=None, x__xgafv=None)</code>
<pre>Generate a client certificate signed by a Cluster CA. The sole purpose of this endpoint is to support AlloyDB connectors and the Auth Proxy client. The endpoint&#x27;s behavior is subject to change without notice, so do not rely on its behavior remaining constant. Future changes will not break AlloyDB connectors or the Auth Proxy client.

Args:
parent: string, Required. The name of the parent resource. The required format is: * projects/{project}/locations/{location}/clusters/{cluster} (required)
body: object, The request body.
The object takes the form of:

{ # Message for requests to generate a client certificate signed by the Cluster CA.
&quot;certDuration&quot;: &quot;A String&quot;, # Optional. An optional hint to the endpoint to generate the client certificate with the requested duration. The duration can be from 1 hour to 24 hours. The endpoint may or may not honor the hint. If the hint is left unspecified or is not honored, then the endpoint will pick an appropriate default duration.
&quot;publicKey&quot;: &quot;A String&quot;, # Optional. The public key from the client.
&quot;requestId&quot;: &quot;A String&quot;, # Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes 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).
&quot;useMetadataExchange&quot;: True or False, # Optional. An optional hint to the endpoint to generate a client ceritificate that can be used by AlloyDB connectors to exchange additional metadata with the server after TLS handshake.
}

x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Message returned by a GenerateClientCertificate operation.
&quot;caCert&quot;: &quot;A String&quot;, # Optional. The pem-encoded cluster ca X.509 certificate.
&quot;pemCertificateChain&quot;: [ # Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
&quot;A String&quot;,
],
}</pre>
</div>

<div class="method">
<code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
<pre>Gets details of a single Cluster.
Expand Down
253 changes: 216 additions & 37 deletions docs/dyn/alloydb_v1alpha.projects.locations.clusters.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

253 changes: 216 additions & 37 deletions docs/dyn/alloydb_v1beta.projects.locations.clusters.html

Large diffs are not rendered by default.

65 changes: 65 additions & 0 deletions docs/dyn/alloydb_v1beta.projects.locations.clusters.instances.html

Large diffs are not rendered by default.

146 changes: 68 additions & 78 deletions googleapiclient/discovery_cache/documents/alloydb.v1.json
Expand Up @@ -517,34 +517,6 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"generateClientCertificate": {
"description": "Generate a client certificate signed by a Cluster CA. The sole purpose of this endpoint is to support AlloyDB connectors and the Auth Proxy client. The endpoint's behavior is subject to change without notice, so do not rely on its behavior remaining constant. Future changes will not break AlloyDB connectors or the Auth Proxy client.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:generateClientCertificate",
"httpMethod": "POST",
"id": "alloydb.projects.locations.clusters.generateClientCertificate",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The name of the parent resource. The required format is: * projects/{project}/locations/{location}/clusters/{cluster}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}:generateClientCertificate",
"request": {
"$ref": "GenerateClientCertificateRequest"
},
"response": {
"$ref": "GenerateClientCertificateResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets details of a single Cluster.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
Expand Down Expand Up @@ -1489,7 +1461,7 @@
}
}
},
"revision": "20240228",
"revision": "20240306",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AutomatedBackupPolicy": {
Expand Down Expand Up @@ -2129,49 +2101,6 @@ false
},
"type": "object"
},
"GenerateClientCertificateRequest": {
"description": "Message for requests to generate a client certificate signed by the Cluster CA.",
"id": "GenerateClientCertificateRequest",
"properties": {
"certDuration": {
"description": "Optional. An optional hint to the endpoint to generate the client certificate with the requested duration. The duration can be from 1 hour to 24 hours. The endpoint may or may not honor the hint. If the hint is left unspecified or is not honored, then the endpoint will pick an appropriate default duration.",
"format": "google-duration",
"type": "string"
},
"publicKey": {
"description": "Optional. The public key from the client.",
"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).",
"type": "string"
},
"useMetadataExchange": {
"description": "Optional. An optional hint to the endpoint to generate a client ceritificate that can be used by AlloyDB connectors to exchange additional metadata with the server after TLS handshake.",
"type": "boolean"
}
},
"type": "object"
},
"GenerateClientCertificateResponse": {
"description": "Message returned by a GenerateClientCertificate operation.",
"id": "GenerateClientCertificateResponse",
"properties": {
"caCert": {
"description": "Optional. The pem-encoded cluster ca X.509 certificate.",
"type": "string"
},
"pemCertificateChain": {
"description": "Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
},
"GoogleCloudLocationListLocationsResponse": {
"description": "The response message for Locations.ListLocations.",
"id": "GoogleCloudLocationListLocationsResponse",
Expand Down Expand Up @@ -3327,7 +3256,13 @@ false
"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY",
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS",
"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP"
"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP",
"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT",
"SIGNAL_TYPE_NO_PASSWORD_POLICY",
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"
],
"enumDeprecated": [
false,
Expand Down Expand Up @@ -3390,6 +3325,12 @@ false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
Expand Down Expand Up @@ -3453,7 +3394,13 @@ false
"Represents server certificate is near expiry.",
"Represents database auditing is disabled.",
"Represents not restricted to authorized networks.",
"Represents violate org policy restrict public ip."
"Represents violate org policy restrict public ip.",
"Cluster nearing quota limit",
"No password policy set on resources",
"Performance impact of connections settings",
"Performance impact of temporary tables settings",
"Performance impact of transaction logs settings",
"Performance impact of high joins without indexes"
],
"type": "string"
},
Expand Down Expand Up @@ -3657,10 +3604,15 @@ false
"format": "google-datetime",
"type": "string"
},
"userLabelSet": {
"$ref": "StorageDatabasecenterPartnerapiV1mainUserLabels",
"description": "User-provided labels associated with the resource"
},
"userLabels": {
"additionalProperties": {
"type": "string"
},
"deprecated": true,
"description": "User-provided labels, represented as a dictionary where each label is a single key value pair.",
"type": "object"
}
Expand Down Expand Up @@ -3783,7 +3735,13 @@ false
"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY",
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS",
"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP"
"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP",
"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT",
"SIGNAL_TYPE_NO_PASSWORD_POLICY",
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"
],
"enumDeprecated": [
false,
Expand Down Expand Up @@ -3846,6 +3804,12 @@ false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
Expand Down Expand Up @@ -3909,7 +3873,13 @@ false
"Represents server certificate is near expiry.",
"Represents database auditing is disabled.",
"Represents not restricted to authorized networks.",
"Represents violate org policy restrict public ip."
"Represents violate org policy restrict public ip.",
"Cluster nearing quota limit",
"No password policy set on resources",
"Performance impact of connections settings",
"Performance impact of temporary tables settings",
"Performance impact of transaction logs settings",
"Performance impact of high joins without indexes"
],
"type": "string"
}
Expand Down Expand Up @@ -3938,11 +3908,18 @@ false
"description": "An enum that represents the type of this entitlement.",
"enum": [
"ENTITLEMENT_TYPE_UNSPECIFIED",
"DUET_AI"
"DUET_AI",
"GEMINI"
],
"enumDeprecated": [
false,
true,
false
],
"enumDescriptions": [
"",
"The root entitlement representing Duet AI package ownership."
"The root entitlement representing Duet AI package ownership.",
"The root entitlement representing Gemini package ownership."
],
"type": "string"
}
Expand Down Expand Up @@ -4015,6 +3992,19 @@ false
},
"type": "object"
},
"StorageDatabasecenterPartnerapiV1mainUserLabels": {
"description": "Message type for storing user labels. User labels are used to tag App Engine resources, allowing users to search for resources matching a set of labels and to aggregate usage data by labels.",
"id": "StorageDatabasecenterPartnerapiV1mainUserLabels",
"properties": {
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object"
}
},
"type": "object"
},
"StorageDatabasecenterProtoCommonProduct": {
"description": "Product specification for Condor resources.",
"id": "StorageDatabasecenterProtoCommonProduct",
Expand Down

0 comments on commit 5a65564

Please sign in to comment.