Skip to content

Commit 769817f

Browse files
feat(all): auto-regenerate discovery clients (#3018)
1 parent 2aaef90 commit 769817f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+3028
-255
lines changed

alloydb/v1alpha/alloydb-api.json

Lines changed: 176 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,34 @@
585585
"https://www.googleapis.com/auth/cloud-platform"
586586
]
587587
},
588+
"import": {
589+
"description": "Imports data to the cluster. Imperative only.",
590+
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:import",
591+
"httpMethod": "POST",
592+
"id": "alloydb.projects.locations.clusters.import",
593+
"parameterOrder": [
594+
"name"
595+
],
596+
"parameters": {
597+
"name": {
598+
"description": "Required. The resource name of the cluster.",
599+
"location": "path",
600+
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
601+
"required": true,
602+
"type": "string"
603+
}
604+
},
605+
"path": "v1alpha/{+name}:import",
606+
"request": {
607+
"$ref": "ImportClusterRequest"
608+
},
609+
"response": {
610+
"$ref": "Operation"
611+
},
612+
"scopes": [
613+
"https://www.googleapis.com/auth/cloud-platform"
614+
]
615+
},
588616
"list": {
589617
"description": "Lists Clusters in a given project and location.",
590618
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters",
@@ -1573,7 +1601,7 @@
15731601
}
15741602
}
15751603
},
1576-
"revision": "20250122",
1604+
"revision": "20250205",
15771605
"rootUrl": "https://alloydb.googleapis.com/",
15781606
"schemas": {
15791607
"AuthorizedNetwork": {
@@ -2383,6 +2411,36 @@
23832411
},
23842412
"type": "object"
23852413
},
2414+
"CsvImportOptions": {
2415+
"description": "Options for importing data in CSV format.",
2416+
"id": "CsvImportOptions",
2417+
"properties": {
2418+
"columns": {
2419+
"description": "Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.",
2420+
"items": {
2421+
"type": "string"
2422+
},
2423+
"type": "array"
2424+
},
2425+
"escapeCharacter": {
2426+
"description": "Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.",
2427+
"type": "string"
2428+
},
2429+
"fieldDelimiter": {
2430+
"description": "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.",
2431+
"type": "string"
2432+
},
2433+
"quoteCharacter": {
2434+
"description": "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.",
2435+
"type": "string"
2436+
},
2437+
"table": {
2438+
"description": "Required. The database table to import CSV file into.",
2439+
"type": "string"
2440+
}
2441+
},
2442+
"type": "object"
2443+
},
23862444
"Empty": {
23872445
"description": "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); }",
23882446
"id": "Empty",
@@ -2582,6 +2640,33 @@
25822640
},
25832641
"type": "object"
25842642
},
2643+
"ImportClusterRequest": {
2644+
"description": "Import cluster request.",
2645+
"id": "ImportClusterRequest",
2646+
"properties": {
2647+
"csvImportOptions": {
2648+
"$ref": "CsvImportOptions",
2649+
"description": "Options for importing data in CSV format."
2650+
},
2651+
"database": {
2652+
"description": "Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.",
2653+
"type": "string"
2654+
},
2655+
"gcsUri": {
2656+
"description": "Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.",
2657+
"type": "string"
2658+
},
2659+
"sqlImportOptions": {
2660+
"$ref": "SqlImportOptions",
2661+
"description": "Options for importing data in SQL format."
2662+
},
2663+
"user": {
2664+
"description": "Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.",
2665+
"type": "string"
2666+
}
2667+
},
2668+
"type": "object"
2669+
},
25852670
"InjectFaultRequest": {
25862671
"description": "Message for triggering fault injection on an instance",
25872672
"id": "InjectFaultRequest",
@@ -3582,6 +3667,12 @@
35823667
},
35833668
"type": "object"
35843669
},
3670+
"SqlImportOptions": {
3671+
"description": "Options for importing data in SQL format.",
3672+
"id": "SqlImportOptions",
3673+
"properties": {},
3674+
"type": "object"
3675+
},
35853676
"SslConfig": {
35863677
"description": "SSL configuration.",
35873678
"id": "SslConfig",
@@ -4075,7 +4166,13 @@
40754166
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
40764167
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET",
40774168
"SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM",
4078-
"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY"
4169+
"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY",
4170+
"SIGNAL_TYPE_HOT_NODE",
4171+
"SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY",
4172+
"SIGNAL_TYPE_RESOURCE_SUSPENDED",
4173+
"SIGNAL_TYPE_EXPENSIVE_COMMANDS",
4174+
"SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED",
4175+
"SIGNAL_TYPE_NO_DELETION_PROTECTION"
40794176
],
40804177
"enumDeprecated": [
40814178
false,
@@ -4158,6 +4255,12 @@
41584255
false,
41594256
false,
41604257
false,
4258+
false,
4259+
false,
4260+
false,
4261+
false,
4262+
false,
4263+
false,
41614264
false
41624265
],
41634266
"enumDescriptions": [
@@ -4241,7 +4344,13 @@
42414344
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
42424345
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.",
42434346
"Detects if a database instance is using a weak password hash algorithm.",
4244-
"Detects if a database instance has no user password policy set."
4347+
"Detects if a database instance has no user password policy set.",
4348+
"Detects if a database instance/cluster has a hot node.",
4349+
"Detects if a database instance has no point in time recovery enabled.",
4350+
"Detects if a database instance/cluster is suspended.",
4351+
"Detects that expensive commands are being run on a database instance impacting overall performance.",
4352+
"Indicates that the instance does not have a maintenance policy configured.",
4353+
"Deletion Protection Disabled for the resource"
42454354
],
42464355
"type": "string"
42474356
},
@@ -4305,7 +4414,7 @@
43054414
"type": "object"
43064415
},
43074416
"StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata": {
4308-
"description": "Common model for database resource instance metadata. Next ID: 23",
4417+
"description": "Common model for database resource instance metadata. Next ID: 24",
43094418
"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata",
43104419
"properties": {
43114420
"availabilityConfiguration": {
@@ -4406,6 +4515,7 @@
44064515
"SUB_RESOURCE_TYPE_PRIMARY",
44074516
"SUB_RESOURCE_TYPE_SECONDARY",
44084517
"SUB_RESOURCE_TYPE_READ_REPLICA",
4518+
"SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY",
44094519
"SUB_RESOURCE_TYPE_OTHER"
44104520
],
44114521
"enumDeprecated": [
@@ -4418,10 +4528,11 @@
44184528
false,
44194529
false,
44204530
false,
4531+
false,
44214532
false
44224533
],
44234534
"enumDescriptions": [
4424-
"",
4535+
"Unspecified.",
44254536
"For rest of the other categories.",
44264537
"A regular primary database instance.",
44274538
"A cluster or an instance acting as a secondary.",
@@ -4430,6 +4541,7 @@
44304541
"A regular primary database instance.",
44314542
"A cluster or an instance acting as a secondary.",
44324543
"An instance acting as a read-replica.",
4544+
"An instance acting as an external primary.",
44334545
"For rest of the other categories."
44344546
],
44354547
"type": "string"
@@ -4462,6 +4574,28 @@
44624574
"description": "Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named \"ABC\" is deleted, the name \"ABC\" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel",
44634575
"type": "string"
44644576
},
4577+
"suspensionReason": {
4578+
"description": "Suspension reason for the resource.",
4579+
"enum": [
4580+
"SUSPENSION_REASON_UNSPECIFIED",
4581+
"WIPEOUT_HIDE_EVENT",
4582+
"WIPEOUT_PURGE_EVENT",
4583+
"BILLING_DISABLED",
4584+
"ABUSER_DETECTED",
4585+
"ENCRYPTION_KEY_INACCESSIBLE",
4586+
"REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE"
4587+
],
4588+
"enumDescriptions": [
4589+
"Suspension reason is unspecified.",
4590+
"Wipeout hide event.",
4591+
"Wipeout purge event.",
4592+
"Billing disabled for project",
4593+
"Abuse detected for resource",
4594+
"Encryption key inaccessible.",
4595+
"Replicated cluster encryption key inaccessible."
4596+
],
4597+
"type": "string"
4598+
},
44654599
"tagsSet": {
44664600
"$ref": "StorageDatabasecenterPartnerapiV1mainTags",
44674601
"description": "Optional. Tags associated with this resources."
@@ -4614,7 +4748,13 @@
46144748
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
46154749
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET",
46164750
"SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM",
4617-
"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY"
4751+
"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY",
4752+
"SIGNAL_TYPE_HOT_NODE",
4753+
"SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY",
4754+
"SIGNAL_TYPE_RESOURCE_SUSPENDED",
4755+
"SIGNAL_TYPE_EXPENSIVE_COMMANDS",
4756+
"SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED",
4757+
"SIGNAL_TYPE_NO_DELETION_PROTECTION"
46184758
],
46194759
"enumDeprecated": [
46204760
false,
@@ -4697,6 +4837,12 @@
46974837
false,
46984838
false,
46994839
false,
4840+
false,
4841+
false,
4842+
false,
4843+
false,
4844+
false,
4845+
false,
47004846
false
47014847
],
47024848
"enumDescriptions": [
@@ -4780,7 +4926,13 @@
47804926
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
47814927
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.",
47824928
"Detects if a database instance is using a weak password hash algorithm.",
4783-
"Detects if a database instance has no user password policy set."
4929+
"Detects if a database instance has no user password policy set.",
4930+
"Detects if a database instance/cluster has a hot node.",
4931+
"Detects if a database instance has no point in time recovery enabled.",
4932+
"Detects if a database instance/cluster is suspended.",
4933+
"Detects that expensive commands are being run on a database instance impacting overall performance.",
4934+
"Indicates that the instance does not have a maintenance policy configured.",
4935+
"Deletion Protection Disabled for the resource"
47844936
],
47854937
"type": "string"
47864938
}
@@ -4809,11 +4961,21 @@
48094961
"description": "An enum that represents the type of this entitlement.",
48104962
"enum": [
48114963
"ENTITLEMENT_TYPE_UNSPECIFIED",
4812-
"GEMINI"
4964+
"GEMINI",
4965+
"NATIVE",
4966+
"GCA_STANDARD"
4967+
],
4968+
"enumDeprecated": [
4969+
false,
4970+
true,
4971+
false,
4972+
false
48134973
],
48144974
"enumDescriptions": [
4815-
"",
4816-
"The root entitlement representing Gemini package ownership."
4975+
"The entitlement type is unspecified.",
4976+
"The root entitlement representing Gemini package ownership.This will no longer be supported in the future.",
4977+
"The entitlement representing Native Tier, This will be the default Entitlement going forward with GCA Enablement.",
4978+
"The entitlement representing GCA-Standard Tier."
48174979
],
48184980
"type": "string"
48194981
}
@@ -4832,6 +4994,10 @@
48324994
"$ref": "StorageDatabasecenterPartnerapiV1mainBackupRun",
48334995
"description": "Information about the last backup attempt for this database"
48344996
},
4997+
"isDeletionProtectionEnabled": {
4998+
"description": "Whether deletion protection is enabled for this internal resource.",
4999+
"type": "boolean"
5000+
},
48355001
"product": {
48365002
"$ref": "StorageDatabasecenterProtoCommonProduct"
48375003
},

0 commit comments

Comments
 (0)