google-cloud-oracle_database-v1 0.9.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/operations.rb +12 -1
- 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/operations.rb +12 -1
- 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/longrunning/operations.rb +18 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- metadata +24 -1
|
@@ -134,7 +134,7 @@ module Google
|
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
136
136
|
#
|
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -147,6 +147,17 @@ module Google
|
|
|
147
147
|
# The standard list page size.
|
|
148
148
|
# @param page_token [::String]
|
|
149
149
|
# The standard list page token.
|
|
150
|
+
# @param return_partial_success [::Boolean]
|
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
152
|
+
# and those that are unreachable are returned in the
|
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
|
154
|
+
#
|
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
|
157
|
+
#
|
|
158
|
+
# This field is not by default supported and will result in an
|
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
160
|
+
# service or product specific documentation.
|
|
150
161
|
#
|
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -81,6 +81,122 @@ module Google
|
|
|
81
81
|
"projects/#{project}/locations/#{location}/cloudVmClusters/#{cloud_vm_cluster}"
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
+
##
|
|
85
|
+
# Create a fully-qualified CryptoKey resource string.
|
|
86
|
+
#
|
|
87
|
+
# The resource will be in the following format:
|
|
88
|
+
#
|
|
89
|
+
# `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
|
|
90
|
+
#
|
|
91
|
+
# @param project [String]
|
|
92
|
+
# @param location [String]
|
|
93
|
+
# @param key_ring [String]
|
|
94
|
+
# @param crypto_key [String]
|
|
95
|
+
#
|
|
96
|
+
# @return [::String]
|
|
97
|
+
def crypto_key_path project:, location:, key_ring:, crypto_key:
|
|
98
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
99
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
100
|
+
raise ::ArgumentError, "key_ring cannot contain /" if key_ring.to_s.include? "/"
|
|
101
|
+
|
|
102
|
+
"projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}"
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
##
|
|
106
|
+
# Create a fully-qualified Database resource string.
|
|
107
|
+
#
|
|
108
|
+
# The resource will be in the following format:
|
|
109
|
+
#
|
|
110
|
+
# `projects/{project}/locations/{location}/databases/{database}`
|
|
111
|
+
#
|
|
112
|
+
# @param project [String]
|
|
113
|
+
# @param location [String]
|
|
114
|
+
# @param database [String]
|
|
115
|
+
#
|
|
116
|
+
# @return [::String]
|
|
117
|
+
def database_path project:, location:, database:
|
|
118
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
119
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
120
|
+
|
|
121
|
+
"projects/#{project}/locations/#{location}/databases/#{database}"
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
##
|
|
125
|
+
# Create a fully-qualified DbSystem resource string.
|
|
126
|
+
#
|
|
127
|
+
# The resource will be in the following format:
|
|
128
|
+
#
|
|
129
|
+
# `projects/{project}/locations/{location}/dbSystems/{db_system}`
|
|
130
|
+
#
|
|
131
|
+
# @param project [String]
|
|
132
|
+
# @param location [String]
|
|
133
|
+
# @param db_system [String]
|
|
134
|
+
#
|
|
135
|
+
# @return [::String]
|
|
136
|
+
def db_system_path project:, location:, db_system:
|
|
137
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
138
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
139
|
+
|
|
140
|
+
"projects/#{project}/locations/#{location}/dbSystems/#{db_system}"
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
##
|
|
144
|
+
# Create a fully-qualified ExadbVmCluster resource string.
|
|
145
|
+
#
|
|
146
|
+
# The resource will be in the following format:
|
|
147
|
+
#
|
|
148
|
+
# `projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}`
|
|
149
|
+
#
|
|
150
|
+
# @param project [String]
|
|
151
|
+
# @param location [String]
|
|
152
|
+
# @param exadb_vm_cluster [String]
|
|
153
|
+
#
|
|
154
|
+
# @return [::String]
|
|
155
|
+
def exadb_vm_cluster_path project:, location:, exadb_vm_cluster:
|
|
156
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
157
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
158
|
+
|
|
159
|
+
"projects/#{project}/locations/#{location}/exadbVmClusters/#{exadb_vm_cluster}"
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
##
|
|
163
|
+
# Create a fully-qualified ExascaleDbStorageVault resource string.
|
|
164
|
+
#
|
|
165
|
+
# The resource will be in the following format:
|
|
166
|
+
#
|
|
167
|
+
# `projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}`
|
|
168
|
+
#
|
|
169
|
+
# @param project [String]
|
|
170
|
+
# @param location [String]
|
|
171
|
+
# @param exascale_db_storage_vault [String]
|
|
172
|
+
#
|
|
173
|
+
# @return [::String]
|
|
174
|
+
def exascale_db_storage_vault_path project:, location:, exascale_db_storage_vault:
|
|
175
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
176
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
177
|
+
|
|
178
|
+
"projects/#{project}/locations/#{location}/exascaleDbStorageVaults/#{exascale_db_storage_vault}"
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
##
|
|
182
|
+
# Create a fully-qualified GiVersion resource string.
|
|
183
|
+
#
|
|
184
|
+
# The resource will be in the following format:
|
|
185
|
+
#
|
|
186
|
+
# `projects/{project}/locations/{location}/giVersions/{gi_version}`
|
|
187
|
+
#
|
|
188
|
+
# @param project [String]
|
|
189
|
+
# @param location [String]
|
|
190
|
+
# @param gi_version [String]
|
|
191
|
+
#
|
|
192
|
+
# @return [::String]
|
|
193
|
+
def gi_version_path project:, location:, gi_version:
|
|
194
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
195
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
196
|
+
|
|
197
|
+
"projects/#{project}/locations/#{location}/giVersions/#{gi_version}"
|
|
198
|
+
end
|
|
199
|
+
|
|
84
200
|
##
|
|
85
201
|
# Create a fully-qualified Location resource string.
|
|
86
202
|
#
|
|
@@ -115,6 +231,65 @@ module Google
|
|
|
115
231
|
"projects/#{project}/global/networks/#{network}"
|
|
116
232
|
end
|
|
117
233
|
|
|
234
|
+
##
|
|
235
|
+
# Create a fully-qualified OdbNetwork resource string.
|
|
236
|
+
#
|
|
237
|
+
# The resource will be in the following format:
|
|
238
|
+
#
|
|
239
|
+
# `projects/{project}/locations/{location}/odbNetworks/{odb_network}`
|
|
240
|
+
#
|
|
241
|
+
# @param project [String]
|
|
242
|
+
# @param location [String]
|
|
243
|
+
# @param odb_network [String]
|
|
244
|
+
#
|
|
245
|
+
# @return [::String]
|
|
246
|
+
def odb_network_path project:, location:, odb_network:
|
|
247
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
248
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
249
|
+
|
|
250
|
+
"projects/#{project}/locations/#{location}/odbNetworks/#{odb_network}"
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
##
|
|
254
|
+
# Create a fully-qualified OdbSubnet resource string.
|
|
255
|
+
#
|
|
256
|
+
# The resource will be in the following format:
|
|
257
|
+
#
|
|
258
|
+
# `projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}`
|
|
259
|
+
#
|
|
260
|
+
# @param project [String]
|
|
261
|
+
# @param location [String]
|
|
262
|
+
# @param odb_network [String]
|
|
263
|
+
# @param odb_subnet [String]
|
|
264
|
+
#
|
|
265
|
+
# @return [::String]
|
|
266
|
+
def odb_subnet_path project:, location:, odb_network:, odb_subnet:
|
|
267
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
268
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
269
|
+
raise ::ArgumentError, "odb_network cannot contain /" if odb_network.to_s.include? "/"
|
|
270
|
+
|
|
271
|
+
"projects/#{project}/locations/#{location}/odbNetworks/#{odb_network}/odbSubnets/#{odb_subnet}"
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
##
|
|
275
|
+
# Create a fully-qualified PluggableDatabase resource string.
|
|
276
|
+
#
|
|
277
|
+
# The resource will be in the following format:
|
|
278
|
+
#
|
|
279
|
+
# `projects/{project}/locations/{location}/pluggableDatabases/{pluggable_database}`
|
|
280
|
+
#
|
|
281
|
+
# @param project [String]
|
|
282
|
+
# @param location [String]
|
|
283
|
+
# @param pluggable_database [String]
|
|
284
|
+
#
|
|
285
|
+
# @return [::String]
|
|
286
|
+
def pluggable_database_path project:, location:, pluggable_database:
|
|
287
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
288
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
289
|
+
|
|
290
|
+
"projects/#{project}/locations/#{location}/pluggableDatabases/#{pluggable_database}"
|
|
291
|
+
end
|
|
292
|
+
|
|
118
293
|
extend self
|
|
119
294
|
end
|
|
120
295
|
end
|