|
585 | 585 | "https://www.googleapis.com/auth/cloud-platform"
|
586 | 586 | ]
|
587 | 587 | },
|
| 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 | + }, |
588 | 616 | "list": {
|
589 | 617 | "description": "Lists Clusters in a given project and location.",
|
590 | 618 | "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters",
|
|
1573 | 1601 | }
|
1574 | 1602 | }
|
1575 | 1603 | },
|
1576 |
| - "revision": "20250122", |
| 1604 | + "revision": "20250205", |
1577 | 1605 | "rootUrl": "https://alloydb.googleapis.com/",
|
1578 | 1606 | "schemas": {
|
1579 | 1607 | "AuthorizedNetwork": {
|
|
2383 | 2411 | },
|
2384 | 2412 | "type": "object"
|
2385 | 2413 | },
|
| 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 | + }, |
2386 | 2444 | "Empty": {
|
2387 | 2445 | "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); }",
|
2388 | 2446 | "id": "Empty",
|
|
2582 | 2640 | },
|
2583 | 2641 | "type": "object"
|
2584 | 2642 | },
|
| 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 | + }, |
2585 | 2670 | "InjectFaultRequest": {
|
2586 | 2671 | "description": "Message for triggering fault injection on an instance",
|
2587 | 2672 | "id": "InjectFaultRequest",
|
|
3582 | 3667 | },
|
3583 | 3668 | "type": "object"
|
3584 | 3669 | },
|
| 3670 | + "SqlImportOptions": { |
| 3671 | + "description": "Options for importing data in SQL format.", |
| 3672 | + "id": "SqlImportOptions", |
| 3673 | + "properties": {}, |
| 3674 | + "type": "object" |
| 3675 | + }, |
3585 | 3676 | "SslConfig": {
|
3586 | 3677 | "description": "SSL configuration.",
|
3587 | 3678 | "id": "SslConfig",
|
|
4075 | 4166 | "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
|
4076 | 4167 | "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET",
|
4077 | 4168 | "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" |
4079 | 4176 | ],
|
4080 | 4177 | "enumDeprecated": [
|
4081 | 4178 | false,
|
|
4158 | 4255 | false,
|
4159 | 4256 | false,
|
4160 | 4257 | false,
|
| 4258 | + false, |
| 4259 | + false, |
| 4260 | + false, |
| 4261 | + false, |
| 4262 | + false, |
| 4263 | + false, |
4161 | 4264 | false
|
4162 | 4265 | ],
|
4163 | 4266 | "enumDescriptions": [
|
|
4241 | 4344 | "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
|
4242 | 4345 | "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.",
|
4243 | 4346 | "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" |
4245 | 4354 | ],
|
4246 | 4355 | "type": "string"
|
4247 | 4356 | },
|
|
4305 | 4414 | "type": "object"
|
4306 | 4415 | },
|
4307 | 4416 | "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", |
4309 | 4418 | "id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata",
|
4310 | 4419 | "properties": {
|
4311 | 4420 | "availabilityConfiguration": {
|
|
4406 | 4515 | "SUB_RESOURCE_TYPE_PRIMARY",
|
4407 | 4516 | "SUB_RESOURCE_TYPE_SECONDARY",
|
4408 | 4517 | "SUB_RESOURCE_TYPE_READ_REPLICA",
|
| 4518 | + "SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", |
4409 | 4519 | "SUB_RESOURCE_TYPE_OTHER"
|
4410 | 4520 | ],
|
4411 | 4521 | "enumDeprecated": [
|
|
4418 | 4528 | false,
|
4419 | 4529 | false,
|
4420 | 4530 | false,
|
| 4531 | + false, |
4421 | 4532 | false
|
4422 | 4533 | ],
|
4423 | 4534 | "enumDescriptions": [
|
4424 |
| - "", |
| 4535 | + "Unspecified.", |
4425 | 4536 | "For rest of the other categories.",
|
4426 | 4537 | "A regular primary database instance.",
|
4427 | 4538 | "A cluster or an instance acting as a secondary.",
|
|
4430 | 4541 | "A regular primary database instance.",
|
4431 | 4542 | "A cluster or an instance acting as a secondary.",
|
4432 | 4543 | "An instance acting as a read-replica.",
|
| 4544 | + "An instance acting as an external primary.", |
4433 | 4545 | "For rest of the other categories."
|
4434 | 4546 | ],
|
4435 | 4547 | "type": "string"
|
|
4462 | 4574 | "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",
|
4463 | 4575 | "type": "string"
|
4464 | 4576 | },
|
| 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 | + }, |
4465 | 4599 | "tagsSet": {
|
4466 | 4600 | "$ref": "StorageDatabasecenterPartnerapiV1mainTags",
|
4467 | 4601 | "description": "Optional. Tags associated with this resources."
|
|
4614 | 4748 | "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
|
4615 | 4749 | "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET",
|
4616 | 4750 | "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" |
4618 | 4758 | ],
|
4619 | 4759 | "enumDeprecated": [
|
4620 | 4760 | false,
|
|
4697 | 4837 | false,
|
4698 | 4838 | false,
|
4699 | 4839 | false,
|
| 4840 | + false, |
| 4841 | + false, |
| 4842 | + false, |
| 4843 | + false, |
| 4844 | + false, |
| 4845 | + false, |
4700 | 4846 | false
|
4701 | 4847 | ],
|
4702 | 4848 | "enumDescriptions": [
|
|
4780 | 4926 | "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
|
4781 | 4927 | "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.",
|
4782 | 4928 | "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" |
4784 | 4936 | ],
|
4785 | 4937 | "type": "string"
|
4786 | 4938 | }
|
|
4809 | 4961 | "description": "An enum that represents the type of this entitlement.",
|
4810 | 4962 | "enum": [
|
4811 | 4963 | "ENTITLEMENT_TYPE_UNSPECIFIED",
|
4812 |
| - "GEMINI" |
| 4964 | + "GEMINI", |
| 4965 | + "NATIVE", |
| 4966 | + "GCA_STANDARD" |
| 4967 | + ], |
| 4968 | + "enumDeprecated": [ |
| 4969 | + false, |
| 4970 | + true, |
| 4971 | + false, |
| 4972 | + false |
4813 | 4973 | ],
|
4814 | 4974 | "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." |
4817 | 4979 | ],
|
4818 | 4980 | "type": "string"
|
4819 | 4981 | }
|
|
4832 | 4994 | "$ref": "StorageDatabasecenterPartnerapiV1mainBackupRun",
|
4833 | 4995 | "description": "Information about the last backup attempt for this database"
|
4834 | 4996 | },
|
| 4997 | + "isDeletionProtectionEnabled": { |
| 4998 | + "description": "Whether deletion protection is enabled for this internal resource.", |
| 4999 | + "type": "boolean" |
| 5000 | + }, |
4835 | 5001 | "product": {
|
4836 | 5002 | "$ref": "StorageDatabasecenterProtoCommonProduct"
|
4837 | 5003 | },
|
|
0 commit comments