google-cloud-oracle_database-v1 0.a → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/cloud/oracle_database/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/credentials.rb +47 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb +124 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +2647 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/operations.rb +907 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +1428 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest.rb +54 -0
- data/lib/google/cloud/oracle_database/v1/oracle_database.rb +48 -0
- data/lib/google/cloud/oracle_database/v1/rest.rb +38 -0
- data/lib/google/cloud/oracle_database/v1/version.rb +7 -2
- data/lib/google/cloud/oracle_database/v1.rb +40 -0
- data/lib/google/cloud/oracledatabase/v1/autonomous_database_character_set_pb.rb +46 -0
- data/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb +83 -0
- data/lib/google/cloud/oracledatabase/v1/autonomous_db_backup_pb.rb +50 -0
- data/lib/google/cloud/oracledatabase/v1/autonomous_db_version_pb.rb +46 -0
- data/lib/google/cloud/oracledatabase/v1/common_pb.rb +44 -0
- data/lib/google/cloud/oracledatabase/v1/db_node_pb.rb +47 -0
- data/lib/google/cloud/oracledatabase/v1/db_server_pb.rb +47 -0
- data/lib/google/cloud/oracledatabase/v1/db_system_shape_pb.rb +45 -0
- data/lib/google/cloud/oracledatabase/v1/entitlement_pb.rb +47 -0
- data/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +56 -0
- data/lib/google/cloud/oracledatabase/v1/gi_version_pb.rb +45 -0
- data/lib/google/cloud/oracledatabase/v1/location_metadata_pb.rb +44 -0
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +108 -0
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +89 -0
- data/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb +54 -0
- data/lib/google-cloud-oracle_database-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +459 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb +844 -0
- data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database_character_set.rb +57 -0
- data/proto_docs/google/cloud/oracledatabase/v1/autonomous_db_backup.rb +175 -0
- data/proto_docs/google/cloud/oracledatabase/v1/autonomous_db_version.rb +48 -0
- data/proto_docs/google/cloud/oracledatabase/v1/common.rb +37 -0
- data/proto_docs/google/cloud/oracledatabase/v1/db_node.rb +103 -0
- data/proto_docs/google/cloud/oracledatabase/v1/db_server.rb +100 -0
- data/proto_docs/google/cloud/oracledatabase/v1/db_system_shape.rb +70 -0
- data/proto_docs/google/cloud/oracledatabase/v1/entitlement.rb +78 -0
- data/proto_docs/google/cloud/oracledatabase/v1/exadata_infra.rb +266 -0
- data/proto_docs/google/cloud/oracledatabase/v1/gi_version.rb +41 -0
- data/proto_docs/google/cloud/oracledatabase/v1/location_metadata.rb +35 -0
- data/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb +649 -0
- data/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb +251 -0
- data/proto_docs/google/longrunning/operations.rb +169 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/datetime.rb +99 -0
- data/proto_docs/google/type/dayofweek.rb +49 -0
- data/proto_docs/google/type/month.rb +64 -0
- data/proto_docs/google/type/timeofday.rb +45 -0
- metadata +124 -11
@@ -0,0 +1,57 @@
|
|
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 character set resource.
|
25
|
+
# https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Identifier. The name of the Autonomous Database Character Set resource in
|
29
|
+
# the following format:
|
30
|
+
# projects/\\{project}/locations/\\{region}/autonomousDatabaseCharacterSets/\\{autonomous_database_character_set}
|
31
|
+
# @!attribute [r] character_set_type
|
32
|
+
# @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseCharacterSet::CharacterSetType]
|
33
|
+
# Output only. The character set type for the Autonomous Database.
|
34
|
+
# @!attribute [r] character_set
|
35
|
+
# @return [::String]
|
36
|
+
# Output only. The character set name for the Autonomous Database which is
|
37
|
+
# the ID in the resource name.
|
38
|
+
class AutonomousDatabaseCharacterSet
|
39
|
+
include ::Google::Protobuf::MessageExts
|
40
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
41
|
+
|
42
|
+
# The type of character set an Autonomous Database can have.
|
43
|
+
module CharacterSetType
|
44
|
+
# Character set type is not specified.
|
45
|
+
CHARACTER_SET_TYPE_UNSPECIFIED = 0
|
46
|
+
|
47
|
+
# Character set type is set to database.
|
48
|
+
DATABASE = 1
|
49
|
+
|
50
|
+
# Character set type is set to national.
|
51
|
+
NATIONAL = 2
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,175 @@
|
|
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 Backup resource.
|
25
|
+
# https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseBackup/
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Identifier. The name of the Autonomous Database Backup resource with the
|
29
|
+
# format:
|
30
|
+
# projects/\\{project}/locations/\\{region}/autonomousDatabaseBackups/\\{autonomous_database_backup}
|
31
|
+
# @!attribute [rw] autonomous_database
|
32
|
+
# @return [::String]
|
33
|
+
# Required. The name of the Autonomous Database resource for which the backup
|
34
|
+
# is being created. Format:
|
35
|
+
# projects/\\{project}/locations/\\{region}/autonomousDatabases/\\{autonomous_database}
|
36
|
+
# @!attribute [rw] display_name
|
37
|
+
# @return [::String]
|
38
|
+
# Optional. User friendly name for the Backup. The name does not have to be
|
39
|
+
# unique.
|
40
|
+
# @!attribute [rw] properties
|
41
|
+
# @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseBackupProperties]
|
42
|
+
# Optional. Various properties of the backup.
|
43
|
+
# @!attribute [rw] labels
|
44
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
45
|
+
# Optional. labels or tags associated with the resource.
|
46
|
+
class AutonomousDatabaseBackup
|
47
|
+
include ::Google::Protobuf::MessageExts
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
49
|
+
|
50
|
+
# @!attribute [rw] key
|
51
|
+
# @return [::String]
|
52
|
+
# @!attribute [rw] value
|
53
|
+
# @return [::String]
|
54
|
+
class LabelsEntry
|
55
|
+
include ::Google::Protobuf::MessageExts
|
56
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# Properties of the Autonomous Database Backup resource.
|
61
|
+
# @!attribute [r] ocid
|
62
|
+
# @return [::String]
|
63
|
+
# Output only. OCID of the Autonomous Database backup.
|
64
|
+
# https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
|
65
|
+
# @!attribute [rw] retention_period_days
|
66
|
+
# @return [::Integer]
|
67
|
+
# Optional. Retention period in days for the backup.
|
68
|
+
# @!attribute [r] compartment_id
|
69
|
+
# @return [::String]
|
70
|
+
# Output only. The OCID of the compartment.
|
71
|
+
# @!attribute [r] database_size_tb
|
72
|
+
# @return [::Float]
|
73
|
+
# Output only. The quantity of data in the database, in terabytes.
|
74
|
+
# @!attribute [r] db_version
|
75
|
+
# @return [::String]
|
76
|
+
# Output only. A valid Oracle Database version for Autonomous Database.
|
77
|
+
# @!attribute [r] is_long_term_backup
|
78
|
+
# @return [::Boolean]
|
79
|
+
# Output only. Indicates if the backup is long term backup.
|
80
|
+
# @!attribute [r] is_automatic_backup
|
81
|
+
# @return [::Boolean]
|
82
|
+
# Output only. Indicates if the backup is automatic or user initiated.
|
83
|
+
# @!attribute [r] is_restorable
|
84
|
+
# @return [::Boolean]
|
85
|
+
# Output only. Indicates if the backup can be used to restore the Autonomous
|
86
|
+
# Database.
|
87
|
+
# @!attribute [rw] key_store_id
|
88
|
+
# @return [::String]
|
89
|
+
# Optional. The OCID of the key store of Oracle Vault.
|
90
|
+
# @!attribute [rw] key_store_wallet
|
91
|
+
# @return [::String]
|
92
|
+
# Optional. The wallet name for Oracle Key Vault.
|
93
|
+
# @!attribute [rw] kms_key_id
|
94
|
+
# @return [::String]
|
95
|
+
# Optional. The OCID of the key container that is used as the master
|
96
|
+
# encryption key in database transparent data encryption (TDE) operations.
|
97
|
+
# @!attribute [rw] kms_key_version_id
|
98
|
+
# @return [::String]
|
99
|
+
# Optional. The OCID of the key container version that is used in database
|
100
|
+
# transparent data encryption (TDE) operations KMS Key can have multiple key
|
101
|
+
# versions. If none is specified, the current key version (latest) of the Key
|
102
|
+
# Id is used for the operation. Autonomous Database Serverless does not use
|
103
|
+
# key versions, hence is not applicable for Autonomous Database Serverless
|
104
|
+
# instances.
|
105
|
+
# @!attribute [r] lifecycle_details
|
106
|
+
# @return [::String]
|
107
|
+
# Output only. Additional information about the current lifecycle state.
|
108
|
+
# @!attribute [r] lifecycle_state
|
109
|
+
# @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseBackupProperties::State]
|
110
|
+
# Output only. The lifecycle state of the backup.
|
111
|
+
# @!attribute [r] size_tb
|
112
|
+
# @return [::Float]
|
113
|
+
# Output only. The backup size in terabytes.
|
114
|
+
# @!attribute [r] available_till_time
|
115
|
+
# @return [::Google::Protobuf::Timestamp]
|
116
|
+
# Output only. Timestamp until when the backup will be available.
|
117
|
+
# @!attribute [r] end_time
|
118
|
+
# @return [::Google::Protobuf::Timestamp]
|
119
|
+
# Output only. The date and time the backup completed.
|
120
|
+
# @!attribute [r] start_time
|
121
|
+
# @return [::Google::Protobuf::Timestamp]
|
122
|
+
# Output only. The date and time the backup started.
|
123
|
+
# @!attribute [r] type
|
124
|
+
# @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseBackupProperties::Type]
|
125
|
+
# Output only. The type of the backup.
|
126
|
+
# @!attribute [rw] vault_id
|
127
|
+
# @return [::String]
|
128
|
+
# Optional. The OCID of the vault.
|
129
|
+
class AutonomousDatabaseBackupProperties
|
130
|
+
include ::Google::Protobuf::MessageExts
|
131
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
132
|
+
|
133
|
+
# // The various lifecycle states of the Autonomous Database Backup.
|
134
|
+
module State
|
135
|
+
# Default unspecified value.
|
136
|
+
STATE_UNSPECIFIED = 0
|
137
|
+
|
138
|
+
# Indicates that the resource is in creating state.
|
139
|
+
CREATING = 1
|
140
|
+
|
141
|
+
# Indicates that the resource is in active state.
|
142
|
+
ACTIVE = 2
|
143
|
+
|
144
|
+
# Indicates that the resource is in deleting state.
|
145
|
+
DELETING = 3
|
146
|
+
|
147
|
+
# Indicates that the resource is in deleted state.
|
148
|
+
DELETED = 4
|
149
|
+
|
150
|
+
# Indicates that the resource is in failed state.
|
151
|
+
FAILED = 6
|
152
|
+
|
153
|
+
# Indicates that the resource is in updating state.
|
154
|
+
UPDATING = 7
|
155
|
+
end
|
156
|
+
|
157
|
+
# The type of the backup.
|
158
|
+
module Type
|
159
|
+
# Default unspecified value.
|
160
|
+
TYPE_UNSPECIFIED = 0
|
161
|
+
|
162
|
+
# Incremental backups.
|
163
|
+
INCREMENTAL = 1
|
164
|
+
|
165
|
+
# Full backups.
|
166
|
+
FULL = 2
|
167
|
+
|
168
|
+
# Long term backups.
|
169
|
+
LONG_TERM = 3
|
170
|
+
end
|
171
|
+
end
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
@@ -0,0 +1,48 @@
|
|
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 version.
|
25
|
+
# https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDbVersionSummary/
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Identifier. The name of the Autonomous Database Version resource with the
|
29
|
+
# format:
|
30
|
+
# projects/\\{project}/locations/\\{region}/autonomousDbVersions/\\{autonomous_db_version}
|
31
|
+
# @!attribute [r] version
|
32
|
+
# @return [::String]
|
33
|
+
# Output only. An Oracle Database version for Autonomous Database.
|
34
|
+
# @!attribute [r] db_workload
|
35
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DBWorkload]
|
36
|
+
# Output only. The Autonomous Database workload type.
|
37
|
+
# @!attribute [r] workload_uri
|
38
|
+
# @return [::String]
|
39
|
+
# Output only. A URL that points to a detailed description of the Autonomous
|
40
|
+
# Database version.
|
41
|
+
class AutonomousDbVersion
|
42
|
+
include ::Google::Protobuf::MessageExts
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,37 @@
|
|
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
|
+
# The CustomerContact reference as defined by Oracle.
|
25
|
+
# https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/CustomerContact
|
26
|
+
# @!attribute [rw] email
|
27
|
+
# @return [::String]
|
28
|
+
# Required. The email address used by Oracle to send notifications regarding
|
29
|
+
# databases and infrastructure.
|
30
|
+
class CustomerContact
|
31
|
+
include ::Google::Protobuf::MessageExts
|
32
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,103 @@
|
|
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 database node resource.
|
25
|
+
# https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbNode/
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Identifier. The name of the database node resource in the following format:
|
29
|
+
# projects/\\{project}/locations/\\{location}/cloudVmClusters/\\{cloud_vm_cluster}/dbNodes/\\{db_node}
|
30
|
+
# @!attribute [rw] properties
|
31
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DbNodeProperties]
|
32
|
+
# Optional. Various properties of the database node.
|
33
|
+
class DbNode
|
34
|
+
include ::Google::Protobuf::MessageExts
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
36
|
+
end
|
37
|
+
|
38
|
+
# Various properties and settings associated with Db node.
|
39
|
+
# @!attribute [r] ocid
|
40
|
+
# @return [::String]
|
41
|
+
# Output only. OCID of database node.
|
42
|
+
# @!attribute [rw] ocpu_count
|
43
|
+
# @return [::Integer]
|
44
|
+
# Optional. OCPU count per database node.
|
45
|
+
# @!attribute [rw] memory_size_gb
|
46
|
+
# @return [::Integer]
|
47
|
+
# Memory allocated in GBs.
|
48
|
+
# @!attribute [rw] db_node_storage_size_gb
|
49
|
+
# @return [::Integer]
|
50
|
+
# Optional. Local storage per database node.
|
51
|
+
# @!attribute [rw] db_server_ocid
|
52
|
+
# @return [::String]
|
53
|
+
# Optional. Database server OCID.
|
54
|
+
# @!attribute [rw] hostname
|
55
|
+
# @return [::String]
|
56
|
+
# Optional. DNS
|
57
|
+
# @!attribute [r] state
|
58
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DbNodeProperties::State]
|
59
|
+
# Output only. State of the database node.
|
60
|
+
# @!attribute [rw] total_cpu_core_count
|
61
|
+
# @return [::Integer]
|
62
|
+
# Total CPU core count of the database node.
|
63
|
+
class DbNodeProperties
|
64
|
+
include ::Google::Protobuf::MessageExts
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
66
|
+
|
67
|
+
# The various lifecycle states of the database node.
|
68
|
+
module State
|
69
|
+
# Default unspecified value.
|
70
|
+
STATE_UNSPECIFIED = 0
|
71
|
+
|
72
|
+
# Indicates that the resource is in provisioning state.
|
73
|
+
PROVISIONING = 1
|
74
|
+
|
75
|
+
# Indicates that the resource is in available state.
|
76
|
+
AVAILABLE = 2
|
77
|
+
|
78
|
+
# Indicates that the resource is in updating state.
|
79
|
+
UPDATING = 3
|
80
|
+
|
81
|
+
# Indicates that the resource is in stopping state.
|
82
|
+
STOPPING = 4
|
83
|
+
|
84
|
+
# Indicates that the resource is in stopped state.
|
85
|
+
STOPPED = 5
|
86
|
+
|
87
|
+
# Indicates that the resource is in starting state.
|
88
|
+
STARTING = 6
|
89
|
+
|
90
|
+
# Indicates that the resource is in terminating state.
|
91
|
+
TERMINATING = 7
|
92
|
+
|
93
|
+
# Indicates that the resource is in terminated state.
|
94
|
+
TERMINATED = 8
|
95
|
+
|
96
|
+
# Indicates that the resource is in failed state.
|
97
|
+
FAILED = 9
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,100 @@
|
|
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 database server resource.
|
25
|
+
# https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbServer/
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Identifier. The name of the database server resource with the format:
|
29
|
+
# projects/\\{project}/locations/\\{location}/cloudExadataInfrastructures/\\{cloud_exadata_infrastructure}/dbServers/\\{db_server}
|
30
|
+
# @!attribute [rw] display_name
|
31
|
+
# @return [::String]
|
32
|
+
# Optional. User friendly name for this resource.
|
33
|
+
# @!attribute [rw] properties
|
34
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DbServerProperties]
|
35
|
+
# Optional. Various properties of the database server.
|
36
|
+
class DbServer
|
37
|
+
include ::Google::Protobuf::MessageExts
|
38
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
39
|
+
end
|
40
|
+
|
41
|
+
# Various properties and settings associated with Exadata database server.
|
42
|
+
# @!attribute [r] ocid
|
43
|
+
# @return [::String]
|
44
|
+
# Output only. OCID of database server.
|
45
|
+
# @!attribute [rw] ocpu_count
|
46
|
+
# @return [::Integer]
|
47
|
+
# Optional. OCPU count per database.
|
48
|
+
# @!attribute [rw] max_ocpu_count
|
49
|
+
# @return [::Integer]
|
50
|
+
# Optional. Maximum OCPU count per database.
|
51
|
+
# @!attribute [rw] memory_size_gb
|
52
|
+
# @return [::Integer]
|
53
|
+
# Optional. Memory allocated in GBs.
|
54
|
+
# @!attribute [rw] max_memory_size_gb
|
55
|
+
# @return [::Integer]
|
56
|
+
# Optional. Maximum memory allocated in GBs.
|
57
|
+
# @!attribute [rw] db_node_storage_size_gb
|
58
|
+
# @return [::Integer]
|
59
|
+
# Optional. Local storage per VM.
|
60
|
+
# @!attribute [rw] max_db_node_storage_size_gb
|
61
|
+
# @return [::Integer]
|
62
|
+
# Optional. Maximum local storage per VM.
|
63
|
+
# @!attribute [rw] vm_count
|
64
|
+
# @return [::Integer]
|
65
|
+
# Optional. Vm count per database.
|
66
|
+
# @!attribute [r] state
|
67
|
+
# @return [::Google::Cloud::OracleDatabase::V1::DbServerProperties::State]
|
68
|
+
# Output only. State of the database server.
|
69
|
+
# @!attribute [r] db_node_ids
|
70
|
+
# @return [::Array<::String>]
|
71
|
+
# Output only. OCID of database nodes associated with the database server.
|
72
|
+
class DbServerProperties
|
73
|
+
include ::Google::Protobuf::MessageExts
|
74
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
75
|
+
|
76
|
+
# The various lifecycle states of the database server.
|
77
|
+
module State
|
78
|
+
# Default unspecified value.
|
79
|
+
STATE_UNSPECIFIED = 0
|
80
|
+
|
81
|
+
# Indicates that the resource is in creating state.
|
82
|
+
CREATING = 1
|
83
|
+
|
84
|
+
# Indicates that the resource is in available state.
|
85
|
+
AVAILABLE = 2
|
86
|
+
|
87
|
+
# Indicates that the resource is in unavailable state.
|
88
|
+
UNAVAILABLE = 3
|
89
|
+
|
90
|
+
# Indicates that the resource is in deleting state.
|
91
|
+
DELETING = 4
|
92
|
+
|
93
|
+
# Indicates that the resource is in deleted state.
|
94
|
+
DELETED = 5
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
@@ -0,0 +1,70 @@
|
|
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 Database System Shapes resource.
|
25
|
+
# https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystemShapeSummary/
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Identifier. The name of the Database System Shape resource with the format:
|
29
|
+
# projects/\\{project}/locations/\\{region}/dbSystemShapes/\\{db_system_shape}
|
30
|
+
# @!attribute [rw] shape
|
31
|
+
# @return [::String]
|
32
|
+
# Optional. shape
|
33
|
+
# @!attribute [rw] min_node_count
|
34
|
+
# @return [::Integer]
|
35
|
+
# Optional. Minimum number of database servers.
|
36
|
+
# @!attribute [rw] max_node_count
|
37
|
+
# @return [::Integer]
|
38
|
+
# Optional. Maximum number of database servers.
|
39
|
+
# @!attribute [rw] min_storage_count
|
40
|
+
# @return [::Integer]
|
41
|
+
# Optional. Minimum number of storage servers.
|
42
|
+
# @!attribute [rw] max_storage_count
|
43
|
+
# @return [::Integer]
|
44
|
+
# Optional. Maximum number of storage servers.
|
45
|
+
# @!attribute [rw] available_core_count_per_node
|
46
|
+
# @return [::Integer]
|
47
|
+
# Optional. Number of cores per node.
|
48
|
+
# @!attribute [rw] available_memory_per_node_gb
|
49
|
+
# @return [::Integer]
|
50
|
+
# Optional. Memory per database server node in gigabytes.
|
51
|
+
# @!attribute [rw] available_data_storage_tb
|
52
|
+
# @return [::Integer]
|
53
|
+
# Optional. Storage per storage server in terabytes.
|
54
|
+
# @!attribute [rw] min_core_count_per_node
|
55
|
+
# @return [::Integer]
|
56
|
+
# Optional. Minimum core count per node.
|
57
|
+
# @!attribute [rw] min_memory_per_node_gb
|
58
|
+
# @return [::Integer]
|
59
|
+
# Optional. Minimum memory per node in gigabytes.
|
60
|
+
# @!attribute [rw] min_db_node_storage_per_node_gb
|
61
|
+
# @return [::Integer]
|
62
|
+
# Optional. Minimum node storage per database server in gigabytes.
|
63
|
+
class DbSystemShape
|
64
|
+
include ::Google::Protobuf::MessageExts
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,78 @@
|
|
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 Entitlement resource.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Identifier. The name of the Entitlement resource with the format:
|
28
|
+
# projects/\\{project}/locations/\\{region}/entitlements/\\{entitlement}
|
29
|
+
# @!attribute [rw] cloud_account_details
|
30
|
+
# @return [::Google::Cloud::OracleDatabase::V1::CloudAccountDetails]
|
31
|
+
# Details of the OCI Cloud Account.
|
32
|
+
# @!attribute [r] entitlement_id
|
33
|
+
# @return [::String]
|
34
|
+
# Output only. Google Cloud Marketplace order ID (aka entitlement ID)
|
35
|
+
# @!attribute [r] state
|
36
|
+
# @return [::Google::Cloud::OracleDatabase::V1::Entitlement::State]
|
37
|
+
# Output only. Entitlement State.
|
38
|
+
class Entitlement
|
39
|
+
include ::Google::Protobuf::MessageExts
|
40
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
41
|
+
|
42
|
+
# The various lifecycle states of the subscription.
|
43
|
+
module State
|
44
|
+
# Default unspecified value.
|
45
|
+
STATE_UNSPECIFIED = 0
|
46
|
+
|
47
|
+
# Account not linked.
|
48
|
+
ACCOUNT_NOT_LINKED = 1
|
49
|
+
|
50
|
+
# Account is linked but not active.
|
51
|
+
ACCOUNT_NOT_ACTIVE = 2
|
52
|
+
|
53
|
+
# Entitlement and Account are active.
|
54
|
+
ACTIVE = 3
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# Details of the OCI Cloud Account.
|
59
|
+
# @!attribute [r] cloud_account
|
60
|
+
# @return [::String]
|
61
|
+
# Output only. OCI account name.
|
62
|
+
# @!attribute [r] cloud_account_home_region
|
63
|
+
# @return [::String]
|
64
|
+
# Output only. OCI account home region.
|
65
|
+
# @!attribute [r] link_existing_account_uri
|
66
|
+
# @return [::String]
|
67
|
+
# Output only. URL to link an existing account.
|
68
|
+
# @!attribute [r] account_creation_uri
|
69
|
+
# @return [::String]
|
70
|
+
# Output only. URL to create a new account and link.
|
71
|
+
class CloudAccountDetails
|
72
|
+
include ::Google::Protobuf::MessageExts
|
73
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|