google-cloud-oracle_database-v1 0.a → 0.2.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 (62) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/cloud/oracle_database/v1/bindings_override.rb +102 -0
  6. data/lib/google/cloud/oracle_database/v1/oracle_database/credentials.rb +47 -0
  7. data/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb +124 -0
  8. data/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +2647 -0
  9. data/lib/google/cloud/oracle_database/v1/oracle_database/rest/operations.rb +907 -0
  10. data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +1428 -0
  11. data/lib/google/cloud/oracle_database/v1/oracle_database/rest.rb +54 -0
  12. data/lib/google/cloud/oracle_database/v1/oracle_database.rb +48 -0
  13. data/lib/google/cloud/oracle_database/v1/rest.rb +38 -0
  14. data/lib/google/cloud/oracle_database/v1/version.rb +7 -2
  15. data/lib/google/cloud/oracle_database/v1.rb +40 -0
  16. data/lib/google/cloud/oracledatabase/v1/autonomous_database_character_set_pb.rb +46 -0
  17. data/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb +83 -0
  18. data/lib/google/cloud/oracledatabase/v1/autonomous_db_backup_pb.rb +50 -0
  19. data/lib/google/cloud/oracledatabase/v1/autonomous_db_version_pb.rb +46 -0
  20. data/lib/google/cloud/oracledatabase/v1/common_pb.rb +44 -0
  21. data/lib/google/cloud/oracledatabase/v1/db_node_pb.rb +47 -0
  22. data/lib/google/cloud/oracledatabase/v1/db_server_pb.rb +47 -0
  23. data/lib/google/cloud/oracledatabase/v1/db_system_shape_pb.rb +45 -0
  24. data/lib/google/cloud/oracledatabase/v1/entitlement_pb.rb +47 -0
  25. data/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +56 -0
  26. data/lib/google/cloud/oracledatabase/v1/gi_version_pb.rb +45 -0
  27. data/lib/google/cloud/oracledatabase/v1/location_metadata_pb.rb +44 -0
  28. data/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +108 -0
  29. data/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +89 -0
  30. data/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb +54 -0
  31. data/lib/google-cloud-oracle_database-v1.rb +21 -0
  32. data/proto_docs/README.md +4 -0
  33. data/proto_docs/google/api/client.rb +459 -0
  34. data/proto_docs/google/api/field_behavior.rb +85 -0
  35. data/proto_docs/google/api/field_info.rb +88 -0
  36. data/proto_docs/google/api/launch_stage.rb +71 -0
  37. data/proto_docs/google/api/resource.rb +227 -0
  38. data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb +844 -0
  39. data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database_character_set.rb +57 -0
  40. data/proto_docs/google/cloud/oracledatabase/v1/autonomous_db_backup.rb +175 -0
  41. data/proto_docs/google/cloud/oracledatabase/v1/autonomous_db_version.rb +48 -0
  42. data/proto_docs/google/cloud/oracledatabase/v1/common.rb +37 -0
  43. data/proto_docs/google/cloud/oracledatabase/v1/db_node.rb +103 -0
  44. data/proto_docs/google/cloud/oracledatabase/v1/db_server.rb +100 -0
  45. data/proto_docs/google/cloud/oracledatabase/v1/db_system_shape.rb +70 -0
  46. data/proto_docs/google/cloud/oracledatabase/v1/entitlement.rb +78 -0
  47. data/proto_docs/google/cloud/oracledatabase/v1/exadata_infra.rb +266 -0
  48. data/proto_docs/google/cloud/oracledatabase/v1/gi_version.rb +41 -0
  49. data/proto_docs/google/cloud/oracledatabase/v1/location_metadata.rb +35 -0
  50. data/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb +649 -0
  51. data/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb +251 -0
  52. data/proto_docs/google/longrunning/operations.rb +169 -0
  53. data/proto_docs/google/protobuf/any.rb +145 -0
  54. data/proto_docs/google/protobuf/duration.rb +98 -0
  55. data/proto_docs/google/protobuf/empty.rb +34 -0
  56. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  57. data/proto_docs/google/rpc/status.rb +48 -0
  58. data/proto_docs/google/type/datetime.rb +99 -0
  59. data/proto_docs/google/type/dayofweek.rb +49 -0
  60. data/proto_docs/google/type/month.rb +64 -0
  61. data/proto_docs/google/type/timeofday.rb +45 -0
  62. metadata +124 -11
@@ -0,0 +1,844 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module OracleDatabase
23
+ module V1
24
+ # Details of the Autonomous Database resource.
25
+ # https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # Identifier. The name of the Autonomous Database resource in the following
29
+ # format:
30
+ # projects/\\{project}/locations/\\{region}/autonomousDatabases/\\{autonomous_database}
31
+ # @!attribute [rw] database
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.
36
+ # @!attribute [rw] display_name
37
+ # @return [::String]
38
+ # Optional. The display name for the Autonomous Database. The name does not
39
+ # have to be unique within your project.
40
+ # @!attribute [r] entitlement_id
41
+ # @return [::String]
42
+ # Output only. The ID of the subscription entitlement associated with the
43
+ # Autonomous Database.
44
+ # @!attribute [rw] admin_password
45
+ # @return [::String]
46
+ # Optional. The password for the default ADMIN user.
47
+ # @!attribute [rw] properties
48
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties]
49
+ # Optional. The properties of the Autonomous Database.
50
+ # @!attribute [rw] labels
51
+ # @return [::Google::Protobuf::Map{::String => ::String}]
52
+ # Optional. The labels or tags associated with the Autonomous Database.
53
+ # @!attribute [rw] network
54
+ # @return [::String]
55
+ # Required. The name of the VPC network used by the Autonomous Database in
56
+ # the following format: projects/\\{project}/global/networks/\\{network}
57
+ # @!attribute [rw] cidr
58
+ # @return [::String]
59
+ # Required. The subnet CIDR range for the Autonmous Database.
60
+ # @!attribute [r] create_time
61
+ # @return [::Google::Protobuf::Timestamp]
62
+ # Output only. The date and time that the Autonomous Database was created.
63
+ class AutonomousDatabase
64
+ include ::Google::Protobuf::MessageExts
65
+ extend ::Google::Protobuf::MessageExts::ClassMethods
66
+
67
+ # @!attribute [rw] key
68
+ # @return [::String]
69
+ # @!attribute [rw] value
70
+ # @return [::String]
71
+ class LabelsEntry
72
+ include ::Google::Protobuf::MessageExts
73
+ extend ::Google::Protobuf::MessageExts::ClassMethods
74
+ end
75
+ end
76
+
77
+ # The properties of an Autonomous Database.
78
+ # @!attribute [r] ocid
79
+ # @return [::String]
80
+ # Output only. OCID of the Autonomous Database.
81
+ # https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
82
+ # @!attribute [rw] compute_count
83
+ # @return [::Float]
84
+ # Optional. The number of compute servers for the Autonomous Database.
85
+ # @!attribute [rw] cpu_core_count
86
+ # @return [::Integer]
87
+ # Optional. The number of CPU cores to be made available to the database.
88
+ # @!attribute [rw] data_storage_size_tb
89
+ # @return [::Integer]
90
+ # Optional. The size of the data stored in the database, in terabytes.
91
+ # @!attribute [rw] data_storage_size_gb
92
+ # @return [::Integer]
93
+ # Optional. The size of the data stored in the database, in gigabytes.
94
+ # @!attribute [rw] db_workload
95
+ # @return [::Google::Cloud::OracleDatabase::V1::DBWorkload]
96
+ # Required. The workload type of the Autonomous Database.
97
+ # @!attribute [rw] db_edition
98
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::DatabaseEdition]
99
+ # Optional. The edition of the Autonomous Databases.
100
+ # @!attribute [rw] character_set
101
+ # @return [::String]
102
+ # Optional. The character set for the Autonomous Database. The default is
103
+ # AL32UTF8.
104
+ # @!attribute [rw] n_character_set
105
+ # @return [::String]
106
+ # Optional. The national character set for the Autonomous Database. The
107
+ # default is AL16UTF16.
108
+ # @!attribute [rw] private_endpoint_ip
109
+ # @return [::String]
110
+ # Optional. The private endpoint IP address for the Autonomous Database.
111
+ # @!attribute [rw] private_endpoint_label
112
+ # @return [::String]
113
+ # Optional. The private endpoint label for the Autonomous Database.
114
+ # @!attribute [rw] db_version
115
+ # @return [::String]
116
+ # Optional. The Oracle Database version for the Autonomous Database.
117
+ # @!attribute [rw] is_auto_scaling_enabled
118
+ # @return [::Boolean]
119
+ # Optional. This field indicates if auto scaling is enabled for the
120
+ # Autonomous Database CPU core count.
121
+ # @!attribute [rw] is_storage_auto_scaling_enabled
122
+ # @return [::Boolean]
123
+ # Optional. This field indicates if auto scaling is enabled for the
124
+ # Autonomous Database storage.
125
+ # @!attribute [rw] license_type
126
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::LicenseType]
127
+ # Required. The license type used for the Autonomous Database.
128
+ # @!attribute [rw] customer_contacts
129
+ # @return [::Array<::Google::Cloud::OracleDatabase::V1::CustomerContact>]
130
+ # Optional. The list of customer contacts.
131
+ # @!attribute [rw] secret_id
132
+ # @return [::String]
133
+ # Optional. The ID of the Oracle Cloud Infrastructure vault secret.
134
+ # @!attribute [rw] vault_id
135
+ # @return [::String]
136
+ # Optional. The ID of the Oracle Cloud Infrastructure vault.
137
+ # @!attribute [rw] maintenance_schedule_type
138
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::MaintenanceScheduleType]
139
+ # Optional. The maintenance schedule of the Autonomous Database.
140
+ # @!attribute [rw] mtls_connection_required
141
+ # @return [::Boolean]
142
+ # Optional. This field specifies if the Autonomous Database requires mTLS
143
+ # connections.
144
+ # @!attribute [rw] backup_retention_period_days
145
+ # @return [::Integer]
146
+ # Optional. The retention period for the Autonomous Database. This field is
147
+ # specified in days, can range from 1 day to 60 days, and has a default value
148
+ # of 60 days.
149
+ # @!attribute [r] actual_used_data_storage_size_tb
150
+ # @return [::Float]
151
+ # Output only. The amount of storage currently being used for user and system
152
+ # data, in terabytes.
153
+ # @!attribute [r] allocated_storage_size_tb
154
+ # @return [::Float]
155
+ # Output only. The amount of storage currently allocated for the database
156
+ # tables and billed for, rounded up in terabytes.
157
+ # @!attribute [r] apex_details
158
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseApex]
159
+ # Output only. The details for the Oracle APEX Application Development.
160
+ # @!attribute [r] are_primary_allowlisted_ips_used
161
+ # @return [::Boolean]
162
+ # Output only. This field indicates the status of Data Guard and Access
163
+ # control for the Autonomous Database. The field's value is null if Data
164
+ # Guard is disabled or Access Control is disabled. The field's value is TRUE
165
+ # if both Data Guard and Access Control are enabled, and the Autonomous
166
+ # Database is using primary IP access control list (ACL) for standby. The
167
+ # field's value is FALSE if both Data Guard and Access Control are enabled,
168
+ # and the Autonomous Database is using a different IP access control list
169
+ # (ACL) for standby compared to primary.
170
+ # @!attribute [r] lifecycle_details
171
+ # @return [::String]
172
+ # Output only. The details of the current lifestyle state of the Autonomous
173
+ # Database.
174
+ # @!attribute [r] state
175
+ # @return [::Google::Cloud::OracleDatabase::V1::State]
176
+ # Output only. The current lifecycle state of the Autonomous Database.
177
+ # @!attribute [r] autonomous_container_database_id
178
+ # @return [::String]
179
+ # Output only. The Autonomous Container Database OCID.
180
+ # @!attribute [r] available_upgrade_versions
181
+ # @return [::Array<::String>]
182
+ # Output only. The list of available Oracle Database upgrade versions for an
183
+ # Autonomous Database.
184
+ # @!attribute [r] connection_strings
185
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseConnectionStrings]
186
+ # Output only. The connection strings used to connect to an Autonomous
187
+ # Database.
188
+ # @!attribute [r] connection_urls
189
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseConnectionUrls]
190
+ # Output only. The Oracle Connection URLs for an Autonomous Database.
191
+ # @!attribute [r] failed_data_recovery_duration
192
+ # @return [::Google::Protobuf::Duration]
193
+ # Output only. This field indicates the number of seconds of data loss during
194
+ # a Data Guard failover.
195
+ # @!attribute [r] memory_table_gbs
196
+ # @return [::Integer]
197
+ # Output only. The memory assigned to in-memory tables in an Autonomous
198
+ # Database.
199
+ # @!attribute [r] is_local_data_guard_enabled
200
+ # @return [::Boolean]
201
+ # Output only. This field indicates whether the Autonomous Database has local
202
+ # (in-region) Data Guard enabled.
203
+ # @!attribute [r] local_adg_auto_failover_max_data_loss_limit
204
+ # @return [::Integer]
205
+ # Output only. This field indicates the maximum data loss limit for an
206
+ # Autonomous Database, in seconds.
207
+ # @!attribute [r] local_standby_db
208
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseStandbySummary]
209
+ # Output only. The details of the Autonomous Data Guard standby database.
210
+ # @!attribute [r] memory_per_oracle_compute_unit_gbs
211
+ # @return [::Integer]
212
+ # Output only. The amount of memory enabled per ECPU, in gigabytes.
213
+ # @!attribute [r] local_disaster_recovery_type
214
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::LocalDisasterRecoveryType]
215
+ # Output only. This field indicates the local disaster recovery (DR) type of
216
+ # an Autonomous Database.
217
+ # @!attribute [r] data_safe_state
218
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::DataSafeState]
219
+ # Output only. The current state of the Data Safe registration for the
220
+ # Autonomous Database.
221
+ # @!attribute [r] database_management_state
222
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::DatabaseManagementState]
223
+ # Output only. The current state of database management for the Autonomous
224
+ # Database.
225
+ # @!attribute [r] open_mode
226
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::OpenMode]
227
+ # Output only. This field indicates the current mode of the Autonomous
228
+ # Database.
229
+ # @!attribute [r] operations_insights_state
230
+ # @return [::Google::Cloud::OracleDatabase::V1::OperationsInsightsState]
231
+ # Output only. This field indicates the state of Operations Insights for the
232
+ # Autonomous Database.
233
+ # @!attribute [r] peer_db_ids
234
+ # @return [::Array<::String>]
235
+ # Output only. The list of OCIDs of standby databases located in Autonomous
236
+ # Data Guard remote regions that are associated with the source database.
237
+ # @!attribute [r] permission_level
238
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::PermissionLevel]
239
+ # Output only. The permission level of the Autonomous Database.
240
+ # @!attribute [r] private_endpoint
241
+ # @return [::String]
242
+ # Output only. The private endpoint for the Autonomous Database.
243
+ # @!attribute [r] refreshable_mode
244
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::RefreshableMode]
245
+ # Output only. The refresh mode of the cloned Autonomous Database.
246
+ # @!attribute [r] refreshable_state
247
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::RefreshableState]
248
+ # Output only. The refresh State of the clone.
249
+ # @!attribute [r] role
250
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::Role]
251
+ # Output only. The Data Guard role of the Autonomous Database.
252
+ # @!attribute [r] scheduled_operation_details
253
+ # @return [::Array<::Google::Cloud::OracleDatabase::V1::ScheduledOperationDetails>]
254
+ # Output only. The list and details of the scheduled operations of the
255
+ # Autonomous Database.
256
+ # @!attribute [r] sql_web_developer_url
257
+ # @return [::String]
258
+ # Output only. The SQL Web Developer URL for the Autonomous Database.
259
+ # @!attribute [r] supported_clone_regions
260
+ # @return [::Array<::String>]
261
+ # Output only. The list of available regions that can be used to create a
262
+ # clone for the Autonomous Database.
263
+ # @!attribute [r] used_data_storage_size_tbs
264
+ # @return [::Integer]
265
+ # Output only. The storage space used by Autonomous Database, in gigabytes.
266
+ # @!attribute [r] oci_url
267
+ # @return [::String]
268
+ # Output only. The Oracle Cloud Infrastructure link for the Autonomous
269
+ # Database.
270
+ # @!attribute [r] total_auto_backup_storage_size_gbs
271
+ # @return [::Float]
272
+ # Output only. The storage space used by automatic backups of Autonomous
273
+ # Database, in gigabytes.
274
+ # @!attribute [r] next_long_term_backup_time
275
+ # @return [::Google::Protobuf::Timestamp]
276
+ # Output only. The long term backup schedule of the Autonomous Database.
277
+ # @!attribute [r] maintenance_begin_time
278
+ # @return [::Google::Protobuf::Timestamp]
279
+ # Output only. The date and time when maintenance will begin.
280
+ # @!attribute [r] maintenance_end_time
281
+ # @return [::Google::Protobuf::Timestamp]
282
+ # Output only. The date and time when maintenance will end.
283
+ class AutonomousDatabaseProperties
284
+ include ::Google::Protobuf::MessageExts
285
+ extend ::Google::Protobuf::MessageExts::ClassMethods
286
+
287
+ # The editions available for the Autonomous Database.
288
+ module DatabaseEdition
289
+ # Default unspecified value.
290
+ DATABASE_EDITION_UNSPECIFIED = 0
291
+
292
+ # Standard Database Edition
293
+ STANDARD_EDITION = 1
294
+
295
+ # Enterprise Database Edition
296
+ ENTERPRISE_EDITION = 2
297
+ end
298
+
299
+ # The license types available for the Autonomous Database.
300
+ module LicenseType
301
+ # Unspecified
302
+ LICENSE_TYPE_UNSPECIFIED = 0
303
+
304
+ # License included part of offer
305
+ LICENSE_INCLUDED = 1
306
+
307
+ # Bring your own license
308
+ BRING_YOUR_OWN_LICENSE = 2
309
+ end
310
+
311
+ # The available maintenance schedules for the Autonomous Database.
312
+ module MaintenanceScheduleType
313
+ # Default unspecified value.
314
+ MAINTENANCE_SCHEDULE_TYPE_UNSPECIFIED = 0
315
+
316
+ # An EARLY maintenance schedule patches the database before
317
+ # the regular scheduled maintenance.
318
+ EARLY = 1
319
+
320
+ # A REGULAR maintenance schedule follows the normal maintenance cycle.
321
+ REGULAR = 2
322
+ end
323
+
324
+ # The types of local disaster recovery available for an Autonomous Database.
325
+ module LocalDisasterRecoveryType
326
+ # Default unspecified value.
327
+ LOCAL_DISASTER_RECOVERY_TYPE_UNSPECIFIED = 0
328
+
329
+ # Autonomous Data Guard recovery.
330
+ ADG = 1
331
+
332
+ # Backup based recovery.
333
+ BACKUP_BASED = 2
334
+ end
335
+
336
+ # Varies states of the Data Safe registration for the Autonomous Database.
337
+ module DataSafeState
338
+ # Default unspecified value.
339
+ DATA_SAFE_STATE_UNSPECIFIED = 0
340
+
341
+ # Registering data safe state.
342
+ REGISTERING = 1
343
+
344
+ # Registered data safe state.
345
+ REGISTERED = 2
346
+
347
+ # Deregistering data safe state.
348
+ DEREGISTERING = 3
349
+
350
+ # Not registered data safe state.
351
+ NOT_REGISTERED = 4
352
+
353
+ # Failed data safe state.
354
+ FAILED = 5
355
+ end
356
+
357
+ # The different states of database management for an Autonomous Database.
358
+ module DatabaseManagementState
359
+ # Default unspecified value.
360
+ DATABASE_MANAGEMENT_STATE_UNSPECIFIED = 0
361
+
362
+ # Enabling Database Management state
363
+ ENABLING = 1
364
+
365
+ # Enabled Database Management state
366
+ ENABLED = 2
367
+
368
+ # Disabling Database Management state
369
+ DISABLING = 3
370
+
371
+ # Not Enabled Database Management state
372
+ NOT_ENABLED = 4
373
+
374
+ # Failed enabling Database Management state
375
+ FAILED_ENABLING = 5
376
+
377
+ # Failed disabling Database Management state
378
+ FAILED_DISABLING = 6
379
+ end
380
+
381
+ # This field indicates the modes of an Autonomous Database.
382
+ module OpenMode
383
+ # Default unspecified value.
384
+ OPEN_MODE_UNSPECIFIED = 0
385
+
386
+ # Read Only Mode
387
+ READ_ONLY = 1
388
+
389
+ # Read Write Mode
390
+ READ_WRITE = 2
391
+ end
392
+
393
+ # The types of permission levels for an Autonomous Database.
394
+ module PermissionLevel
395
+ # Default unspecified value.
396
+ PERMISSION_LEVEL_UNSPECIFIED = 0
397
+
398
+ # Restricted mode allows access only by admin users.
399
+ RESTRICTED = 1
400
+
401
+ # Normal access.
402
+ UNRESTRICTED = 2
403
+ end
404
+
405
+ # The refresh mode of the cloned Autonomous Database.
406
+ module RefreshableMode
407
+ # The default unspecified value.
408
+ REFRESHABLE_MODE_UNSPECIFIED = 0
409
+
410
+ # AUTOMATIC indicates that the cloned database is automatically
411
+ # refreshed with data from the source Autonomous Database.
412
+ AUTOMATIC = 1
413
+
414
+ # MANUAL indicates that the cloned database is manually refreshed with
415
+ # data from the source Autonomous Database.
416
+ MANUAL = 2
417
+ end
418
+
419
+ # The refresh state of the cloned Autonomous Database.
420
+ module RefreshableState
421
+ # Default unspecified value.
422
+ REFRESHABLE_STATE_UNSPECIFIED = 0
423
+
424
+ # Refreshing
425
+ REFRESHING = 1
426
+
427
+ # Not refreshed
428
+ NOT_REFRESHING = 2
429
+ end
430
+
431
+ # The Data Guard role of the Autonomous Database.
432
+ module Role
433
+ # Default unspecified value.
434
+ ROLE_UNSPECIFIED = 0
435
+
436
+ # Primary role
437
+ PRIMARY = 1
438
+
439
+ # Standby role
440
+ STANDBY = 2
441
+
442
+ # Disabled standby role
443
+ DISABLED_STANDBY = 3
444
+
445
+ # Backup copy role
446
+ BACKUP_COPY = 4
447
+
448
+ # Snapshot standby role
449
+ SNAPSHOT_STANDBY = 5
450
+ end
451
+ end
452
+
453
+ # Oracle APEX Application Development.
454
+ # https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseApex
455
+ # @!attribute [r] apex_version
456
+ # @return [::String]
457
+ # Output only. The Oracle APEX Application Development version.
458
+ # @!attribute [r] ords_version
459
+ # @return [::String]
460
+ # Output only. The Oracle REST Data Services (ORDS) version.
461
+ class AutonomousDatabaseApex
462
+ include ::Google::Protobuf::MessageExts
463
+ extend ::Google::Protobuf::MessageExts::ClassMethods
464
+ end
465
+
466
+ # The connection string used to connect to the Autonomous Database.
467
+ # https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseConnectionStrings
468
+ # @!attribute [r] all_connection_strings
469
+ # @return [::Google::Cloud::OracleDatabase::V1::AllConnectionStrings]
470
+ # Output only. Returns all connection strings that can be used to connect to
471
+ # the Autonomous Database.
472
+ # @!attribute [r] dedicated
473
+ # @return [::String]
474
+ # Output only. The database service provides the least level of resources to
475
+ # each SQL statement, but supports the most number of concurrent SQL
476
+ # statements.
477
+ # @!attribute [r] high
478
+ # @return [::String]
479
+ # Output only. The database service provides the highest level of resources
480
+ # to each SQL statement.
481
+ # @!attribute [r] low
482
+ # @return [::String]
483
+ # Output only. The database service provides the least level of resources to
484
+ # each SQL statement.
485
+ # @!attribute [r] medium
486
+ # @return [::String]
487
+ # Output only. The database service provides a lower level of resources to
488
+ # each SQL statement.
489
+ # @!attribute [r] profiles
490
+ # @return [::Array<::Google::Cloud::OracleDatabase::V1::DatabaseConnectionStringProfile>]
491
+ # Output only. A list of connection string profiles to allow clients to
492
+ # group, filter, and select values based on the structured metadata.
493
+ class AutonomousDatabaseConnectionStrings
494
+ include ::Google::Protobuf::MessageExts
495
+ extend ::Google::Protobuf::MessageExts::ClassMethods
496
+ end
497
+
498
+ # The connection string profile to allow clients to group.
499
+ # https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DatabaseConnectionStringProfile
500
+ # @!attribute [r] consumer_group
501
+ # @return [::Google::Cloud::OracleDatabase::V1::DatabaseConnectionStringProfile::ConsumerGroup]
502
+ # Output only. The current consumer group being used by the connection.
503
+ # @!attribute [r] display_name
504
+ # @return [::String]
505
+ # Output only. The display name for the database connection.
506
+ # @!attribute [r] host_format
507
+ # @return [::Google::Cloud::OracleDatabase::V1::DatabaseConnectionStringProfile::HostFormat]
508
+ # Output only. The host name format being currently used in connection
509
+ # string.
510
+ # @!attribute [r] is_regional
511
+ # @return [::Boolean]
512
+ # Output only. This field indicates if the connection string is regional and
513
+ # is only applicable for cross-region Data Guard.
514
+ # @!attribute [r] protocol
515
+ # @return [::Google::Cloud::OracleDatabase::V1::DatabaseConnectionStringProfile::Protocol]
516
+ # Output only. The protocol being used by the connection.
517
+ # @!attribute [r] session_mode
518
+ # @return [::Google::Cloud::OracleDatabase::V1::DatabaseConnectionStringProfile::SessionMode]
519
+ # Output only. The current session mode of the connection.
520
+ # @!attribute [r] syntax_format
521
+ # @return [::Google::Cloud::OracleDatabase::V1::DatabaseConnectionStringProfile::SyntaxFormat]
522
+ # Output only. The syntax of the connection string.
523
+ # @!attribute [r] tls_authentication
524
+ # @return [::Google::Cloud::OracleDatabase::V1::DatabaseConnectionStringProfile::TLSAuthentication]
525
+ # Output only. This field indicates the TLS authentication type of the
526
+ # connection.
527
+ # @!attribute [r] value
528
+ # @return [::String]
529
+ # Output only. The value of the connection string.
530
+ class DatabaseConnectionStringProfile
531
+ include ::Google::Protobuf::MessageExts
532
+ extend ::Google::Protobuf::MessageExts::ClassMethods
533
+
534
+ # The various consumer groups available in the connection string profile.
535
+ module ConsumerGroup
536
+ # Default unspecified value.
537
+ CONSUMER_GROUP_UNSPECIFIED = 0
538
+
539
+ # High consumer group.
540
+ HIGH = 1
541
+
542
+ # Medium consumer group.
543
+ MEDIUM = 2
544
+
545
+ # Low consumer group.
546
+ LOW = 3
547
+
548
+ # TP consumer group.
549
+ TP = 4
550
+
551
+ # TPURGENT consumer group.
552
+ TPURGENT = 5
553
+ end
554
+
555
+ # The host name format being used in the connection string.
556
+ module HostFormat
557
+ # Default unspecified value.
558
+ HOST_FORMAT_UNSPECIFIED = 0
559
+
560
+ # FQDN
561
+ FQDN = 1
562
+
563
+ # IP
564
+ IP = 2
565
+ end
566
+
567
+ # The protocol being used by the connection.
568
+ module Protocol
569
+ # Default unspecified value.
570
+ PROTOCOL_UNSPECIFIED = 0
571
+
572
+ # Tcp
573
+ TCP = 1
574
+
575
+ # Tcps
576
+ TCPS = 2
577
+ end
578
+
579
+ # The session mode of the connection.
580
+ module SessionMode
581
+ # Default unspecified value.
582
+ SESSION_MODE_UNSPECIFIED = 0
583
+
584
+ # Direct
585
+ DIRECT = 1
586
+
587
+ # Indirect
588
+ INDIRECT = 2
589
+ end
590
+
591
+ # Specifies syntax of the connection string.
592
+ module SyntaxFormat
593
+ # Default unspecified value.
594
+ SYNTAX_FORMAT_UNSPECIFIED = 0
595
+
596
+ # Long
597
+ LONG = 1
598
+
599
+ # Ezconnect
600
+ EZCONNECT = 2
601
+
602
+ # Ezconnectplus
603
+ EZCONNECTPLUS = 3
604
+ end
605
+
606
+ # This field indicates the TLS authentication type of the connection.
607
+ module TLSAuthentication
608
+ # Default unspecified value.
609
+ TLS_AUTHENTICATION_UNSPECIFIED = 0
610
+
611
+ # Server
612
+ SERVER = 1
613
+
614
+ # Mutual
615
+ MUTUAL = 2
616
+ end
617
+ end
618
+
619
+ # A list of all connection strings that can be used to connect to the
620
+ # Autonomous Database.
621
+ # @!attribute [r] high
622
+ # @return [::String]
623
+ # Output only. The database service provides the highest level of resources
624
+ # to each SQL statement.
625
+ # @!attribute [r] low
626
+ # @return [::String]
627
+ # Output only. The database service provides the least level of resources to
628
+ # each SQL statement.
629
+ # @!attribute [r] medium
630
+ # @return [::String]
631
+ # Output only. The database service provides a lower level of resources to
632
+ # each SQL statement.
633
+ class AllConnectionStrings
634
+ include ::Google::Protobuf::MessageExts
635
+ extend ::Google::Protobuf::MessageExts::ClassMethods
636
+ end
637
+
638
+ # The URLs for accessing Oracle Application Express (APEX) and SQL Developer
639
+ # Web with a browser from a Compute instance.
640
+ # https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseConnectionUrls
641
+ # @!attribute [r] apex_uri
642
+ # @return [::String]
643
+ # Output only. Oracle Application Express (APEX) URL.
644
+ # @!attribute [r] database_transforms_uri
645
+ # @return [::String]
646
+ # Output only. The URL of the Database Transforms for the Autonomous
647
+ # Database.
648
+ # @!attribute [r] graph_studio_uri
649
+ # @return [::String]
650
+ # Output only. The URL of the Graph Studio for the Autonomous Database.
651
+ # @!attribute [r] machine_learning_notebook_uri
652
+ # @return [::String]
653
+ # Output only. The URL of the Oracle Machine Learning (OML) Notebook for the
654
+ # Autonomous Database.
655
+ # @!attribute [r] machine_learning_user_management_uri
656
+ # @return [::String]
657
+ # Output only. The URL of Machine Learning user management the Autonomous
658
+ # Database.
659
+ # @!attribute [r] mongo_db_uri
660
+ # @return [::String]
661
+ # Output only. The URL of the MongoDB API for the Autonomous Database.
662
+ # @!attribute [r] ords_uri
663
+ # @return [::String]
664
+ # Output only. The Oracle REST Data Services (ORDS) URL of the Web Access for
665
+ # the Autonomous Database.
666
+ # @!attribute [r] sql_dev_web_uri
667
+ # @return [::String]
668
+ # Output only. The URL of the Oracle SQL Developer Web for the Autonomous
669
+ # Database.
670
+ class AutonomousDatabaseConnectionUrls
671
+ include ::Google::Protobuf::MessageExts
672
+ extend ::Google::Protobuf::MessageExts::ClassMethods
673
+ end
674
+
675
+ # Autonomous Data Guard standby database details.
676
+ # https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseStandbySummary
677
+ # @!attribute [r] lag_time_duration
678
+ # @return [::Google::Protobuf::Duration]
679
+ # Output only. The amount of time, in seconds, that the data of the standby
680
+ # database lags in comparison to the data of the primary database.
681
+ # @!attribute [r] lifecycle_details
682
+ # @return [::String]
683
+ # Output only. The additional details about the current lifecycle state of
684
+ # the Autonomous Database.
685
+ # @!attribute [r] state
686
+ # @return [::Google::Cloud::OracleDatabase::V1::State]
687
+ # Output only. The current lifecycle state of the Autonomous Database.
688
+ # @!attribute [r] data_guard_role_changed_time
689
+ # @return [::Google::Protobuf::Timestamp]
690
+ # Output only. The date and time the Autonomous Data Guard role was switched
691
+ # for the standby Autonomous Database.
692
+ # @!attribute [r] disaster_recovery_role_changed_time
693
+ # @return [::Google::Protobuf::Timestamp]
694
+ # Output only. The date and time the Disaster Recovery role was switched for
695
+ # the standby Autonomous Database.
696
+ class AutonomousDatabaseStandbySummary
697
+ include ::Google::Protobuf::MessageExts
698
+ extend ::Google::Protobuf::MessageExts::ClassMethods
699
+ end
700
+
701
+ # Details of scheduled operation.
702
+ # https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/ScheduledOperationDetails
703
+ # @!attribute [r] day_of_week
704
+ # @return [::Google::Type::DayOfWeek]
705
+ # Output only. Day of week.
706
+ # @!attribute [r] start_time
707
+ # @return [::Google::Type::TimeOfDay]
708
+ # Output only. Auto start time.
709
+ # @!attribute [r] stop_time
710
+ # @return [::Google::Type::TimeOfDay]
711
+ # Output only. Auto stop time.
712
+ class ScheduledOperationDetails
713
+ include ::Google::Protobuf::MessageExts
714
+ extend ::Google::Protobuf::MessageExts::ClassMethods
715
+ end
716
+
717
+ # The type of wallet generation.
718
+ module GenerateType
719
+ # Default unspecified value.
720
+ GENERATE_TYPE_UNSPECIFIED = 0
721
+
722
+ # Used to generate wallet for all databases in the region.
723
+ ALL = 1
724
+
725
+ # Used to generate wallet for a single database.
726
+ SINGLE = 2
727
+ end
728
+
729
+ # The various lifecycle states of the Autonomous Database.
730
+ module State
731
+ # Default unspecified value.
732
+ STATE_UNSPECIFIED = 0
733
+
734
+ # Indicates that the Autonomous Database is in provisioning state.
735
+ PROVISIONING = 1
736
+
737
+ # Indicates that the Autonomous Database is in available state.
738
+ AVAILABLE = 2
739
+
740
+ # Indicates that the Autonomous Database is in stopping state.
741
+ STOPPING = 3
742
+
743
+ # Indicates that the Autonomous Database is in stopped state.
744
+ STOPPED = 4
745
+
746
+ # Indicates that the Autonomous Database is in starting state.
747
+ STARTING = 5
748
+
749
+ # Indicates that the Autonomous Database is in terminating state.
750
+ TERMINATING = 6
751
+
752
+ # Indicates that the Autonomous Database is in terminated state.
753
+ TERMINATED = 7
754
+
755
+ # Indicates that the Autonomous Database is in unavailable state.
756
+ UNAVAILABLE = 8
757
+
758
+ # Indicates that the Autonomous Database restore is in progress.
759
+ RESTORE_IN_PROGRESS = 9
760
+
761
+ # Indicates that the Autonomous Database failed to restore.
762
+ RESTORE_FAILED = 10
763
+
764
+ # Indicates that the Autonomous Database backup is in progress.
765
+ BACKUP_IN_PROGRESS = 11
766
+
767
+ # Indicates that the Autonomous Database scale is in progress.
768
+ SCALE_IN_PROGRESS = 12
769
+
770
+ # Indicates that the Autonomous Database is available but needs attention
771
+ # state.
772
+ AVAILABLE_NEEDS_ATTENTION = 13
773
+
774
+ # Indicates that the Autonomous Database is in updating state.
775
+ UPDATING = 14
776
+
777
+ # Indicates that the Autonomous Database's maintenance is in progress state.
778
+ MAINTENANCE_IN_PROGRESS = 15
779
+
780
+ # Indicates that the Autonomous Database is in restarting state.
781
+ RESTARTING = 16
782
+
783
+ # Indicates that the Autonomous Database is in recreating state.
784
+ RECREATING = 17
785
+
786
+ # Indicates that the Autonomous Database's role change is in progress state.
787
+ ROLE_CHANGE_IN_PROGRESS = 18
788
+
789
+ # Indicates that the Autonomous Database is in upgrading state.
790
+ UPGRADING = 19
791
+
792
+ # Indicates that the Autonomous Database is in inaccessible state.
793
+ INACCESSIBLE = 20
794
+
795
+ # Indicates that the Autonomous Database is in standby state.
796
+ STANDBY = 21
797
+ end
798
+
799
+ # The state of the Operations Insights for this Autonomous Database.
800
+ module OperationsInsightsState
801
+ # Default unspecified value.
802
+ OPERATIONS_INSIGHTS_STATE_UNSPECIFIED = 0
803
+
804
+ # Enabling status for operation insights.
805
+ ENABLING = 1
806
+
807
+ # Enabled status for operation insights.
808
+ ENABLED = 2
809
+
810
+ # Disabling status for operation insights.
811
+ DISABLING = 3
812
+
813
+ # Not Enabled status for operation insights.
814
+ NOT_ENABLED = 4
815
+
816
+ # Failed enabling status for operation insights.
817
+ FAILED_ENABLING = 5
818
+
819
+ # Failed disabling status for operation insights.
820
+ FAILED_DISABLING = 6
821
+ end
822
+
823
+ # The various states available for the Autonomous Database workload type.
824
+ module DBWorkload
825
+ # Default unspecified value.
826
+ DB_WORKLOAD_UNSPECIFIED = 0
827
+
828
+ # Autonomous Transaction Processing database.
829
+ OLTP = 1
830
+
831
+ # Autonomous Data Warehouse database.
832
+ DW = 2
833
+
834
+ # Autonomous JSON Database.
835
+ AJD = 3
836
+
837
+ # Autonomous Database with the Oracle APEX Application Development workload
838
+ # type.
839
+ APEX = 4
840
+ end
841
+ end
842
+ end
843
+ end
844
+ end