google-cloud-oracle_database-v1 0.10.0 → 0.11.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.
- checksums.yaml +4 -4
- data/lib/google/cloud/oracle_database/v1/oracle_database/client.rb +3752 -56
- data/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb +175 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +3532 -67
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +2234 -204
- data/lib/google/cloud/oracle_database/v1/version.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb +5 -1
- data/lib/google/cloud/oracledatabase/v1/common_pb.rb +5 -1
- data/lib/google/cloud/oracledatabase/v1/database_character_set_pb.rb +48 -0
- data/lib/google/cloud/oracledatabase/v1/database_pb.rb +61 -0
- data/lib/google/cloud/oracledatabase/v1/db_node_pb.rb +3 -1
- data/lib/google/cloud/oracledatabase/v1/db_system_initial_storage_size_pb.rb +51 -0
- data/lib/google/cloud/oracledatabase/v1/db_system_pb.rb +66 -0
- data/lib/google/cloud/oracledatabase/v1/db_version_pb.rb +48 -0
- data/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/exadb_vm_cluster_pb.rb +56 -0
- data/lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.rb +59 -0
- data/lib/google/cloud/oracledatabase/v1/minor_version_pb.rb +47 -0
- data/lib/google/cloud/oracledatabase/v1/odb_network_pb.rb +54 -0
- data/lib/google/cloud/oracledatabase/v1/odb_subnet_pb.rb +55 -0
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +25 -1
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +74 -0
- data/lib/google/cloud/oracledatabase/v1/pluggable_database_pb.rb +60 -0
- data/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb +3 -1
- data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb +104 -1
- data/proto_docs/google/cloud/oracledatabase/v1/common.rb +64 -0
- data/proto_docs/google/cloud/oracledatabase/v1/database.rb +326 -0
- data/proto_docs/google/cloud/oracledatabase/v1/database_character_set.rb +99 -0
- data/proto_docs/google/cloud/oracledatabase/v1/db_node.rb +3 -0
- data/proto_docs/google/cloud/oracledatabase/v1/db_system.rb +381 -0
- data/proto_docs/google/cloud/oracledatabase/v1/db_system_initial_storage_size.rb +126 -0
- data/proto_docs/google/cloud/oracledatabase/v1/db_version.rb +102 -0
- data/proto_docs/google/cloud/oracledatabase/v1/exadata_infra.rb +12 -1
- data/proto_docs/google/cloud/oracledatabase/v1/exadb_vm_cluster.rb +229 -0
- data/proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb +271 -0
- data/proto_docs/google/cloud/oracledatabase/v1/minor_version.rb +81 -0
- data/proto_docs/google/cloud/oracledatabase/v1/odb_network.rb +184 -0
- data/proto_docs/google/cloud/oracledatabase/v1/odb_subnet.rb +189 -0
- data/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb +219 -0
- data/proto_docs/google/cloud/oracledatabase/v1/pluggable_database.rb +366 -0
- data/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb +32 -7
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- metadata +24 -1
|
@@ -6,11 +6,12 @@ require 'google/protobuf'
|
|
|
6
6
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
|
9
|
+
require 'google/cloud/oracledatabase/v1/common_pb'
|
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
|
10
11
|
require 'google/type/datetime_pb'
|
|
11
12
|
|
|
12
13
|
|
|
13
|
-
descriptor_data = "\n/google/cloud/oracledatabase/v1/vm_cluster.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/datetime.proto\"\
|
|
14
|
+
descriptor_data = "\n/google/cloud/oracledatabase/v1/vm_cluster.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/oracledatabase/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/datetime.proto\"\x82\x08\n\x0e\x43loudVmCluster\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12`\n\x16\x65xadata_infrastructure\x18\x02 \x01(\tB@\xe0\x41\x02\xfa\x41:\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12Q\n\nproperties\x18\x06 \x01(\x0b\x32\x38.google.cloud.oracledatabase.v1.CloudVmClusterPropertiesB\x03\xe0\x41\x01\x12O\n\x06labels\x18\x07 \x03(\x0b\x32:.google.cloud.oracledatabase.v1.CloudVmCluster.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x63idr\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x62\x61\x63kup_subnet_cidr\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x37\n\x07network\x18\x0b \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x1c\n\x0fgcp_oracle_zone\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x0bodb_network\x18\r \x01(\tB0\xe0\x41\x01\xfa\x41*\n(oracledatabase.googleapis.com/OdbNetwork\x12\x43\n\nodb_subnet\x18\x0e \x01(\tB/\xe0\x41\x01\xfa\x41)\n\'oracledatabase.googleapis.com/OdbSubnet\x12J\n\x11\x62\x61\x63kup_odb_subnet\x18\x0f \x01(\tB/\xe0\x41\x01\xfa\x41)\n\'oracledatabase.googleapis.com/OdbSubnet\x12R\n\x12identity_connector\x18\x10 \x01(\x0b\x32\x31.google.cloud.oracledatabase.v1.IdentityConnectorB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9f\x01\xea\x41\x9b\x01\n,oracledatabase.googleapis.com/CloudVmCluster\x12Jprojects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}*\x0f\x63loudVmClusters2\x0e\x63loudVmCluster\"\xe6\x0c\n\x18\x43loudVmClusterProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12_\n\x0clicense_type\x18\x02 \x01(\x0e\x32\x44.google.cloud.oracledatabase.v1.CloudVmClusterProperties.LicenseTypeB\x03\xe0\x41\x02\x12\x17\n\ngi_version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12-\n\ttime_zone\x18\x04 \x01(\x0b\x32\x15.google.type.TimeZoneB\x03\xe0\x41\x01\x12\x1c\n\x0fssh_public_keys\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\x17\n\nnode_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\x05shape\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nocpu_count\x18\x08 \x01(\x02\x42\x03\xe0\x41\x01\x12\x1b\n\x0ememory_size_gb\x18\t \x01(\x05\x42\x03\xe0\x41\x01\x12$\n\x17\x64\x62_node_storage_size_gb\x18\n \x01(\x05\x42\x03\xe0\x41\x01\x12\x1c\n\x0fstorage_size_gb\x18\x0b \x01(\x05\x42\x03\xe0\x41\x03\x12!\n\x14\x64\x61ta_storage_size_tb\x18\x0c \x01(\x01\x42\x03\xe0\x41\x01\x12\x65\n\x0f\x64isk_redundancy\x18\r \x01(\x0e\x32G.google.cloud.oracledatabase.v1.CloudVmClusterProperties.DiskRedundancyB\x03\xe0\x41\x01\x12%\n\x18sparse_diskgroup_enabled\x18\x0e \x01(\x08\x42\x03\xe0\x41\x01\x12!\n\x14local_backup_enabled\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0fhostname_prefix\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12g\n#diagnostics_data_collection_options\x18\x13 \x01(\x0b\x32\x35.google.cloud.oracledatabase.v1.DataCollectionOptionsB\x03\xe0\x41\x01\x12R\n\x05state\x18\x14 \x01(\x0e\x32>.google.cloud.oracledatabase.v1.CloudVmClusterProperties.StateB\x03\xe0\x41\x03\x12#\n\x16scan_listener_port_tcp\x18\x15 \x01(\x05\x42\x03\xe0\x41\x03\x12\'\n\x1ascan_listener_port_tcp_ssl\x18\x16 \x01(\x05\x42\x03\xe0\x41\x03\x12\x13\n\x06\x64omain\x18\x17 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08scan_dns\x18\x18 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08hostname\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0e\x63pu_core_count\x18\x1a \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0esystem_version\x18\x1b \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bscan_ip_ids\x18\x1c \x03(\tB\x03\xe0\x41\x03\x12\x1f\n\x12scan_dns_record_id\x18\x1d \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07oci_url\x18\x1e \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0f\x64\x62_server_ocids\x18\x1f \x03(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x63ompartment_id\x18 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0f\x64ns_listener_ip\x18# \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x63luster_name\x18$ \x01(\tB\x03\xe0\x41\x01\x12H\n\rcompute_model\x18% \x01(\x0e\x32,.google.cloud.oracledatabase.v1.ComputeModelB\x03\xe0\x41\x03\"]\n\x0bLicenseType\x12\x1c\n\x18LICENSE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10LICENSE_INCLUDED\x10\x01\x12\x1a\n\x16\x42RING_YOUR_OWN_LICENSE\x10\x02\"G\n\x0e\x44iskRedundancy\x12\x1f\n\x1b\x44ISK_REDUNDANCY_UNSPECIFIED\x10\x00\x12\x08\n\x04HIGH\x10\x01\x12\n\n\x06NORMAL\x10\x02\"\x97\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0f\n\x0bTERMINATING\x10\x04\x12\x0e\n\nTERMINATED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x1b\n\x17MAINTENANCE_IN_PROGRESS\x10\x07\"\x8c\x01\n\x15\x44\x61taCollectionOptions\x12\'\n\x1a\x64iagnostics_events_enabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12&\n\x19health_monitoring_enabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\"\n\x15incident_logs_enabled\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x42\xed\x01\n\"com.google.cloud.oracledatabase.v1B\x13\x43loudVmClusterProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3"
|
|
14
15
|
|
|
15
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
16
17
|
|
|
@@ -26,6 +27,7 @@ rescue TypeError
|
|
|
26
27
|
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
27
28
|
imports = [
|
|
28
29
|
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
30
|
+
["google.cloud.oracledatabase.v1.IdentityConnector", "google/cloud/oracledatabase/v1/common.proto"],
|
|
29
31
|
["google.type.TimeZone", "google/type/datetime.proto"],
|
|
30
32
|
]
|
|
31
33
|
imports.each do |type_name, expected_filename|
|
|
@@ -56,10 +56,35 @@ module Google
|
|
|
56
56
|
# the following format: projects/\\{project}/global/networks/\\{network}
|
|
57
57
|
# @!attribute [rw] cidr
|
|
58
58
|
# @return [::String]
|
|
59
|
-
# Optional. The subnet CIDR range for the
|
|
59
|
+
# Optional. The subnet CIDR range for the Autonomous Database.
|
|
60
|
+
# @!attribute [rw] odb_network
|
|
61
|
+
# @return [::String]
|
|
62
|
+
# Optional. The name of the OdbNetwork associated with the Autonomous
|
|
63
|
+
# Database. Format:
|
|
64
|
+
# projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network} It is
|
|
65
|
+
# optional but if specified, this should match the parent ODBNetwork of the
|
|
66
|
+
# OdbSubnet.
|
|
67
|
+
# @!attribute [rw] odb_subnet
|
|
68
|
+
# @return [::String]
|
|
69
|
+
# Optional. The name of the OdbSubnet associated with the Autonomous
|
|
70
|
+
# Database. Format:
|
|
71
|
+
# projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network}/odbSubnets/\\{odb_subnet}
|
|
72
|
+
# @!attribute [rw] source_config
|
|
73
|
+
# @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.
|
|
77
|
+
# @!attribute [r] peer_autonomous_databases
|
|
78
|
+
# @return [::Array<::String>]
|
|
79
|
+
# Output only. The peer Autonomous Database names of the given Autonomous
|
|
80
|
+
# Database.
|
|
60
81
|
# @!attribute [r] create_time
|
|
61
82
|
# @return [::Google::Protobuf::Timestamp]
|
|
62
83
|
# Output only. The date and time that the Autonomous Database was created.
|
|
84
|
+
# @!attribute [r] disaster_recovery_supported_locations
|
|
85
|
+
# @return [::Array<::String>]
|
|
86
|
+
# Output only. List of supported GCP region to clone the Autonomous Database
|
|
87
|
+
# for disaster recovery. Format: `project/{project}/locations/{location}`.
|
|
63
88
|
class AutonomousDatabase
|
|
64
89
|
include ::Google::Protobuf::MessageExts
|
|
65
90
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -74,6 +99,20 @@ module Google
|
|
|
74
99
|
end
|
|
75
100
|
end
|
|
76
101
|
|
|
102
|
+
# The source configuration for the standby Autonomous Database.
|
|
103
|
+
# @!attribute [rw] autonomous_database
|
|
104
|
+
# @return [::String]
|
|
105
|
+
# Optional. The name of the primary Autonomous Database that is used to
|
|
106
|
+
# create a Peer Autonomous Database from a source.
|
|
107
|
+
# @!attribute [rw] automatic_backups_replication_enabled
|
|
108
|
+
# @return [::Boolean]
|
|
109
|
+
# Optional. This field specifies if the replication of automatic backups is
|
|
110
|
+
# enabled when creating a Data Guard.
|
|
111
|
+
class SourceConfig
|
|
112
|
+
include ::Google::Protobuf::MessageExts
|
|
113
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
114
|
+
end
|
|
115
|
+
|
|
77
116
|
# The properties of an Autonomous Database.
|
|
78
117
|
# @!attribute [r] ocid
|
|
79
118
|
# @return [::String]
|
|
@@ -274,12 +313,36 @@ module Google
|
|
|
274
313
|
# @!attribute [r] next_long_term_backup_time
|
|
275
314
|
# @return [::Google::Protobuf::Timestamp]
|
|
276
315
|
# Output only. The long term backup schedule of the Autonomous Database.
|
|
316
|
+
# @!attribute [r] data_guard_role_changed_time
|
|
317
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
318
|
+
# Output only. The date and time the Autonomous Data Guard role was changed
|
|
319
|
+
# for the standby Autonomous Database.
|
|
320
|
+
# @!attribute [r] disaster_recovery_role_changed_time
|
|
321
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
322
|
+
# Output only. The date and time the Disaster Recovery role was changed for
|
|
323
|
+
# the standby Autonomous Database.
|
|
277
324
|
# @!attribute [r] maintenance_begin_time
|
|
278
325
|
# @return [::Google::Protobuf::Timestamp]
|
|
279
326
|
# Output only. The date and time when maintenance will begin.
|
|
280
327
|
# @!attribute [r] maintenance_end_time
|
|
281
328
|
# @return [::Google::Protobuf::Timestamp]
|
|
282
329
|
# Output only. The date and time when maintenance will end.
|
|
330
|
+
# @!attribute [rw] allowlisted_ips
|
|
331
|
+
# @return [::Array<::String>]
|
|
332
|
+
# Optional. The list of allowlisted IP addresses for the Autonomous Database.
|
|
333
|
+
# @!attribute [rw] encryption_key
|
|
334
|
+
# @return [::Google::Cloud::OracleDatabase::V1::EncryptionKey]
|
|
335
|
+
# Optional. The encryption key used to encrypt the Autonomous Database.
|
|
336
|
+
# Updating this field will add a new entry in the
|
|
337
|
+
# `encryption_key_history_entries` field with the former version.
|
|
338
|
+
# @!attribute [r] encryption_key_history_entries
|
|
339
|
+
# @return [::Array<::Google::Cloud::OracleDatabase::V1::EncryptionKeyHistoryEntry>]
|
|
340
|
+
# Output only. The history of the encryption keys used to encrypt the
|
|
341
|
+
# Autonomous Database.
|
|
342
|
+
# @!attribute [r] service_agent_email
|
|
343
|
+
# @return [::String]
|
|
344
|
+
# Output only. An Oracle-managed Google Cloud service account on which
|
|
345
|
+
# customers can grant roles to access resources in the customer project.
|
|
283
346
|
class AutonomousDatabaseProperties
|
|
284
347
|
include ::Google::Protobuf::MessageExts
|
|
285
348
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -450,6 +513,46 @@ module Google
|
|
|
450
513
|
end
|
|
451
514
|
end
|
|
452
515
|
|
|
516
|
+
# The history of the encryption keys used to encrypt the Autonomous Database.
|
|
517
|
+
# @!attribute [r] encryption_key
|
|
518
|
+
# @return [::Google::Cloud::OracleDatabase::V1::EncryptionKey]
|
|
519
|
+
# Output only. The encryption key used to encrypt the Autonomous Database.
|
|
520
|
+
# @!attribute [r] activation_time
|
|
521
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
522
|
+
# Output only. The date and time when the encryption key was activated on the
|
|
523
|
+
# Autonomous Database..
|
|
524
|
+
class EncryptionKeyHistoryEntry
|
|
525
|
+
include ::Google::Protobuf::MessageExts
|
|
526
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
# The encryption key used to encrypt the Autonomous Database.
|
|
530
|
+
# @!attribute [rw] provider
|
|
531
|
+
# @return [::Google::Cloud::OracleDatabase::V1::EncryptionKey::Provider]
|
|
532
|
+
# Optional. The provider of the encryption key.
|
|
533
|
+
# @!attribute [rw] kms_key
|
|
534
|
+
# @return [::String]
|
|
535
|
+
# Optional. The KMS key used to encrypt the Autonomous Database.
|
|
536
|
+
# This field is required if the provider is GOOGLE_MANAGED.
|
|
537
|
+
# The name of the KMS key resource in the following format:
|
|
538
|
+
# `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
|
|
539
|
+
class EncryptionKey
|
|
540
|
+
include ::Google::Protobuf::MessageExts
|
|
541
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
542
|
+
|
|
543
|
+
# The provider of the encryption key.
|
|
544
|
+
module Provider
|
|
545
|
+
# Default unspecified value.
|
|
546
|
+
PROVIDER_UNSPECIFIED = 0
|
|
547
|
+
|
|
548
|
+
# Google Managed KMS key, if selected, please provide the KMS key name.
|
|
549
|
+
GOOGLE_MANAGED = 1
|
|
550
|
+
|
|
551
|
+
# Oracle Managed.
|
|
552
|
+
ORACLE_MANAGED = 2
|
|
553
|
+
end
|
|
554
|
+
end
|
|
555
|
+
|
|
453
556
|
# Oracle APEX Application Development.
|
|
454
557
|
# https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseApex
|
|
455
558
|
# @!attribute [r] apex_version
|
|
@@ -31,6 +31,70 @@ module Google
|
|
|
31
31
|
include ::Google::Protobuf::MessageExts
|
|
32
32
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
33
33
|
end
|
|
34
|
+
|
|
35
|
+
# The identity connector details which will allow OCI to securely access
|
|
36
|
+
# the resources in the customer project.
|
|
37
|
+
# @!attribute [r] service_agent_email
|
|
38
|
+
# @return [::String]
|
|
39
|
+
# Output only. A google managed service account on which customers can grant
|
|
40
|
+
# roles to access resources in the customer project. Example:
|
|
41
|
+
# `p176944527254-55-75119d87fd8f@gcp-sa-oci.iam.gserviceaccount.com`
|
|
42
|
+
# @!attribute [r] connection_state
|
|
43
|
+
# @return [::Google::Cloud::OracleDatabase::V1::IdentityConnector::ConnectionState]
|
|
44
|
+
# Output only. The connection state of the identity connector.
|
|
45
|
+
class IdentityConnector
|
|
46
|
+
include ::Google::Protobuf::MessageExts
|
|
47
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
48
|
+
|
|
49
|
+
# The various connection states of the WorkloadIdentityPoolConnection.
|
|
50
|
+
module ConnectionState
|
|
51
|
+
# Default unspecified value.
|
|
52
|
+
CONNECTION_STATE_UNSPECIFIED = 0
|
|
53
|
+
|
|
54
|
+
# The identity pool connection is connected.
|
|
55
|
+
CONNECTED = 1
|
|
56
|
+
|
|
57
|
+
# The identity pool connection is partially connected.
|
|
58
|
+
PARTIALLY_CONNECTED = 2
|
|
59
|
+
|
|
60
|
+
# The identity pool connection is disconnected.
|
|
61
|
+
DISCONNECTED = 3
|
|
62
|
+
|
|
63
|
+
# The identity pool connection is in an unknown state.
|
|
64
|
+
UNKNOWN = 4
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Data collection options for diagnostics.
|
|
69
|
+
# https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DataCollectionOptions
|
|
70
|
+
# @!attribute [rw] is_diagnostics_events_enabled
|
|
71
|
+
# @return [::Boolean]
|
|
72
|
+
# Optional. Indicates whether to enable data collection for diagnostics.
|
|
73
|
+
# @!attribute [rw] is_health_monitoring_enabled
|
|
74
|
+
# @return [::Boolean]
|
|
75
|
+
# Optional. Indicates whether to enable health monitoring.
|
|
76
|
+
# @!attribute [rw] is_incident_logs_enabled
|
|
77
|
+
# @return [::Boolean]
|
|
78
|
+
# Optional. Indicates whether to enable incident logs and trace collection.
|
|
79
|
+
class DataCollectionOptionsCommon
|
|
80
|
+
include ::Google::Protobuf::MessageExts
|
|
81
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# The compute model of the Exadata Infrastructure, VM Cluster and Autonomous
|
|
85
|
+
# Database.
|
|
86
|
+
module ComputeModel
|
|
87
|
+
# Unspecified compute model.
|
|
88
|
+
COMPUTE_MODEL_UNSPECIFIED = 0
|
|
89
|
+
|
|
90
|
+
# Abstract measure of compute resources. ECPUs are based on the number of
|
|
91
|
+
# cores elastically allocated from a pool of compute and storage servers.
|
|
92
|
+
COMPUTE_MODEL_ECPU = 1
|
|
93
|
+
|
|
94
|
+
# Physical measure of compute resources. OCPUs are based on the physical
|
|
95
|
+
# core of a processor.
|
|
96
|
+
COMPUTE_MODEL_OCPU = 2
|
|
97
|
+
end
|
|
34
98
|
end
|
|
35
99
|
end
|
|
36
100
|
end
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 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 Database resource.
|
|
25
|
+
# https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/
|
|
26
|
+
# @!attribute [rw] name
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# Identifier. The name of the Database resource in the following format:
|
|
29
|
+
# projects/\\{project}/locations/\\{region}/databases/\\{database}
|
|
30
|
+
# @!attribute [rw] db_name
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# Optional. The database name. The name must begin with an alphabetic
|
|
33
|
+
# character and can contain a maximum of eight alphanumeric characters.
|
|
34
|
+
# Special characters are not permitted.
|
|
35
|
+
# @!attribute [rw] db_unique_name
|
|
36
|
+
# @return [::String]
|
|
37
|
+
# Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
|
|
38
|
+
# @!attribute [rw] admin_password
|
|
39
|
+
# @return [::String]
|
|
40
|
+
# Required. The password for the default ADMIN user.
|
|
41
|
+
# @!attribute [rw] tde_wallet_password
|
|
42
|
+
# @return [::String]
|
|
43
|
+
# Optional. The TDE wallet password for the database.
|
|
44
|
+
# @!attribute [rw] character_set
|
|
45
|
+
# @return [::String]
|
|
46
|
+
# Optional. The character set for the database. The default is AL32UTF8.
|
|
47
|
+
# @!attribute [rw] ncharacter_set
|
|
48
|
+
# @return [::String]
|
|
49
|
+
# Optional. The national character set for the database. The default is
|
|
50
|
+
# AL16UTF16.
|
|
51
|
+
# @!attribute [r] oci_url
|
|
52
|
+
# @return [::String]
|
|
53
|
+
# Output only. HTTPS link to OCI resources exposed to Customer via UI
|
|
54
|
+
# Interface.
|
|
55
|
+
# @!attribute [r] create_time
|
|
56
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
57
|
+
# Output only. The date and time that the Database was created.
|
|
58
|
+
# @!attribute [rw] properties
|
|
59
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DatabaseProperties]
|
|
60
|
+
# Optional. The properties of the Database.
|
|
61
|
+
# @!attribute [rw] database_id
|
|
62
|
+
# @return [::String]
|
|
63
|
+
# Optional. The database ID of the Database.
|
|
64
|
+
# @!attribute [rw] db_home_name
|
|
65
|
+
# @return [::String]
|
|
66
|
+
# Optional. The name of the DbHome resource associated with the Database.
|
|
67
|
+
# @!attribute [r] gcp_oracle_zone
|
|
68
|
+
# @return [::String]
|
|
69
|
+
# Output only. The GCP Oracle zone where the Database is created.
|
|
70
|
+
# @!attribute [r] ops_insights_status
|
|
71
|
+
# @return [::Google::Cloud::OracleDatabase::V1::Database::OperationsInsightsStatus]
|
|
72
|
+
# Output only. The Status of Operations Insights for this Database.
|
|
73
|
+
class Database
|
|
74
|
+
include ::Google::Protobuf::MessageExts
|
|
75
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
76
|
+
|
|
77
|
+
# The Status of Operations Insights for this Database.
|
|
78
|
+
module OperationsInsightsStatus
|
|
79
|
+
# Default unspecified value.
|
|
80
|
+
OPERATIONS_INSIGHTS_STATUS_UNSPECIFIED = 0
|
|
81
|
+
|
|
82
|
+
# Indicates that the operations insights are being enabled.
|
|
83
|
+
ENABLING = 1
|
|
84
|
+
|
|
85
|
+
# Indicates that the operations insights are enabled.
|
|
86
|
+
ENABLED = 2
|
|
87
|
+
|
|
88
|
+
# Indicates that the operations insights are being disabled.
|
|
89
|
+
DISABLING = 3
|
|
90
|
+
|
|
91
|
+
# Indicates that the operations insights are not enabled.
|
|
92
|
+
NOT_ENABLED = 4
|
|
93
|
+
|
|
94
|
+
# Indicates that the operations insights failed to enable.
|
|
95
|
+
FAILED_ENABLING = 5
|
|
96
|
+
|
|
97
|
+
# Indicates that the operations insights failed to disable.
|
|
98
|
+
FAILED_DISABLING = 6
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# The properties of a Database.
|
|
103
|
+
# @!attribute [r] state
|
|
104
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DatabaseProperties::DatabaseLifecycleState]
|
|
105
|
+
# Output only. State of the Database.
|
|
106
|
+
# @!attribute [rw] db_version
|
|
107
|
+
# @return [::String]
|
|
108
|
+
# Required. The Oracle Database version.
|
|
109
|
+
# @!attribute [rw] db_backup_config
|
|
110
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DbBackupConfig]
|
|
111
|
+
# Optional. Backup options for the Database.
|
|
112
|
+
# @!attribute [r] database_management_config
|
|
113
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DatabaseManagementConfig]
|
|
114
|
+
# Output only. The Database Management config.
|
|
115
|
+
class DatabaseProperties
|
|
116
|
+
include ::Google::Protobuf::MessageExts
|
|
117
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
118
|
+
|
|
119
|
+
# The various lifecycle states of the Database.
|
|
120
|
+
module DatabaseLifecycleState
|
|
121
|
+
# Default unspecified value.
|
|
122
|
+
DATABASE_LIFECYCLE_STATE_UNSPECIFIED = 0
|
|
123
|
+
|
|
124
|
+
# Indicates that the resource is in provisioning state.
|
|
125
|
+
PROVISIONING = 1
|
|
126
|
+
|
|
127
|
+
# Indicates that the resource is in available state.
|
|
128
|
+
AVAILABLE = 2
|
|
129
|
+
|
|
130
|
+
# Indicates that the resource is in updating state.
|
|
131
|
+
UPDATING = 3
|
|
132
|
+
|
|
133
|
+
# Indicates that the resource is in backup in progress state.
|
|
134
|
+
BACKUP_IN_PROGRESS = 4
|
|
135
|
+
|
|
136
|
+
# Indicates that the resource is in upgrading state.
|
|
137
|
+
UPGRADING = 5
|
|
138
|
+
|
|
139
|
+
# Indicates that the resource is in converting state.
|
|
140
|
+
CONVERTING = 6
|
|
141
|
+
|
|
142
|
+
# Indicates that the resource is in terminating state.
|
|
143
|
+
TERMINATING = 7
|
|
144
|
+
|
|
145
|
+
# Indicates that the resource is in terminated state.
|
|
146
|
+
TERMINATED = 8
|
|
147
|
+
|
|
148
|
+
# Indicates that the resource is in restore failed state.
|
|
149
|
+
RESTORE_FAILED = 9
|
|
150
|
+
|
|
151
|
+
# Indicates that the resource is in failed state.
|
|
152
|
+
FAILED = 10
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
# Backup Options for the Database.
|
|
157
|
+
# @!attribute [rw] auto_backup_enabled
|
|
158
|
+
# @return [::Boolean]
|
|
159
|
+
# Optional. If set to true, enables automatic backups on the database.
|
|
160
|
+
# @!attribute [rw] backup_destination_details
|
|
161
|
+
# @return [::Array<::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupDestinationDetails>]
|
|
162
|
+
# Optional. Details of the database backup destinations.
|
|
163
|
+
# @!attribute [rw] retention_period_days
|
|
164
|
+
# @return [::Integer]
|
|
165
|
+
# Optional. The number of days an automatic backup is retained before being
|
|
166
|
+
# automatically deleted. This value determines the earliest point in time to
|
|
167
|
+
# which a database can be restored. Min: 1, Max: 60.
|
|
168
|
+
# @!attribute [rw] backup_deletion_policy
|
|
169
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupDeletionPolicy]
|
|
170
|
+
# Optional. This defines when the backups will be deleted after Database
|
|
171
|
+
# termination.
|
|
172
|
+
# @!attribute [rw] auto_full_backup_day
|
|
173
|
+
# @return [::Google::Type::DayOfWeek]
|
|
174
|
+
# Optional. The day of the week on which the full backup should be performed
|
|
175
|
+
# on the database. If no value is provided, it will default to Sunday.
|
|
176
|
+
# @!attribute [rw] auto_full_backup_window
|
|
177
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupWindow]
|
|
178
|
+
# Optional. The window in which the full backup should be performed on the
|
|
179
|
+
# database. If no value is provided, the default is anytime.
|
|
180
|
+
# @!attribute [rw] auto_incremental_backup_window
|
|
181
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupWindow]
|
|
182
|
+
# Optional. The window in which the incremental backup should be performed on
|
|
183
|
+
# the database. If no value is provided, the default is anytime except the
|
|
184
|
+
# auto full backup day.
|
|
185
|
+
class DbBackupConfig
|
|
186
|
+
include ::Google::Protobuf::MessageExts
|
|
187
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
188
|
+
|
|
189
|
+
# The details of the database backup destination.
|
|
190
|
+
# @!attribute [rw] type
|
|
191
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupDestinationType]
|
|
192
|
+
# Optional. The type of the database backup destination.
|
|
193
|
+
class BackupDestinationDetails
|
|
194
|
+
include ::Google::Protobuf::MessageExts
|
|
195
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# The type of the database backup destination.
|
|
199
|
+
module BackupDestinationType
|
|
200
|
+
# Default unspecified value.
|
|
201
|
+
BACKUP_DESTINATION_TYPE_UNSPECIFIED = 0
|
|
202
|
+
|
|
203
|
+
# Backup destination type is NFS.
|
|
204
|
+
NFS = 1
|
|
205
|
+
|
|
206
|
+
# Backup destination type is Recovery Appliance.
|
|
207
|
+
RECOVERY_APPLIANCE = 2
|
|
208
|
+
|
|
209
|
+
# Backup destination type is Object Store.
|
|
210
|
+
OBJECT_STORE = 3
|
|
211
|
+
|
|
212
|
+
# Backup destination type is Local.
|
|
213
|
+
LOCAL = 4
|
|
214
|
+
|
|
215
|
+
# Backup destination type is DBRS.
|
|
216
|
+
DBRS = 5
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
# The 2 hour window in which the backup should be performed on the database.
|
|
220
|
+
module BackupWindow
|
|
221
|
+
# Default unspecified value.
|
|
222
|
+
BACKUP_WINDOW_UNSPECIFIED = 0
|
|
223
|
+
|
|
224
|
+
# 12:00 AM - 2:00 AM
|
|
225
|
+
SLOT_ONE = 1
|
|
226
|
+
|
|
227
|
+
# 2:00 AM - 4:00 AM
|
|
228
|
+
SLOT_TWO = 2
|
|
229
|
+
|
|
230
|
+
# 4:00 AM - 6:00 AM
|
|
231
|
+
SLOT_THREE = 3
|
|
232
|
+
|
|
233
|
+
# 6:00 AM - 8:00 AM
|
|
234
|
+
SLOT_FOUR = 4
|
|
235
|
+
|
|
236
|
+
# 8:00 AM - 10:00 AM
|
|
237
|
+
SLOT_FIVE = 5
|
|
238
|
+
|
|
239
|
+
# 10:00 AM - 12:00 PM
|
|
240
|
+
SLOT_SIX = 6
|
|
241
|
+
|
|
242
|
+
# 12:00 PM - 2:00 PM
|
|
243
|
+
SLOT_SEVEN = 7
|
|
244
|
+
|
|
245
|
+
# 2:00 PM - 4:00 PM
|
|
246
|
+
SLOT_EIGHT = 8
|
|
247
|
+
|
|
248
|
+
# 4:00 PM - 6:00 PM
|
|
249
|
+
SLOT_NINE = 9
|
|
250
|
+
|
|
251
|
+
# 6:00 PM - 8:00 PM
|
|
252
|
+
SLOT_TEN = 10
|
|
253
|
+
|
|
254
|
+
# 8:00 PM - 10:00 PM
|
|
255
|
+
SLOT_ELEVEN = 11
|
|
256
|
+
|
|
257
|
+
# 10:00 PM - 12:00 AM
|
|
258
|
+
SLOT_TWELVE = 12
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
# This defines when the backups will be deleted after Database termination.
|
|
262
|
+
module BackupDeletionPolicy
|
|
263
|
+
# Default unspecified value.
|
|
264
|
+
BACKUP_DELETION_POLICY_UNSPECIFIED = 0
|
|
265
|
+
|
|
266
|
+
# Keeps the backup for predefined time
|
|
267
|
+
# i.e. 72 hours and then delete permanently.
|
|
268
|
+
DELETE_IMMEDIATELY = 1
|
|
269
|
+
|
|
270
|
+
# Keeps the backups as per the policy defined
|
|
271
|
+
# for database backups.
|
|
272
|
+
DELETE_AFTER_RETENTION_PERIOD = 2
|
|
273
|
+
end
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
# The request for `Database.Get`.
|
|
277
|
+
# @!attribute [rw] name
|
|
278
|
+
# @return [::String]
|
|
279
|
+
# Required. The name of the Database resource in the following format:
|
|
280
|
+
# projects/\\{project}/locations/\\{region}/databases/\\{database}
|
|
281
|
+
class GetDatabaseRequest
|
|
282
|
+
include ::Google::Protobuf::MessageExts
|
|
283
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
# The request for `Database.List`.
|
|
287
|
+
# @!attribute [rw] parent
|
|
288
|
+
# @return [::String]
|
|
289
|
+
# Required. The parent resource name in the following format:
|
|
290
|
+
# projects/\\{project}/locations/\\{region}
|
|
291
|
+
# @!attribute [rw] page_size
|
|
292
|
+
# @return [::Integer]
|
|
293
|
+
# Optional. The maximum number of items to return.
|
|
294
|
+
# If unspecified, a maximum of 50 Databases will be returned.
|
|
295
|
+
# The maximum value is 1000; values above 1000 will be reset to 1000.
|
|
296
|
+
# @!attribute [rw] page_token
|
|
297
|
+
# @return [::String]
|
|
298
|
+
# Optional. A token identifying the requested page of results to return. All
|
|
299
|
+
# fields except the filter should remain the same as in the request that
|
|
300
|
+
# provided this page token.
|
|
301
|
+
# @!attribute [rw] filter
|
|
302
|
+
# @return [::String]
|
|
303
|
+
# Optional. An expression for filtering the results of the request. list for
|
|
304
|
+
# container databases is supported only with a valid dbSystem (full resource
|
|
305
|
+
# name) filter in this format:
|
|
306
|
+
# `dbSystem="projects/{project}/locations/{location}/dbSystems/{dbSystemId}"`
|
|
307
|
+
class ListDatabasesRequest
|
|
308
|
+
include ::Google::Protobuf::MessageExts
|
|
309
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
# The response for `Database.List`.
|
|
313
|
+
# @!attribute [rw] databases
|
|
314
|
+
# @return [::Array<::Google::Cloud::OracleDatabase::V1::Database>]
|
|
315
|
+
# The list of Databases.
|
|
316
|
+
# @!attribute [rw] next_page_token
|
|
317
|
+
# @return [::String]
|
|
318
|
+
# A token identifying a page of results the server should return.
|
|
319
|
+
class ListDatabasesResponse
|
|
320
|
+
include ::Google::Protobuf::MessageExts
|
|
321
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
322
|
+
end
|
|
323
|
+
end
|
|
324
|
+
end
|
|
325
|
+
end
|
|
326
|
+
end
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 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 Database character set resource.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Identifier. The name of the Database Character Set resource in the
|
|
28
|
+
# following format:
|
|
29
|
+
# projects/\\{project}/locations/\\{region}/databaseCharacterSets/\\{database_character_set}
|
|
30
|
+
# @!attribute [r] character_set_type
|
|
31
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet::CharacterSetType]
|
|
32
|
+
# Output only. The character set type for the Database.
|
|
33
|
+
# @!attribute [r] character_set
|
|
34
|
+
# @return [::String]
|
|
35
|
+
# Output only. The character set name for the Database which is the ID in the
|
|
36
|
+
# resource name.
|
|
37
|
+
class DatabaseCharacterSet
|
|
38
|
+
include ::Google::Protobuf::MessageExts
|
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
40
|
+
|
|
41
|
+
# The type of character set a Database can have.
|
|
42
|
+
module CharacterSetType
|
|
43
|
+
# Character set type is not specified.
|
|
44
|
+
CHARACTER_SET_TYPE_UNSPECIFIED = 0
|
|
45
|
+
|
|
46
|
+
# Character set type is set to database.
|
|
47
|
+
DATABASE = 1
|
|
48
|
+
|
|
49
|
+
# Character set type is set to national.
|
|
50
|
+
NATIONAL = 2
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# The request for `DatabaseCharacterSet.List`.
|
|
55
|
+
# @!attribute [rw] parent
|
|
56
|
+
# @return [::String]
|
|
57
|
+
# Required. The parent value for DatabaseCharacterSets in the following
|
|
58
|
+
# format: projects/\\{project}/locations/\\{location}.
|
|
59
|
+
# @!attribute [rw] page_size
|
|
60
|
+
# @return [::Integer]
|
|
61
|
+
# Optional. The maximum number of DatabaseCharacterSets to return. The
|
|
62
|
+
# service may return fewer than this value. If unspecified, at most 50
|
|
63
|
+
# DatabaseCharacterSets will be returned. The maximum value is 1000; values
|
|
64
|
+
# above 1000 will be coerced to 1000.
|
|
65
|
+
# @!attribute [rw] page_token
|
|
66
|
+
# @return [::String]
|
|
67
|
+
# Optional. A page token, received from a previous
|
|
68
|
+
# `ListDatabaseCharacterSets` call. Provide this to retrieve the subsequent
|
|
69
|
+
# page.
|
|
70
|
+
#
|
|
71
|
+
# When paginating, all other parameters provided to
|
|
72
|
+
# `ListDatabaseCharacterSets` must match the call that provided the page
|
|
73
|
+
# token.
|
|
74
|
+
# @!attribute [rw] filter
|
|
75
|
+
# @return [::String]
|
|
76
|
+
# Optional. An expression for filtering the results of the request. Only the
|
|
77
|
+
# **character_set_type** field is supported in the following format:
|
|
78
|
+
# `character_set_type="{characterSetType}"`. Accepted values include
|
|
79
|
+
# `DATABASE` and `NATIONAL`.
|
|
80
|
+
class ListDatabaseCharacterSetsRequest
|
|
81
|
+
include ::Google::Protobuf::MessageExts
|
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# The response for `DatabaseCharacterSet.List`.
|
|
86
|
+
# @!attribute [rw] database_character_sets
|
|
87
|
+
# @return [::Array<::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet>]
|
|
88
|
+
# The list of DatabaseCharacterSets.
|
|
89
|
+
# @!attribute [rw] next_page_token
|
|
90
|
+
# @return [::String]
|
|
91
|
+
# A token identifying a page of results the server should return.
|
|
92
|
+
class ListDatabaseCharacterSetsResponse
|
|
93
|
+
include ::Google::Protobuf::MessageExts
|
|
94
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|