google-cloud-oracle_database-v1 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/oracle_database/v1/oracle_database/client.rb +2672 -184
  4. data/lib/google/cloud/oracle_database/v1/oracle_database/operations.rb +2 -0
  5. data/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb +152 -0
  6. data/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +2444 -117
  7. data/lib/google/cloud/oracle_database/v1/oracle_database/rest/operations.rb +2 -0
  8. data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +1782 -373
  9. data/lib/google/cloud/oracle_database/v1/version.rb +1 -1
  10. data/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb +1 -1
  11. data/lib/google/cloud/oracledatabase/v1/database_pb.rb +1 -1
  12. data/lib/google/cloud/oracledatabase/v1/db_system_pb.rb +1 -1
  13. data/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +2 -1
  14. data/lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.rb +1 -1
  15. data/lib/google/cloud/oracledatabase/v1/goldengate_connection_assignment_pb.rb +38 -0
  16. data/lib/google/cloud/oracledatabase/v1/goldengate_connection_pb.rb +98 -0
  17. data/lib/google/cloud/oracledatabase/v1/goldengate_connection_type_pb.rb +28 -0
  18. data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_environment_pb.rb +29 -0
  19. data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_pb.rb +54 -0
  20. data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_type_pb.rb +29 -0
  21. data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_version_pb.rb +31 -0
  22. data/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +8 -1
  23. data/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +47 -0
  24. data/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb +1 -1
  25. data/proto_docs/google/api/client.rb +4 -0
  26. data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb +84 -48
  27. data/proto_docs/google/cloud/oracledatabase/v1/database.rb +27 -1
  28. data/proto_docs/google/cloud/oracledatabase/v1/db_system.rb +6 -1
  29. data/proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb +4 -0
  30. data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection.rb +2238 -0
  31. data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_assignment.rb +300 -0
  32. data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_type.rb +186 -0
  33. data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment.rb +712 -0
  34. data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_environment.rb +145 -0
  35. data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_type.rb +177 -0
  36. data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_version.rb +175 -0
  37. data/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb +20 -2
  38. data/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb +4 -4
  39. metadata +17 -3
@@ -30,20 +30,28 @@ module Google
30
30
  # projects/\\{project}/locations/\\{region}/autonomousDatabases/\\{autonomous_database}
31
31
  # @!attribute [rw] database
32
32
  # @return [::String]
33
- # Optional. The name of the Autonomous Database. The database name must be
34
- # unique in the project. The name must begin with a letter and can contain a
35
- # maximum of 30 alphanumeric characters.
33
+ # Optional. Immutable. The name of the Autonomous Database. The database name
34
+ # must be unique in the project. The name must begin with a letter and can
35
+ # contain a maximum of 30 alphanumeric characters.
36
36
  # @!attribute [rw] display_name
37
37
  # @return [::String]
38
- # Optional. The display name for the Autonomous Database. The name does not
39
- # have to be unique within your project.
38
+ # Optional. Immutable. The display name for the Autonomous Database. The name
39
+ # does not have to be unique within your project.
40
40
  # @!attribute [r] entitlement_id
41
41
  # @return [::String]
42
42
  # Output only. The ID of the subscription entitlement associated with the
43
43
  # Autonomous Database.
44
44
  # @!attribute [rw] admin_password
45
45
  # @return [::String]
46
- # Optional. The password for the default ADMIN user.
46
+ # Optional. Immutable. The password for the default ADMIN user.
47
+ # Note: Only one of `admin_password_secret_version` or `admin_password` can
48
+ # be populated.
49
+ # @!attribute [rw] admin_password_secret_version
50
+ # @return [::String]
51
+ # Optional. Immutable. The resource name of a secret version in Secret
52
+ # Manager which contains the database admin user's password. Format:
53
+ # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. Note: Only one of
54
+ # `admin_password_secret_version` or `admin_password` can be populated.
47
55
  # @!attribute [rw] properties
48
56
  # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties]
49
57
  # Optional. The properties of the Autonomous Database.
@@ -52,28 +60,30 @@ module Google
52
60
  # Optional. The labels or tags associated with the Autonomous Database.
53
61
  # @!attribute [rw] network
54
62
  # @return [::String]
55
- # Optional. The name of the VPC network used by the Autonomous Database in
56
- # the following format: projects/\\{project}/global/networks/\\{network}
63
+ # Optional. Immutable. The name of the VPC network used by the Autonomous
64
+ # Database in the following format:
65
+ # projects/\\{project}/global/networks/\\{network}
57
66
  # @!attribute [rw] cidr
58
67
  # @return [::String]
59
- # Optional. The subnet CIDR range for the Autonomous Database.
68
+ # Optional. Immutable. The subnet CIDR range for the Autonomous Database.
60
69
  # @!attribute [rw] odb_network
61
70
  # @return [::String]
62
- # Optional. The name of the OdbNetwork associated with the Autonomous
63
- # Database. Format:
71
+ # Optional. Immutable. The name of the OdbNetwork associated with the
72
+ # Autonomous Database. Format:
64
73
  # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network} It is
65
74
  # optional but if specified, this should match the parent ODBNetwork of the
66
75
  # OdbSubnet.
67
76
  # @!attribute [rw] odb_subnet
68
77
  # @return [::String]
69
- # Optional. The name of the OdbSubnet associated with the Autonomous
70
- # Database. Format:
78
+ # Optional. Immutable. The name of the OdbSubnet associated with the
79
+ # Autonomous Database. Format:
71
80
  # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network}/odbSubnets/\\{odb_subnet}
72
81
  # @!attribute [rw] source_config
73
82
  # @return [::Google::Cloud::OracleDatabase::V1::SourceConfig]
74
- # Optional. The source Autonomous Database configuration for the standby
75
- # Autonomous Database. The source Autonomous Database is configured while
76
- # creating the Peer Autonomous Database and can't be updated after creation.
83
+ # Optional. Immutable. The source Autonomous Database configuration for the
84
+ # standby Autonomous Database. The source Autonomous Database is configured
85
+ # while creating the Peer Autonomous Database and can't be updated after
86
+ # creation.
77
87
  # @!attribute [r] peer_autonomous_databases
78
88
  # @return [::Array<::String>]
79
89
  # Output only. The peer Autonomous Database names of the given Autonomous
@@ -120,71 +130,79 @@ module Google
120
130
  # https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
121
131
  # @!attribute [rw] compute_count
122
132
  # @return [::Float]
123
- # Optional. The number of compute servers for the Autonomous Database.
133
+ # Optional. Immutable. The number of compute servers for the Autonomous
134
+ # Database.
124
135
  # @!attribute [rw] cpu_core_count
125
136
  # @return [::Integer]
126
- # Optional. The number of CPU cores to be made available to the database.
137
+ # Optional. Immutable. The number of CPU cores to be made available to the
138
+ # database.
127
139
  # @!attribute [rw] data_storage_size_tb
128
140
  # @return [::Integer]
129
- # Optional. The size of the data stored in the database, in terabytes.
141
+ # Optional. Immutable. The size of the data stored in the database, in
142
+ # terabytes.
130
143
  # @!attribute [rw] data_storage_size_gb
131
144
  # @return [::Integer]
132
- # Optional. The size of the data stored in the database, in gigabytes.
145
+ # Optional. Immutable. The size of the data stored in the database, in
146
+ # gigabytes.
133
147
  # @!attribute [rw] db_workload
134
148
  # @return [::Google::Cloud::OracleDatabase::V1::DBWorkload]
135
- # Required. The workload type of the Autonomous Database.
149
+ # Required. Immutable. The workload type of the Autonomous Database.
136
150
  # @!attribute [rw] db_edition
137
151
  # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::DatabaseEdition]
138
- # Optional. The edition of the Autonomous Databases.
152
+ # Optional. Immutable. The edition of the Autonomous Databases.
139
153
  # @!attribute [rw] character_set
140
154
  # @return [::String]
141
- # Optional. The character set for the Autonomous Database. The default is
142
- # AL32UTF8.
155
+ # Optional. Immutable. The character set for the Autonomous Database. The
156
+ # default is AL32UTF8.
143
157
  # @!attribute [rw] n_character_set
144
158
  # @return [::String]
145
- # Optional. The national character set for the Autonomous Database. The
146
- # default is AL16UTF16.
159
+ # Optional. Immutable. The national character set for the Autonomous
160
+ # Database. The default is AL16UTF16.
147
161
  # @!attribute [rw] private_endpoint_ip
148
162
  # @return [::String]
149
- # Optional. The private endpoint IP address for the Autonomous Database.
163
+ # Optional. Immutable. The private endpoint IP address for the Autonomous
164
+ # Database.
150
165
  # @!attribute [rw] private_endpoint_label
151
166
  # @return [::String]
152
- # Optional. The private endpoint label for the Autonomous Database.
167
+ # Optional. Immutable. The private endpoint label for the Autonomous
168
+ # Database.
153
169
  # @!attribute [rw] db_version
154
170
  # @return [::String]
155
- # Optional. The Oracle Database version for the Autonomous Database.
171
+ # Optional. Immutable. The Oracle Database version for the Autonomous
172
+ # Database.
156
173
  # @!attribute [rw] is_auto_scaling_enabled
157
174
  # @return [::Boolean]
158
- # Optional. This field indicates if auto scaling is enabled for the
159
- # Autonomous Database CPU core count.
175
+ # Optional. Immutable. This field indicates if auto scaling is enabled for
176
+ # the Autonomous Database CPU core count.
160
177
  # @!attribute [rw] is_storage_auto_scaling_enabled
161
178
  # @return [::Boolean]
162
- # Optional. This field indicates if auto scaling is enabled for the
163
- # Autonomous Database storage.
179
+ # Optional. Immutable. This field indicates if auto scaling is enabled for
180
+ # the Autonomous Database storage.
164
181
  # @!attribute [rw] license_type
165
182
  # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::LicenseType]
166
- # Required. The license type used for the Autonomous Database.
183
+ # Required. Immutable. The license type used for the Autonomous Database.
167
184
  # @!attribute [rw] customer_contacts
168
185
  # @return [::Array<::Google::Cloud::OracleDatabase::V1::CustomerContact>]
169
- # Optional. The list of customer contacts.
186
+ # Optional. Immutable. The list of customer contacts.
170
187
  # @!attribute [rw] secret_id
171
188
  # @return [::String]
172
- # Optional. The ID of the Oracle Cloud Infrastructure vault secret.
189
+ # Optional. Immutable. The ID of the Oracle Cloud Infrastructure vault
190
+ # secret.
173
191
  # @!attribute [rw] vault_id
174
192
  # @return [::String]
175
- # Optional. The ID of the Oracle Cloud Infrastructure vault.
193
+ # Optional. Immutable. The ID of the Oracle Cloud Infrastructure vault.
176
194
  # @!attribute [rw] maintenance_schedule_type
177
195
  # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::MaintenanceScheduleType]
178
- # Optional. The maintenance schedule of the Autonomous Database.
196
+ # Optional. Immutable. The maintenance schedule of the Autonomous Database.
179
197
  # @!attribute [rw] mtls_connection_required
180
198
  # @return [::Boolean]
181
- # Optional. This field specifies if the Autonomous Database requires mTLS
182
- # connections.
199
+ # Optional. Immutable. This field specifies if the Autonomous Database
200
+ # requires mTLS connections.
183
201
  # @!attribute [rw] backup_retention_period_days
184
202
  # @return [::Integer]
185
- # Optional. The retention period for the Autonomous Database. This field is
186
- # specified in days, can range from 1 day to 60 days, and has a default value
187
- # of 60 days.
203
+ # Optional. Immutable. The retention period for the Autonomous Database. This
204
+ # field is specified in days, can range from 1 day to 60 days, and has a
205
+ # default value of 60 days.
188
206
  # @!attribute [r] actual_used_data_storage_size_tb
189
207
  # @return [::Float]
190
208
  # Output only. The amount of storage currently being used for user and system
@@ -236,13 +254,18 @@ module Google
236
254
  # Output only. The memory assigned to in-memory tables in an Autonomous
237
255
  # Database.
238
256
  # @!attribute [r] is_local_data_guard_enabled
257
+ # @deprecated This field is deprecated and may be removed in the next major version update.
239
258
  # @return [::Boolean]
240
- # Output only. This field indicates whether the Autonomous Database has local
241
- # (in-region) Data Guard enabled.
259
+ # Output only. Deprecated: Please use `local_data_guard_enabled` instead.
260
+ # This field indicates whether the Autonomous Database has local (in-region)
261
+ # Data Guard enabled.
242
262
  # @!attribute [r] local_adg_auto_failover_max_data_loss_limit
263
+ # @deprecated This field is deprecated and may be removed in the next major version update.
243
264
  # @return [::Integer]
244
- # Output only. This field indicates the maximum data loss limit for an
245
- # Autonomous Database, in seconds.
265
+ # Output only. Deprecated: Please use
266
+ # `local_adg_auto_failover_max_data_loss_limit_duration` instead.
267
+ # This field indicates the maximum data loss limit for an Autonomous
268
+ # Database, in seconds.
246
269
  # @!attribute [r] local_standby_db
247
270
  # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseStandbySummary]
248
271
  # Output only. The details of the Autonomous Data Guard standby database.
@@ -329,7 +352,8 @@ module Google
329
352
  # Output only. The date and time when maintenance will end.
330
353
  # @!attribute [rw] allowlisted_ips
331
354
  # @return [::Array<::String>]
332
- # Optional. The list of allowlisted IP addresses for the Autonomous Database.
355
+ # Optional. Immutable. The list of allowlisted IP addresses for the
356
+ # Autonomous Database.
333
357
  # @!attribute [rw] encryption_key
334
358
  # @return [::Google::Cloud::OracleDatabase::V1::EncryptionKey]
335
359
  # Optional. The encryption key used to encrypt the Autonomous Database.
@@ -343,6 +367,15 @@ module Google
343
367
  # @return [::String]
344
368
  # Output only. An Oracle-managed Google Cloud service account on which
345
369
  # customers can grant roles to access resources in the customer project.
370
+ # @!attribute [rw] local_data_guard_enabled
371
+ # @return [::Boolean]
372
+ # Optional. Indicates whether the Autonomous Database has a local (in-region)
373
+ # standby database. Not applicable to cross-region Data Guard or dedicated
374
+ # Exadata infrastructure.
375
+ # @!attribute [rw] local_adg_auto_failover_max_data_loss_limit_duration
376
+ # @return [::Integer]
377
+ # Optional. This field indicates the maximum data loss limit for an
378
+ # Autonomous Database, in seconds.
346
379
  class AutonomousDatabaseProperties
347
380
  include ::Google::Protobuf::MessageExts
348
381
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -394,6 +427,9 @@ module Google
394
427
 
395
428
  # Backup based recovery.
396
429
  BACKUP_BASED = 2
430
+
431
+ # Local disaster recovery is not available.
432
+ NOT_AVAILABLE = 3
397
433
  end
398
434
 
399
435
  # Varies states of the Data Safe registration for the Autonomous Database.
@@ -37,10 +37,27 @@ module Google
37
37
  # Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
38
38
  # @!attribute [rw] admin_password
39
39
  # @return [::String]
40
- # Required. The password for the default ADMIN user.
40
+ # Optional. The password for the default ADMIN user.
41
+ # Note: Only one of `admin_password_secret_version` or `admin_password` can
42
+ # be populated.
43
+ # @!attribute [rw] admin_password_secret_version
44
+ # @return [::String]
45
+ # Optional. The resource name of a secret version in Secret Manager which
46
+ # contains the database admin user's password. Format:
47
+ # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. Note: Only one of
48
+ # `admin_password_secret_version` or `admin_password` can be populated.
41
49
  # @!attribute [rw] tde_wallet_password
42
50
  # @return [::String]
43
51
  # Optional. The TDE wallet password for the database.
52
+ # Note: Only one of `tde_wallet_password_secret_version` or
53
+ # `tde_wallet_password` can be populated.
54
+ # @!attribute [rw] tde_wallet_password_secret_version
55
+ # @return [::String]
56
+ # Optional. The resource name of a secret version in Secret Manager which
57
+ # contains the TDE wallet password for the database. Format:
58
+ # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. Note: Only one of
59
+ # `tde_wallet_password_secret_version` or `tde_wallet_password` can be
60
+ # populated.
44
61
  # @!attribute [rw] character_set
45
62
  # @return [::String]
46
63
  # Optional. The character set for the database. The default is AL32UTF8.
@@ -70,6 +87,15 @@ module Google
70
87
  # @!attribute [r] ops_insights_status
71
88
  # @return [::Google::Cloud::OracleDatabase::V1::Database::OperationsInsightsStatus]
72
89
  # Output only. The Status of Operations Insights for this Database.
90
+ # @!attribute [rw] pluggable_database_id
91
+ # @return [::String]
92
+ # Optional. The ID of the pluggable database associated with the Database.
93
+ # The ID must be unique within the project and location.
94
+ # @!attribute [rw] pluggable_database_name
95
+ # @return [::String]
96
+ # Optional. The pluggable database associated with the Database. The name
97
+ # must begin with an alphabetic character and can contain a maximum of thirty
98
+ # alphanumeric characters.
73
99
  class Database
74
100
  include ::Google::Protobuf::MessageExts
75
101
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -248,7 +248,8 @@ module Google
248
248
  # The storage management is unspecified.
249
249
  STORAGE_MANAGEMENT_UNSPECIFIED = 0
250
250
 
251
- # Automatic storage management.
251
+ # Automatic storage management. This option is not supported. Only LVM is
252
+ # supported.
252
253
  ASM = 1
253
254
 
254
255
  # Logical Volume management.
@@ -371,6 +372,10 @@ module Google
371
372
  # @!attribute [rw] next_page_token
372
373
  # @return [::String]
373
374
  # A token identifying a page of results the server should return.
375
+ # @!attribute [rw] unreachable
376
+ # @return [::Array<::String>]
377
+ # Unreachable locations when listing resources across all locations using
378
+ # wildcard location '-'.
374
379
  class ListDbSystemsResponse
375
380
  include ::Google::Protobuf::MessageExts
376
381
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -207,6 +207,10 @@ module Google
207
207
  # the next page token can be provided to a subsequent
208
208
  # ListExascaleDbStorageVaults call to list the next page.
209
209
  # If empty, there are no more pages.
210
+ # @!attribute [rw] unreachable
211
+ # @return [::Array<::String>]
212
+ # Unreachable locations when listing resources across all locations using
213
+ # wildcard location '-'.
210
214
  class ListExascaleDbStorageVaultsResponse
211
215
  include ::Google::Protobuf::MessageExts
212
216
  extend ::Google::Protobuf::MessageExts::ClassMethods