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 added:
- schemas.AuthorizedNetwork (Total Keys: 3)
- schemas.ConnectionInfo.properties.publicIpAddress (Total Keys: 2)
- schemas.Instance.properties.networkConfig.$ref (Total Keys: 1)
- schemas.Instance.properties.publicIpAddress (Total Keys: 2)
- schemas.InstanceNetworkConfig (Total Keys: 5)
  • Loading branch information
yoshi-automation committed Mar 26, 2024
1 parent 1fb8c03 commit c51d2a8
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 9 deletions.
46 changes: 46 additions & 0 deletions docs/dyn/alloydb_v1.projects.locations.clusters.instances.html
Expand Up @@ -154,6 +154,14 @@ <h3>Method Details</h3>
&quot;cpuCount&quot;: 42, # The number of CPU&#x27;s in the VM instance.
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}
&quot;networkConfig&quot;: { # Metadata related to instance level network configuration. # Optional. Instance level network configuration.
&quot;authorizedExternalNetworks&quot;: [ # Optional. A list of external network authorized to access this instance.
{ # AuthorizedNetwork contains metadata for an authorized network.
&quot;cidrRange&quot;: &quot;A String&quot;, # CIDR range for one authorzied network of the instance.
},
],
&quot;enablePublicIp&quot;: True or False, # Optional. Enabling public ip for the instance.
},
&quot;nodes&quot;: [ # Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
{ # Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.
&quot;id&quot;: &quot;A String&quot;, # The identifier of the VM e.g. &quot;test-read-0601-407e52be-ms3l&quot;.
Expand All @@ -162,6 +170,7 @@ <h3>Method Details</h3>
&quot;zoneId&quot;: &quot;A String&quot;, # The Compute Engine zone of the VM e.g. &quot;us-central1-b&quot;.
},
],
&quot;publicIpAddress&quot;: &quot;A String&quot;, # Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
&quot;queryInsightsConfig&quot;: { # QueryInsights Instance specific configuration. # Configuration for query insights.
&quot;queryPlansPerMinute&quot;: 42, # Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
&quot;queryStringLength&quot;: 42, # Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
Expand Down Expand Up @@ -254,6 +263,14 @@ <h3>Method Details</h3>
&quot;cpuCount&quot;: 42, # The number of CPU&#x27;s in the VM instance.
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}
&quot;networkConfig&quot;: { # Metadata related to instance level network configuration. # Optional. Instance level network configuration.
&quot;authorizedExternalNetworks&quot;: [ # Optional. A list of external network authorized to access this instance.
{ # AuthorizedNetwork contains metadata for an authorized network.
&quot;cidrRange&quot;: &quot;A String&quot;, # CIDR range for one authorzied network of the instance.
},
],
&quot;enablePublicIp&quot;: True or False, # Optional. Enabling public ip for the instance.
},
&quot;nodes&quot;: [ # Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
{ # Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.
&quot;id&quot;: &quot;A String&quot;, # The identifier of the VM e.g. &quot;test-read-0601-407e52be-ms3l&quot;.
Expand All @@ -262,6 +279,7 @@ <h3>Method Details</h3>
&quot;zoneId&quot;: &quot;A String&quot;, # The Compute Engine zone of the VM e.g. &quot;us-central1-b&quot;.
},
],
&quot;publicIpAddress&quot;: &quot;A String&quot;, # Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
&quot;queryInsightsConfig&quot;: { # QueryInsights Instance specific configuration. # Configuration for query insights.
&quot;queryPlansPerMinute&quot;: 42, # Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
&quot;queryStringLength&quot;: 42, # Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
Expand Down Expand Up @@ -445,6 +463,14 @@ <h3>Method Details</h3>
&quot;cpuCount&quot;: 42, # The number of CPU&#x27;s in the VM instance.
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}
&quot;networkConfig&quot;: { # Metadata related to instance level network configuration. # Optional. Instance level network configuration.
&quot;authorizedExternalNetworks&quot;: [ # Optional. A list of external network authorized to access this instance.
{ # AuthorizedNetwork contains metadata for an authorized network.
&quot;cidrRange&quot;: &quot;A String&quot;, # CIDR range for one authorzied network of the instance.
},
],
&quot;enablePublicIp&quot;: True or False, # Optional. Enabling public ip for the instance.
},
&quot;nodes&quot;: [ # Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
{ # Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.
&quot;id&quot;: &quot;A String&quot;, # The identifier of the VM e.g. &quot;test-read-0601-407e52be-ms3l&quot;.
Expand All @@ -453,6 +479,7 @@ <h3>Method Details</h3>
&quot;zoneId&quot;: &quot;A String&quot;, # The Compute Engine zone of the VM e.g. &quot;us-central1-b&quot;.
},
],
&quot;publicIpAddress&quot;: &quot;A String&quot;, # Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
&quot;queryInsightsConfig&quot;: { # QueryInsights Instance specific configuration. # Configuration for query insights.
&quot;queryPlansPerMinute&quot;: 42, # Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
&quot;queryStringLength&quot;: 42, # Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
Expand Down Expand Up @@ -495,6 +522,7 @@ <h3>Method Details</h3>
&quot;instanceUid&quot;: &quot;A String&quot;, # Output only. The unique ID of the Instance.
&quot;ipAddress&quot;: &quot;A String&quot;, # Output only. The private network IP address for the Instance. This is the default IP for the instance and is always created (even if enable_public_ip is set). This is the connection endpoint for an end-user application.
&quot;name&quot;: &quot;A String&quot;, # The name of the ConnectionInfo singleton resource, e.g.: projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo This field currently has no semantic meaning.
&quot;publicIpAddress&quot;: &quot;A String&quot;, # Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
}</pre>
</div>

Expand Down Expand Up @@ -591,6 +619,14 @@ <h3>Method Details</h3>
&quot;cpuCount&quot;: 42, # The number of CPU&#x27;s in the VM instance.
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}
&quot;networkConfig&quot;: { # Metadata related to instance level network configuration. # Optional. Instance level network configuration.
&quot;authorizedExternalNetworks&quot;: [ # Optional. A list of external network authorized to access this instance.
{ # AuthorizedNetwork contains metadata for an authorized network.
&quot;cidrRange&quot;: &quot;A String&quot;, # CIDR range for one authorzied network of the instance.
},
],
&quot;enablePublicIp&quot;: True or False, # Optional. Enabling public ip for the instance.
},
&quot;nodes&quot;: [ # Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
{ # Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.
&quot;id&quot;: &quot;A String&quot;, # The identifier of the VM e.g. &quot;test-read-0601-407e52be-ms3l&quot;.
Expand All @@ -599,6 +635,7 @@ <h3>Method Details</h3>
&quot;zoneId&quot;: &quot;A String&quot;, # The Compute Engine zone of the VM e.g. &quot;us-central1-b&quot;.
},
],
&quot;publicIpAddress&quot;: &quot;A String&quot;, # Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
&quot;queryInsightsConfig&quot;: { # QueryInsights Instance specific configuration. # Configuration for query insights.
&quot;queryPlansPerMinute&quot;: 42, # Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
&quot;queryStringLength&quot;: 42, # Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
Expand Down Expand Up @@ -680,6 +717,14 @@ <h3>Method Details</h3>
&quot;cpuCount&quot;: 42, # The number of CPU&#x27;s in the VM instance.
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}
&quot;networkConfig&quot;: { # Metadata related to instance level network configuration. # Optional. Instance level network configuration.
&quot;authorizedExternalNetworks&quot;: [ # Optional. A list of external network authorized to access this instance.
{ # AuthorizedNetwork contains metadata for an authorized network.
&quot;cidrRange&quot;: &quot;A String&quot;, # CIDR range for one authorzied network of the instance.
},
],
&quot;enablePublicIp&quot;: True or False, # Optional. Enabling public ip for the instance.
},
&quot;nodes&quot;: [ # Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
{ # Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.
&quot;id&quot;: &quot;A String&quot;, # The identifier of the VM e.g. &quot;test-read-0601-407e52be-ms3l&quot;.
Expand All @@ -688,6 +733,7 @@ <h3>Method Details</h3>
&quot;zoneId&quot;: &quot;A String&quot;, # The Compute Engine zone of the VM e.g. &quot;us-central1-b&quot;.
},
],
&quot;publicIpAddress&quot;: &quot;A String&quot;, # Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.
&quot;queryInsightsConfig&quot;: { # QueryInsights Instance specific configuration. # Configuration for query insights.
&quot;queryPlansPerMinute&quot;: 42, # Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
&quot;queryStringLength&quot;: 42, # Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
Expand Down
49 changes: 46 additions & 3 deletions googleapiclient/discovery_cache/documents/alloydb.v1.json
Expand Up @@ -1461,9 +1461,20 @@
}
}
},
"revision": "20240306",
"revision": "20240315",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AuthorizedNetwork": {
"description": "AuthorizedNetwork contains metadata for an authorized network.",
"id": "AuthorizedNetwork",
"properties": {
"cidrRange": {
"description": "CIDR range for one authorzied network of the instance.",
"type": "string"
}
},
"type": "object"
},
"AutomatedBackupPolicy": {
"description": "Message describing the user-specified automated backup policy. All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.",
"id": "AutomatedBackupPolicy",
Expand Down Expand Up @@ -1947,6 +1958,11 @@ false
"name": {
"description": "The name of the ConnectionInfo singleton resource, e.g.: projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo This field currently has no semantic meaning.",
"type": "string"
},
"publicIpAddress": {
"description": "Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -2304,6 +2320,10 @@ false
"readOnly": true,
"type": "string"
},
"networkConfig": {
"$ref": "InstanceNetworkConfig",
"description": "Optional. Instance level network configuration."
},
"nodes": {
"description": "Output only. List of available read-only VMs in this instance, including the standby for a PRIMARY instance.",
"items": {
Expand All @@ -2312,6 +2332,11 @@ false
"readOnly": true,
"type": "array"
},
"publicIpAddress": {
"description": "Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.",
"readOnly": true,
"type": "string"
},
"queryInsightsConfig": {
"$ref": "QueryInsightsInstanceConfig",
"description": "Configuration for query insights."
Expand Down Expand Up @@ -2376,6 +2401,24 @@ false
},
"type": "object"
},
"InstanceNetworkConfig": {
"description": "Metadata related to instance level network configuration.",
"id": "InstanceNetworkConfig",
"properties": {
"authorizedExternalNetworks": {
"description": "Optional. A list of external network authorized to access this instance.",
"items": {
"$ref": "AuthorizedNetwork"
},
"type": "array"
},
"enablePublicIp": {
"description": "Optional. Enabling public ip for the instance.",
"type": "boolean"
}
},
"type": "object"
},
"IntegerRestrictions": {
"description": "Restrictions on INTEGER type values.",
"id": "IntegerRestrictions",
Expand Down Expand Up @@ -3257,7 +3300,7 @@ false
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS",
"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP",
"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT",
"SIGNAL_TYPE_QUOTA_LIMIT",
"SIGNAL_TYPE_NO_PASSWORD_POLICY",
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
Expand Down Expand Up @@ -3736,7 +3779,7 @@ false
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS",
"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP",
"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT",
"SIGNAL_TYPE_QUOTA_LIMIT",
"SIGNAL_TYPE_NO_PASSWORD_POLICY",
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
Expand Down
Expand Up @@ -1461,7 +1461,7 @@
}
}
},
"revision": "20240306",
"revision": "20240315",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AuthorizedNetwork": {
Expand Down Expand Up @@ -3598,7 +3598,7 @@ false
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS",
"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP",
"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT",
"SIGNAL_TYPE_QUOTA_LIMIT",
"SIGNAL_TYPE_NO_PASSWORD_POLICY",
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
Expand Down Expand Up @@ -4077,7 +4077,7 @@ false
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS",
"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP",
"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT",
"SIGNAL_TYPE_QUOTA_LIMIT",
"SIGNAL_TYPE_NO_PASSWORD_POLICY",
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
Expand Down
6 changes: 3 additions & 3 deletions googleapiclient/discovery_cache/documents/alloydb.v1beta.json
Expand Up @@ -1458,7 +1458,7 @@
}
}
},
"revision": "20240306",
"revision": "20240315",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AuthorizedNetwork": {
Expand Down Expand Up @@ -3574,7 +3574,7 @@ false
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS",
"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP",
"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT",
"SIGNAL_TYPE_QUOTA_LIMIT",
"SIGNAL_TYPE_NO_PASSWORD_POLICY",
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
Expand Down Expand Up @@ -4053,7 +4053,7 @@ false
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS",
"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP",
"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT",
"SIGNAL_TYPE_QUOTA_LIMIT",
"SIGNAL_TYPE_NO_PASSWORD_POLICY",
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
Expand Down

0 comments on commit c51d2a8

Please sign in to comment.