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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/oracle_database/v1/oracle_database/client.rb +3752 -56
  3. data/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb +175 -0
  4. data/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +3532 -67
  5. data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +2234 -204
  6. data/lib/google/cloud/oracle_database/v1/version.rb +1 -1
  7. data/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb +5 -1
  8. data/lib/google/cloud/oracledatabase/v1/common_pb.rb +5 -1
  9. data/lib/google/cloud/oracledatabase/v1/database_character_set_pb.rb +48 -0
  10. data/lib/google/cloud/oracledatabase/v1/database_pb.rb +61 -0
  11. data/lib/google/cloud/oracledatabase/v1/db_node_pb.rb +3 -1
  12. data/lib/google/cloud/oracledatabase/v1/db_system_initial_storage_size_pb.rb +51 -0
  13. data/lib/google/cloud/oracledatabase/v1/db_system_pb.rb +66 -0
  14. data/lib/google/cloud/oracledatabase/v1/db_version_pb.rb +48 -0
  15. data/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +1 -1
  16. data/lib/google/cloud/oracledatabase/v1/exadb_vm_cluster_pb.rb +56 -0
  17. data/lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.rb +59 -0
  18. data/lib/google/cloud/oracledatabase/v1/minor_version_pb.rb +47 -0
  19. data/lib/google/cloud/oracledatabase/v1/odb_network_pb.rb +54 -0
  20. data/lib/google/cloud/oracledatabase/v1/odb_subnet_pb.rb +55 -0
  21. data/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +25 -1
  22. data/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +74 -0
  23. data/lib/google/cloud/oracledatabase/v1/pluggable_database_pb.rb +60 -0
  24. data/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb +3 -1
  25. data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb +104 -1
  26. data/proto_docs/google/cloud/oracledatabase/v1/common.rb +64 -0
  27. data/proto_docs/google/cloud/oracledatabase/v1/database.rb +326 -0
  28. data/proto_docs/google/cloud/oracledatabase/v1/database_character_set.rb +99 -0
  29. data/proto_docs/google/cloud/oracledatabase/v1/db_node.rb +3 -0
  30. data/proto_docs/google/cloud/oracledatabase/v1/db_system.rb +381 -0
  31. data/proto_docs/google/cloud/oracledatabase/v1/db_system_initial_storage_size.rb +126 -0
  32. data/proto_docs/google/cloud/oracledatabase/v1/db_version.rb +102 -0
  33. data/proto_docs/google/cloud/oracledatabase/v1/exadata_infra.rb +12 -1
  34. data/proto_docs/google/cloud/oracledatabase/v1/exadb_vm_cluster.rb +229 -0
  35. data/proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb +271 -0
  36. data/proto_docs/google/cloud/oracledatabase/v1/minor_version.rb +81 -0
  37. data/proto_docs/google/cloud/oracledatabase/v1/odb_network.rb +184 -0
  38. data/proto_docs/google/cloud/oracledatabase/v1/odb_subnet.rb +189 -0
  39. data/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb +219 -0
  40. data/proto_docs/google/cloud/oracledatabase/v1/pluggable_database.rb +366 -0
  41. data/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb +32 -7
  42. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  43. metadata +24 -1
@@ -0,0 +1,184 @@
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
+ # Represents OdbNetwork resource.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Identifier. The name of the OdbNetwork resource in the following format:
28
+ # projects/\\{project}/locations/\\{region}/odbNetworks/\\{odb_network}
29
+ # @!attribute [rw] network
30
+ # @return [::String]
31
+ # Required. The name of the VPC network in the following format:
32
+ # projects/\\{project}/global/networks/\\{network}
33
+ # @!attribute [rw] labels
34
+ # @return [::Google::Protobuf::Map{::String => ::String}]
35
+ # Optional. Labels or tags associated with the resource.
36
+ # @!attribute [r] create_time
37
+ # @return [::Google::Protobuf::Timestamp]
38
+ # Output only. The date and time that the OdbNetwork was created.
39
+ # @!attribute [r] state
40
+ # @return [::Google::Cloud::OracleDatabase::V1::OdbNetwork::State]
41
+ # Output only. State of the ODB Network.
42
+ # @!attribute [r] entitlement_id
43
+ # @return [::String]
44
+ # Output only. The ID of the subscription entitlement associated with the
45
+ # OdbNetwork.
46
+ # @!attribute [rw] gcp_oracle_zone
47
+ # @return [::String]
48
+ # Optional. The GCP Oracle zone where OdbNetwork is hosted.
49
+ # Example: us-east4-b-r2.
50
+ # If not specified, the system will pick a zone based on availability.
51
+ class OdbNetwork
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
+
55
+ # @!attribute [rw] key
56
+ # @return [::String]
57
+ # @!attribute [rw] value
58
+ # @return [::String]
59
+ class LabelsEntry
60
+ include ::Google::Protobuf::MessageExts
61
+ extend ::Google::Protobuf::MessageExts::ClassMethods
62
+ end
63
+
64
+ # The various lifecycle states of the ODB Network.
65
+ module State
66
+ # Default unspecified value.
67
+ STATE_UNSPECIFIED = 0
68
+
69
+ # Indicates that the resource is in provisioning state.
70
+ PROVISIONING = 1
71
+
72
+ # Indicates that the resource is in available state.
73
+ AVAILABLE = 2
74
+
75
+ # Indicates that the resource is in terminating state.
76
+ TERMINATING = 3
77
+
78
+ # Indicates that the resource is in failed state.
79
+ FAILED = 4
80
+ end
81
+ end
82
+
83
+ # The request for `OdbNetwork.Create`.
84
+ # @!attribute [rw] parent
85
+ # @return [::String]
86
+ # Required. The parent value for the OdbNetwork in the following format:
87
+ # projects/\\{project}/locations/\\{location}.
88
+ # @!attribute [rw] odb_network_id
89
+ # @return [::String]
90
+ # Required. The ID of the OdbNetwork to create. This value is restricted
91
+ # to (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$) and must be a maximum of 63
92
+ # characters in length. The value must start with a letter and end with
93
+ # a letter or a number.
94
+ # @!attribute [rw] odb_network
95
+ # @return [::Google::Cloud::OracleDatabase::V1::OdbNetwork]
96
+ # Required. Details of the OdbNetwork instance to create.
97
+ # @!attribute [rw] request_id
98
+ # @return [::String]
99
+ # Optional. An optional ID to identify the request. This value is used to
100
+ # identify duplicate requests. If you make a request with the same request ID
101
+ # and the original request is still in progress or completed, the server
102
+ # ignores the second request. This prevents clients from
103
+ # accidentally creating duplicate commitments.
104
+ #
105
+ # The request ID must be a valid UUID with the exception that zero UUID is
106
+ # not supported (00000000-0000-0000-0000-000000000000).
107
+ class CreateOdbNetworkRequest
108
+ include ::Google::Protobuf::MessageExts
109
+ extend ::Google::Protobuf::MessageExts::ClassMethods
110
+ end
111
+
112
+ # The request for `OdbNetwork.Delete`.
113
+ # @!attribute [rw] name
114
+ # @return [::String]
115
+ # Required. The name of the resource in the following format:
116
+ # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network}.
117
+ # @!attribute [rw] request_id
118
+ # @return [::String]
119
+ # Optional. An optional ID to identify the request. This value is used to
120
+ # identify duplicate requests. If you make a request with the same request ID
121
+ # and the original request is still in progress or completed, the server
122
+ # ignores the second request. This prevents clients from
123
+ # accidentally creating duplicate commitments.
124
+ #
125
+ # The request ID must be a valid UUID with the exception that zero UUID is
126
+ # not supported (00000000-0000-0000-0000-000000000000).
127
+ class DeleteOdbNetworkRequest
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
+ end
131
+
132
+ # The request for `OdbNetwork.List`.
133
+ # @!attribute [rw] parent
134
+ # @return [::String]
135
+ # Required. The parent value for the ODB Network in the following format:
136
+ # projects/\\{project}/locations/\\{location}.
137
+ # @!attribute [rw] page_size
138
+ # @return [::Integer]
139
+ # Optional. The maximum number of items to return.
140
+ # If unspecified, at most 50 ODB Networks will be returned.
141
+ # The maximum value is 1000; values above 1000 will be coerced to 1000.
142
+ # @!attribute [rw] page_token
143
+ # @return [::String]
144
+ # Optional. A token identifying a page of results the server should return.
145
+ # @!attribute [rw] filter
146
+ # @return [::String]
147
+ # Optional. An expression for filtering the results of the request.
148
+ # @!attribute [rw] order_by
149
+ # @return [::String]
150
+ # Optional. An expression for ordering the results of the request.
151
+ class ListOdbNetworksRequest
152
+ include ::Google::Protobuf::MessageExts
153
+ extend ::Google::Protobuf::MessageExts::ClassMethods
154
+ end
155
+
156
+ # The response for `OdbNetwork.List`.
157
+ # @!attribute [rw] odb_networks
158
+ # @return [::Array<::Google::Cloud::OracleDatabase::V1::OdbNetwork>]
159
+ # The list of ODB Networks.
160
+ # @!attribute [rw] next_page_token
161
+ # @return [::String]
162
+ # A token identifying a page of results the server should return.
163
+ # @!attribute [rw] unreachable
164
+ # @return [::Array<::String>]
165
+ # Unreachable locations when listing resources across all locations using
166
+ # wildcard location '-'.
167
+ class ListOdbNetworksResponse
168
+ include ::Google::Protobuf::MessageExts
169
+ extend ::Google::Protobuf::MessageExts::ClassMethods
170
+ end
171
+
172
+ # The request for `OdbNetwork.Get`.
173
+ # @!attribute [rw] name
174
+ # @return [::String]
175
+ # Required. The name of the OdbNetwork in the following format:
176
+ # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network}.
177
+ class GetOdbNetworkRequest
178
+ include ::Google::Protobuf::MessageExts
179
+ extend ::Google::Protobuf::MessageExts::ClassMethods
180
+ end
181
+ end
182
+ end
183
+ end
184
+ end
@@ -0,0 +1,189 @@
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
+ # Represents OdbSubnet resource.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Identifier. The name of the OdbSubnet resource in the following format:
28
+ # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network}/odbSubnets/\\{odb_subnet}
29
+ # @!attribute [rw] cidr_range
30
+ # @return [::String]
31
+ # Required. The CIDR range of the subnet.
32
+ # @!attribute [rw] purpose
33
+ # @return [::Google::Cloud::OracleDatabase::V1::OdbSubnet::Purpose]
34
+ # Required. Purpose of the subnet.
35
+ # @!attribute [rw] labels
36
+ # @return [::Google::Protobuf::Map{::String => ::String}]
37
+ # Optional. Labels or tags associated with the resource.
38
+ # @!attribute [r] create_time
39
+ # @return [::Google::Protobuf::Timestamp]
40
+ # Output only. The date and time that the OdbNetwork was created.
41
+ # @!attribute [r] state
42
+ # @return [::Google::Cloud::OracleDatabase::V1::OdbSubnet::State]
43
+ # Output only. State of the ODB Subnet.
44
+ class OdbSubnet
45
+ include ::Google::Protobuf::MessageExts
46
+ extend ::Google::Protobuf::MessageExts::ClassMethods
47
+
48
+ # @!attribute [rw] key
49
+ # @return [::String]
50
+ # @!attribute [rw] value
51
+ # @return [::String]
52
+ class LabelsEntry
53
+ include ::Google::Protobuf::MessageExts
54
+ extend ::Google::Protobuf::MessageExts::ClassMethods
55
+ end
56
+
57
+ # Purpose available for the subnet.
58
+ module Purpose
59
+ # Default unspecified value.
60
+ PURPOSE_UNSPECIFIED = 0
61
+
62
+ # Subnet to be used for client connections.
63
+ CLIENT_SUBNET = 1
64
+
65
+ # Subnet to be used for backup.
66
+ BACKUP_SUBNET = 2
67
+ end
68
+
69
+ # The various lifecycle states of the ODB Subnet.
70
+ module State
71
+ # Default unspecified value.
72
+ STATE_UNSPECIFIED = 0
73
+
74
+ # Indicates that the resource is in provisioning state.
75
+ PROVISIONING = 1
76
+
77
+ # Indicates that the resource is in available state.
78
+ AVAILABLE = 2
79
+
80
+ # Indicates that the resource is in terminating state.
81
+ TERMINATING = 3
82
+
83
+ # Indicates that the resource is in failed state.
84
+ FAILED = 4
85
+ end
86
+ end
87
+
88
+ # The request for `OdbSubnet.Create`.
89
+ # @!attribute [rw] parent
90
+ # @return [::String]
91
+ # Required. The parent value for the OdbSubnet in the following format:
92
+ # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network}.
93
+ # @!attribute [rw] odb_subnet_id
94
+ # @return [::String]
95
+ # Required. The ID of the OdbSubnet to create. This value is restricted
96
+ # to (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$) and must be a maximum of 63
97
+ # characters in length. The value must start with a letter and end with
98
+ # a letter or a number.
99
+ # @!attribute [rw] odb_subnet
100
+ # @return [::Google::Cloud::OracleDatabase::V1::OdbSubnet]
101
+ # Required. Details of the OdbSubnet instance to create.
102
+ # @!attribute [rw] request_id
103
+ # @return [::String]
104
+ # Optional. An optional ID to identify the request. This value is used to
105
+ # identify duplicate requests. If you make a request with the same request ID
106
+ # and the original request is still in progress or completed, the server
107
+ # ignores the second request. This prevents clients from
108
+ # accidentally creating duplicate commitments.
109
+ #
110
+ # The request ID must be a valid UUID with the exception that zero UUID is
111
+ # not supported (00000000-0000-0000-0000-000000000000).
112
+ class CreateOdbSubnetRequest
113
+ include ::Google::Protobuf::MessageExts
114
+ extend ::Google::Protobuf::MessageExts::ClassMethods
115
+ end
116
+
117
+ # The request for `OdbSubnet.Delete`.
118
+ # @!attribute [rw] name
119
+ # @return [::String]
120
+ # Required. The name of the resource in the following format:
121
+ # projects/\\{project}/locations/\\{region}/odbNetworks/\\{odb_network}/odbSubnets/\\{odb_subnet}.
122
+ # @!attribute [rw] request_id
123
+ # @return [::String]
124
+ # Optional. An optional ID to identify the request. This value is used to
125
+ # identify duplicate requests. If you make a request with the same request ID
126
+ # and the original request is still in progress or completed, the server
127
+ # ignores the second request. This prevents clients from
128
+ # accidentally creating duplicate commitments.
129
+ #
130
+ # The request ID must be a valid UUID with the exception that zero UUID is
131
+ # not supported (00000000-0000-0000-0000-000000000000).
132
+ class DeleteOdbSubnetRequest
133
+ include ::Google::Protobuf::MessageExts
134
+ extend ::Google::Protobuf::MessageExts::ClassMethods
135
+ end
136
+
137
+ # The request for `OdbSubnet.List`.
138
+ # @!attribute [rw] parent
139
+ # @return [::String]
140
+ # Required. The parent value for the OdbSubnet in the following format:
141
+ # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network}.
142
+ # @!attribute [rw] page_size
143
+ # @return [::Integer]
144
+ # Optional. The maximum number of items to return.
145
+ # If unspecified, at most 50 ODB Networks will be returned.
146
+ # The maximum value is 1000; values above 1000 will be coerced to 1000.
147
+ # @!attribute [rw] page_token
148
+ # @return [::String]
149
+ # Optional. A token identifying a page of results the server should return.
150
+ # @!attribute [rw] filter
151
+ # @return [::String]
152
+ # Optional. An expression for filtering the results of the request.
153
+ # @!attribute [rw] order_by
154
+ # @return [::String]
155
+ # Optional. An expression for ordering the results of the request.
156
+ class ListOdbSubnetsRequest
157
+ include ::Google::Protobuf::MessageExts
158
+ extend ::Google::Protobuf::MessageExts::ClassMethods
159
+ end
160
+
161
+ # The response for `OdbSubnet.List`.
162
+ # @!attribute [rw] odb_subnets
163
+ # @return [::Array<::Google::Cloud::OracleDatabase::V1::OdbSubnet>]
164
+ # The list of ODB Subnets.
165
+ # @!attribute [rw] next_page_token
166
+ # @return [::String]
167
+ # A token identifying a page of results the server should return.
168
+ # @!attribute [rw] unreachable
169
+ # @return [::Array<::String>]
170
+ # Unreachable locations when listing resources across all locations using
171
+ # wildcard location '-'.
172
+ class ListOdbSubnetsResponse
173
+ include ::Google::Protobuf::MessageExts
174
+ extend ::Google::Protobuf::MessageExts::ClassMethods
175
+ end
176
+
177
+ # The request for `OdbSubnet.Get`.
178
+ # @!attribute [rw] name
179
+ # @return [::String]
180
+ # Required. The name of the OdbSubnet in the following format:
181
+ # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network}/odbSubnets/\\{odb_subnet}.
182
+ class GetOdbSubnetRequest
183
+ include ::Google::Protobuf::MessageExts
184
+ extend ::Google::Protobuf::MessageExts::ClassMethods
185
+ end
186
+ end
187
+ end
188
+ end
189
+ end
@@ -34,6 +34,12 @@ module Google
34
34
  # @!attribute [rw] page_token
35
35
  # @return [::String]
36
36
  # Optional. A token identifying a page of results the server should return.
37
+ # @!attribute [rw] filter
38
+ # @return [::String]
39
+ # Optional. An expression for filtering the results of the request.
40
+ # @!attribute [rw] order_by
41
+ # @return [::String]
42
+ # Optional. An expression for ordering the results of the request.
37
43
  class ListCloudExadataInfrastructuresRequest
38
44
  include ::Google::Protobuf::MessageExts
39
45
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -279,6 +285,7 @@ module Google
279
285
  # @return [::String]
280
286
  # Required. The parent value for database node in the following format:
281
287
  # projects/\\{project}/locations/\\{location}/cloudVmClusters/\\{cloudVmCluster}.
288
+ # .
282
289
  # @!attribute [rw] page_size
283
290
  # @return [::Integer]
284
291
  # Optional. The maximum number of items to return.
@@ -318,6 +325,11 @@ module Google
318
325
  # @!attribute [rw] page_token
319
326
  # @return [::String]
320
327
  # Optional. A token identifying a page of results the server should return.
328
+ # @!attribute [rw] filter
329
+ # @return [::String]
330
+ # Optional. An expression for filtering the results of the request. Only the
331
+ # shape, gcp_oracle_zone and gi_version fields are supported in this format:
332
+ # `shape="{shape}"`.
321
333
  class ListGiVersionsRequest
322
334
  include ::Google::Protobuf::MessageExts
323
335
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -348,6 +360,11 @@ module Google
348
360
  # @!attribute [rw] page_token
349
361
  # @return [::String]
350
362
  # Optional. A token identifying a page of results the server should return.
363
+ # @!attribute [rw] filter
364
+ # @return [::String]
365
+ # Optional. An expression for filtering the results of the request. Only the
366
+ # gcp_oracle_zone_id field is supported in this format:
367
+ # `gcp_oracle_zone_id="{gcp_oracle_zone_id}"`.
351
368
  class ListDbSystemShapesRequest
352
369
  include ::Google::Protobuf::MessageExts
353
370
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -475,6 +492,32 @@ module Google
475
492
  extend ::Google::Protobuf::MessageExts::ClassMethods
476
493
  end
477
494
 
495
+ # The request for `AutonomousDatabase.Update`.
496
+ # @!attribute [rw] update_mask
497
+ # @return [::Google::Protobuf::FieldMask]
498
+ # Optional. Field mask is used to specify the fields to be overwritten in the
499
+ # Exadata resource by the update. The fields specified in the update_mask are
500
+ # relative to the resource, not the full request. A field will be overwritten
501
+ # if it is in the mask. If the user does not provide a mask then all fields
502
+ # will be overwritten.
503
+ # @!attribute [rw] autonomous_database
504
+ # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabase]
505
+ # Required. The resource being updated
506
+ # @!attribute [rw] request_id
507
+ # @return [::String]
508
+ # Optional. An optional ID to identify the request. This value is used to
509
+ # identify duplicate requests. If you make a request with the same request ID
510
+ # and the original request is still in progress or completed, the server
511
+ # ignores the second request. This prevents clients from
512
+ # accidentally creating duplicate commitments.
513
+ #
514
+ # The request ID must be a valid UUID with the exception that zero UUID is
515
+ # not supported (00000000-0000-0000-0000-000000000000).
516
+ class UpdateAutonomousDatabaseRequest
517
+ include ::Google::Protobuf::MessageExts
518
+ extend ::Google::Protobuf::MessageExts::ClassMethods
519
+ end
520
+
478
521
  # The request for `AutonomousDatabase.Delete`.
479
522
  # @!attribute [rw] name
480
523
  # @return [::String]
@@ -538,6 +581,32 @@ module Google
538
581
  extend ::Google::Protobuf::MessageExts::ClassMethods
539
582
  end
540
583
 
584
+ # The request for `OracleDatabase.SwitchoverAutonomousDatabase`.
585
+ # @!attribute [rw] name
586
+ # @return [::String]
587
+ # Required. The name of the Autonomous Database in the following format:
588
+ # projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}.
589
+ # @!attribute [rw] peer_autonomous_database
590
+ # @return [::String]
591
+ # Required. The peer database name to switch over to.
592
+ class SwitchoverAutonomousDatabaseRequest
593
+ include ::Google::Protobuf::MessageExts
594
+ extend ::Google::Protobuf::MessageExts::ClassMethods
595
+ end
596
+
597
+ # The request for `OracleDatabase.FailoverAutonomousDatabase`.
598
+ # @!attribute [rw] name
599
+ # @return [::String]
600
+ # Required. The name of the Autonomous Database in the following format:
601
+ # projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}.
602
+ # @!attribute [rw] peer_autonomous_database
603
+ # @return [::String]
604
+ # Required. The peer database name to fail over to.
605
+ class FailoverAutonomousDatabaseRequest
606
+ include ::Google::Protobuf::MessageExts
607
+ extend ::Google::Protobuf::MessageExts::ClassMethods
608
+ end
609
+
541
610
  # The request for `AutonomousDatabase.GenerateWallet`.
542
611
  # @!attribute [rw] name
543
612
  # @return [::String]
@@ -673,6 +742,156 @@ module Google
673
742
  include ::Google::Protobuf::MessageExts
674
743
  extend ::Google::Protobuf::MessageExts::ClassMethods
675
744
  end
745
+
746
+ # The request for `ExadbVmCluster.Create`.
747
+ # @!attribute [rw] parent
748
+ # @return [::String]
749
+ # Required. The value for parent of the ExadbVmCluster in the following
750
+ # format: projects/\\{project}/locations/\\{location}.
751
+ # @!attribute [rw] exadb_vm_cluster_id
752
+ # @return [::String]
753
+ # Required. The ID of the ExadbVmCluster to create. This value is
754
+ # restricted to (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$) and must be a maximum of
755
+ # 63 characters in length. The value must start with a letter and end with a
756
+ # letter or a number.
757
+ # @!attribute [rw] exadb_vm_cluster
758
+ # @return [::Google::Cloud::OracleDatabase::V1::ExadbVmCluster]
759
+ # Required. The resource being created.
760
+ # @!attribute [rw] request_id
761
+ # @return [::String]
762
+ # Optional. An optional request ID to identify requests. Specify a unique
763
+ # request ID so that if you must retry your request, the server will know to
764
+ # ignore the request if it has already been completed. The server will
765
+ # guarantee that for at least 60 minutes since the first request.
766
+ #
767
+ # For example, consider a situation where you make an initial request and the
768
+ # request times out. If you make the request again with the same request
769
+ # ID, the server can check if original operation with the same request ID
770
+ # was received, and if so, will ignore the second request. This prevents
771
+ # clients from accidentally creating duplicate commitments.
772
+ #
773
+ # The request ID must be a valid UUID with the exception that zero UUID is
774
+ # not supported (00000000-0000-0000-0000-000000000000).
775
+ class CreateExadbVmClusterRequest
776
+ include ::Google::Protobuf::MessageExts
777
+ extend ::Google::Protobuf::MessageExts::ClassMethods
778
+ end
779
+
780
+ # The request for `ExadbVmCluster.Delete`.
781
+ # @!attribute [rw] name
782
+ # @return [::String]
783
+ # Required. The name of the ExadbVmCluster in the following format:
784
+ # projects/\\{project}/locations/\\{location}/exadbVmClusters/\\{exadb_vm_cluster}.
785
+ # @!attribute [rw] request_id
786
+ # @return [::String]
787
+ # Optional. An optional ID to identify the request. This value is used to
788
+ # identify duplicate requests. If you make a request with the same request ID
789
+ # and the original request is still in progress or completed, the server
790
+ # ignores the second request. This prevents clients from
791
+ # accidentally creating duplicate commitments.
792
+ #
793
+ # The request ID must be a valid UUID with the exception that zero UUID is
794
+ # not supported (00000000-0000-0000-0000-000000000000).
795
+ class DeleteExadbVmClusterRequest
796
+ include ::Google::Protobuf::MessageExts
797
+ extend ::Google::Protobuf::MessageExts::ClassMethods
798
+ end
799
+
800
+ # The request for `ExadbVmCluster.Get`.
801
+ # @!attribute [rw] name
802
+ # @return [::String]
803
+ # Required. The name of the ExadbVmCluster in the following format:
804
+ # projects/\\{project}/locations/\\{location}/exadbVmClusters/\\{exadb_vm_cluster}.
805
+ class GetExadbVmClusterRequest
806
+ include ::Google::Protobuf::MessageExts
807
+ extend ::Google::Protobuf::MessageExts::ClassMethods
808
+ end
809
+
810
+ # The request for `ExadbVmCluster.List`.
811
+ # @!attribute [rw] parent
812
+ # @return [::String]
813
+ # Required. The parent value for ExadbVmClusters in the following format:
814
+ # projects/\\{project}/locations/\\{location}.
815
+ # @!attribute [rw] page_size
816
+ # @return [::Integer]
817
+ # Optional. The maximum number of items to return.
818
+ # If unspecified, at most 50 ExadbVmClusters will be returned.
819
+ # The maximum value is 1000; values above 1000 will be coerced to 1000.
820
+ # @!attribute [rw] page_token
821
+ # @return [::String]
822
+ # Optional. A token identifying a page of results the server should return.
823
+ # @!attribute [rw] filter
824
+ # @return [::String]
825
+ # Optional. An expression for filtering the results of the request.
826
+ # @!attribute [rw] order_by
827
+ # @return [::String]
828
+ # Optional. An expression for ordering the results of the request.
829
+ class ListExadbVmClustersRequest
830
+ include ::Google::Protobuf::MessageExts
831
+ extend ::Google::Protobuf::MessageExts::ClassMethods
832
+ end
833
+
834
+ # The response for `ExadbVmCluster.List`.
835
+ # @!attribute [rw] exadb_vm_clusters
836
+ # @return [::Array<::Google::Cloud::OracleDatabase::V1::ExadbVmCluster>]
837
+ # The list of ExadbVmClusters.
838
+ # @!attribute [rw] next_page_token
839
+ # @return [::String]
840
+ # A token identifying a page of results the server should return.
841
+ class ListExadbVmClustersResponse
842
+ include ::Google::Protobuf::MessageExts
843
+ extend ::Google::Protobuf::MessageExts::ClassMethods
844
+ end
845
+
846
+ # The request for `ExadbVmCluster.Update`. We only support adding the
847
+ # Virtual Machine to the ExadbVmCluster. Rest of the fields in ExadbVmCluster
848
+ # are immutable.
849
+ # @!attribute [rw] update_mask
850
+ # @return [::Google::Protobuf::FieldMask]
851
+ # Optional. A mask specifying which fields in th VM Cluster should be
852
+ # updated. A field specified in the mask is overwritten. If a mask isn't
853
+ # provided then all the fields in the VM Cluster are overwritten.
854
+ # @!attribute [rw] exadb_vm_cluster
855
+ # @return [::Google::Cloud::OracleDatabase::V1::ExadbVmCluster]
856
+ # Required. The resource being updated.
857
+ # @!attribute [rw] request_id
858
+ # @return [::String]
859
+ # Optional. An optional ID to identify the request. This value is used to
860
+ # identify duplicate requests. If you make a request with the same request ID
861
+ # and the original request is still in progress or completed, the server
862
+ # ignores the second request. This prevents clients from
863
+ # accidentally creating duplicate commitments.
864
+ #
865
+ # The request ID must be a valid UUID with the exception that zero UUID is
866
+ # not supported (00000000-0000-0000-0000-000000000000).
867
+ class UpdateExadbVmClusterRequest
868
+ include ::Google::Protobuf::MessageExts
869
+ extend ::Google::Protobuf::MessageExts::ClassMethods
870
+ end
871
+
872
+ # The request for `ExadbVmCluster.RemoveVirtualMachine`.
873
+ # @!attribute [rw] name
874
+ # @return [::String]
875
+ # Required. The name of the ExadbVmCluster in the following format:
876
+ # projects/\\{project}/locations/\\{location}/exadbVmClusters/\\{exadb_vm_cluster}.
877
+ # @!attribute [rw] request_id
878
+ # @return [::String]
879
+ # Optional. An optional ID to identify the request. This value is used to
880
+ # identify duplicate requests. If you make a request with the same request ID
881
+ # and the original request is still in progress or completed, the server
882
+ # ignores the second request. This prevents clients from
883
+ # accidentally creating duplicate commitments.
884
+ #
885
+ # The request ID must be a valid UUID with the exception that zero UUID is
886
+ # not supported (00000000-0000-0000-0000-000000000000).
887
+ # @!attribute [rw] hostnames
888
+ # @return [::Array<::String>]
889
+ # Required. The list of host names of db nodes to be removed from the
890
+ # ExadbVmCluster.
891
+ class RemoveVirtualMachineExadbVmClusterRequest
892
+ include ::Google::Protobuf::MessageExts
893
+ extend ::Google::Protobuf::MessageExts::ClassMethods
894
+ end
676
895
  end
677
896
  end
678
897
  end