Skip to content

Commit 2707e6d

Browse files
yoshi-automationsofisl
authored andcommitted
feat(alloydb): update the API
#### alloydb:v1alpha The following keys were added: - resources.projects.resources.locations.resources.clusters.methods.export.description - resources.projects.resources.locations.resources.clusters.methods.export.flatPath - resources.projects.resources.locations.resources.clusters.methods.export.httpMethod - resources.projects.resources.locations.resources.clusters.methods.export.id - resources.projects.resources.locations.resources.clusters.methods.export.parameterOrder - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.description - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.location - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.pattern - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.required - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.type - resources.projects.resources.locations.resources.clusters.methods.export.path - resources.projects.resources.locations.resources.clusters.methods.export.request.$ref - resources.projects.resources.locations.resources.clusters.methods.export.response.$ref - resources.projects.resources.locations.resources.clusters.methods.export.scopes - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.description - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.flatPath - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.httpMethod - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.id - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.parameterOrder - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.parameters.parent.description - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.parameters.parent.location - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.parameters.parent.pattern - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.parameters.parent.required - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.parameters.parent.type - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.path - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.request.$ref - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.response.$ref - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.scopes - schemas.Backup.properties.tags.additionalProperties.type - schemas.Backup.properties.tags.description - schemas.Backup.properties.tags.type - schemas.Cluster.properties.tags.additionalProperties.type - schemas.Cluster.properties.tags.description - schemas.Cluster.properties.tags.type - schemas.CsvExportOptions.description - schemas.CsvExportOptions.id - schemas.CsvExportOptions.properties.escapeCharacter.description - schemas.CsvExportOptions.properties.escapeCharacter.type - schemas.CsvExportOptions.properties.fieldDelimiter.description - schemas.CsvExportOptions.properties.fieldDelimiter.type - schemas.CsvExportOptions.properties.quoteCharacter.description - schemas.CsvExportOptions.properties.quoteCharacter.type - schemas.CsvExportOptions.properties.selectQuery.description - schemas.CsvExportOptions.properties.selectQuery.type - schemas.CsvExportOptions.type - schemas.ExportClusterRequest.description - schemas.ExportClusterRequest.id - schemas.ExportClusterRequest.properties.csvExportOptions.$ref - schemas.ExportClusterRequest.properties.csvExportOptions.description - schemas.ExportClusterRequest.properties.database.description - schemas.ExportClusterRequest.properties.database.type - schemas.ExportClusterRequest.properties.gcsDestination.$ref - schemas.ExportClusterRequest.properties.gcsDestination.description - schemas.ExportClusterRequest.properties.sqlExportOptions.$ref - schemas.ExportClusterRequest.properties.sqlExportOptions.description - schemas.ExportClusterRequest.type - schemas.GcsDestination.description - schemas.GcsDestination.id - schemas.GcsDestination.properties.uri.description - schemas.GcsDestination.properties.uri.type - schemas.GcsDestination.type - schemas.Node.properties.id.readOnly - schemas.Node.properties.ip.readOnly - schemas.Node.properties.state.readOnly - schemas.Node.properties.zoneId.readOnly - schemas.PscConfig.properties.serviceOwnedProjectNumber.description - schemas.PscConfig.properties.serviceOwnedProjectNumber.format - schemas.PscConfig.properties.serviceOwnedProjectNumber.readOnly - schemas.PscConfig.properties.serviceOwnedProjectNumber.type - schemas.PscInstanceConfig.properties.pscInterfaceConfigs.description - schemas.PscInstanceConfig.properties.pscInterfaceConfigs.items.$ref - schemas.PscInstanceConfig.properties.pscInterfaceConfigs.type - schemas.PscInterfaceConfig.description - schemas.PscInterfaceConfig.id - schemas.PscInterfaceConfig.properties.networkAttachmentResource.description - schemas.PscInterfaceConfig.properties.networkAttachmentResource.type - schemas.PscInterfaceConfig.type - schemas.RestoreFromCloudSQLRequest.description - schemas.RestoreFromCloudSQLRequest.id - schemas.RestoreFromCloudSQLRequest.properties.cloudsqlBackupRunSource.$ref - schemas.RestoreFromCloudSQLRequest.properties.cloudsqlBackupRunSource.description - schemas.RestoreFromCloudSQLRequest.properties.cluster.$ref - schemas.RestoreFromCloudSQLRequest.properties.cluster.description - schemas.RestoreFromCloudSQLRequest.properties.clusterId.description - schemas.RestoreFromCloudSQLRequest.properties.clusterId.type - schemas.RestoreFromCloudSQLRequest.type - schemas.SqlExportOptions.description - schemas.SqlExportOptions.id - schemas.SqlExportOptions.properties.cleanTargetObjects.description - schemas.SqlExportOptions.properties.cleanTargetObjects.type - schemas.SqlExportOptions.properties.ifExistTargetObjects.description - schemas.SqlExportOptions.properties.ifExistTargetObjects.type - schemas.SqlExportOptions.properties.schemaOnly.description - schemas.SqlExportOptions.properties.schemaOnly.type - schemas.SqlExportOptions.properties.tables.description - schemas.SqlExportOptions.properties.tables.items.type - schemas.SqlExportOptions.properties.tables.type - schemas.SqlExportOptions.type - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.edition.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.edition.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.edition.enumDescriptions - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.edition.type - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.cpuCount.deprecated - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.vcpuCount.description - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.vcpuCount.format - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.vcpuCount.type - schemas.StorageDatabasecenterPartnerapiV1mainRetentionSettings.properties.retentionUnit.deprecated - schemas.StorageDatabasecenterPartnerapiV1mainRetentionSettings.properties.timestampBasedRetentionTime.description - schemas.StorageDatabasecenterPartnerapiV1mainRetentionSettings.properties.timestampBasedRetentionTime.format - schemas.StorageDatabasecenterPartnerapiV1mainRetentionSettings.properties.timestampBasedRetentionTime.type The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.cancel.description - schemas.GoogleTypeTimeOfDay.properties.hours.description - schemas.GoogleTypeTimeOfDay.properties.minutes.description - schemas.GoogleTypeTimeOfDay.properties.nanos.description - schemas.GoogleTypeTimeOfDay.properties.seconds.description - schemas.Instance.properties.databaseFlags.description - schemas.Node.properties.id.description - schemas.Node.properties.ip.description - schemas.Node.properties.state.description - schemas.Node.properties.zoneId.description - schemas.OperationMetadata.properties.requestedCancellation.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDeprecated - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDescriptions - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.properties.signalType.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.properties.signalType.enumDeprecated - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.properties.signalType.enumDescriptions - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.cpuCount.description #### alloydb:v1beta The following keys were added: - resources.projects.resources.locations.resources.clusters.methods.export.description - resources.projects.resources.locations.resources.clusters.methods.export.flatPath - resources.projects.resources.locations.resources.clusters.methods.export.httpMethod - resources.projects.resources.locations.resources.clusters.methods.export.id - resources.projects.resources.locations.resources.clusters.methods.export.parameterOrder - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.description - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.location - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.pattern - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.required - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.type - resources.projects.resources.locations.resources.clusters.methods.export.path - resources.projects.resources.locations.resources.clusters.methods.export.request.$ref - resources.projects.resources.locations.resources.clusters.methods.export.response.$ref - resources.projects.resources.locations.resources.clusters.methods.export.scopes - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.description - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.flatPath - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.httpMethod - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.id - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.parameterOrder - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.parameters.parent.description - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.parameters.parent.location - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.parameters.parent.pattern - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.parameters.parent.required - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.parameters.parent.type - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.path - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.request.$ref - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.response.$ref - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL.scopes - schemas.Backup.properties.tags.additionalProperties.type - schemas.Backup.properties.tags.description - schemas.Backup.properties.tags.type - schemas.Cluster.properties.tags.additionalProperties.type - schemas.Cluster.properties.tags.description - schemas.Cluster.properties.tags.type - schemas.CsvExportOptions.description - schemas.CsvExportOptions.id - schemas.CsvExportOptions.properties.escapeCharacter.description - schemas.CsvExportOptions.properties.escapeCharacter.type - schemas.CsvExportOptions.properties.fieldDelimiter.description - schemas.CsvExportOptions.properties.fieldDelimiter.type - schemas.CsvExportOptions.properties.quoteCharacter.description - schemas.CsvExportOptions.properties.quoteCharacter.type - schemas.CsvExportOptions.properties.selectQuery.description - schemas.CsvExportOptions.properties.selectQuery.type - schemas.CsvExportOptions.type - schemas.ExportClusterRequest.description - schemas.ExportClusterRequest.id - schemas.ExportClusterRequest.properties.csvExportOptions.$ref - schemas.ExportClusterRequest.properties.csvExportOptions.description - schemas.ExportClusterRequest.properties.database.description - schemas.ExportClusterRequest.properties.database.type - schemas.ExportClusterRequest.properties.gcsDestination.$ref - schemas.ExportClusterRequest.properties.gcsDestination.description - schemas.ExportClusterRequest.properties.sqlExportOptions.$ref - schemas.ExportClusterRequest.properties.sqlExportOptions.description - schemas.ExportClusterRequest.type - schemas.GcsDestination.description - schemas.GcsDestination.id - schemas.GcsDestination.properties.uri.description - schemas.GcsDestination.properties.uri.type - schemas.GcsDestination.type - schemas.Node.properties.id.readOnly - schemas.Node.properties.ip.readOnly - schemas.Node.properties.state.readOnly - schemas.Node.properties.zoneId.readOnly - schemas.RestoreFromCloudSQLRequest.description - schemas.RestoreFromCloudSQLRequest.id - schemas.RestoreFromCloudSQLRequest.properties.cloudsqlBackupRunSource.$ref - schemas.RestoreFromCloudSQLRequest.properties.cloudsqlBackupRunSource.description - schemas.RestoreFromCloudSQLRequest.properties.cluster.$ref - schemas.RestoreFromCloudSQLRequest.properties.cluster.description - schemas.RestoreFromCloudSQLRequest.properties.clusterId.description - schemas.RestoreFromCloudSQLRequest.properties.clusterId.type - schemas.RestoreFromCloudSQLRequest.type - schemas.SqlExportOptions.description - schemas.SqlExportOptions.id - schemas.SqlExportOptions.properties.cleanTargetObjects.description - schemas.SqlExportOptions.properties.cleanTargetObjects.type - schemas.SqlExportOptions.properties.ifExistTargetObjects.description - schemas.SqlExportOptions.properties.ifExistTargetObjects.type - schemas.SqlExportOptions.properties.schemaOnly.description - schemas.SqlExportOptions.properties.schemaOnly.type - schemas.SqlExportOptions.properties.tables.description - schemas.SqlExportOptions.properties.tables.items.type - schemas.SqlExportOptions.properties.tables.type - schemas.SqlExportOptions.type - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.edition.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.edition.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.edition.enumDescriptions - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.edition.type - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.cpuCount.deprecated - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.vcpuCount.description - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.vcpuCount.format - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.vcpuCount.type - schemas.StorageDatabasecenterPartnerapiV1mainRetentionSettings.properties.retentionUnit.deprecated - schemas.StorageDatabasecenterPartnerapiV1mainRetentionSettings.properties.timestampBasedRetentionTime.description - schemas.StorageDatabasecenterPartnerapiV1mainRetentionSettings.properties.timestampBasedRetentionTime.format - schemas.StorageDatabasecenterPartnerapiV1mainRetentionSettings.properties.timestampBasedRetentionTime.type The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.cancel.description - schemas.GoogleTypeTimeOfDay.properties.hours.description - schemas.GoogleTypeTimeOfDay.properties.minutes.description - schemas.GoogleTypeTimeOfDay.properties.nanos.description - schemas.GoogleTypeTimeOfDay.properties.seconds.description - schemas.Instance.properties.databaseFlags.description - schemas.Node.properties.id.description - schemas.Node.properties.ip.description - schemas.Node.properties.state.description - schemas.Node.properties.zoneId.description - schemas.OperationMetadata.properties.requestedCancellation.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDeprecated - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDescriptions - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.properties.signalType.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.properties.signalType.enumDeprecated - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.properties.signalType.enumDescriptions - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.cpuCount.description #### alloydb:v1 The following keys were added: - resources.projects.resources.locations.resources.clusters.methods.export.description - resources.projects.resources.locations.resources.clusters.methods.export.flatPath - resources.projects.resources.locations.resources.clusters.methods.export.httpMethod - resources.projects.resources.locations.resources.clusters.methods.export.id - resources.projects.resources.locations.resources.clusters.methods.export.parameterOrder - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.description - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.location - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.pattern - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.required - resources.projects.resources.locations.resources.clusters.methods.export.parameters.name.type - resources.projects.resources.locations.resources.clusters.methods.export.path - resources.projects.resources.locations.resources.clusters.methods.export.request.$ref - resources.projects.resources.locations.resources.clusters.methods.export.response.$ref - resources.projects.resources.locations.resources.clusters.methods.export.scopes - schemas.Backup.properties.tags.additionalProperties.type - schemas.Backup.properties.tags.description - schemas.Backup.properties.tags.type - schemas.Cluster.properties.tags.additionalProperties.type - schemas.Cluster.properties.tags.description - schemas.Cluster.properties.tags.type - schemas.CsvExportOptions.description - schemas.CsvExportOptions.id - schemas.CsvExportOptions.properties.escapeCharacter.description - schemas.CsvExportOptions.properties.escapeCharacter.type - schemas.CsvExportOptions.properties.fieldDelimiter.description - schemas.CsvExportOptions.properties.fieldDelimiter.type - schemas.CsvExportOptions.properties.quoteCharacter.description - schemas.CsvExportOptions.properties.quoteCharacter.type - schemas.CsvExportOptions.properties.selectQuery.description - schemas.CsvExportOptions.properties.selectQuery.type - schemas.CsvExportOptions.type - schemas.ExportClusterRequest.description - schemas.ExportClusterRequest.id - schemas.ExportClusterRequest.properties.csvExportOptions.$ref - schemas.ExportClusterRequest.properties.csvExportOptions.description - schemas.ExportClusterRequest.properties.database.description - schemas.ExportClusterRequest.properties.database.type - schemas.ExportClusterRequest.properties.gcsDestination.$ref - schemas.ExportClusterRequest.properties.gcsDestination.description - schemas.ExportClusterRequest.properties.sqlExportOptions.$ref - schemas.ExportClusterRequest.properties.sqlExportOptions.description - schemas.ExportClusterRequest.type - schemas.ExportClusterResponse.description - schemas.ExportClusterResponse.id - schemas.ExportClusterResponse.properties.gcsDestination.$ref - schemas.ExportClusterResponse.properties.gcsDestination.description - schemas.ExportClusterResponse.type - schemas.GcsDestination.description - schemas.GcsDestination.id - schemas.GcsDestination.properties.uri.description - schemas.GcsDestination.properties.uri.type - schemas.GcsDestination.type - schemas.Node.properties.id.readOnly - schemas.Node.properties.ip.readOnly - schemas.Node.properties.state.readOnly - schemas.Node.properties.zoneId.readOnly - schemas.SqlExportOptions.description - schemas.SqlExportOptions.id - schemas.SqlExportOptions.properties.cleanTargetObjects.description - schemas.SqlExportOptions.properties.cleanTargetObjects.type - schemas.SqlExportOptions.properties.ifExistTargetObjects.description - schemas.SqlExportOptions.properties.ifExistTargetObjects.type - schemas.SqlExportOptions.properties.schemaOnly.description - schemas.SqlExportOptions.properties.schemaOnly.type - schemas.SqlExportOptions.properties.tables.description - schemas.SqlExportOptions.properties.tables.items.type - schemas.SqlExportOptions.properties.tables.type - schemas.SqlExportOptions.type - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.edition.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.edition.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.edition.enumDescriptions - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.edition.type - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.cpuCount.deprecated - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.vcpuCount.description - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.vcpuCount.format - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.vcpuCount.type - schemas.StorageDatabasecenterPartnerapiV1mainRetentionSettings.properties.retentionUnit.deprecated - schemas.StorageDatabasecenterPartnerapiV1mainRetentionSettings.properties.timestampBasedRetentionTime.description - schemas.StorageDatabasecenterPartnerapiV1mainRetentionSettings.properties.timestampBasedRetentionTime.format - schemas.StorageDatabasecenterPartnerapiV1mainRetentionSettings.properties.timestampBasedRetentionTime.type The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.cancel.description - schemas.GoogleTypeTimeOfDay.properties.hours.description - schemas.GoogleTypeTimeOfDay.properties.minutes.description - schemas.GoogleTypeTimeOfDay.properties.nanos.description - schemas.GoogleTypeTimeOfDay.properties.seconds.description - schemas.Instance.properties.databaseFlags.description - schemas.Node.properties.id.description - schemas.Node.properties.ip.description - schemas.Node.properties.state.description - schemas.Node.properties.zoneId.description - schemas.OperationMetadata.properties.requestedCancellation.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDeprecated - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDescriptions - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.description - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.properties.signalType.enum - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.properties.signalType.enumDeprecated - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.properties.signalType.enumDescriptions - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.cpuCount.description
1 parent d38d3f0 commit 2707e6d

File tree

6 files changed

+1556
-93
lines changed

6 files changed

+1556
-93
lines changed

‎discovery/alloydb-v1.json

Lines changed: 196 additions & 18 deletions
Large diffs are not rendered by default.

‎discovery/alloydb-v1alpha.json

Lines changed: 256 additions & 18 deletions
Large diffs are not rendered by default.

‎discovery/alloydb-v1beta.json

Lines changed: 232 additions & 18 deletions
Large diffs are not rendered by default.

‎src/apis/alloydb/v1.ts

Lines changed: 211 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,10 @@ export namespace alloydb_v1 {
250250
* Output only. The current state of the backup.
251251
*/
252252
state?: string | null;
253+
/**
254+
* Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
255+
*/
256+
tags?: {[key: string]: string} | null;
253257
/**
254258
* The backup type, which suggests the trigger for the backup.
255259
*/
@@ -423,6 +427,10 @@ export namespace alloydb_v1 {
423427
* Optional. Subscription type of the cluster.
424428
*/
425429
subscriptionType?: string | null;
430+
/**
431+
* Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
432+
*/
433+
tags?: {[key: string]: string} | null;
426434
/**
427435
* Output only. Metadata for free trial clusters
428436
*/
@@ -537,6 +545,27 @@ export namespace alloydb_v1 {
537545
*/
538546
pointInTime?: string | null;
539547
}
548+
/**
549+
* Options for exporting data in CSV format.
550+
*/
551+
export interface Schema$CsvExportOptions {
552+
/**
553+
* Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.
554+
*/
555+
escapeCharacter?: string | null;
556+
/**
557+
* Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
558+
*/
559+
fieldDelimiter?: string | null;
560+
/**
561+
* Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
562+
*/
563+
quoteCharacter?: string | null;
564+
/**
565+
* Required. The SELECT query used to extract the data.
566+
*/
567+
selectQuery?: string | null;
568+
}
540569
/**
541570
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
542571
*/
@@ -563,6 +592,36 @@ export namespace alloydb_v1 {
563592
*/
564593
kmsKeyVersions?: string[] | null;
565594
}
595+
/**
596+
* Export cluster request.
597+
*/
598+
export interface Schema$ExportClusterRequest {
599+
/**
600+
* Options for exporting data in CSV format. Required field to be set for CSV file type.
601+
*/
602+
csvExportOptions?: Schema$CsvExportOptions;
603+
/**
604+
* Required. Name of the database where the export command will be executed. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
605+
*/
606+
database?: string | null;
607+
/**
608+
* Required. Option to export data to cloud storage.
609+
*/
610+
gcsDestination?: Schema$GcsDestination;
611+
/**
612+
* Options for exporting data in SQL format. Required field to be set for SQL file type.
613+
*/
614+
sqlExportOptions?: Schema$SqlExportOptions;
615+
}
616+
/**
617+
* Response of export cluster rpc.
618+
*/
619+
export interface Schema$ExportClusterResponse {
620+
/**
621+
* Required. Option to export data to cloud storage.
622+
*/
623+
gcsDestination?: Schema$GcsDestination;
624+
}
566625
/**
567626
* Message for triggering failover on an Instance
568627
*/
@@ -576,6 +635,15 @@ export namespace alloydb_v1 {
576635
*/
577636
validateOnly?: boolean | null;
578637
}
638+
/**
639+
* Destination for Export. Export will be done to cloud storage.
640+
*/
641+
export interface Schema$GcsDestination {
642+
/**
643+
* Required. The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`.
644+
*/
645+
uri?: string | null;
646+
}
579647
/**
580648
* The response message for Locations.ListLocations.
581649
*/
@@ -619,19 +687,19 @@ export namespace alloydb_v1 {
619687
*/
620688
export interface Schema$GoogleTypeTimeOfDay {
621689
/**
622-
* Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
690+
* Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
623691
*/
624692
hours?: number | null;
625693
/**
626-
* Minutes of hour of day. Must be from 0 to 59.
694+
* Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
627695
*/
628696
minutes?: number | null;
629697
/**
630-
* Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
698+
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
631699
*/
632700
nanos?: number | null;
633701
/**
634-
* Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
702+
* Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
635703
*/
636704
seconds?: number | null;
637705
}
@@ -673,7 +741,7 @@ export namespace alloydb_v1 {
673741
*/
674742
createTime?: string | null;
675743
/**
676-
* Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
744+
* Database flags. Set at the instance level. They are copied from the primary instance on secondary instance creation. Flags that have restrictions default to the value at primary instance on read instances during creation. Read instances can set new flags or override existing flags that are relevant for reads, for example, for enabling columnar cache on a read instance. Flags set on read instance might or might not be present on the primary instance. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
677745
*/
678746
databaseFlags?: {[key: string]: string} | null;
679747
/**
@@ -981,19 +1049,19 @@ export namespace alloydb_v1 {
9811049
*/
9821050
export interface Schema$Node {
9831051
/**
984-
* The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
1052+
* Output only. The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
9851053
*/
9861054
id?: string | null;
9871055
/**
988-
* The private IP address of the VM e.g. "10.57.0.34".
1056+
* Output only. The private IP address of the VM e.g. "10.57.0.34".
9891057
*/
9901058
ip?: string | null;
9911059
/**
992-
* Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
1060+
* Output only. Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
9931061
*/
9941062
state?: string | null;
9951063
/**
996-
* The Compute Engine zone of the VM e.g. "us-central1-b".
1064+
* Output only. The Compute Engine zone of the VM e.g. "us-central1-b".
9971065
*/
9981066
zoneId?: string | null;
9991067
}
@@ -1039,7 +1107,7 @@ export namespace alloydb_v1 {
10391107
*/
10401108
endTime?: string | null;
10411109
/**
1042-
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
1110+
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
10431111
*/
10441112
requestedCancellation?: boolean | null;
10451113
/**
@@ -1211,6 +1279,27 @@ export namespace alloydb_v1 {
12111279
*/
12121280
primaryClusterName?: string | null;
12131281
}
1282+
/**
1283+
* Options for exporting data in SQL format.
1284+
*/
1285+
export interface Schema$SqlExportOptions {
1286+
/**
1287+
* Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them.
1288+
*/
1289+
cleanTargetObjects?: boolean | null;
1290+
/**
1291+
* Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode.
1292+
*/
1293+
ifExistTargetObjects?: boolean | null;
1294+
/**
1295+
* Optional. If true, only export the schema.
1296+
*/
1297+
schemaOnly?: boolean | null;
1298+
/**
1299+
* Optional. Tables to export from.
1300+
*/
1301+
tables?: string[] | null;
1302+
}
12141303
/**
12151304
* SSL configuration.
12161305
*/
@@ -1438,7 +1527,7 @@ export namespace alloydb_v1 {
14381527
uniqueId?: string | null;
14391528
}
14401529
/**
1441-
* Common model for database resource instance metadata. Next ID: 22
1530+
* Common model for database resource instance metadata. Next ID: 23
14421531
*/
14431532
export interface Schema$StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata {
14441533
/**
@@ -1465,6 +1554,10 @@ export namespace alloydb_v1 {
14651554
* Any custom metadata associated with the resource
14661555
*/
14671556
customMetadata?: Schema$StorageDatabasecenterPartnerapiV1mainCustomMetadataData;
1557+
/**
1558+
* Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to identify the edition of the instance.
1559+
*/
1560+
edition?: string | null;
14681561
/**
14691562
* Entitlements associated with the resource
14701563
*/
@@ -1596,7 +1689,7 @@ export namespace alloydb_v1 {
15961689
*/
15971690
export interface Schema$StorageDatabasecenterPartnerapiV1mainMachineConfiguration {
15981691
/**
1599-
* The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
1692+
* The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
16001693
*/
16011694
cpuCount?: number | null;
16021695
/**
@@ -1607,6 +1700,10 @@ export namespace alloydb_v1 {
16071700
* Optional. Number of shards (if applicable).
16081701
*/
16091702
shardCount?: number | null;
1703+
/**
1704+
* Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
1705+
*/
1706+
vcpuCount?: number | null;
16101707
}
16111708
export interface Schema$StorageDatabasecenterPartnerapiV1mainObservabilityMetricData {
16121709
/**
@@ -1655,6 +1752,10 @@ export namespace alloydb_v1 {
16551752
*/
16561753
retentionUnit?: string | null;
16571754
timeBasedRetention?: string | null;
1755+
/**
1756+
* Timestamp based retention period i.e. 2024-05-01T00:00:00Z
1757+
*/
1758+
timestampBasedRetentionTime?: string | null;
16581759
}
16591760
/**
16601761
* Message type for storing tags. Tags provide a way to create annotations for resources, and in some cases conditionally allow or deny policies based on whether a resource has a specific tag.
@@ -2945,6 +3046,91 @@ export namespace alloydb_v1 {
29453046
}
29463047
}
29473048

3049+
/**
3050+
* Exports data from the cluster. Imperative only.
3051+
*
3052+
* @param params - Parameters for request
3053+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3054+
* @param callback - Optional callback that handles the response.
3055+
* @returns A promise if used with async/await, or void if used with a callback.
3056+
*/
3057+
export(
3058+
params: Params$Resource$Projects$Locations$Clusters$Export,
3059+
options: StreamMethodOptions
3060+
): GaxiosPromise<Readable>;
3061+
export(
3062+
params?: Params$Resource$Projects$Locations$Clusters$Export,
3063+
options?: MethodOptions
3064+
): GaxiosPromise<Schema$Operation>;
3065+
export(
3066+
params: Params$Resource$Projects$Locations$Clusters$Export,
3067+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
3068+
callback: BodyResponseCallback<Readable>
3069+
): void;
3070+
export(
3071+
params: Params$Resource$Projects$Locations$Clusters$Export,
3072+
options: MethodOptions | BodyResponseCallback<Schema$Operation>,
3073+
callback: BodyResponseCallback<Schema$Operation>
3074+
): void;
3075+
export(
3076+
params: Params$Resource$Projects$Locations$Clusters$Export,
3077+
callback: BodyResponseCallback<Schema$Operation>
3078+
): void;
3079+
export(callback: BodyResponseCallback<Schema$Operation>): void;
3080+
export(
3081+
paramsOrCallback?:
3082+
| Params$Resource$Projects$Locations$Clusters$Export
3083+
| BodyResponseCallback<Schema$Operation>
3084+
| BodyResponseCallback<Readable>,
3085+
optionsOrCallback?:
3086+
| MethodOptions
3087+
| StreamMethodOptions
3088+
| BodyResponseCallback<Schema$Operation>
3089+
| BodyResponseCallback<Readable>,
3090+
callback?:
3091+
| BodyResponseCallback<Schema$Operation>
3092+
| BodyResponseCallback<Readable>
3093+
): void | GaxiosPromise<Schema$Operation> | GaxiosPromise<Readable> {
3094+
let params = (paramsOrCallback ||
3095+
{}) as Params$Resource$Projects$Locations$Clusters$Export;
3096+
let options = (optionsOrCallback || {}) as MethodOptions;
3097+
3098+
if (typeof paramsOrCallback === 'function') {
3099+
callback = paramsOrCallback;
3100+
params = {} as Params$Resource$Projects$Locations$Clusters$Export;
3101+
options = {};
3102+
}
3103+
3104+
if (typeof optionsOrCallback === 'function') {
3105+
callback = optionsOrCallback;
3106+
options = {};
3107+
}
3108+
3109+
const rootUrl = options.rootUrl || 'https://alloydb.googleapis.com/';
3110+
const parameters = {
3111+
options: Object.assign(
3112+
{
3113+
url: (rootUrl + '/v1/{+name}:export').replace(/([^:]\/)\/+/g, '$1'),
3114+
method: 'POST',
3115+
apiVersion: '',
3116+
},
3117+
options
3118+
),
3119+
params,
3120+
requiredParams: ['name'],
3121+
pathParams: ['name'],
3122+
context: this.context,
3123+
};
3124+
if (callback) {
3125+
createAPIRequest<Schema$Operation>(
3126+
parameters,
3127+
callback as BodyResponseCallback<unknown>
3128+
);
3129+
} else {
3130+
return createAPIRequest<Schema$Operation>(parameters);
3131+
}
3132+
}
3133+
29483134
/**
29493135
* Gets details of a single Cluster.
29503136
*
@@ -3632,6 +3818,18 @@ export namespace alloydb_v1 {
36323818
*/
36333819
validateOnly?: boolean;
36343820
}
3821+
export interface Params$Resource$Projects$Locations$Clusters$Export
3822+
extends StandardParameters {
3823+
/**
3824+
* Required. The resource name of the cluster.
3825+
*/
3826+
name?: string;
3827+
3828+
/**
3829+
* Request body metadata
3830+
*/
3831+
requestBody?: Schema$ExportClusterRequest;
3832+
}
36353833
export interface Params$Resource$Projects$Locations$Clusters$Get
36363834
extends StandardParameters {
36373835
/**
@@ -5361,7 +5559,7 @@ export namespace alloydb_v1 {
53615559
}
53625560

53635561
/**
5364-
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
5562+
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
53655563
*
53665564
* @param params - Parameters for request
53675565
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)