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,266 @@
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
+ # Represents CloudExadataInfrastructure resource.
25
+ # https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # Identifier. The name of the Exadata Infrastructure resource with the
29
+ # format:
30
+ # projects/\\{project}/locations/\\{region}/cloudExadataInfrastructures/\\{cloud_exadata_infrastructure}
31
+ # @!attribute [rw] display_name
32
+ # @return [::String]
33
+ # Optional. User friendly name for this resource.
34
+ # @!attribute [rw] gcp_oracle_zone
35
+ # @return [::String]
36
+ # Optional. Google Cloud Platform location where Oracle Exadata is hosted.
37
+ # @!attribute [r] entitlement_id
38
+ # @return [::String]
39
+ # Output only. Entitlement ID of the private offer against which this
40
+ # infrastructure resource is provisioned.
41
+ # @!attribute [rw] properties
42
+ # @return [::Google::Cloud::OracleDatabase::V1::CloudExadataInfrastructureProperties]
43
+ # Optional. Various properties of the infra.
44
+ # @!attribute [rw] labels
45
+ # @return [::Google::Protobuf::Map{::String => ::String}]
46
+ # Optional. Labels or tags associated with the resource.
47
+ # @!attribute [r] create_time
48
+ # @return [::Google::Protobuf::Timestamp]
49
+ # Output only. The date and time that the Exadata Infrastructure was created.
50
+ class CloudExadataInfrastructure
51
+ include ::Google::Protobuf::MessageExts
52
+ extend ::Google::Protobuf::MessageExts::ClassMethods
53
+
54
+ # @!attribute [rw] key
55
+ # @return [::String]
56
+ # @!attribute [rw] value
57
+ # @return [::String]
58
+ class LabelsEntry
59
+ include ::Google::Protobuf::MessageExts
60
+ extend ::Google::Protobuf::MessageExts::ClassMethods
61
+ end
62
+ end
63
+
64
+ # Various properties of Exadata Infrastructure.
65
+ # @!attribute [r] ocid
66
+ # @return [::String]
67
+ # Output only. OCID of created infra.
68
+ # https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
69
+ # @!attribute [rw] compute_count
70
+ # @return [::Integer]
71
+ # Optional. The number of compute servers for the Exadata Infrastructure.
72
+ # @!attribute [rw] storage_count
73
+ # @return [::Integer]
74
+ # Optional. The number of Cloud Exadata storage servers for the Exadata
75
+ # Infrastructure.
76
+ # @!attribute [rw] total_storage_size_gb
77
+ # @return [::Integer]
78
+ # Optional. The total storage allocated to the Exadata Infrastructure
79
+ # resource, in gigabytes (GB).
80
+ # @!attribute [r] available_storage_size_gb
81
+ # @return [::Integer]
82
+ # Output only. The available storage can be allocated to the Exadata
83
+ # Infrastructure resource, in gigabytes (GB).
84
+ # @!attribute [rw] maintenance_window
85
+ # @return [::Google::Cloud::OracleDatabase::V1::MaintenanceWindow]
86
+ # Optional. Maintenance window for repair.
87
+ # @!attribute [r] state
88
+ # @return [::Google::Cloud::OracleDatabase::V1::CloudExadataInfrastructureProperties::State]
89
+ # Output only. The current lifecycle state of the Exadata Infrastructure.
90
+ # @!attribute [rw] shape
91
+ # @return [::String]
92
+ # Required. The shape of the Exadata Infrastructure. The shape determines the
93
+ # amount of CPU, storage, and memory resources allocated to the instance.
94
+ # @!attribute [r] oci_url
95
+ # @return [::String]
96
+ # Output only. Deep link to the OCI console to view this resource.
97
+ # @!attribute [rw] cpu_count
98
+ # @return [::Integer]
99
+ # Optional. The number of enabled CPU cores.
100
+ # @!attribute [r] max_cpu_count
101
+ # @return [::Integer]
102
+ # Output only. The total number of CPU cores available.
103
+ # @!attribute [rw] memory_size_gb
104
+ # @return [::Integer]
105
+ # Optional. The memory allocated in GBs.
106
+ # @!attribute [r] max_memory_gb
107
+ # @return [::Integer]
108
+ # Output only. The total memory available in GBs.
109
+ # @!attribute [rw] db_node_storage_size_gb
110
+ # @return [::Integer]
111
+ # Optional. The local node storage allocated in GBs.
112
+ # @!attribute [r] max_db_node_storage_size_gb
113
+ # @return [::Integer]
114
+ # Output only. The total local node storage available in GBs.
115
+ # @!attribute [r] data_storage_size_tb
116
+ # @return [::Float]
117
+ # Output only. Size, in terabytes, of the DATA disk group.
118
+ # @!attribute [r] max_data_storage_tb
119
+ # @return [::Float]
120
+ # Output only. The total available DATA disk group size.
121
+ # @!attribute [r] activated_storage_count
122
+ # @return [::Integer]
123
+ # Output only. The requested number of additional storage servers activated
124
+ # for the Exadata Infrastructure.
125
+ # @!attribute [r] additional_storage_count
126
+ # @return [::Integer]
127
+ # Output only. The requested number of additional storage servers for the
128
+ # Exadata Infrastructure.
129
+ # @!attribute [r] db_server_version
130
+ # @return [::String]
131
+ # Output only. The software version of the database servers (dom0) in the
132
+ # Exadata Infrastructure.
133
+ # @!attribute [r] storage_server_version
134
+ # @return [::String]
135
+ # Output only. The software version of the storage servers (cells) in the
136
+ # Exadata Infrastructure.
137
+ # @!attribute [r] next_maintenance_run_id
138
+ # @return [::String]
139
+ # Output only. The OCID of the next maintenance run.
140
+ # @!attribute [r] next_maintenance_run_time
141
+ # @return [::Google::Protobuf::Timestamp]
142
+ # Output only. The time when the next maintenance run will occur.
143
+ # @!attribute [r] next_security_maintenance_run_time
144
+ # @return [::Google::Protobuf::Timestamp]
145
+ # Output only. The time when the next security maintenance run will occur.
146
+ # @!attribute [rw] customer_contacts
147
+ # @return [::Array<::Google::Cloud::OracleDatabase::V1::CustomerContact>]
148
+ # Optional. The list of customer contacts.
149
+ # @!attribute [r] monthly_storage_server_version
150
+ # @return [::String]
151
+ # Output only. The monthly software version of the storage servers (cells)
152
+ # in the Exadata Infrastructure. Example: 20.1.15
153
+ # @!attribute [r] monthly_db_server_version
154
+ # @return [::String]
155
+ # Output only. The monthly software version of the database servers (dom0)
156
+ # in the Exadata Infrastructure. Example: 20.1.15
157
+ class CloudExadataInfrastructureProperties
158
+ include ::Google::Protobuf::MessageExts
159
+ extend ::Google::Protobuf::MessageExts::ClassMethods
160
+
161
+ # The various lifecycle states of the Exadata Infrastructure.
162
+ module State
163
+ # Default unspecified value.
164
+ STATE_UNSPECIFIED = 0
165
+
166
+ # The Exadata Infrastructure is being provisioned.
167
+ PROVISIONING = 1
168
+
169
+ # The Exadata Infrastructure is available for use.
170
+ AVAILABLE = 2
171
+
172
+ # The Exadata Infrastructure is being updated.
173
+ UPDATING = 3
174
+
175
+ # The Exadata Infrastructure is being terminated.
176
+ TERMINATING = 4
177
+
178
+ # The Exadata Infrastructure is terminated.
179
+ TERMINATED = 5
180
+
181
+ # The Exadata Infrastructure is in failed state.
182
+ FAILED = 6
183
+
184
+ # The Exadata Infrastructure is in maintenance.
185
+ MAINTENANCE_IN_PROGRESS = 7
186
+ end
187
+ end
188
+
189
+ # Maintenance window as defined by Oracle.
190
+ # https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/MaintenanceWindow
191
+ # @!attribute [rw] preference
192
+ # @return [::Google::Cloud::OracleDatabase::V1::MaintenanceWindow::MaintenanceWindowPreference]
193
+ # Optional. The maintenance window scheduling preference.
194
+ # @!attribute [rw] months
195
+ # @return [::Array<::Google::Type::Month>]
196
+ # Optional. Months during the year when maintenance should be performed.
197
+ # @!attribute [rw] weeks_of_month
198
+ # @return [::Array<::Integer>]
199
+ # Optional. Weeks during the month when maintenance should be performed.
200
+ # Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a
201
+ # duration of 7 days. Weeks start and end based on calendar dates, not days
202
+ # of the week.
203
+ # @!attribute [rw] days_of_week
204
+ # @return [::Array<::Google::Type::DayOfWeek>]
205
+ # Optional. Days during the week when maintenance should be performed.
206
+ # @!attribute [rw] hours_of_day
207
+ # @return [::Array<::Integer>]
208
+ # Optional. The window of hours during the day when maintenance should be
209
+ # performed. The window is a 4 hour slot. Valid values are:
210
+ # 0 - represents time slot 0:00 - 3:59 UTC
211
+ # 4 - represents time slot 4:00 - 7:59 UTC
212
+ # 8 - represents time slot 8:00 - 11:59 UTC
213
+ # 12 - represents time slot 12:00 - 15:59 UTC
214
+ # 16 - represents time slot 16:00 - 19:59 UTC
215
+ # 20 - represents time slot 20:00 - 23:59 UTC
216
+ # @!attribute [rw] lead_time_week
217
+ # @return [::Integer]
218
+ # Optional. Lead time window allows user to set a lead time to prepare for a
219
+ # down time. The lead time is in weeks and valid value is between 1 to 4.
220
+ # @!attribute [rw] patching_mode
221
+ # @return [::Google::Cloud::OracleDatabase::V1::MaintenanceWindow::PatchingMode]
222
+ # Optional. Cloud CloudExadataInfrastructure node patching method, either
223
+ # "ROLLING"
224
+ # or "NONROLLING". Default value is ROLLING.
225
+ # @!attribute [rw] custom_action_timeout_mins
226
+ # @return [::Integer]
227
+ # Optional. Determines the amount of time the system will wait before the
228
+ # start of each database server patching operation. Custom action timeout is
229
+ # in minutes and valid value is between 15 to 120 (inclusive).
230
+ # @!attribute [rw] is_custom_action_timeout_enabled
231
+ # @return [::Boolean]
232
+ # Optional. If true, enables the configuration of a custom action timeout
233
+ # (waiting period) between database server patching operations.
234
+ class MaintenanceWindow
235
+ include ::Google::Protobuf::MessageExts
236
+ extend ::Google::Protobuf::MessageExts::ClassMethods
237
+
238
+ # Maintenance window preference.
239
+ module MaintenanceWindowPreference
240
+ # Default unspecified value.
241
+ MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED = 0
242
+
243
+ # Custom preference.
244
+ CUSTOM_PREFERENCE = 1
245
+
246
+ # No preference.
247
+ NO_PREFERENCE = 2
248
+ end
249
+
250
+ # Patching mode.
251
+ module PatchingMode
252
+ # Default unspecified value.
253
+ PATCHING_MODE_UNSPECIFIED = 0
254
+
255
+ # Updates the Cloud Exadata database server hosts in a rolling fashion.
256
+ ROLLING = 1
257
+
258
+ # The non-rolling maintenance method first updates your storage servers at
259
+ # the same time, then your database servers at the same time.
260
+ NON_ROLLING = 2
261
+ end
262
+ end
263
+ end
264
+ end
265
+ end
266
+ end
@@ -0,0 +1,41 @@
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 Oracle Grid Infrastructure (GI) version resource.
25
+ # https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/GiVersionSummary/
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # Identifier. The name of the Oracle Grid Infrastructure (GI) version
29
+ # resource with the format:
30
+ # projects/\\{project}/locations/\\{region}/giVersions/\\{gi_versions}
31
+ # @!attribute [rw] version
32
+ # @return [::String]
33
+ # Optional. version
34
+ class GiVersion
35
+ include ::Google::Protobuf::MessageExts
36
+ extend ::Google::Protobuf::MessageExts::ClassMethods
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,35 @@
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
+ # Metadata for a given `::Google::Cloud::Location::Location`.
25
+ # @!attribute [r] gcp_oracle_zones
26
+ # @return [::Array<::String>]
27
+ # Output only. Google Cloud Platform Oracle zones in a location.
28
+ class LocationMetadata
29
+ include ::Google::Protobuf::MessageExts
30
+ extend ::Google::Protobuf::MessageExts::ClassMethods
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end