google-cloud-oracle_database-v1 1.4.0 → 1.5.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 (45) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/oracle_database/v1/oracle_database/client.rb +5075 -2586
  3. data/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb +57 -0
  4. data/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +4887 -2552
  5. data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +1377 -18
  6. data/lib/google/cloud/oracle_database/v1/version.rb +1 -1
  7. data/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb +1 -1
  8. data/lib/google/cloud/oracledatabase/v1/common_pb.rb +2 -1
  9. data/lib/google/cloud/oracledatabase/v1/database_connection_pb.rb +36 -0
  10. data/lib/google/cloud/oracledatabase/v1/database_pb.rb +1 -1
  11. data/lib/google/cloud/oracledatabase/v1/db_system_compute_performance_pb.rb +28 -0
  12. data/lib/google/cloud/oracledatabase/v1/db_system_pb.rb +3 -1
  13. data/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +1 -1
  14. data/lib/google/cloud/oracledatabase/v1/exadb_vm_cluster_pb.rb +1 -1
  15. data/lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.rb +3 -1
  16. data/lib/google/cloud/oracledatabase/v1/execute_sql_pb.rb +34 -0
  17. data/lib/google/cloud/oracledatabase/v1/flex_component_pb.rb +29 -0
  18. data/lib/google/cloud/oracledatabase/v1/goldengate_connection_assignment_pb.rb +3 -1
  19. data/lib/google/cloud/oracledatabase/v1/goldengate_connection_pb.rb +3 -1
  20. data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_pb.rb +3 -1
  21. data/lib/google/cloud/oracledatabase/v1/odb_network_pb.rb +5 -1
  22. data/lib/google/cloud/oracledatabase/v1/odb_subnet_pb.rb +3 -1
  23. data/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +11 -1
  24. data/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +46 -0
  25. data/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb +1 -1
  26. data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb +6 -3
  27. data/proto_docs/google/cloud/oracledatabase/v1/common.rb +16 -0
  28. data/proto_docs/google/cloud/oracledatabase/v1/database.rb +6 -6
  29. data/proto_docs/google/cloud/oracledatabase/v1/database_connection.rb +255 -0
  30. data/proto_docs/google/cloud/oracledatabase/v1/db_system.rb +42 -10
  31. data/proto_docs/google/cloud/oracledatabase/v1/db_system_compute_performance.rb +100 -0
  32. data/proto_docs/google/cloud/oracledatabase/v1/exadata_infra.rb +5 -5
  33. data/proto_docs/google/cloud/oracledatabase/v1/exadb_vm_cluster.rb +7 -0
  34. data/proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb +38 -7
  35. data/proto_docs/google/cloud/oracledatabase/v1/execute_sql.rb +167 -0
  36. data/proto_docs/google/cloud/oracledatabase/v1/flex_component.rb +135 -0
  37. data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection.rb +37 -6
  38. data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_assignment.rb +35 -2
  39. data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment.rb +40 -8
  40. data/proto_docs/google/cloud/oracledatabase/v1/odb_network.rb +79 -2
  41. data/proto_docs/google/cloud/oracledatabase/v1/odb_subnet.rb +33 -2
  42. data/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb +126 -9
  43. data/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb +23 -15
  44. data/proto_docs/google/protobuf/struct.rb +108 -0
  45. metadata +10 -1
@@ -0,0 +1,167 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 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 request for `DatabaseConnection.ExecuteSql`.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Required. The name of the DatabaseConnection in the following format:
28
+ # projects/\\{project}/locations/\\{location}/databaseConnections/\\{database_connection}.
29
+ # @!attribute [rw] sql_statement
30
+ # @return [::String]
31
+ # Required. The SQL statement to execute.
32
+ # @!attribute [rw] params
33
+ # @return [::Array<::Google::Cloud::OracleDatabase::V1::SqlParameter>]
34
+ # Optional. Optional: Bind variables (parameters) to be used with the SQL
35
+ # statement. Supports named bind variables (e.g., :dept_id, :status in Oracle
36
+ # SQL) or positional parameters (:1, :2).
37
+ class ExecuteSqlRequest
38
+ include ::Google::Protobuf::MessageExts
39
+ extend ::Google::Protobuf::MessageExts::ClassMethods
40
+ end
41
+
42
+ # Represents a bind variable (parameter) for SQL execution.
43
+ # @!attribute [rw] name
44
+ # @return [::String]
45
+ # Optional. The name of the SQL bind parameter (excluding the leading
46
+ # colon, e.g. "id"). If omitted, parameters bind positionally based on their
47
+ # order in the list.
48
+ # @!attribute [rw] value
49
+ # @return [::Google::Protobuf::Value]
50
+ # Required. Use protobuf.Value so clients can pass ints, bools, and strings
51
+ # natively.
52
+ # @!attribute [rw] type_name
53
+ # @return [::String]
54
+ # Optional. Optional: Datatype hint for the parameter (e.g., "VARCHAR2",
55
+ # "NUMBER", "DATE", "TIMESTAMP"). If omitted, the Oracle driver will infer
56
+ # the type from the value string.
57
+ class SqlParameter
58
+ include ::Google::Protobuf::MessageExts
59
+ extend ::Google::Protobuf::MessageExts::ClassMethods
60
+ end
61
+
62
+ # Execute a SQL statement response.
63
+ # @!attribute [rw] sql_results
64
+ # @return [::Array<::Google::Cloud::OracleDatabase::V1::SqlResult>]
65
+ # SqlResult represents the results for the execution of sql statements.
66
+ # @!attribute [rw] metadata
67
+ # @return [::Google::Cloud::OracleDatabase::V1::ExecuteSqlMetadata]
68
+ # Any additional metadata information regarding the execution of the sql
69
+ # statement.
70
+ class ExecuteSqlResponse
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+
75
+ # SqlResult represents the result for the execution of a sql statement.
76
+ # @!attribute [rw] columns
77
+ # @return [::Array<::Google::Cloud::OracleDatabase::V1::SqlResult::Column>]
78
+ # List of columns included in the result, including data type.
79
+ # @!attribute [rw] rows
80
+ # @return [::Array<::Google::Cloud::OracleDatabase::V1::SqlResult::Row>]
81
+ # Rows returned by the SQL statement.
82
+ class SqlResult
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+
86
+ # Contains the name and datatype of a column in a SQL Result.
87
+ # @!attribute [rw] name
88
+ # @return [::String]
89
+ # Required. Name of the column.
90
+ # @!attribute [rw] type
91
+ # @return [::String]
92
+ # Required. Database-specific type name (e.g., "VARCHAR2(255)", "NUMBER",
93
+ # "DATE", "CLOB")
94
+ class Column
95
+ include ::Google::Protobuf::MessageExts
96
+ extend ::Google::Protobuf::MessageExts::ClassMethods
97
+ end
98
+
99
+ # A single row from a sql result.
100
+ # @!attribute [rw] values
101
+ # @return [::Array<::Google::Cloud::OracleDatabase::V1::SqlResult::Value>]
102
+ # List of values in a row of sql result.
103
+ class Row
104
+ include ::Google::Protobuf::MessageExts
105
+ extend ::Google::Protobuf::MessageExts::ClassMethods
106
+ end
107
+
108
+ # A single value in a row from a sql result.
109
+ # @!attribute [rw] value
110
+ # @return [::String]
111
+ # The cell value represented in string format.
112
+ # Timestamps should be converted using RFC3339Nano format.
113
+ # @!attribute [rw] null_value
114
+ # @return [::Boolean]
115
+ # Set to true if the cell value is NULL.
116
+ class Value
117
+ include ::Google::Protobuf::MessageExts
118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
119
+ end
120
+ end
121
+
122
+ # Any additional metadata information regarding the execution of the SQL
123
+ # @!attribute [rw] message
124
+ # @return [::String]
125
+ # Message related to SQL execution. This field can be used to convey size
126
+ # limit related message.
127
+ # @!attribute [rw] partial_result
128
+ # @return [::Boolean]
129
+ # Set to true if SQL returned a result set larger than the acceptable
130
+ # response size limits and the result was truncated.
131
+ # @!attribute [rw] execution_duration
132
+ # @return [::Google::Protobuf::Duration]
133
+ # The time duration taken to execute the sql statement.
134
+ # @!attribute [r] status
135
+ # @return [::Google::Cloud::OracleDatabase::V1::ExecuteSqlMetadata::Status]
136
+ # Output only. Status of SQL execution.
137
+ class ExecuteSqlMetadata
138
+ include ::Google::Protobuf::MessageExts
139
+ extend ::Google::Protobuf::MessageExts::ClassMethods
140
+
141
+ # Status contains all valid statuses a SQL execution can end up in.
142
+ module Status
143
+ # Default value. Not returned by the service.
144
+ STATUS_UNSPECIFIED = 0
145
+
146
+ # No error during SQL execution i.e. All SQL statements ran to completion.
147
+ # The "message" will be empty.
148
+ OK = 1
149
+
150
+ # Same as OK, except indicates that only partial results were
151
+ # returned. The "message" field will contain details on why results were
152
+ # truncated. `partial_result` is true if and only if `status` is `PARTIAL`.
153
+ PARTIAL = 2
154
+
155
+ # The database returned an error while executing the SQL statement.
156
+ # `message` contains the error text returned by Oracle. `sql_results` is
157
+ # empty. The statement runs in autocommit mode; which changes are committed
158
+ # or rolled back follows Oracle Database behavior. Authentication failures,
159
+ # database availability errors, network errors, and timeouts are returned
160
+ # as API errors (AIP-193), not as ERROR.
161
+ ERROR = 3
162
+ end
163
+ end
164
+ end
165
+ end
166
+ end
167
+ end
@@ -0,0 +1,135 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 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 Flex Component resource.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Identifier. Specifies the name of the Flex Component resource with the
28
+ # format:
29
+ # projects/\\{project}/locations/\\{region}/flexComponents/\\{flex_component}
30
+ # @!attribute [r] properties
31
+ # @return [::Google::Cloud::OracleDatabase::V1::FlexComponentProperties]
32
+ # Output only. The properties of the Flex Component.
33
+ class FlexComponent
34
+ include ::Google::Protobuf::MessageExts
35
+ extend ::Google::Protobuf::MessageExts::ClassMethods
36
+ end
37
+
38
+ # The properties of the Flex Component.
39
+ # @!attribute [r] name
40
+ # @return [::String]
41
+ # Output only. The name of the Flex Component used for the DB system.
42
+ # @!attribute [r] hardware_type
43
+ # @return [::Google::Cloud::OracleDatabase::V1::FlexComponentProperties::HardwareType]
44
+ # Output only. The hardware type of the DB (Compute) or Storage (Cell) Server
45
+ # for this Flex Component.
46
+ # @!attribute [r] shape
47
+ # @return [::String]
48
+ # Output only. The name of the DB system shape for this Flex Component.
49
+ # @!attribute [r] available_core_count
50
+ # @return [::Integer]
51
+ # Output only. The maximum number of CPU cores that can be enabled on the DB
52
+ # system for this shape.
53
+ # @!attribute [r] available_memory_gb
54
+ # @return [::Integer]
55
+ # Output only. The maximum memory size that can be enabled on the DB Server
56
+ # for this Flex Component.
57
+ # @!attribute [r] available_local_storage_gb
58
+ # @return [::Integer]
59
+ # Output only. The maximum local storage that can be enabled on the DB Server
60
+ # for this Flex Component.
61
+ # @!attribute [r] available_db_node_storage_per_node_gb
62
+ # @return [::Integer]
63
+ # Output only. The maximum storage that can be enabled on the Storage Server
64
+ # for this Flex Component.
65
+ # @!attribute [r] minimum_core_count
66
+ # @return [::Integer]
67
+ # Output only. The minimum number of CPU cores that can be enabled on the DB
68
+ # Server for this Flex Component.
69
+ # @!attribute [r] runtime_minimum_core_count
70
+ # @return [::Integer]
71
+ # Output only. The runtime minimum number of CPU cores that can be enabled
72
+ # for this Flex Component.
73
+ # @!attribute [r] description_summary
74
+ # @return [::String]
75
+ # Output only. The description summary for this Flex Component.
76
+ # @!attribute [r] compute_model
77
+ # @return [::Google::Cloud::OracleDatabase::V1::ComputeModel]
78
+ # Output only. The compute model of the DB Server for this Flex Component.
79
+ class FlexComponentProperties
80
+ include ::Google::Protobuf::MessageExts
81
+ extend ::Google::Protobuf::MessageExts::ClassMethods
82
+
83
+ # HardwareType enum
84
+ module HardwareType
85
+ # Unspecified default
86
+ HARDWARE_TYPE_UNSPECIFIED = 0
87
+
88
+ # COMPUTE
89
+ COMPUTE = 1
90
+
91
+ # CELL
92
+ CELL = 2
93
+ end
94
+ end
95
+
96
+ # Message for listing FlexComponents.
97
+ # @!attribute [rw] parent
98
+ # @return [::String]
99
+ # Required. Parent value for ListFlexComponentsRequest
100
+ # Format: projects/\\{project}/locations/\\{location}
101
+ # @!attribute [rw] page_size
102
+ # @return [::Integer]
103
+ # Optional. Requested page size. Server may return fewer items than
104
+ # requested. If unspecified, server will pick an appropriate default.
105
+ # @!attribute [rw] page_token
106
+ # @return [::String]
107
+ # Optional. A token identifying a page of results the server should return.
108
+ # @!attribute [rw] filter
109
+ # @return [::String]
110
+ # Optional. An expression for filtering the results of the request. Only the
111
+ # `shape` field is supported in the following format: `shape="{shape}"`.
112
+ class ListFlexComponentsRequest
113
+ include ::Google::Protobuf::MessageExts
114
+ extend ::Google::Protobuf::MessageExts::ClassMethods
115
+ end
116
+
117
+ # Message for response to listing FlexComponents
118
+ # @!attribute [rw] flex_components
119
+ # @return [::Array<::Google::Cloud::OracleDatabase::V1::FlexComponent>]
120
+ # The list of FlexComponent
121
+ # @!attribute [rw] next_page_token
122
+ # @return [::String]
123
+ # A token, which can be sent as `page_token` to retrieve the next page.
124
+ # If this field is omitted, there are no subsequent pages.
125
+ # @!attribute [rw] unreachable
126
+ # @return [::Array<::String>]
127
+ # Unordered list. Locations that could not be reached.
128
+ class ListFlexComponentsResponse
129
+ include ::Google::Protobuf::MessageExts
130
+ extend ::Google::Protobuf::MessageExts::ClassMethods
131
+ end
132
+ end
133
+ end
134
+ end
135
+ end
@@ -29,25 +29,25 @@ module Google
29
29
  # projects/\\{project}/locations/\\{region}/goldengateConnections/\\{goldengate_connection}
30
30
  # @!attribute [rw] properties
31
31
  # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionProperties]
32
- # Required. The properties of the GoldengateConnection.
32
+ # Required. Immutable. The properties of the GoldengateConnection.
33
33
  # @!attribute [rw] gcp_oracle_zone
34
34
  # @return [::String]
35
- # Optional. The GCP Oracle zone where Oracle GoldengateConnection is hosted.
36
- # Example: us-east4-b-r2.
37
- # If not specified, the system will pick a zone based on availability.
35
+ # Optional. Immutable. The GCP Oracle zone where Oracle GoldengateConnection
36
+ # is hosted. Example: us-east4-b-r2. If not specified, the system will pick a
37
+ # zone based on availability.
38
38
  # @!attribute [rw] labels
39
39
  # @return [::Google::Protobuf::Map{::String => ::String}]
40
40
  # Optional. The labels or tags associated with the GoldengateConnection.
41
41
  # @!attribute [rw] odb_network
42
42
  # @return [::String]
43
- # Optional. The name of the OdbNetwork associated with the
43
+ # Optional. Immutable. The name of the OdbNetwork associated with the
44
44
  # GoldengateConnection. The format is
45
45
  # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network}.
46
46
  # It is optional but if specified, this should match the parent ODBNetwork
47
47
  # of the OdbSubnet.
48
48
  # @!attribute [rw] odb_subnet
49
49
  # @return [::String]
50
- # Optional. The name of the OdbSubnet associated with the
50
+ # Optional. Immutable. The name of the OdbSubnet associated with the
51
51
  # GoldengateConnection for IP allocation. Format:
52
52
  # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network}/odbSubnets/\\{odb_subnet}
53
53
  # @!attribute [r] entitlement_id
@@ -2128,6 +2128,37 @@ module Google
2128
2128
  extend ::Google::Protobuf::MessageExts::ClassMethods
2129
2129
  end
2130
2130
 
2131
+ # The request for `GoldengateConnection.Update`.
2132
+ # @!attribute [rw] update_mask
2133
+ # @return [::Google::Protobuf::FieldMask]
2134
+ # Optional. A mask specifying which fields in the GoldengateConnection should
2135
+ # be updated. A field specified in the mask is updated. If a mask isn't
2136
+ # provided, the service treats this as an implied field mask equivalent to
2137
+ # all fields that are populated (have a non-empty value). To clear or unset a
2138
+ # field, the field must be explicitly specified in the `update_mask`.
2139
+ # @!attribute [rw] goldengate_connection
2140
+ # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnection]
2141
+ # Required. The resource being updated. Note only labels can be updated.
2142
+ # The provided labels will completely replace the existing labels.
2143
+ # Any existing label keys that are not included in the update request will be
2144
+ # deleted. Not providing labels and update_mask will not update the labels.
2145
+ # To clear all labels, specify `labels` in the `update_mask` and omit or
2146
+ # leave the `labels` field empty in the update request.
2147
+ # @!attribute [rw] request_id
2148
+ # @return [::String]
2149
+ # Optional. An optional ID to identify the request. This value is used to
2150
+ # identify duplicate requests. If you make a request with the same request ID
2151
+ # and the original request is still in progress or completed, the server
2152
+ # ignores the second request. This prevents clients from
2153
+ # accidentally creating duplicate commitments.
2154
+ #
2155
+ # The request ID must be a valid UUID with the exception that zero UUID is
2156
+ # not supported (00000000-0000-0000-0000-000000000000).
2157
+ class UpdateGoldengateConnectionRequest
2158
+ include ::Google::Protobuf::MessageExts
2159
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2160
+ end
2161
+
2131
2162
  # The request for `GoldengateConnection.Delete`.
2132
2163
  # @!attribute [rw] name
2133
2164
  # @return [::String]
@@ -29,7 +29,7 @@ module Google
29
29
  # projects/\\{project}/locations/\\{region}/goldengateConnectionAssignments/\\{goldengate_connection_assignment}
30
30
  # @!attribute [rw] properties
31
31
  # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignmentProperties]
32
- # Required. The properties of the GoldengateConnectionAssignment.
32
+ # Required. Immutable. The properties of the GoldengateConnectionAssignment.
33
33
  # @!attribute [r] create_time
34
34
  # @return [::Google::Protobuf::Timestamp]
35
35
  # Output only. The time when the connection assignment was created.
@@ -39,7 +39,8 @@ module Google
39
39
  # GoldengateConnectionAssignment.
40
40
  # @!attribute [rw] display_name
41
41
  # @return [::String]
42
- # Optional. The display name for the GoldengateConnectionAssignment.
42
+ # Optional. Immutable. The display name for the
43
+ # GoldengateConnectionAssignment.
43
44
  # @!attribute [r] entitlement_id
44
45
  # @return [::String]
45
46
  # Output only. The OCID of the entitlement linked to this resource.
@@ -269,6 +270,38 @@ module Google
269
270
  end
270
271
  end
271
272
 
273
+ # Request message for updating a GoldengateConnectionAssignment.
274
+ # @!attribute [rw] update_mask
275
+ # @return [::Google::Protobuf::FieldMask]
276
+ # Optional. A mask specifying which fields in the
277
+ # GoldengateConnectionAssignment should be updated. A field specified in the
278
+ # mask is updated. If a mask isn't provided, the service treats this as an
279
+ # implied field mask equivalent to all fields that are populated (have a
280
+ # non-empty value). To clear or unset a field, the field must be explicitly
281
+ # specified in the `update_mask`.
282
+ # @!attribute [rw] goldengate_connection_assignment
283
+ # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment]
284
+ # Required. The resource being updated. Note only labels can be updated.
285
+ # The provided labels will completely replace the existing labels.
286
+ # Any existing label keys that are not included in the update request will be
287
+ # deleted. Not providing labels and update_mask will not update the labels.
288
+ # To clear all labels, specify `labels` in the `update_mask` and omit or
289
+ # leave the `labels` field empty in the update request.
290
+ # @!attribute [rw] request_id
291
+ # @return [::String]
292
+ # Optional. An optional ID to identify the request. This value is used to
293
+ # identify duplicate requests. If you make a request with the same request ID
294
+ # and the original request is still in progress or completed, the server
295
+ # ignores the second request. This prevents clients from
296
+ # accidentally creating duplicate commitments.
297
+ #
298
+ # The request ID must be a valid UUID with the exception that zero UUID is
299
+ # not supported (00000000-0000-0000-0000-000000000000).
300
+ class UpdateGoldengateConnectionAssignmentRequest
301
+ include ::Google::Protobuf::MessageExts
302
+ extend ::Google::Protobuf::MessageExts::ClassMethods
303
+ end
304
+
272
305
  # Request message for deleting a GoldengateConnectionAssignment.
273
306
  # @!attribute [rw] name
274
307
  # @return [::String]
@@ -29,22 +29,22 @@ module Google
29
29
  # projects/\\{project}/locations/\\{region}/goldengateDeployments/\\{goldengate_deployment}
30
30
  # @!attribute [rw] properties
31
31
  # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentProperties]
32
- # Required. The properties of the GoldengateDeployment.
32
+ # Required. Immutable. The properties of the GoldengateDeployment.
33
33
  # @!attribute [rw] gcp_oracle_zone
34
34
  # @return [::String]
35
- # Optional. The GCP Oracle zone where Oracle GoldengateDeployment is hosted.
36
- # Example: us-east4-b-r2.
37
- # If not specified, the system will pick a zone based on availability.
35
+ # Optional. Immutable. The GCP Oracle zone where Oracle GoldengateDeployment
36
+ # is hosted. Example: us-east4-b-r2. If not specified, the system will pick a
37
+ # zone based on availability.
38
38
  # @!attribute [rw] labels
39
39
  # @return [::Google::Protobuf::Map{::String => ::String}]
40
40
  # Optional. The labels or tags associated with the GoldengateDeployment.
41
41
  # @!attribute [rw] odb_network
42
42
  # @return [::String]
43
- # Optional. The name of the OdbNetwork associated with the
43
+ # Optional. Immutable. The name of the OdbNetwork associated with the
44
44
  # GoldengateDeployment.
45
45
  # @!attribute [rw] odb_subnet
46
46
  # @return [::String]
47
- # Required. The name of the OdbSubnet associated with the
47
+ # Required. Immutable. The name of the OdbSubnet associated with the
48
48
  # GoldengateDeployment for IP allocation.
49
49
  # @!attribute [r] entitlement_id
50
50
  # @return [::String]
@@ -52,7 +52,7 @@ module Google
52
52
  # GoldengateDeployment
53
53
  # @!attribute [rw] display_name
54
54
  # @return [::String]
55
- # Required. The display name for the GoldengateDeployment.
55
+ # Required. Immutable. The display name for the GoldengateDeployment.
56
56
  # @!attribute [r] create_time
57
57
  # @return [::Google::Protobuf::Timestamp]
58
58
  # Output only. The date and time that the GoldengateDeployment was created.
@@ -335,7 +335,8 @@ module Google
335
335
  # The Ogg data of the GoldengateDeployment.
336
336
  # @!attribute [rw] admin_password
337
337
  # @return [::String]
338
- # Optional. The Goldengate deployment console password in plain text.
338
+ # Optional. Input only. The Goldengate deployment console password in plain
339
+ # text.
339
340
  #
340
341
  # Note: The following fields are mutually exclusive: `admin_password`, `admin_password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared.
341
342
  # @!attribute [rw] admin_password_secret_version
@@ -617,6 +618,37 @@ module Google
617
618
  extend ::Google::Protobuf::MessageExts::ClassMethods
618
619
  end
619
620
 
621
+ # The request for `GoldengateDeployment.Update`.
622
+ # @!attribute [rw] update_mask
623
+ # @return [::Google::Protobuf::FieldMask]
624
+ # Optional. A mask specifying which fields in the GoldengateDeployment should
625
+ # be updated. A field specified in the mask is updated. If a mask isn't
626
+ # provided, the service treats this as an implied field mask equivalent to
627
+ # all fields that are populated (have a non-empty value). To clear or unset
628
+ # a field, the field must be explicitly specified in the `update_mask`.
629
+ # @!attribute [rw] goldengate_deployment
630
+ # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeployment]
631
+ # Required. The resource being updated. Note only labels can be updated.
632
+ # The provided labels will completely replace the existing labels.
633
+ # Any existing label keys that are not included in the update request will be
634
+ # deleted. Not providing labels and update_mask will not update the labels.
635
+ # To clear all labels, specify `labels` in the `update_mask` and omit or
636
+ # leave the `labels` field empty in the update request.
637
+ # @!attribute [rw] request_id
638
+ # @return [::String]
639
+ # Optional. An optional ID to identify the request. This value is used to
640
+ # identify duplicate requests. If you make a request with the same request ID
641
+ # and the original request is still in progress or completed, the server
642
+ # ignores the second request. This prevents clients from
643
+ # accidentally creating duplicate commitments.
644
+ #
645
+ # The request ID must be a valid UUID with the exception that zero UUID is
646
+ # not supported (00000000-0000-0000-0000-000000000000).
647
+ class UpdateGoldengateDeploymentRequest
648
+ include ::Google::Protobuf::MessageExts
649
+ extend ::Google::Protobuf::MessageExts::ClassMethods
650
+ end
651
+
620
652
  # The request for `GoldengateDeployment.Delete`.
621
653
  # @!attribute [rw] name
622
654
  # @return [::String]
@@ -28,7 +28,7 @@ module Google
28
28
  # projects/\\{project}/locations/\\{region}/odbNetworks/\\{odb_network}
29
29
  # @!attribute [rw] network
30
30
  # @return [::String]
31
- # Required. The name of the VPC network in the following format:
31
+ # Required. Immutable. The name of the VPC network in the following format:
32
32
  # projects/\\{project}/global/networks/\\{network}
33
33
  # @!attribute [rw] labels
34
34
  # @return [::Google::Protobuf::Map{::String => ::String}]
@@ -45,9 +45,23 @@ module Google
45
45
  # OdbNetwork.
46
46
  # @!attribute [rw] gcp_oracle_zone
47
47
  # @return [::String]
48
- # Optional. The GCP Oracle zone where OdbNetwork is hosted.
48
+ # Optional. Immutable. The GCP Oracle zone where OdbNetwork is hosted.
49
49
  # Example: us-east4-b-r2.
50
50
  # If not specified, the system will pick a zone based on availability.
51
+ # @!attribute [rw] service_connectivity_config
52
+ # @return [::Google::Cloud::OracleDatabase::V1::ServiceConnectivityConfig]
53
+ # Optional. Configuration to enable the service (Oracledatabase@Google Cloud)
54
+ # to establish connectivity to the database.
55
+ #
56
+ # This should be specified if you intend to associate this OdbNetwork with a
57
+ # DatabaseConnection resource to `ExecuteSQL` on the database, or to create a
58
+ # ServiceIntegration with the Database.
59
+ #
60
+ # Please don't specify it otherwise to avoid complicating the network setup.
61
+ # @!attribute [r] reconciling
62
+ # @return [::Boolean]
63
+ # Output only. Indicates whether the OdbNetwork is currently reconciling
64
+ # changes.
51
65
  class OdbNetwork
52
66
  include ::Google::Protobuf::MessageExts
53
67
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -129,6 +143,38 @@ module Google
129
143
  extend ::Google::Protobuf::MessageExts::ClassMethods
130
144
  end
131
145
 
146
+ # The request for `OdbNetwork.Update`.
147
+ # @!attribute [rw] update_mask
148
+ # @return [::Google::Protobuf::FieldMask]
149
+ # Optional. A mask specifying which fields in the OdbNetwork should be
150
+ # updated. A field specified in the mask is updated. If a mask isn't
151
+ # provided, the service treats this as an implied field mask equivalent to
152
+ # all fields that are populated (have a non-empty value). To clear or unset a
153
+ # field, the field must be explicitly specified in the `update_mask`.
154
+ # @!attribute [rw] odb_network
155
+ # @return [::Google::Cloud::OracleDatabase::V1::OdbNetwork]
156
+ # Required. The resource being updated. Note only `labels` and
157
+ # `service_connectivity_config` can be updated.
158
+ # The provided labels will completely replace the existing labels.
159
+ # Any existing label keys that are not included in the update request will be
160
+ # deleted. Not providing labels and update_mask will not update the labels.
161
+ # To clear all labels, specify `labels` in the `update_mask` and omit or
162
+ # leave the `labels` field empty in the update request.
163
+ # @!attribute [rw] request_id
164
+ # @return [::String]
165
+ # Optional. An optional ID to identify the request. This value is used to
166
+ # identify duplicate requests. If you make a request with the same request ID
167
+ # and the original request is still in progress or completed, the server
168
+ # ignores the second request. This prevents clients from
169
+ # accidentally creating duplicate commitments.
170
+ #
171
+ # The request ID must be a valid UUID with the exception that zero UUID is
172
+ # not supported (00000000-0000-0000-0000-000000000000).
173
+ class UpdateOdbNetworkRequest
174
+ include ::Google::Protobuf::MessageExts
175
+ extend ::Google::Protobuf::MessageExts::ClassMethods
176
+ end
177
+
132
178
  # The request for `OdbNetwork.List`.
133
179
  # @!attribute [rw] parent
134
180
  # @return [::String]
@@ -178,6 +224,37 @@ module Google
178
224
  include ::Google::Protobuf::MessageExts
179
225
  extend ::Google::Protobuf::MessageExts::ClassMethods
180
226
  end
227
+
228
+ # Configuration for a Private Service Connect (PSC) interface used by
229
+ # Oracledatabase@Google Cloud to establish private connectivity to the
230
+ # database.
231
+ # @!attribute [rw] network_attachment
232
+ # @return [::String]
233
+ # Optional. The resource name of the Network Attachment that
234
+ # Oracledatabase@Google Cloud will use to establish private connectivity to
235
+ # the database via a Private Service Connect Interface (PSC-I).
236
+ # Format:
237
+ # projects/\\{project}/regions/\\{region}/networkAttachments/\\{network_attachment}
238
+ class PscInterfaceConfig
239
+ include ::Google::Protobuf::MessageExts
240
+ extend ::Google::Protobuf::MessageExts::ClassMethods
241
+ end
242
+
243
+ # Configuration to enable the service (Oracledatabase@Google Cloud) to
244
+ # establish connectivity to the database.
245
+ #
246
+ # This should be specified if you intend to associate this OdbNetwork with a
247
+ # DatabaseConnection resource to `ExecuteSQL` on the database, or to create a
248
+ # ServiceIntegration with the Database.
249
+ #
250
+ # Please don't specify it otherwise to avoid complicating the network setup.
251
+ # @!attribute [rw] psc_interface_config
252
+ # @return [::Google::Cloud::OracleDatabase::V1::PscInterfaceConfig]
253
+ # Optional. Configuration for Private Service Connect (PSC) interface.
254
+ class ServiceConnectivityConfig
255
+ include ::Google::Protobuf::MessageExts
256
+ extend ::Google::Protobuf::MessageExts::ClassMethods
257
+ end
181
258
  end
182
259
  end
183
260
  end