diff --git a/google-cloud-oracle_database-v1/.owlbot-manifest.json b/google-cloud-oracle_database-v1/.owlbot-manifest.json index 00d992c873db..1a5e135a4546 100644 --- a/google-cloud-oracle_database-v1/.owlbot-manifest.json +++ b/google-cloud-oracle_database-v1/.owlbot-manifest.json @@ -45,6 +45,13 @@ "lib/google/cloud/oracledatabase/v1/exadb_vm_cluster_pb.rb", "lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.rb", "lib/google/cloud/oracledatabase/v1/gi_version_pb.rb", + "lib/google/cloud/oracledatabase/v1/goldengate_connection_assignment_pb.rb", + "lib/google/cloud/oracledatabase/v1/goldengate_connection_pb.rb", + "lib/google/cloud/oracledatabase/v1/goldengate_connection_type_pb.rb", + "lib/google/cloud/oracledatabase/v1/goldengate_deployment_environment_pb.rb", + "lib/google/cloud/oracledatabase/v1/goldengate_deployment_pb.rb", + "lib/google/cloud/oracledatabase/v1/goldengate_deployment_type_pb.rb", + "lib/google/cloud/oracledatabase/v1/goldengate_deployment_version_pb.rb", "lib/google/cloud/oracledatabase/v1/location_metadata_pb.rb", "lib/google/cloud/oracledatabase/v1/minor_version_pb.rb", "lib/google/cloud/oracledatabase/v1/odb_network_pb.rb", @@ -77,6 +84,13 @@ "proto_docs/google/cloud/oracledatabase/v1/exadb_vm_cluster.rb", "proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb", "proto_docs/google/cloud/oracledatabase/v1/gi_version.rb", + "proto_docs/google/cloud/oracledatabase/v1/goldengate_connection.rb", + "proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_assignment.rb", + "proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_type.rb", + "proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment.rb", + "proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_environment.rb", + "proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_type.rb", + "proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_version.rb", "proto_docs/google/cloud/oracledatabase/v1/location_metadata.rb", "proto_docs/google/cloud/oracledatabase/v1/minor_version.rb", "proto_docs/google/cloud/oracledatabase/v1/odb_network.rb", @@ -102,6 +116,9 @@ "snippets/oracle_database/create_db_system.rb", "snippets/oracle_database/create_exadb_vm_cluster.rb", "snippets/oracle_database/create_exascale_db_storage_vault.rb", + "snippets/oracle_database/create_goldengate_connection.rb", + "snippets/oracle_database/create_goldengate_connection_assignment.rb", + "snippets/oracle_database/create_goldengate_deployment.rb", "snippets/oracle_database/create_odb_network.rb", "snippets/oracle_database/create_odb_subnet.rb", "snippets/oracle_database/delete_autonomous_database.rb", @@ -110,6 +127,9 @@ "snippets/oracle_database/delete_db_system.rb", "snippets/oracle_database/delete_exadb_vm_cluster.rb", "snippets/oracle_database/delete_exascale_db_storage_vault.rb", + "snippets/oracle_database/delete_goldengate_connection.rb", + "snippets/oracle_database/delete_goldengate_connection_assignment.rb", + "snippets/oracle_database/delete_goldengate_deployment.rb", "snippets/oracle_database/delete_odb_network.rb", "snippets/oracle_database/delete_odb_subnet.rb", "snippets/oracle_database/failover_autonomous_database.rb", @@ -121,6 +141,13 @@ "snippets/oracle_database/get_db_system.rb", "snippets/oracle_database/get_exadb_vm_cluster.rb", "snippets/oracle_database/get_exascale_db_storage_vault.rb", + "snippets/oracle_database/get_goldengate_connection.rb", + "snippets/oracle_database/get_goldengate_connection_assignment.rb", + "snippets/oracle_database/get_goldengate_connection_type.rb", + "snippets/oracle_database/get_goldengate_deployment.rb", + "snippets/oracle_database/get_goldengate_deployment_environment.rb", + "snippets/oracle_database/get_goldengate_deployment_type.rb", + "snippets/oracle_database/get_goldengate_deployment_version.rb", "snippets/oracle_database/get_odb_network.rb", "snippets/oracle_database/get_odb_subnet.rb", "snippets/oracle_database/get_pluggable_database.rb", @@ -142,6 +169,13 @@ "snippets/oracle_database/list_exadb_vm_clusters.rb", "snippets/oracle_database/list_exascale_db_storage_vaults.rb", "snippets/oracle_database/list_gi_versions.rb", + "snippets/oracle_database/list_goldengate_connection_assignments.rb", + "snippets/oracle_database/list_goldengate_connection_types.rb", + "snippets/oracle_database/list_goldengate_connections.rb", + "snippets/oracle_database/list_goldengate_deployment_environments.rb", + "snippets/oracle_database/list_goldengate_deployment_types.rb", + "snippets/oracle_database/list_goldengate_deployment_versions.rb", + "snippets/oracle_database/list_goldengate_deployments.rb", "snippets/oracle_database/list_minor_versions.rb", "snippets/oracle_database/list_odb_networks.rb", "snippets/oracle_database/list_odb_subnets.rb", @@ -150,8 +184,11 @@ "snippets/oracle_database/restart_autonomous_database.rb", "snippets/oracle_database/restore_autonomous_database.rb", "snippets/oracle_database/start_autonomous_database.rb", + "snippets/oracle_database/start_goldengate_deployment.rb", "snippets/oracle_database/stop_autonomous_database.rb", + "snippets/oracle_database/stop_goldengate_deployment.rb", "snippets/oracle_database/switchover_autonomous_database.rb", + "snippets/oracle_database/test_goldengate_connection_assignment.rb", "snippets/oracle_database/update_autonomous_database.rb", "snippets/oracle_database/update_exadb_vm_cluster.rb", "snippets/snippet_metadata_google.cloud.oracledatabase.v1.json", diff --git a/google-cloud-oracle_database-v1/gapic_metadata.json b/google-cloud-oracle_database-v1/gapic_metadata.json index 8a8da4f16bbf..9e05cdb0dd0e 100644 --- a/google-cloud-oracle_database-v1/gapic_metadata.json +++ b/google-cloud-oracle_database-v1/gapic_metadata.json @@ -290,6 +290,96 @@ "delete_db_system" ] }, + "ListGoldengateDeployments": { + "methods": [ + "list_goldengate_deployments" + ] + }, + "GetGoldengateDeployment": { + "methods": [ + "get_goldengate_deployment" + ] + }, + "CreateGoldengateDeployment": { + "methods": [ + "create_goldengate_deployment" + ] + }, + "DeleteGoldengateDeployment": { + "methods": [ + "delete_goldengate_deployment" + ] + }, + "StopGoldengateDeployment": { + "methods": [ + "stop_goldengate_deployment" + ] + }, + "StartGoldengateDeployment": { + "methods": [ + "start_goldengate_deployment" + ] + }, + "ListGoldengateConnections": { + "methods": [ + "list_goldengate_connections" + ] + }, + "GetGoldengateConnection": { + "methods": [ + "get_goldengate_connection" + ] + }, + "CreateGoldengateConnection": { + "methods": [ + "create_goldengate_connection" + ] + }, + "DeleteGoldengateConnection": { + "methods": [ + "delete_goldengate_connection" + ] + }, + "GetGoldengateDeploymentVersion": { + "methods": [ + "get_goldengate_deployment_version" + ] + }, + "ListGoldengateDeploymentVersions": { + "methods": [ + "list_goldengate_deployment_versions" + ] + }, + "GetGoldengateDeploymentType": { + "methods": [ + "get_goldengate_deployment_type" + ] + }, + "ListGoldengateDeploymentTypes": { + "methods": [ + "list_goldengate_deployment_types" + ] + }, + "GetGoldengateDeploymentEnvironment": { + "methods": [ + "get_goldengate_deployment_environment" + ] + }, + "ListGoldengateDeploymentEnvironments": { + "methods": [ + "list_goldengate_deployment_environments" + ] + }, + "GetGoldengateConnectionType": { + "methods": [ + "get_goldengate_connection_type" + ] + }, + "ListGoldengateConnectionTypes": { + "methods": [ + "list_goldengate_connection_types" + ] + }, "ListDbVersions": { "methods": [ "list_db_versions" @@ -299,6 +389,31 @@ "methods": [ "list_database_character_sets" ] + }, + "ListGoldengateConnectionAssignments": { + "methods": [ + "list_goldengate_connection_assignments" + ] + }, + "GetGoldengateConnectionAssignment": { + "methods": [ + "get_goldengate_connection_assignment" + ] + }, + "CreateGoldengateConnectionAssignment": { + "methods": [ + "create_goldengate_connection_assignment" + ] + }, + "DeleteGoldengateConnectionAssignment": { + "methods": [ + "delete_goldengate_connection_assignment" + ] + }, + "TestGoldengateConnectionAssignment": { + "methods": [ + "test_goldengate_connection_assignment" + ] } } } diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/client.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/client.rb index 999b7ae96ec6..5d2d858bef4d 100644 --- a/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/client.rb +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/client.rb @@ -223,6 +223,46 @@ def self.configure initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] } + default_config.rpcs.list_goldengate_deployments.timeout = 60.0 + default_config.rpcs.list_goldengate_deployments.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.get_goldengate_deployment.timeout = 60.0 + default_config.rpcs.get_goldengate_deployment.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.list_goldengate_connections.timeout = 60.0 + default_config.rpcs.list_goldengate_connections.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.get_goldengate_connection.timeout = 60.0 + default_config.rpcs.get_goldengate_connection.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.list_goldengate_deployment_versions.timeout = 60.0 + default_config.rpcs.list_goldengate_deployment_versions.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.list_goldengate_deployment_types.timeout = 60.0 + default_config.rpcs.list_goldengate_deployment_types.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.list_goldengate_deployment_environments.timeout = 60.0 + default_config.rpcs.list_goldengate_deployment_environments.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.list_goldengate_connection_types.timeout = 60.0 + default_config.rpcs.list_goldengate_connection_types.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + default_config.rpcs.list_db_versions.timeout = 60.0 default_config.rpcs.list_db_versions.retry_policy = { initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] @@ -233,6 +273,16 @@ def self.configure initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] } + default_config.rpcs.list_goldengate_connection_assignments.timeout = 60.0 + default_config.rpcs.list_goldengate_connection_assignments.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.get_goldengate_connection_assignment.timeout = 60.0 + default_config.rpcs.get_goldengate_connection_assignment.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + default_config end yield @configure if block_given? @@ -3116,7 +3166,8 @@ def restart_autonomous_database request, options = nil # Required. The name of the Autonomous Database in the following format: # projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}. # @param peer_autonomous_database [::String] - # Required. The peer database name to switch over to. + # Optional. The peer database name to switch over to. Required for + # cross-region standby, and must be omitted for in-region Data Guard. # # @yield [response, operation] Access the result along with the RPC operation # @yieldparam response [::Gapic::Operation] @@ -3214,7 +3265,8 @@ def switchover_autonomous_database request, options = nil # Required. The name of the Autonomous Database in the following format: # projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}. # @param peer_autonomous_database [::String] - # Required. The peer database name to fail over to. + # Optional. The peer database name to fail over to. Required for cross-region + # standby, and must be omitted for in-region Data Guard. # # @yield [response, operation] Access the result along with the RPC operation # @yieldparam response [::Gapic::Operation] @@ -6026,45 +6078,43 @@ def delete_db_system request, options = nil end ## - # List DbVersions for the given project and location. + # Lists all the GoldengateDeployments for the given project and location. # - # @overload list_db_versions(request, options = nil) - # Pass arguments to `list_db_versions` via a request object, either of type - # {::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest} or an equivalent Hash. + # @overload list_goldengate_deployments(request, options = nil) + # Pass arguments to `list_goldengate_deployments` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest} or an equivalent Hash. # - # @param request [::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest, ::Hash] + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest, ::Hash] # A request object representing the call parameters. Required. To specify no # parameters, or to keep all the default parameter values, pass an empty Hash. # @param options [::Gapic::CallOptions, ::Hash] # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. # - # @overload list_db_versions(parent: nil, page_size: nil, page_token: nil, filter: nil) - # Pass arguments to `list_db_versions` via keyword arguments. Note that at + # @overload list_goldengate_deployments(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) + # Pass arguments to `list_goldengate_deployments` via keyword arguments. Note that at # least one keyword argument is required. To specify no parameters, or to keep all # the default parameter values, pass an empty Hash as a request object (see above). # # @param parent [::String] - # Required. The parent value for the DbVersion resource with the - # format: projects/\\{project}/locations/\\{location} + # Required. The parent value for GoldengateDeployments in the following + # format: projects/\\{project}/locations/\\{location}. # @param page_size [::Integer] # Optional. The maximum number of items to return. - # If unspecified, a maximum of 50 DbVersions will be returned. - # The maximum value is 1000; values above 1000 will be reset to 1000. + # If unspecified, at most 50 GoldengateDeployments will be returned. + # The maximum value is 1000; values above 1000 will be coerced to 1000. # @param page_token [::String] - # Optional. A token identifying the requested page of results to return. All - # fields except the filter should remain the same as in the request that - # provided this page token. + # Optional. A page token, received from a previous ListGoldengateDeployments + # call. Provide this to retrieve the subsequent page. # @param filter [::String] - # Optional. Filter expression that matches a subset of the DbVersions to - # show. The supported filter for dbSystem creation is `db_system_shape = - # \\{db_system_shape} AND storage_management = \\{storage_management}`. If no - # filter is provided, all DbVersions will be returned. + # Optional. An expression for filtering the results of the request. + # @param order_by [::String] + # Optional. An expression for ordering the results of the request. # # @yield [response, operation] Access the result along with the RPC operation - # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DbVersion>] + # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeployment>] # @yieldparam operation [::GRPC::ActiveCall::Operation] # - # @return [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DbVersion>] + # @return [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeployment>] # # @raise [::Google::Cloud::Error] if the RPC is aborted. # @@ -6075,28 +6125,28 @@ def delete_db_system request, options = nil # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new # # # Create a request. To set request fields, pass in keyword arguments. - # request = Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest.new + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest.new # - # # Call the list_db_versions method. - # result = client.list_db_versions request + # # Call the list_goldengate_deployments method. + # result = client.list_goldengate_deployments request # # # The returned object is of type Gapic::PagedEnumerable. You can iterate # # over elements, and API calls will be issued to fetch pages as needed. # result.each do |item| - # # Each element is of type ::Google::Cloud::OracleDatabase::V1::DbVersion. + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateDeployment. # p item # end # - def list_db_versions request, options = nil + def list_goldengate_deployments request, options = nil raise ::ArgumentError, "request must be provided" if request.nil? - request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest # Converts hash and nil to an options object options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h # Customize the options with defaults - metadata = @config.rpcs.list_db_versions.metadata.to_h + metadata = @config.rpcs.list_goldengate_deployments.metadata.to_h # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ @@ -6113,16 +6163,16 @@ def list_db_versions request, options = nil request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") metadata[:"x-goog-request-params"] ||= request_params_header - options.apply_defaults timeout: @config.rpcs.list_db_versions.timeout, + options.apply_defaults timeout: @config.rpcs.list_goldengate_deployments.timeout, metadata: metadata, - retry_policy: @config.rpcs.list_db_versions.retry_policy + retry_policy: @config.rpcs.list_goldengate_deployments.retry_policy options.apply_defaults timeout: @config.timeout, metadata: @config.metadata, retry_policy: @config.retry_policy - @oracle_database_stub.call_rpc :list_db_versions, request, options: options do |response, operation| - response = ::Gapic::PagedEnumerable.new @oracle_database_stub, :list_db_versions, request, response, operation, options + @oracle_database_stub.call_rpc :list_goldengate_deployments, request, options: options do |response, operation| + response = ::Gapic::PagedEnumerable.new @oracle_database_stub, :list_goldengate_deployments, request, response, operation, options yield response, operation if block_given? throw :response, response end @@ -6131,50 +6181,32 @@ def list_db_versions request, options = nil end ## - # List DatabaseCharacterSets for the given project and location. + # Gets details of a single GoldengateDeployment. # - # @overload list_database_character_sets(request, options = nil) - # Pass arguments to `list_database_character_sets` via a request object, either of type - # {::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest} or an equivalent Hash. + # @overload get_goldengate_deployment(request, options = nil) + # Pass arguments to `get_goldengate_deployment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest} or an equivalent Hash. # - # @param request [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest, ::Hash] + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest, ::Hash] # A request object representing the call parameters. Required. To specify no # parameters, or to keep all the default parameter values, pass an empty Hash. # @param options [::Gapic::CallOptions, ::Hash] # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. # - # @overload list_database_character_sets(parent: nil, page_size: nil, page_token: nil, filter: nil) - # Pass arguments to `list_database_character_sets` via keyword arguments. Note that at + # @overload get_goldengate_deployment(name: nil) + # Pass arguments to `get_goldengate_deployment` via keyword arguments. Note that at # least one keyword argument is required. To specify no parameters, or to keep all # the default parameter values, pass an empty Hash as a request object (see above). # - # @param parent [::String] - # Required. The parent value for DatabaseCharacterSets in the following - # format: projects/\\{project}/locations/\\{location}. - # @param page_size [::Integer] - # Optional. The maximum number of DatabaseCharacterSets to return. The - # service may return fewer than this value. If unspecified, at most 50 - # DatabaseCharacterSets will be returned. The maximum value is 1000; values - # above 1000 will be coerced to 1000. - # @param page_token [::String] - # Optional. A page token, received from a previous - # `ListDatabaseCharacterSets` call. Provide this to retrieve the subsequent - # page. - # - # When paginating, all other parameters provided to - # `ListDatabaseCharacterSets` must match the call that provided the page - # token. - # @param filter [::String] - # Optional. An expression for filtering the results of the request. Only the - # **character_set_type** field is supported in the following format: - # `character_set_type="{characterSetType}"`. Accepted values include - # `DATABASE` and `NATIONAL`. + # @param name [::String] + # Required. The name of the GoldengateDeployment in the following format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment}. # # @yield [response, operation] Access the result along with the RPC operation - # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet>] + # @yieldparam response [::Google::Cloud::OracleDatabase::V1::GoldengateDeployment] # @yieldparam operation [::GRPC::ActiveCall::Operation] # - # @return [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet>] + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeployment] # # @raise [::Google::Cloud::Error] if the RPC is aborted. # @@ -6185,28 +6217,24 @@ def list_db_versions request, options = nil # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new # # # Create a request. To set request fields, pass in keyword arguments. - # request = Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest.new + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest.new # - # # Call the list_database_character_sets method. - # result = client.list_database_character_sets request + # # Call the get_goldengate_deployment method. + # result = client.get_goldengate_deployment request # - # # The returned object is of type Gapic::PagedEnumerable. You can iterate - # # over elements, and API calls will be issued to fetch pages as needed. - # result.each do |item| - # # Each element is of type ::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet. - # p item - # end + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeployment. + # p result # - def list_database_character_sets request, options = nil + def get_goldengate_deployment request, options = nil raise ::ArgumentError, "request must be provided" if request.nil? - request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest # Converts hash and nil to an options object options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h # Customize the options with defaults - metadata = @config.rpcs.list_database_character_sets.metadata.to_h + metadata = @config.rpcs.get_goldengate_deployment.metadata.to_h # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ @@ -6216,147 +6244,2444 @@ def list_database_character_sets request, options = nil metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id header_params = {} - if request.parent - header_params["parent"] = request.parent + if request.name + header_params["name"] = request.name end request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") metadata[:"x-goog-request-params"] ||= request_params_header - options.apply_defaults timeout: @config.rpcs.list_database_character_sets.timeout, + options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment.timeout, metadata: metadata, - retry_policy: @config.rpcs.list_database_character_sets.retry_policy + retry_policy: @config.rpcs.get_goldengate_deployment.retry_policy options.apply_defaults timeout: @config.timeout, metadata: @config.metadata, retry_policy: @config.retry_policy - @oracle_database_stub.call_rpc :list_database_character_sets, request, options: options do |response, operation| - response = ::Gapic::PagedEnumerable.new @oracle_database_stub, :list_database_character_sets, request, response, operation, options + @oracle_database_stub.call_rpc :get_goldengate_deployment, request, options: options do |response, operation| yield response, operation if block_given? - throw :response, response end rescue ::GRPC::BadStatus => e raise ::Google::Cloud::Error.from_error(e) end ## - # Configuration class for the OracleDatabase API. + # Creates a new GoldengateDeployment in a given project and location. # - # This class represents the configuration for OracleDatabase, - # providing control over timeouts, retry behavior, logging, transport - # parameters, and other low-level controls. Certain parameters can also be - # applied individually to specific RPCs. See - # {::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client::Configuration::Rpcs} - # for a list of RPCs that can be configured independently. + # @overload create_goldengate_deployment(request, options = nil) + # Pass arguments to `create_goldengate_deployment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest} or an equivalent Hash. # - # Configuration can be applied globally to all clients, or to a single client - # on construction. + # @param request [::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. # - # @example + # @overload create_goldengate_deployment(parent: nil, goldengate_deployment_id: nil, goldengate_deployment: nil, request_id: nil) + # Pass arguments to `create_goldengate_deployment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). # - # # Modify the global config, setting the timeout for - # # list_cloud_exadata_infrastructures to 20 seconds, - # # and all remaining timeouts to 10 seconds. - # ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.configure do |config| - # config.timeout = 10.0 - # config.rpcs.list_cloud_exadata_infrastructures.timeout = 20.0 - # end + # @param parent [::String] + # Required. The value for parent of the GoldengateDeployment in the following + # format: projects/\\{project}/locations/\\{location}. + # @param goldengate_deployment_id [::String] + # Required. The ID of the GoldengateDeployment to create. This value is + # restricted to (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$) and must be a maximum of + # 63 characters in length. The value must start with a letter and end with a + # letter or a number. + # @param goldengate_deployment [::Google::Cloud::OracleDatabase::V1::GoldengateDeployment, ::Hash] + # Required. The resource being created. + # @param request_id [::String] + # Optional. An optional request ID to identify requests. Specify a unique + # request ID so that if you must retry your request, the server will know to + # ignore the request if it has already been completed. The server will + # guarantee that for at least 60 minutes since the first request. # - # # Apply the above configuration only to a new client. - # client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| - # config.timeout = 10.0 - # config.rpcs.list_cloud_exadata_infrastructures.timeout = 20.0 - # end + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request + # ID, the server can check if original operation with the same request ID + # was received, and if so, will ignore the second request. This prevents + # clients from accidentally creating duplicate commitments. # - # @!attribute [rw] endpoint - # A custom service endpoint, as a hostname or hostname:port. The default is - # nil, indicating to use the default endpoint in the current universe domain. - # @return [::String,nil] - # @!attribute [rw] credentials - # Credentials to send with calls. You may provide any of the following types: - # * (`Google::Auth::Credentials`) A googleauth credentials object - # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials)) - # * (`Signet::OAuth2::Client`) A signet oauth2 client object - # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client)) - # * (`GRPC::Core::Channel`) a gRPC channel with included credentials - # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object - # * (`nil`) indicating no credentials + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). # - # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials - # is deprecated. Providing an unvalidated credential configuration to - # Google APIs can compromise the security of your systems and data. + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::Operation] + # @yieldparam operation [::GRPC::ActiveCall::Operation] # - # @example + # @return [::Gapic::Operation] # - # # The recommended way to provide credentials is to use the `make_creds` method - # # on the appropriate credentials class for your environment. + # @raise [::Google::Cloud::Error] if the RPC is aborted. # - # require "googleauth" + # @example Basic example + # require "google/cloud/oracle_database/v1" # - # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds( - # json_key_io: ::File.open("/path/to/keyfile.json") - # ) + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new # - # client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| - # config.credentials = credentials - # end + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest.new # - # @note Warning: If you accept a credential configuration (JSON file or Hash) from an - # external source for authentication to Google Cloud, you must validate it before - # providing it to a Google API client library. Providing an unvalidated credential - # configuration to Google APIs can compromise the security of your systems and data. - # For more information, refer to [Validate credential configurations from external - # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials). - # @return [::Object] - # @!attribute [rw] scope - # The OAuth scopes - # @return [::Array<::String>] - # @!attribute [rw] lib_name - # The library name as recorded in instrumentation and logging - # @return [::String] - # @!attribute [rw] lib_version - # The library version as recorded in instrumentation and logging - # @return [::String] - # @!attribute [rw] channel_args - # Extra parameters passed to the gRPC channel. Note: this is ignored if a - # `GRPC::Core::Channel` object is provided as the credential. - # @return [::Hash] - # @!attribute [rw] interceptors - # An array of interceptors that are run before calls are executed. - # @return [::Array<::GRPC::ClientInterceptor>] - # @!attribute [rw] timeout - # The call timeout in seconds. - # @return [::Numeric] - # @!attribute [rw] metadata - # Additional gRPC headers to be sent with the call. - # @return [::Hash{::Symbol=>::String}] - # @!attribute [rw] retry_policy - # The retry policy. The value is a hash with the following keys: - # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. - # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. - # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. - # * `:retry_codes` (*type:* `Array`) - The error codes that should - # trigger a retry. - # @return [::Hash] - # @!attribute [rw] quota_project - # A separate project against which to charge quota. - # @return [::String] - # @!attribute [rw] universe_domain - # The universe domain within which to make requests. This determines the - # default endpoint URL. The default value of nil uses the environment - # universe (usually the default "googleapis.com" universe). - # @return [::String,nil] - # @!attribute [rw] logger - # A custom logger to use for request/response debug logging, or the value - # `:default` (the default) to construct a default logger, or `nil` to - # explicitly disable logging. - # @return [::Logger,:default,nil] + # # Call the create_goldengate_deployment method. + # result = client.create_goldengate_deployment request # - class Configuration - extend ::Gapic::Config - - # @private + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def create_goldengate_deployment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.create_goldengate_deployment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.parent + header_params["parent"] = request.parent + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.create_goldengate_deployment.timeout, + metadata: metadata, + retry_policy: @config.rpcs.create_goldengate_deployment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :create_goldengate_deployment, request, options: options do |response, operation| + response = ::Gapic::Operation.new response, @operations_client, options: options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Deletes a single GoldengateDeployment. + # + # @overload delete_goldengate_deployment(request, options = nil) + # Pass arguments to `delete_goldengate_deployment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload delete_goldengate_deployment(name: nil, request_id: nil) + # Pass arguments to `delete_goldengate_deployment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateDeployment in the following format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment}. + # @param request_id [::String] + # Optional. An optional ID to identify the request. This value is used to + # identify duplicate requests. If you make a request with the same request ID + # and the original request is still in progress or completed, the server + # ignores the second request. This prevents clients from + # accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::Operation] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::Operation] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest.new + # + # # Call the delete_goldengate_deployment method. + # result = client.delete_goldengate_deployment request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def delete_goldengate_deployment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.delete_goldengate_deployment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.name + header_params["name"] = request.name + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.delete_goldengate_deployment.timeout, + metadata: metadata, + retry_policy: @config.rpcs.delete_goldengate_deployment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :delete_goldengate_deployment, request, options: options do |response, operation| + response = ::Gapic::Operation.new response, @operations_client, options: options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Stops a single GoldengateDeployment. + # + # @overload stop_goldengate_deployment(request, options = nil) + # Pass arguments to `stop_goldengate_deployment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload stop_goldengate_deployment(name: nil) + # Pass arguments to `stop_goldengate_deployment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the Goldengate Deployment in the following format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment}. + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::Operation] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::Operation] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest.new + # + # # Call the stop_goldengate_deployment method. + # result = client.stop_goldengate_deployment request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def stop_goldengate_deployment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.stop_goldengate_deployment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.name + header_params["name"] = request.name + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.stop_goldengate_deployment.timeout, + metadata: metadata, + retry_policy: @config.rpcs.stop_goldengate_deployment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :stop_goldengate_deployment, request, options: options do |response, operation| + response = ::Gapic::Operation.new response, @operations_client, options: options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Starts a single GoldengateDeployment. + # + # @overload start_goldengate_deployment(request, options = nil) + # Pass arguments to `start_goldengate_deployment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload start_goldengate_deployment(name: nil) + # Pass arguments to `start_goldengate_deployment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the Goldengate Deployment in the following format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment}. + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::Operation] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::Operation] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest.new + # + # # Call the start_goldengate_deployment method. + # result = client.start_goldengate_deployment request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def start_goldengate_deployment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.start_goldengate_deployment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.name + header_params["name"] = request.name + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.start_goldengate_deployment.timeout, + metadata: metadata, + retry_policy: @config.rpcs.start_goldengate_deployment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :start_goldengate_deployment, request, options: options do |response, operation| + response = ::Gapic::Operation.new response, @operations_client, options: options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Lists all the GoldengateConnections for the given project and location. + # + # @overload list_goldengate_connections(request, options = nil) + # Pass arguments to `list_goldengate_connections` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload list_goldengate_connections(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) + # Pass arguments to `list_goldengate_connections` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent value for GoldengateConnections in the following + # format: projects/\\{project}/locations/\\{location}. + # @param page_size [::Integer] + # Optional. The maximum number of items to return. + # If unspecified, at most 50 GoldengateConnections will be returned. + # The maximum value is 1000; values above 1000 will be coerced to 1000. + # @param page_token [::String] + # Optional. A page token, received from a previous ListGoldengateConnections + # call. Provide this to retrieve the subsequent page. + # @param filter [::String] + # Optional. An expression for filtering the results of the request. + # @param order_by [::String] + # Optional. An expression for ordering the results of the request. + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateConnection>] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateConnection>] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest.new + # + # # Call the list_goldengate_connections method. + # result = client.list_goldengate_connections request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateConnection. + # p item + # end + # + def list_goldengate_connections request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.list_goldengate_connections.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.parent + header_params["parent"] = request.parent + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.list_goldengate_connections.timeout, + metadata: metadata, + retry_policy: @config.rpcs.list_goldengate_connections.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :list_goldengate_connections, request, options: options do |response, operation| + response = ::Gapic::PagedEnumerable.new @oracle_database_stub, :list_goldengate_connections, request, response, operation, options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Gets details of a single GoldengateConnection. + # + # @overload get_goldengate_connection(request, options = nil) + # Pass arguments to `get_goldengate_connection` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload get_goldengate_connection(name: nil) + # Pass arguments to `get_goldengate_connection` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateConnection in the following format: + # projects/\\{project}/locations/\\{location}/goldengateConnections/\\{goldengate_connection}. + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Google::Cloud::OracleDatabase::V1::GoldengateConnection] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnection] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest.new + # + # # Call the get_goldengate_connection method. + # result = client.get_goldengate_connection request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateConnection. + # p result + # + def get_goldengate_connection request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.get_goldengate_connection.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.name + header_params["name"] = request.name + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.get_goldengate_connection.timeout, + metadata: metadata, + retry_policy: @config.rpcs.get_goldengate_connection.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :get_goldengate_connection, request, options: options do |response, operation| + yield response, operation if block_given? + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Creates a new GoldengateConnection in a given project and location. + # + # @overload create_goldengate_connection(request, options = nil) + # Pass arguments to `create_goldengate_connection` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload create_goldengate_connection(parent: nil, goldengate_connection_id: nil, goldengate_connection: nil, request_id: nil) + # Pass arguments to `create_goldengate_connection` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The value for parent of the GoldengateConnection in the following + # format: projects/\\{project}/locations/\\{location}. + # @param goldengate_connection_id [::String] + # Required. The ID of the GoldengateConnection to create. This value is + # restricted to (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$) and must be a maximum of + # 63 characters in length. The value must start with a letter and end with a + # letter or a number. + # @param goldengate_connection [::Google::Cloud::OracleDatabase::V1::GoldengateConnection, ::Hash] + # Required. The resource being created. + # @param request_id [::String] + # Optional. An optional request ID to identify requests. Specify a unique + # request ID so that if you must retry your request, the server will know to + # ignore the request if it has already been completed. The server will + # guarantee that for at least 60 minutes since the first request. + # + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request + # ID, the server can check if original operation with the same request ID + # was received, and if so, will ignore the second request. This prevents + # clients from accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::Operation] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::Operation] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest.new + # + # # Call the create_goldengate_connection method. + # result = client.create_goldengate_connection request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def create_goldengate_connection request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.create_goldengate_connection.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.parent + header_params["parent"] = request.parent + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.create_goldengate_connection.timeout, + metadata: metadata, + retry_policy: @config.rpcs.create_goldengate_connection.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :create_goldengate_connection, request, options: options do |response, operation| + response = ::Gapic::Operation.new response, @operations_client, options: options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Deletes a single GoldengateConnection. + # + # @overload delete_goldengate_connection(request, options = nil) + # Pass arguments to `delete_goldengate_connection` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload delete_goldengate_connection(name: nil, request_id: nil) + # Pass arguments to `delete_goldengate_connection` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateConnection in the following format: + # projects/\\{project}/locations/\\{location}/goldengateConnections/\\{goldengate_connection}. + # @param request_id [::String] + # Optional. An optional ID to identify the request. This value is used to + # identify duplicate requests. If you make a request with the same request ID + # and the original request is still in progress or completed, the server + # ignores the second request. This prevents clients from + # accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::Operation] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::Operation] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest.new + # + # # Call the delete_goldengate_connection method. + # result = client.delete_goldengate_connection request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def delete_goldengate_connection request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.delete_goldengate_connection.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.name + header_params["name"] = request.name + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.delete_goldengate_connection.timeout, + metadata: metadata, + retry_policy: @config.rpcs.delete_goldengate_connection.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :delete_goldengate_connection, request, options: options do |response, operation| + response = ::Gapic::Operation.new response, @operations_client, options: options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Gets details of a single GoldengateDeploymentVersion. + # + # @overload get_goldengate_deployment_version(request, options = nil) + # Pass arguments to `get_goldengate_deployment_version` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload get_goldengate_deployment_version(name: nil) + # Pass arguments to `get_goldengate_deployment_version` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateDeploymentVersion to retrieve. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateDeploymentVersions/\\{goldengate_deployment_version} + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest.new + # + # # Call the get_goldengate_deployment_version method. + # result = client.get_goldengate_deployment_version request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion. + # p result + # + def get_goldengate_deployment_version request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.get_goldengate_deployment_version.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.name + header_params["name"] = request.name + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment_version.timeout, + metadata: metadata, + retry_policy: @config.rpcs.get_goldengate_deployment_version.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :get_goldengate_deployment_version, request, options: options do |response, operation| + yield response, operation if block_given? + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Lists GoldengateDeploymentVersions in a given project and location. + # + # @overload list_goldengate_deployment_versions(request, options = nil) + # Pass arguments to `list_goldengate_deployment_versions` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload list_goldengate_deployment_versions(parent: nil, page_size: nil, page_token: nil, filter: nil) + # Pass arguments to `list_goldengate_deployment_versions` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. Parent value for ListGoldengateDeploymentVersionsRequest + # Format: projects/\\{project}/locations/\\{location} + # @param page_size [::Integer] + # Optional. Requested page size. Server may return fewer items than + # requested. If unspecified, server will pick an appropriate default. The + # maximum value is 1000; values above 1000 will be coerced to 1000. + # @param page_token [::String] + # Optional. A token identifying a page of results the server should return. + # @param filter [::String] + # Optional. An expression for filtering the results of the request. Either + # the deployment_id and deployment_type fields must be specified in the + # format: `deployment_id="id"` or `deployment_type="DATABASE_ORACLE"`. + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion>] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion>] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest.new + # + # # Call the list_goldengate_deployment_versions method. + # result = client.list_goldengate_deployment_versions request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion. + # p item + # end + # + def list_goldengate_deployment_versions request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.list_goldengate_deployment_versions.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.parent + header_params["parent"] = request.parent + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.list_goldengate_deployment_versions.timeout, + metadata: metadata, + retry_policy: @config.rpcs.list_goldengate_deployment_versions.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :list_goldengate_deployment_versions, request, options: options do |response, operation| + response = ::Gapic::PagedEnumerable.new @oracle_database_stub, :list_goldengate_deployment_versions, request, response, operation, options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Gets details of a single GoldenGateDeploymentType. + # + # @overload get_goldengate_deployment_type(request, options = nil) + # Pass arguments to `get_goldengate_deployment_type` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload get_goldengate_deployment_type(name: nil) + # Pass arguments to `get_goldengate_deployment_type` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateDeploymentType to retrieve. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateDeploymentTypes/\\{goldengate_deployment_type} + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest.new + # + # # Call the get_goldengate_deployment_type method. + # result = client.get_goldengate_deployment_type request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType. + # p result + # + def get_goldengate_deployment_type request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.get_goldengate_deployment_type.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.name + header_params["name"] = request.name + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment_type.timeout, + metadata: metadata, + retry_policy: @config.rpcs.get_goldengate_deployment_type.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :get_goldengate_deployment_type, request, options: options do |response, operation| + yield response, operation if block_given? + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Lists GoldenGateDeploymentTypes in a given project and location. + # + # @overload list_goldengate_deployment_types(request, options = nil) + # Pass arguments to `list_goldengate_deployment_types` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload list_goldengate_deployment_types(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) + # Pass arguments to `list_goldengate_deployment_types` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent resource. + # Format: projects/\\{project}/locations/\\{location} + # @param page_size [::Integer] + # Optional. Requested page size. Server may return fewer items than + # requested. If unspecified, server will pick an appropriate default. + # @param page_token [::String] + # Optional. A token identifying a page of results the server should return. + # @param filter [::String] + # Optional. An expression for filtering the results of the request. Either + # the deployment_type and ogg_version fields must be specified in the format: + # `deployment_type="DATABASE_ORACLE"` or `ogg_version="version"`. + # Allowed values for deployment_type are: `DATABASE_ORACLE`, `BIGDATA`, + # `DATABASE_MICROSOFT_SQLSERVER`, `DATABASE_MYSQL`, `DATABASE_POSTGRESQL`, + # `DATABASE_DB2ZOS`, `DATABASE_DB2I`, `GGSA`, `DATA_TRANSFORMS`. + # @param order_by [::String] + # Optional. Hint for how to order the results + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType>] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType>] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest.new + # + # # Call the list_goldengate_deployment_types method. + # result = client.list_goldengate_deployment_types request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType. + # p item + # end + # + def list_goldengate_deployment_types request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.list_goldengate_deployment_types.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.parent + header_params["parent"] = request.parent + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.list_goldengate_deployment_types.timeout, + metadata: metadata, + retry_policy: @config.rpcs.list_goldengate_deployment_types.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :list_goldengate_deployment_types, request, options: options do |response, operation| + response = ::Gapic::PagedEnumerable.new @oracle_database_stub, :list_goldengate_deployment_types, request, response, operation, options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Gets details of a single GoldengateDeploymentEnvironment. + # + # @overload get_goldengate_deployment_environment(request, options = nil) + # Pass arguments to `get_goldengate_deployment_environment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload get_goldengate_deployment_environment(name: nil) + # Pass arguments to `get_goldengate_deployment_environment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. Name of the resource with the format: + # projects/\\{project}/locations/\\{location}/goldengateDeploymentEnvironments/\\{goldengate_deployment_environment} + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest.new + # + # # Call the get_goldengate_deployment_environment method. + # result = client.get_goldengate_deployment_environment request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment. + # p result + # + def get_goldengate_deployment_environment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.get_goldengate_deployment_environment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.name + header_params["name"] = request.name + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment_environment.timeout, + metadata: metadata, + retry_policy: @config.rpcs.get_goldengate_deployment_environment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :get_goldengate_deployment_environment, request, options: options do |response, operation| + yield response, operation if block_given? + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Lists GoldengateDeploymentEnvironments in a given project and location. + # + # @overload list_goldengate_deployment_environments(request, options = nil) + # Pass arguments to `list_goldengate_deployment_environments` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload list_goldengate_deployment_environments(parent: nil, page_size: nil, page_token: nil) + # Pass arguments to `list_goldengate_deployment_environments` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent, which owns this collection of + # GoldengateDeploymentEnvironments. Format: + # projects/\\{project}/locations/\\{location} + # @param page_size [::Integer] + # Optional. The maximum number of items to return. + # If unspecified, at most 50 deployment environments will be returned. + # The maximum value is 1000; values above 1000 will be coerced to 1000. + # @param page_token [::String] + # Optional. A token identifying a page of results the server should return. + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment>] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment>] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest.new + # + # # Call the list_goldengate_deployment_environments method. + # result = client.list_goldengate_deployment_environments request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment. + # p item + # end + # + def list_goldengate_deployment_environments request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.list_goldengate_deployment_environments.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.parent + header_params["parent"] = request.parent + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.list_goldengate_deployment_environments.timeout, + metadata: metadata, + retry_policy: @config.rpcs.list_goldengate_deployment_environments.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :list_goldengate_deployment_environments, request, options: options do |response, operation| + response = ::Gapic::PagedEnumerable.new @oracle_database_stub, :list_goldengate_deployment_environments, request, response, operation, options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Gets details of a single GoldengateConnectionType. + # + # @overload get_goldengate_connection_type(request, options = nil) + # Pass arguments to `get_goldengate_connection_type` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload get_goldengate_connection_type(name: nil) + # Pass arguments to `get_goldengate_connection_type` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. Name of the resource in the format: + # projects/\\{project}/locations/\\{location}/goldengateConnectionTypes/\\{goldengate_connection_type} + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest.new + # + # # Call the get_goldengate_connection_type method. + # result = client.get_goldengate_connection_type request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateConnectionType. + # p result + # + def get_goldengate_connection_type request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.get_goldengate_connection_type.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.name + header_params["name"] = request.name + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.get_goldengate_connection_type.timeout, + metadata: metadata, + retry_policy: @config.rpcs.get_goldengate_connection_type.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :get_goldengate_connection_type, request, options: options do |response, operation| + yield response, operation if block_given? + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Lists GoldengateConnectionTypes in a given project and location. + # + # @overload list_goldengate_connection_types(request, options = nil) + # Pass arguments to `list_goldengate_connection_types` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload list_goldengate_connection_types(parent: nil, page_size: nil, page_token: nil, filter: nil) + # Pass arguments to `list_goldengate_connection_types` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. Parent value for ListGoldengateConnectionTypesRequest + # Format: projects/\\{project}/locations/\\{location} + # @param page_size [::Integer] + # Optional. Requested page size. Server may return fewer items than + # requested. If unspecified, server will pick an appropriate default. + # @param page_token [::String] + # Optional. A token identifying a page of results the server should return. + # @param filter [::String] + # Optional. An expression for filtering the results of the request. The + # connection_type field must be specified in the format: + # `connection_type="ORACLE"`. + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType>] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType>] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest.new + # + # # Call the list_goldengate_connection_types method. + # result = client.list_goldengate_connection_types request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType. + # p item + # end + # + def list_goldengate_connection_types request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.list_goldengate_connection_types.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.parent + header_params["parent"] = request.parent + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.list_goldengate_connection_types.timeout, + metadata: metadata, + retry_policy: @config.rpcs.list_goldengate_connection_types.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :list_goldengate_connection_types, request, options: options do |response, operation| + response = ::Gapic::PagedEnumerable.new @oracle_database_stub, :list_goldengate_connection_types, request, response, operation, options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # List DbVersions for the given project and location. + # + # @overload list_db_versions(request, options = nil) + # Pass arguments to `list_db_versions` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload list_db_versions(parent: nil, page_size: nil, page_token: nil, filter: nil) + # Pass arguments to `list_db_versions` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent value for the DbVersion resource with the + # format: projects/\\{project}/locations/\\{location} + # @param page_size [::Integer] + # Optional. The maximum number of items to return. + # If unspecified, a maximum of 50 DbVersions will be returned. + # The maximum value is 1000; values above 1000 will be reset to 1000. + # @param page_token [::String] + # Optional. A token identifying the requested page of results to return. All + # fields except the filter should remain the same as in the request that + # provided this page token. + # @param filter [::String] + # Optional. Filter expression that matches a subset of the DbVersions to + # show. The supported filter for dbSystem creation is `db_system_shape = + # \\{db_system_shape} AND storage_management = \\{storage_management}`. If no + # filter is provided, all DbVersions will be returned. + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DbVersion>] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DbVersion>] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest.new + # + # # Call the list_db_versions method. + # result = client.list_db_versions request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::DbVersion. + # p item + # end + # + def list_db_versions request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.list_db_versions.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.parent + header_params["parent"] = request.parent + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.list_db_versions.timeout, + metadata: metadata, + retry_policy: @config.rpcs.list_db_versions.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :list_db_versions, request, options: options do |response, operation| + response = ::Gapic::PagedEnumerable.new @oracle_database_stub, :list_db_versions, request, response, operation, options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # List DatabaseCharacterSets for the given project and location. + # + # @overload list_database_character_sets(request, options = nil) + # Pass arguments to `list_database_character_sets` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload list_database_character_sets(parent: nil, page_size: nil, page_token: nil, filter: nil) + # Pass arguments to `list_database_character_sets` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent value for DatabaseCharacterSets in the following + # format: projects/\\{project}/locations/\\{location}. + # @param page_size [::Integer] + # Optional. The maximum number of DatabaseCharacterSets to return. The + # service may return fewer than this value. If unspecified, at most 50 + # DatabaseCharacterSets will be returned. The maximum value is 1000; values + # above 1000 will be coerced to 1000. + # @param page_token [::String] + # Optional. A page token, received from a previous + # `ListDatabaseCharacterSets` call. Provide this to retrieve the subsequent + # page. + # + # When paginating, all other parameters provided to + # `ListDatabaseCharacterSets` must match the call that provided the page + # token. + # @param filter [::String] + # Optional. An expression for filtering the results of the request. Only the + # **character_set_type** field is supported in the following format: + # `character_set_type="{characterSetType}"`. Accepted values include + # `DATABASE` and `NATIONAL`. + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet>] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet>] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest.new + # + # # Call the list_database_character_sets method. + # result = client.list_database_character_sets request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet. + # p item + # end + # + def list_database_character_sets request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.list_database_character_sets.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.parent + header_params["parent"] = request.parent + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.list_database_character_sets.timeout, + metadata: metadata, + retry_policy: @config.rpcs.list_database_character_sets.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :list_database_character_sets, request, options: options do |response, operation| + response = ::Gapic::PagedEnumerable.new @oracle_database_stub, :list_database_character_sets, request, response, operation, options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Lists GoldengateConnectionAssignments in a given project and location. + # + # @overload list_goldengate_connection_assignments(request, options = nil) + # Pass arguments to `list_goldengate_connection_assignments` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload list_goldengate_connection_assignments(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) + # Pass arguments to `list_goldengate_connection_assignments` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent value for the GoldengateConnectionAssignments. + # Format: projects/\\{project}/locations/\\{location} + # @param page_size [::Integer] + # Optional. The maximum number of GoldengateConnectionAssignments to return. + # The service may return fewer than this value. If unspecified, at most 50 + # GoldengateConnectionAssignments will be returned. The maximum value is + # 1000; values above 1000 will be coerced to 1000. + # @param page_token [::String] + # Optional. A page token, received from a previous + # `ListGoldengateConnectionAssignments` call. Provide this to retrieve the + # subsequent page. + # + # When paginating, all other parameters provided to + # `ListGoldengateConnectionAssignments` must match the call that provided + # the page token. + # @param filter [::String] + # Optional. A filter expression that filters GoldengateConnectionAssignments + # listed in the response. + # @param order_by [::String] + # Optional. A comma-separated list of fields to order by, sorted in ascending + # order. Use "DESC" after a field name for descending. + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment>] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment>] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest.new + # + # # Call the list_goldengate_connection_assignments method. + # result = client.list_goldengate_connection_assignments request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment. + # p item + # end + # + def list_goldengate_connection_assignments request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.list_goldengate_connection_assignments.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.parent + header_params["parent"] = request.parent + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.list_goldengate_connection_assignments.timeout, + metadata: metadata, + retry_policy: @config.rpcs.list_goldengate_connection_assignments.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :list_goldengate_connection_assignments, request, options: options do |response, operation| + response = ::Gapic::PagedEnumerable.new @oracle_database_stub, :list_goldengate_connection_assignments, request, response, operation, options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Gets details of a single GoldengateConnectionAssignment. + # + # @overload get_goldengate_connection_assignment(request, options = nil) + # Pass arguments to `get_goldengate_connection_assignment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload get_goldengate_connection_assignment(name: nil) + # Pass arguments to `get_goldengate_connection_assignment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateConnectionAssignment to retrieve. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateConnectionAssignments/\\{goldengate_connection_assignment} + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest.new + # + # # Call the get_goldengate_connection_assignment method. + # result = client.get_goldengate_connection_assignment request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment. + # p result + # + def get_goldengate_connection_assignment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.get_goldengate_connection_assignment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.name + header_params["name"] = request.name + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.get_goldengate_connection_assignment.timeout, + metadata: metadata, + retry_policy: @config.rpcs.get_goldengate_connection_assignment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :get_goldengate_connection_assignment, request, options: options do |response, operation| + yield response, operation if block_given? + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Creates a new GoldengateConnectionAssignment in a given project and + # location. + # + # @overload create_goldengate_connection_assignment(request, options = nil) + # Pass arguments to `create_goldengate_connection_assignment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload create_goldengate_connection_assignment(parent: nil, goldengate_connection_assignment_id: nil, goldengate_connection_assignment: nil, request_id: nil) + # Pass arguments to `create_goldengate_connection_assignment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent resource where this GoldengateConnectionAssignment + # will be created. Format: projects/\\{project}/locations/\\{location} + # @param goldengate_connection_assignment_id [::String] + # Required. The ID of the GoldengateConnectionAssignment to create. + # @param goldengate_connection_assignment [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment, ::Hash] + # Required. The GoldengateConnectionAssignment to create. + # @param request_id [::String] + # Optional. An optional request ID to identify requests. Specify a unique + # request ID so that if you must retry your request, the server will know to + # ignore the request if it has already been completed. The server will + # guarantee that for at least 60 minutes since the first request. + # + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request + # ID, the server can check if original operation with the same request ID + # was received, and if so, will ignore the second request. This prevents + # clients from accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::Operation] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::Operation] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest.new + # + # # Call the create_goldengate_connection_assignment method. + # result = client.create_goldengate_connection_assignment request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def create_goldengate_connection_assignment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.create_goldengate_connection_assignment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.parent + header_params["parent"] = request.parent + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.create_goldengate_connection_assignment.timeout, + metadata: metadata, + retry_policy: @config.rpcs.create_goldengate_connection_assignment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :create_goldengate_connection_assignment, request, options: options do |response, operation| + response = ::Gapic::Operation.new response, @operations_client, options: options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Deletes a single GoldengateConnectionAssignment. + # + # @overload delete_goldengate_connection_assignment(request, options = nil) + # Pass arguments to `delete_goldengate_connection_assignment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload delete_goldengate_connection_assignment(name: nil, request_id: nil) + # Pass arguments to `delete_goldengate_connection_assignment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateConnectionAssignment to delete. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateConnectionAssignments/\\{goldengate_connection_assignment} + # @param request_id [::String] + # Optional. An optional request ID to identify requests. Specify a unique + # request ID so that if you must retry your request, the server will know to + # ignore the request if it has already been completed. The server will + # guarantee that for at least 60 minutes after the first request. + # + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request + # ID, the server can check if original operation with the same request ID + # was received, and if so, will ignore the second request. This prevents + # clients from accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Gapic::Operation] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Gapic::Operation] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest.new + # + # # Call the delete_goldengate_connection_assignment method. + # result = client.delete_goldengate_connection_assignment request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def delete_goldengate_connection_assignment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.delete_goldengate_connection_assignment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.name + header_params["name"] = request.name + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.delete_goldengate_connection_assignment.timeout, + metadata: metadata, + retry_policy: @config.rpcs.delete_goldengate_connection_assignment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :delete_goldengate_connection_assignment, request, options: options do |response, operation| + response = ::Gapic::Operation.new response, @operations_client, options: options + yield response, operation if block_given? + throw :response, response + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Tests a single GoldengateConnectionAssignment. + # + # @overload test_goldengate_connection_assignment(request, options = nil) + # Pass arguments to `test_goldengate_connection_assignment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional. + # + # @overload test_goldengate_connection_assignment(name: nil, type: nil) + # Pass arguments to `test_goldengate_connection_assignment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. Name of the connection assignment for which to test connection. + # projects/\\{project}/locations/\\{region}/goldengateConnectionAssignments/\\{goldengate_connection_assignment} + # @param type [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest::TestType] + # Optional. The type of the test of the assigned connection. + # The only type actually supported is DEFAULT. + # + # @yield [response, operation] Access the result along with the RPC operation + # @yieldparam response [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse] + # @yieldparam operation [::GRPC::ActiveCall::Operation] + # + # @return [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse] + # + # @raise [::Google::Cloud::Error] if the RPC is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest.new + # + # # Call the test_goldengate_connection_assignment method. + # result = client.test_goldengate_connection_assignment request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse. + # p result + # + def test_goldengate_connection_assignment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + metadata = @config.rpcs.test_goldengate_connection_assignment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION + metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + header_params = {} + if request.name + header_params["name"] = request.name + end + + request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&") + metadata[:"x-goog-request-params"] ||= request_params_header + + options.apply_defaults timeout: @config.rpcs.test_goldengate_connection_assignment.timeout, + metadata: metadata, + retry_policy: @config.rpcs.test_goldengate_connection_assignment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.call_rpc :test_goldengate_connection_assignment, request, options: options do |response, operation| + yield response, operation if block_given? + end + rescue ::GRPC::BadStatus => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Configuration class for the OracleDatabase API. + # + # This class represents the configuration for OracleDatabase, + # providing control over timeouts, retry behavior, logging, transport + # parameters, and other low-level controls. Certain parameters can also be + # applied individually to specific RPCs. See + # {::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client::Configuration::Rpcs} + # for a list of RPCs that can be configured independently. + # + # Configuration can be applied globally to all clients, or to a single client + # on construction. + # + # @example + # + # # Modify the global config, setting the timeout for + # # list_cloud_exadata_infrastructures to 20 seconds, + # # and all remaining timeouts to 10 seconds. + # ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.configure do |config| + # config.timeout = 10.0 + # config.rpcs.list_cloud_exadata_infrastructures.timeout = 20.0 + # end + # + # # Apply the above configuration only to a new client. + # client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + # config.timeout = 10.0 + # config.rpcs.list_cloud_exadata_infrastructures.timeout = 20.0 + # end + # + # @!attribute [rw] endpoint + # A custom service endpoint, as a hostname or hostname:port. The default is + # nil, indicating to use the default endpoint in the current universe domain. + # @return [::String,nil] + # @!attribute [rw] credentials + # Credentials to send with calls. You may provide any of the following types: + # * (`Google::Auth::Credentials`) A googleauth credentials object + # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials)) + # * (`Signet::OAuth2::Client`) A signet oauth2 client object + # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client)) + # * (`GRPC::Core::Channel`) a gRPC channel with included credentials + # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object + # * (`nil`) indicating no credentials + # + # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials + # is deprecated. Providing an unvalidated credential configuration to + # Google APIs can compromise the security of your systems and data. + # + # @example + # + # # The recommended way to provide credentials is to use the `make_creds` method + # # on the appropriate credentials class for your environment. + # + # require "googleauth" + # + # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds( + # json_key_io: ::File.open("/path/to/keyfile.json") + # ) + # + # client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + # config.credentials = credentials + # end + # + # @note Warning: If you accept a credential configuration (JSON file or Hash) from an + # external source for authentication to Google Cloud, you must validate it before + # providing it to a Google API client library. Providing an unvalidated credential + # configuration to Google APIs can compromise the security of your systems and data. + # For more information, refer to [Validate credential configurations from external + # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials). + # @return [::Object] + # @!attribute [rw] scope + # The OAuth scopes + # @return [::Array<::String>] + # @!attribute [rw] lib_name + # The library name as recorded in instrumentation and logging + # @return [::String] + # @!attribute [rw] lib_version + # The library version as recorded in instrumentation and logging + # @return [::String] + # @!attribute [rw] channel_args + # Extra parameters passed to the gRPC channel. Note: this is ignored if a + # `GRPC::Core::Channel` object is provided as the credential. + # @return [::Hash] + # @!attribute [rw] interceptors + # An array of interceptors that are run before calls are executed. + # @return [::Array<::GRPC::ClientInterceptor>] + # @!attribute [rw] timeout + # The call timeout in seconds. + # @return [::Numeric] + # @!attribute [rw] metadata + # Additional gRPC headers to be sent with the call. + # @return [::Hash{::Symbol=>::String}] + # @!attribute [rw] retry_policy + # The retry policy. The value is a hash with the following keys: + # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. + # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. + # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. + # * `:retry_codes` (*type:* `Array`) - The error codes that should + # trigger a retry. + # @return [::Hash] + # @!attribute [rw] quota_project + # A separate project against which to charge quota. + # @return [::String] + # @!attribute [rw] universe_domain + # The universe domain within which to make requests. This determines the + # default endpoint URL. The default value of nil uses the environment + # universe (usually the default "googleapis.com" universe). + # @return [::String,nil] + # @!attribute [rw] logger + # A custom logger to use for request/response debug logging, or the value + # `:default` (the default) to construct a default logger, or `nil` to + # explicitly disable logging. + # @return [::Logger,:default,nil] + # + class Configuration + extend ::Gapic::Config + + # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "oracledatabase.googleapis.com" @@ -6704,6 +9029,96 @@ class Rpcs # attr_reader :delete_db_system ## + # RPC-specific configuration for `list_goldengate_deployments` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_deployments + ## + # RPC-specific configuration for `get_goldengate_deployment` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_deployment + ## + # RPC-specific configuration for `create_goldengate_deployment` + # @return [::Gapic::Config::Method] + # + attr_reader :create_goldengate_deployment + ## + # RPC-specific configuration for `delete_goldengate_deployment` + # @return [::Gapic::Config::Method] + # + attr_reader :delete_goldengate_deployment + ## + # RPC-specific configuration for `stop_goldengate_deployment` + # @return [::Gapic::Config::Method] + # + attr_reader :stop_goldengate_deployment + ## + # RPC-specific configuration for `start_goldengate_deployment` + # @return [::Gapic::Config::Method] + # + attr_reader :start_goldengate_deployment + ## + # RPC-specific configuration for `list_goldengate_connections` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_connections + ## + # RPC-specific configuration for `get_goldengate_connection` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_connection + ## + # RPC-specific configuration for `create_goldengate_connection` + # @return [::Gapic::Config::Method] + # + attr_reader :create_goldengate_connection + ## + # RPC-specific configuration for `delete_goldengate_connection` + # @return [::Gapic::Config::Method] + # + attr_reader :delete_goldengate_connection + ## + # RPC-specific configuration for `get_goldengate_deployment_version` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_deployment_version + ## + # RPC-specific configuration for `list_goldengate_deployment_versions` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_deployment_versions + ## + # RPC-specific configuration for `get_goldengate_deployment_type` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_deployment_type + ## + # RPC-specific configuration for `list_goldengate_deployment_types` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_deployment_types + ## + # RPC-specific configuration for `get_goldengate_deployment_environment` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_deployment_environment + ## + # RPC-specific configuration for `list_goldengate_deployment_environments` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_deployment_environments + ## + # RPC-specific configuration for `get_goldengate_connection_type` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_connection_type + ## + # RPC-specific configuration for `list_goldengate_connection_types` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_connection_types + ## # RPC-specific configuration for `list_db_versions` # @return [::Gapic::Config::Method] # @@ -6713,6 +9128,31 @@ class Rpcs # @return [::Gapic::Config::Method] # attr_reader :list_database_character_sets + ## + # RPC-specific configuration for `list_goldengate_connection_assignments` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_connection_assignments + ## + # RPC-specific configuration for `get_goldengate_connection_assignment` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_connection_assignment + ## + # RPC-specific configuration for `create_goldengate_connection_assignment` + # @return [::Gapic::Config::Method] + # + attr_reader :create_goldengate_connection_assignment + ## + # RPC-specific configuration for `delete_goldengate_connection_assignment` + # @return [::Gapic::Config::Method] + # + attr_reader :delete_goldengate_connection_assignment + ## + # RPC-specific configuration for `test_goldengate_connection_assignment` + # @return [::Gapic::Config::Method] + # + attr_reader :test_goldengate_connection_assignment # @private def initialize parent_rpcs = nil @@ -6828,10 +9268,56 @@ def initialize parent_rpcs = nil @create_db_system = ::Gapic::Config::Method.new create_db_system_config delete_db_system_config = parent_rpcs.delete_db_system if parent_rpcs.respond_to? :delete_db_system @delete_db_system = ::Gapic::Config::Method.new delete_db_system_config + list_goldengate_deployments_config = parent_rpcs.list_goldengate_deployments if parent_rpcs.respond_to? :list_goldengate_deployments + @list_goldengate_deployments = ::Gapic::Config::Method.new list_goldengate_deployments_config + get_goldengate_deployment_config = parent_rpcs.get_goldengate_deployment if parent_rpcs.respond_to? :get_goldengate_deployment + @get_goldengate_deployment = ::Gapic::Config::Method.new get_goldengate_deployment_config + create_goldengate_deployment_config = parent_rpcs.create_goldengate_deployment if parent_rpcs.respond_to? :create_goldengate_deployment + @create_goldengate_deployment = ::Gapic::Config::Method.new create_goldengate_deployment_config + delete_goldengate_deployment_config = parent_rpcs.delete_goldengate_deployment if parent_rpcs.respond_to? :delete_goldengate_deployment + @delete_goldengate_deployment = ::Gapic::Config::Method.new delete_goldengate_deployment_config + stop_goldengate_deployment_config = parent_rpcs.stop_goldengate_deployment if parent_rpcs.respond_to? :stop_goldengate_deployment + @stop_goldengate_deployment = ::Gapic::Config::Method.new stop_goldengate_deployment_config + start_goldengate_deployment_config = parent_rpcs.start_goldengate_deployment if parent_rpcs.respond_to? :start_goldengate_deployment + @start_goldengate_deployment = ::Gapic::Config::Method.new start_goldengate_deployment_config + list_goldengate_connections_config = parent_rpcs.list_goldengate_connections if parent_rpcs.respond_to? :list_goldengate_connections + @list_goldengate_connections = ::Gapic::Config::Method.new list_goldengate_connections_config + get_goldengate_connection_config = parent_rpcs.get_goldengate_connection if parent_rpcs.respond_to? :get_goldengate_connection + @get_goldengate_connection = ::Gapic::Config::Method.new get_goldengate_connection_config + create_goldengate_connection_config = parent_rpcs.create_goldengate_connection if parent_rpcs.respond_to? :create_goldengate_connection + @create_goldengate_connection = ::Gapic::Config::Method.new create_goldengate_connection_config + delete_goldengate_connection_config = parent_rpcs.delete_goldengate_connection if parent_rpcs.respond_to? :delete_goldengate_connection + @delete_goldengate_connection = ::Gapic::Config::Method.new delete_goldengate_connection_config + get_goldengate_deployment_version_config = parent_rpcs.get_goldengate_deployment_version if parent_rpcs.respond_to? :get_goldengate_deployment_version + @get_goldengate_deployment_version = ::Gapic::Config::Method.new get_goldengate_deployment_version_config + list_goldengate_deployment_versions_config = parent_rpcs.list_goldengate_deployment_versions if parent_rpcs.respond_to? :list_goldengate_deployment_versions + @list_goldengate_deployment_versions = ::Gapic::Config::Method.new list_goldengate_deployment_versions_config + get_goldengate_deployment_type_config = parent_rpcs.get_goldengate_deployment_type if parent_rpcs.respond_to? :get_goldengate_deployment_type + @get_goldengate_deployment_type = ::Gapic::Config::Method.new get_goldengate_deployment_type_config + list_goldengate_deployment_types_config = parent_rpcs.list_goldengate_deployment_types if parent_rpcs.respond_to? :list_goldengate_deployment_types + @list_goldengate_deployment_types = ::Gapic::Config::Method.new list_goldengate_deployment_types_config + get_goldengate_deployment_environment_config = parent_rpcs.get_goldengate_deployment_environment if parent_rpcs.respond_to? :get_goldengate_deployment_environment + @get_goldengate_deployment_environment = ::Gapic::Config::Method.new get_goldengate_deployment_environment_config + list_goldengate_deployment_environments_config = parent_rpcs.list_goldengate_deployment_environments if parent_rpcs.respond_to? :list_goldengate_deployment_environments + @list_goldengate_deployment_environments = ::Gapic::Config::Method.new list_goldengate_deployment_environments_config + get_goldengate_connection_type_config = parent_rpcs.get_goldengate_connection_type if parent_rpcs.respond_to? :get_goldengate_connection_type + @get_goldengate_connection_type = ::Gapic::Config::Method.new get_goldengate_connection_type_config + list_goldengate_connection_types_config = parent_rpcs.list_goldengate_connection_types if parent_rpcs.respond_to? :list_goldengate_connection_types + @list_goldengate_connection_types = ::Gapic::Config::Method.new list_goldengate_connection_types_config list_db_versions_config = parent_rpcs.list_db_versions if parent_rpcs.respond_to? :list_db_versions @list_db_versions = ::Gapic::Config::Method.new list_db_versions_config list_database_character_sets_config = parent_rpcs.list_database_character_sets if parent_rpcs.respond_to? :list_database_character_sets @list_database_character_sets = ::Gapic::Config::Method.new list_database_character_sets_config + list_goldengate_connection_assignments_config = parent_rpcs.list_goldengate_connection_assignments if parent_rpcs.respond_to? :list_goldengate_connection_assignments + @list_goldengate_connection_assignments = ::Gapic::Config::Method.new list_goldengate_connection_assignments_config + get_goldengate_connection_assignment_config = parent_rpcs.get_goldengate_connection_assignment if parent_rpcs.respond_to? :get_goldengate_connection_assignment + @get_goldengate_connection_assignment = ::Gapic::Config::Method.new get_goldengate_connection_assignment_config + create_goldengate_connection_assignment_config = parent_rpcs.create_goldengate_connection_assignment if parent_rpcs.respond_to? :create_goldengate_connection_assignment + @create_goldengate_connection_assignment = ::Gapic::Config::Method.new create_goldengate_connection_assignment_config + delete_goldengate_connection_assignment_config = parent_rpcs.delete_goldengate_connection_assignment if parent_rpcs.respond_to? :delete_goldengate_connection_assignment + @delete_goldengate_connection_assignment = ::Gapic::Config::Method.new delete_goldengate_connection_assignment_config + test_goldengate_connection_assignment_config = parent_rpcs.test_goldengate_connection_assignment if parent_rpcs.respond_to? :test_goldengate_connection_assignment + @test_goldengate_connection_assignment = ::Gapic::Config::Method.new test_goldengate_connection_assignment_config yield self if block_given? end diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb index ad2404d189e5..28cbf58f7459 100644 --- a/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb @@ -197,6 +197,139 @@ def gi_version_path project:, location:, gi_version: "projects/#{project}/locations/#{location}/giVersions/#{gi_version}" end + ## + # Create a fully-qualified GoldengateConnection resource string. + # + # The resource will be in the following format: + # + # `projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}` + # + # @param project [String] + # @param location [String] + # @param goldengate_connection [String] + # + # @return [::String] + def goldengate_connection_path project:, location:, goldengate_connection: + raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" + raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" + + "projects/#{project}/locations/#{location}/goldengateConnections/#{goldengate_connection}" + end + + ## + # Create a fully-qualified GoldengateConnectionAssignment resource string. + # + # The resource will be in the following format: + # + # `projects/{project}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment}` + # + # @param project [String] + # @param location [String] + # @param goldengate_connection_assignment [String] + # + # @return [::String] + def goldengate_connection_assignment_path project:, location:, goldengate_connection_assignment: + raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" + raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" + + "projects/#{project}/locations/#{location}/goldengateConnectionAssignments/#{goldengate_connection_assignment}" + end + + ## + # Create a fully-qualified GoldengateConnectionType resource string. + # + # The resource will be in the following format: + # + # `projects/{project}/locations/{location}/goldengateConnectionTypes/{goldengate_connection_type}` + # + # @param project [String] + # @param location [String] + # @param goldengate_connection_type [String] + # + # @return [::String] + def goldengate_connection_type_path project:, location:, goldengate_connection_type: + raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" + raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" + + "projects/#{project}/locations/#{location}/goldengateConnectionTypes/#{goldengate_connection_type}" + end + + ## + # Create a fully-qualified GoldengateDeployment resource string. + # + # The resource will be in the following format: + # + # `projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}` + # + # @param project [String] + # @param location [String] + # @param goldengate_deployment [String] + # + # @return [::String] + def goldengate_deployment_path project:, location:, goldengate_deployment: + raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" + raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" + + "projects/#{project}/locations/#{location}/goldengateDeployments/#{goldengate_deployment}" + end + + ## + # Create a fully-qualified GoldengateDeploymentEnvironment resource string. + # + # The resource will be in the following format: + # + # `projects/{project}/locations/{location}/goldengateDeploymentEnvironments/{goldengate_deployment_environment}` + # + # @param project [String] + # @param location [String] + # @param goldengate_deployment_environment [String] + # + # @return [::String] + def goldengate_deployment_environment_path project:, location:, goldengate_deployment_environment: + raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" + raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" + + "projects/#{project}/locations/#{location}/goldengateDeploymentEnvironments/#{goldengate_deployment_environment}" + end + + ## + # Create a fully-qualified GoldengateDeploymentType resource string. + # + # The resource will be in the following format: + # + # `projects/{project}/locations/{location}/goldengateDeploymentTypes/{goldengate_deployment_type}` + # + # @param project [String] + # @param location [String] + # @param goldengate_deployment_type [String] + # + # @return [::String] + def goldengate_deployment_type_path project:, location:, goldengate_deployment_type: + raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" + raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" + + "projects/#{project}/locations/#{location}/goldengateDeploymentTypes/#{goldengate_deployment_type}" + end + + ## + # Create a fully-qualified GoldengateDeploymentVersion resource string. + # + # The resource will be in the following format: + # + # `projects/{project}/locations/{location}/goldengateDeploymentVersions/{goldengate_deployment_version}` + # + # @param project [String] + # @param location [String] + # @param goldengate_deployment_version [String] + # + # @return [::String] + def goldengate_deployment_version_path project:, location:, goldengate_deployment_version: + raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" + raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" + + "projects/#{project}/locations/#{location}/goldengateDeploymentVersions/#{goldengate_deployment_version}" + end + ## # Create a fully-qualified Location resource string. # @@ -290,6 +423,25 @@ def pluggable_database_path project:, location:, pluggable_database: "projects/#{project}/locations/#{location}/pluggableDatabases/#{pluggable_database}" end + ## + # Create a fully-qualified SecretVersion resource string. + # + # The resource will be in the following format: + # + # `projects/{project}/secrets/{secret}/versions/{secret_version}` + # + # @param project [String] + # @param secret [String] + # @param secret_version [String] + # + # @return [::String] + def secret_version_path project:, secret:, secret_version: + raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" + raise ::ArgumentError, "secret cannot contain /" if secret.to_s.include? "/" + + "projects/#{project}/secrets/#{secret}/versions/#{secret_version}" + end + extend self end end diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb index 3302e67cc905..11fb7aa4fbeb 100644 --- a/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb @@ -225,6 +225,46 @@ def self.configure initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] } + default_config.rpcs.list_goldengate_deployments.timeout = 60.0 + default_config.rpcs.list_goldengate_deployments.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.get_goldengate_deployment.timeout = 60.0 + default_config.rpcs.get_goldengate_deployment.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.list_goldengate_connections.timeout = 60.0 + default_config.rpcs.list_goldengate_connections.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.get_goldengate_connection.timeout = 60.0 + default_config.rpcs.get_goldengate_connection.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.list_goldengate_deployment_versions.timeout = 60.0 + default_config.rpcs.list_goldengate_deployment_versions.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.list_goldengate_deployment_types.timeout = 60.0 + default_config.rpcs.list_goldengate_deployment_types.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.list_goldengate_deployment_environments.timeout = 60.0 + default_config.rpcs.list_goldengate_deployment_environments.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.list_goldengate_connection_types.timeout = 60.0 + default_config.rpcs.list_goldengate_connection_types.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + default_config.rpcs.list_db_versions.timeout = 60.0 default_config.rpcs.list_db_versions.retry_policy = { initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] @@ -235,6 +275,16 @@ def self.configure initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] } + default_config.rpcs.list_goldengate_connection_assignments.timeout = 60.0 + default_config.rpcs.list_goldengate_connection_assignments.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + + default_config.rpcs.get_goldengate_connection_assignment.timeout = 60.0 + default_config.rpcs.get_goldengate_connection_assignment.retry_policy = { + initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 4] + } + default_config end yield @configure if block_given? @@ -2921,7 +2971,8 @@ def restart_autonomous_database request, options = nil # Required. The name of the Autonomous Database in the following format: # projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}. # @param peer_autonomous_database [::String] - # Required. The peer database name to switch over to. + # Optional. The peer database name to switch over to. Required for + # cross-region standby, and must be omitted for in-region Data Guard. # @yield [result, operation] Access the result along with the TransportOperation object # @yieldparam result [::Gapic::Operation] # @yieldparam operation [::Gapic::Rest::TransportOperation] @@ -3012,7 +3063,8 @@ def switchover_autonomous_database request, options = nil # Required. The name of the Autonomous Database in the following format: # projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}. # @param peer_autonomous_database [::String] - # Required. The peer database name to fail over to. + # Optional. The peer database name to fail over to. Required for cross-region + # standby, and must be omitted for in-region Data Guard. # @yield [result, operation] Access the result along with the TransportOperation object # @yieldparam result [::Gapic::Operation] # @yieldparam operation [::Gapic::Rest::TransportOperation] @@ -5628,44 +5680,42 @@ def delete_db_system request, options = nil end ## - # List DbVersions for the given project and location. + # Lists all the GoldengateDeployments for the given project and location. # - # @overload list_db_versions(request, options = nil) - # Pass arguments to `list_db_versions` via a request object, either of type - # {::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest} or an equivalent Hash. + # @overload list_goldengate_deployments(request, options = nil) + # Pass arguments to `list_goldengate_deployments` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest} or an equivalent Hash. # - # @param request [::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest, ::Hash] + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest, ::Hash] # A request object representing the call parameters. Required. To specify no # parameters, or to keep all the default parameter values, pass an empty Hash. # @param options [::Gapic::CallOptions, ::Hash] # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. # - # @overload list_db_versions(parent: nil, page_size: nil, page_token: nil, filter: nil) - # Pass arguments to `list_db_versions` via keyword arguments. Note that at + # @overload list_goldengate_deployments(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) + # Pass arguments to `list_goldengate_deployments` via keyword arguments. Note that at # least one keyword argument is required. To specify no parameters, or to keep all # the default parameter values, pass an empty Hash as a request object (see above). # # @param parent [::String] - # Required. The parent value for the DbVersion resource with the - # format: projects/\\{project}/locations/\\{location} + # Required. The parent value for GoldengateDeployments in the following + # format: projects/\\{project}/locations/\\{location}. # @param page_size [::Integer] # Optional. The maximum number of items to return. - # If unspecified, a maximum of 50 DbVersions will be returned. - # The maximum value is 1000; values above 1000 will be reset to 1000. + # If unspecified, at most 50 GoldengateDeployments will be returned. + # The maximum value is 1000; values above 1000 will be coerced to 1000. # @param page_token [::String] - # Optional. A token identifying the requested page of results to return. All - # fields except the filter should remain the same as in the request that - # provided this page token. + # Optional. A page token, received from a previous ListGoldengateDeployments + # call. Provide this to retrieve the subsequent page. # @param filter [::String] - # Optional. Filter expression that matches a subset of the DbVersions to - # show. The supported filter for dbSystem creation is `db_system_shape = - # \\{db_system_shape} AND storage_management = \\{storage_management}`. If no - # filter is provided, all DbVersions will be returned. + # Optional. An expression for filtering the results of the request. + # @param order_by [::String] + # Optional. An expression for ordering the results of the request. # @yield [result, operation] Access the result along with the TransportOperation object - # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DbVersion>] + # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeployment>] # @yieldparam operation [::Gapic::Rest::TransportOperation] # - # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DbVersion>] + # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeployment>] # # @raise [::Google::Cloud::Error] if the REST call is aborted. # @@ -5676,28 +5726,28 @@ def delete_db_system request, options = nil # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new # # # Create a request. To set request fields, pass in keyword arguments. - # request = Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest.new + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest.new # - # # Call the list_db_versions method. - # result = client.list_db_versions request + # # Call the list_goldengate_deployments method. + # result = client.list_goldengate_deployments request # # # The returned object is of type Gapic::PagedEnumerable. You can iterate # # over elements, and API calls will be issued to fetch pages as needed. # result.each do |item| - # # Each element is of type ::Google::Cloud::OracleDatabase::V1::DbVersion. + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateDeployment. # p item # end # - def list_db_versions request, options = nil + def list_goldengate_deployments request, options = nil raise ::ArgumentError, "request must be provided" if request.nil? - request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest # Converts hash and nil to an options object options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h # Customize the options with defaults - call_metadata = @config.rpcs.list_db_versions.metadata.to_h + call_metadata = @config.rpcs.list_goldengate_deployments.metadata.to_h # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ @@ -5708,16 +5758,16 @@ def list_db_versions request, options = nil call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id - options.apply_defaults timeout: @config.rpcs.list_db_versions.timeout, + options.apply_defaults timeout: @config.rpcs.list_goldengate_deployments.timeout, metadata: call_metadata, - retry_policy: @config.rpcs.list_db_versions.retry_policy + retry_policy: @config.rpcs.list_goldengate_deployments.retry_policy options.apply_defaults timeout: @config.timeout, metadata: @config.metadata, retry_policy: @config.retry_policy - @oracle_database_stub.list_db_versions request, options do |result, operation| - result = ::Gapic::Rest::PagedEnumerable.new @oracle_database_stub, :list_db_versions, "db_versions", request, result, options + @oracle_database_stub.list_goldengate_deployments request, options do |result, operation| + result = ::Gapic::Rest::PagedEnumerable.new @oracle_database_stub, :list_goldengate_deployments, "goldengate_deployments", request, result, options yield result, operation if block_given? throw :response, result end @@ -5726,49 +5776,131 @@ def list_db_versions request, options = nil end ## - # List DatabaseCharacterSets for the given project and location. + # Gets details of a single GoldengateDeployment. # - # @overload list_database_character_sets(request, options = nil) - # Pass arguments to `list_database_character_sets` via a request object, either of type - # {::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest} or an equivalent Hash. + # @overload get_goldengate_deployment(request, options = nil) + # Pass arguments to `get_goldengate_deployment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest} or an equivalent Hash. # - # @param request [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest, ::Hash] + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest, ::Hash] # A request object representing the call parameters. Required. To specify no # parameters, or to keep all the default parameter values, pass an empty Hash. # @param options [::Gapic::CallOptions, ::Hash] # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. # - # @overload list_database_character_sets(parent: nil, page_size: nil, page_token: nil, filter: nil) - # Pass arguments to `list_database_character_sets` via keyword arguments. Note that at + # @overload get_goldengate_deployment(name: nil) + # Pass arguments to `get_goldengate_deployment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateDeployment in the following format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment}. + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeployment] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeployment] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest.new + # + # # Call the get_goldengate_deployment method. + # result = client.get_goldengate_deployment request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeployment. + # p result + # + def get_goldengate_deployment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.get_goldengate_deployment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.get_goldengate_deployment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.get_goldengate_deployment request, options do |result, operation| + yield result, operation if block_given? + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Creates a new GoldengateDeployment in a given project and location. + # + # @overload create_goldengate_deployment(request, options = nil) + # Pass arguments to `create_goldengate_deployment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload create_goldengate_deployment(parent: nil, goldengate_deployment_id: nil, goldengate_deployment: nil, request_id: nil) + # Pass arguments to `create_goldengate_deployment` via keyword arguments. Note that at # least one keyword argument is required. To specify no parameters, or to keep all # the default parameter values, pass an empty Hash as a request object (see above). # # @param parent [::String] - # Required. The parent value for DatabaseCharacterSets in the following + # Required. The value for parent of the GoldengateDeployment in the following # format: projects/\\{project}/locations/\\{location}. - # @param page_size [::Integer] - # Optional. The maximum number of DatabaseCharacterSets to return. The - # service may return fewer than this value. If unspecified, at most 50 - # DatabaseCharacterSets will be returned. The maximum value is 1000; values - # above 1000 will be coerced to 1000. - # @param page_token [::String] - # Optional. A page token, received from a previous - # `ListDatabaseCharacterSets` call. Provide this to retrieve the subsequent - # page. + # @param goldengate_deployment_id [::String] + # Required. The ID of the GoldengateDeployment to create. This value is + # restricted to (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$) and must be a maximum of + # 63 characters in length. The value must start with a letter and end with a + # letter or a number. + # @param goldengate_deployment [::Google::Cloud::OracleDatabase::V1::GoldengateDeployment, ::Hash] + # Required. The resource being created. + # @param request_id [::String] + # Optional. An optional request ID to identify requests. Specify a unique + # request ID so that if you must retry your request, the server will know to + # ignore the request if it has already been completed. The server will + # guarantee that for at least 60 minutes since the first request. # - # When paginating, all other parameters provided to - # `ListDatabaseCharacterSets` must match the call that provided the page - # token. - # @param filter [::String] - # Optional. An expression for filtering the results of the request. Only the - # **character_set_type** field is supported in the following format: - # `character_set_type="{characterSetType}"`. Accepted values include - # `DATABASE` and `NATIONAL`. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request + # ID, the server can check if original operation with the same request ID + # was received, and if so, will ignore the second request. This prevents + # clients from accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). # @yield [result, operation] Access the result along with the TransportOperation object - # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet>] + # @yieldparam result [::Gapic::Operation] # @yieldparam operation [::Gapic::Rest::TransportOperation] # - # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet>] + # @return [::Gapic::Operation] # # @raise [::Google::Cloud::Error] if the REST call is aborted. # @@ -5779,28 +5911,31 @@ def list_db_versions request, options = nil # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new # # # Create a request. To set request fields, pass in keyword arguments. - # request = Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest.new + # request = Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest.new # - # # Call the list_database_character_sets method. - # result = client.list_database_character_sets request + # # Call the create_goldengate_deployment method. + # result = client.create_goldengate_deployment request # - # # The returned object is of type Gapic::PagedEnumerable. You can iterate - # # over elements, and API calls will be issued to fetch pages as needed. - # result.each do |item| - # # Each element is of type ::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet. - # p item + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." # end # - def list_database_character_sets request, options = nil + def create_goldengate_deployment request, options = nil raise ::ArgumentError, "request must be provided" if request.nil? - request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest # Converts hash and nil to an options object options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h # Customize the options with defaults - call_metadata = @config.rpcs.list_database_character_sets.metadata.to_h + call_metadata = @config.rpcs.create_goldengate_deployment.metadata.to_h # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ @@ -5811,16 +5946,16 @@ def list_database_character_sets request, options = nil call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id - options.apply_defaults timeout: @config.rpcs.list_database_character_sets.timeout, + options.apply_defaults timeout: @config.rpcs.create_goldengate_deployment.timeout, metadata: call_metadata, - retry_policy: @config.rpcs.list_database_character_sets.retry_policy + retry_policy: @config.rpcs.create_goldengate_deployment.retry_policy options.apply_defaults timeout: @config.timeout, metadata: @config.metadata, retry_policy: @config.retry_policy - @oracle_database_stub.list_database_character_sets request, options do |result, operation| - result = ::Gapic::Rest::PagedEnumerable.new @oracle_database_stub, :list_database_character_sets, "database_character_sets", request, result, options + @oracle_database_stub.create_goldengate_deployment request, options do |result, operation| + result = ::Gapic::Operation.new result, @operations_client, options: options yield result, operation if block_given? throw :response, result end @@ -5829,55 +5964,2084 @@ def list_database_character_sets request, options = nil end ## - # Configuration class for the OracleDatabase REST API. + # Deletes a single GoldengateDeployment. # - # This class represents the configuration for OracleDatabase REST, - # providing control over timeouts, retry behavior, logging, transport - # parameters, and other low-level controls. Certain parameters can also be - # applied individually to specific RPCs. See - # {::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client::Configuration::Rpcs} - # for a list of RPCs that can be configured independently. + # @overload delete_goldengate_deployment(request, options = nil) + # Pass arguments to `delete_goldengate_deployment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest} or an equivalent Hash. # - # Configuration can be applied globally to all clients, or to a single client - # on construction. + # @param request [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. # - # @example + # @overload delete_goldengate_deployment(name: nil, request_id: nil) + # Pass arguments to `delete_goldengate_deployment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). # - # # Modify the global config, setting the timeout for - # # list_cloud_exadata_infrastructures to 20 seconds, - # # and all remaining timeouts to 10 seconds. - # ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.configure do |config| - # config.timeout = 10.0 - # config.rpcs.list_cloud_exadata_infrastructures.timeout = 20.0 - # end + # @param name [::String] + # Required. The name of the GoldengateDeployment in the following format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment}. + # @param request_id [::String] + # Optional. An optional ID to identify the request. This value is used to + # identify duplicate requests. If you make a request with the same request ID + # and the original request is still in progress or completed, the server + # ignores the second request. This prevents clients from + # accidentally creating duplicate commitments. # - # # Apply the above configuration only to a new client. - # client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| - # config.timeout = 10.0 - # config.rpcs.list_cloud_exadata_infrastructures.timeout = 20.0 - # end + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] # - # @!attribute [rw] endpoint - # A custom service endpoint, as a hostname or hostname:port. The default is - # nil, indicating to use the default endpoint in the current universe domain. - # @return [::String,nil] - # @!attribute [rw] credentials - # Credentials to send with calls. You may provide any of the following types: - # * (`String`) The path to a service account key file in JSON format - # * (`Hash`) A service account key as a Hash - # * (`Google::Auth::Credentials`) A googleauth credentials object - # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials)) - # * (`Signet::OAuth2::Client`) A signet oauth2 client object - # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client)) - # * (`nil`) indicating no credentials + # @return [::Gapic::Operation] # - # Warning: If you accept a credential configuration (JSON file or Hash) from an - # external source for authentication to Google Cloud, you must validate it before - # providing it to a Google API client library. Providing an unvalidated credential - # configuration to Google APIs can compromise the security of your systems and data. - # For more information, refer to [Validate credential configurations from external - # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials). - # @return [::Object] + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest.new + # + # # Call the delete_goldengate_deployment method. + # result = client.delete_goldengate_deployment request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def delete_goldengate_deployment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.delete_goldengate_deployment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.delete_goldengate_deployment.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.delete_goldengate_deployment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.delete_goldengate_deployment request, options do |result, operation| + result = ::Gapic::Operation.new result, @operations_client, options: options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Stops a single GoldengateDeployment. + # + # @overload stop_goldengate_deployment(request, options = nil) + # Pass arguments to `stop_goldengate_deployment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload stop_goldengate_deployment(name: nil) + # Pass arguments to `stop_goldengate_deployment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the Goldengate Deployment in the following format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment}. + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Operation] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest.new + # + # # Call the stop_goldengate_deployment method. + # result = client.stop_goldengate_deployment request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def stop_goldengate_deployment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.stop_goldengate_deployment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.stop_goldengate_deployment.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.stop_goldengate_deployment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.stop_goldengate_deployment request, options do |result, operation| + result = ::Gapic::Operation.new result, @operations_client, options: options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Starts a single GoldengateDeployment. + # + # @overload start_goldengate_deployment(request, options = nil) + # Pass arguments to `start_goldengate_deployment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload start_goldengate_deployment(name: nil) + # Pass arguments to `start_goldengate_deployment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the Goldengate Deployment in the following format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment}. + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Operation] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest.new + # + # # Call the start_goldengate_deployment method. + # result = client.start_goldengate_deployment request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def start_goldengate_deployment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.start_goldengate_deployment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.start_goldengate_deployment.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.start_goldengate_deployment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.start_goldengate_deployment request, options do |result, operation| + result = ::Gapic::Operation.new result, @operations_client, options: options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Lists all the GoldengateConnections for the given project and location. + # + # @overload list_goldengate_connections(request, options = nil) + # Pass arguments to `list_goldengate_connections` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload list_goldengate_connections(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) + # Pass arguments to `list_goldengate_connections` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent value for GoldengateConnections in the following + # format: projects/\\{project}/locations/\\{location}. + # @param page_size [::Integer] + # Optional. The maximum number of items to return. + # If unspecified, at most 50 GoldengateConnections will be returned. + # The maximum value is 1000; values above 1000 will be coerced to 1000. + # @param page_token [::String] + # Optional. A page token, received from a previous ListGoldengateConnections + # call. Provide this to retrieve the subsequent page. + # @param filter [::String] + # Optional. An expression for filtering the results of the request. + # @param order_by [::String] + # Optional. An expression for ordering the results of the request. + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateConnection>] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateConnection>] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest.new + # + # # Call the list_goldengate_connections method. + # result = client.list_goldengate_connections request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateConnection. + # p item + # end + # + def list_goldengate_connections request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.list_goldengate_connections.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.list_goldengate_connections.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.list_goldengate_connections.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.list_goldengate_connections request, options do |result, operation| + result = ::Gapic::Rest::PagedEnumerable.new @oracle_database_stub, :list_goldengate_connections, "goldengate_connections", request, result, options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Gets details of a single GoldengateConnection. + # + # @overload get_goldengate_connection(request, options = nil) + # Pass arguments to `get_goldengate_connection` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload get_goldengate_connection(name: nil) + # Pass arguments to `get_goldengate_connection` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateConnection in the following format: + # projects/\\{project}/locations/\\{location}/goldengateConnections/\\{goldengate_connection}. + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateConnection] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnection] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest.new + # + # # Call the get_goldengate_connection method. + # result = client.get_goldengate_connection request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateConnection. + # p result + # + def get_goldengate_connection request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.get_goldengate_connection.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.get_goldengate_connection.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.get_goldengate_connection.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.get_goldengate_connection request, options do |result, operation| + yield result, operation if block_given? + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Creates a new GoldengateConnection in a given project and location. + # + # @overload create_goldengate_connection(request, options = nil) + # Pass arguments to `create_goldengate_connection` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload create_goldengate_connection(parent: nil, goldengate_connection_id: nil, goldengate_connection: nil, request_id: nil) + # Pass arguments to `create_goldengate_connection` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The value for parent of the GoldengateConnection in the following + # format: projects/\\{project}/locations/\\{location}. + # @param goldengate_connection_id [::String] + # Required. The ID of the GoldengateConnection to create. This value is + # restricted to (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$) and must be a maximum of + # 63 characters in length. The value must start with a letter and end with a + # letter or a number. + # @param goldengate_connection [::Google::Cloud::OracleDatabase::V1::GoldengateConnection, ::Hash] + # Required. The resource being created. + # @param request_id [::String] + # Optional. An optional request ID to identify requests. Specify a unique + # request ID so that if you must retry your request, the server will know to + # ignore the request if it has already been completed. The server will + # guarantee that for at least 60 minutes since the first request. + # + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request + # ID, the server can check if original operation with the same request ID + # was received, and if so, will ignore the second request. This prevents + # clients from accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Operation] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest.new + # + # # Call the create_goldengate_connection method. + # result = client.create_goldengate_connection request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def create_goldengate_connection request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.create_goldengate_connection.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.create_goldengate_connection.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.create_goldengate_connection.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.create_goldengate_connection request, options do |result, operation| + result = ::Gapic::Operation.new result, @operations_client, options: options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Deletes a single GoldengateConnection. + # + # @overload delete_goldengate_connection(request, options = nil) + # Pass arguments to `delete_goldengate_connection` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload delete_goldengate_connection(name: nil, request_id: nil) + # Pass arguments to `delete_goldengate_connection` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateConnection in the following format: + # projects/\\{project}/locations/\\{location}/goldengateConnections/\\{goldengate_connection}. + # @param request_id [::String] + # Optional. An optional ID to identify the request. This value is used to + # identify duplicate requests. If you make a request with the same request ID + # and the original request is still in progress or completed, the server + # ignores the second request. This prevents clients from + # accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Operation] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest.new + # + # # Call the delete_goldengate_connection method. + # result = client.delete_goldengate_connection request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def delete_goldengate_connection request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.delete_goldengate_connection.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.delete_goldengate_connection.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.delete_goldengate_connection.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.delete_goldengate_connection request, options do |result, operation| + result = ::Gapic::Operation.new result, @operations_client, options: options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Gets details of a single GoldengateDeploymentVersion. + # + # @overload get_goldengate_deployment_version(request, options = nil) + # Pass arguments to `get_goldengate_deployment_version` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload get_goldengate_deployment_version(name: nil) + # Pass arguments to `get_goldengate_deployment_version` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateDeploymentVersion to retrieve. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateDeploymentVersions/\\{goldengate_deployment_version} + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest.new + # + # # Call the get_goldengate_deployment_version method. + # result = client.get_goldengate_deployment_version request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion. + # p result + # + def get_goldengate_deployment_version request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.get_goldengate_deployment_version.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment_version.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.get_goldengate_deployment_version.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.get_goldengate_deployment_version request, options do |result, operation| + yield result, operation if block_given? + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Lists GoldengateDeploymentVersions in a given project and location. + # + # @overload list_goldengate_deployment_versions(request, options = nil) + # Pass arguments to `list_goldengate_deployment_versions` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload list_goldengate_deployment_versions(parent: nil, page_size: nil, page_token: nil, filter: nil) + # Pass arguments to `list_goldengate_deployment_versions` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. Parent value for ListGoldengateDeploymentVersionsRequest + # Format: projects/\\{project}/locations/\\{location} + # @param page_size [::Integer] + # Optional. Requested page size. Server may return fewer items than + # requested. If unspecified, server will pick an appropriate default. The + # maximum value is 1000; values above 1000 will be coerced to 1000. + # @param page_token [::String] + # Optional. A token identifying a page of results the server should return. + # @param filter [::String] + # Optional. An expression for filtering the results of the request. Either + # the deployment_id and deployment_type fields must be specified in the + # format: `deployment_id="id"` or `deployment_type="DATABASE_ORACLE"`. + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion>] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion>] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest.new + # + # # Call the list_goldengate_deployment_versions method. + # result = client.list_goldengate_deployment_versions request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion. + # p item + # end + # + def list_goldengate_deployment_versions request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.list_goldengate_deployment_versions.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.list_goldengate_deployment_versions.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.list_goldengate_deployment_versions.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.list_goldengate_deployment_versions request, options do |result, operation| + result = ::Gapic::Rest::PagedEnumerable.new @oracle_database_stub, :list_goldengate_deployment_versions, "goldengate_deployment_versions", request, result, options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Gets details of a single GoldenGateDeploymentType. + # + # @overload get_goldengate_deployment_type(request, options = nil) + # Pass arguments to `get_goldengate_deployment_type` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload get_goldengate_deployment_type(name: nil) + # Pass arguments to `get_goldengate_deployment_type` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateDeploymentType to retrieve. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateDeploymentTypes/\\{goldengate_deployment_type} + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest.new + # + # # Call the get_goldengate_deployment_type method. + # result = client.get_goldengate_deployment_type request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType. + # p result + # + def get_goldengate_deployment_type request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.get_goldengate_deployment_type.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment_type.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.get_goldengate_deployment_type.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.get_goldengate_deployment_type request, options do |result, operation| + yield result, operation if block_given? + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Lists GoldenGateDeploymentTypes in a given project and location. + # + # @overload list_goldengate_deployment_types(request, options = nil) + # Pass arguments to `list_goldengate_deployment_types` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload list_goldengate_deployment_types(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) + # Pass arguments to `list_goldengate_deployment_types` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent resource. + # Format: projects/\\{project}/locations/\\{location} + # @param page_size [::Integer] + # Optional. Requested page size. Server may return fewer items than + # requested. If unspecified, server will pick an appropriate default. + # @param page_token [::String] + # Optional. A token identifying a page of results the server should return. + # @param filter [::String] + # Optional. An expression for filtering the results of the request. Either + # the deployment_type and ogg_version fields must be specified in the format: + # `deployment_type="DATABASE_ORACLE"` or `ogg_version="version"`. + # Allowed values for deployment_type are: `DATABASE_ORACLE`, `BIGDATA`, + # `DATABASE_MICROSOFT_SQLSERVER`, `DATABASE_MYSQL`, `DATABASE_POSTGRESQL`, + # `DATABASE_DB2ZOS`, `DATABASE_DB2I`, `GGSA`, `DATA_TRANSFORMS`. + # @param order_by [::String] + # Optional. Hint for how to order the results + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType>] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType>] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest.new + # + # # Call the list_goldengate_deployment_types method. + # result = client.list_goldengate_deployment_types request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType. + # p item + # end + # + def list_goldengate_deployment_types request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.list_goldengate_deployment_types.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.list_goldengate_deployment_types.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.list_goldengate_deployment_types.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.list_goldengate_deployment_types request, options do |result, operation| + result = ::Gapic::Rest::PagedEnumerable.new @oracle_database_stub, :list_goldengate_deployment_types, "goldengate_deployment_types", request, result, options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Gets details of a single GoldengateDeploymentEnvironment. + # + # @overload get_goldengate_deployment_environment(request, options = nil) + # Pass arguments to `get_goldengate_deployment_environment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload get_goldengate_deployment_environment(name: nil) + # Pass arguments to `get_goldengate_deployment_environment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. Name of the resource with the format: + # projects/\\{project}/locations/\\{location}/goldengateDeploymentEnvironments/\\{goldengate_deployment_environment} + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest.new + # + # # Call the get_goldengate_deployment_environment method. + # result = client.get_goldengate_deployment_environment request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment. + # p result + # + def get_goldengate_deployment_environment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.get_goldengate_deployment_environment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment_environment.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.get_goldengate_deployment_environment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.get_goldengate_deployment_environment request, options do |result, operation| + yield result, operation if block_given? + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Lists GoldengateDeploymentEnvironments in a given project and location. + # + # @overload list_goldengate_deployment_environments(request, options = nil) + # Pass arguments to `list_goldengate_deployment_environments` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload list_goldengate_deployment_environments(parent: nil, page_size: nil, page_token: nil) + # Pass arguments to `list_goldengate_deployment_environments` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent, which owns this collection of + # GoldengateDeploymentEnvironments. Format: + # projects/\\{project}/locations/\\{location} + # @param page_size [::Integer] + # Optional. The maximum number of items to return. + # If unspecified, at most 50 deployment environments will be returned. + # The maximum value is 1000; values above 1000 will be coerced to 1000. + # @param page_token [::String] + # Optional. A token identifying a page of results the server should return. + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment>] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment>] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest.new + # + # # Call the list_goldengate_deployment_environments method. + # result = client.list_goldengate_deployment_environments request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment. + # p item + # end + # + def list_goldengate_deployment_environments request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.list_goldengate_deployment_environments.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.list_goldengate_deployment_environments.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.list_goldengate_deployment_environments.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.list_goldengate_deployment_environments request, options do |result, operation| + result = ::Gapic::Rest::PagedEnumerable.new @oracle_database_stub, :list_goldengate_deployment_environments, "goldengate_deployment_environments", request, result, options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Gets details of a single GoldengateConnectionType. + # + # @overload get_goldengate_connection_type(request, options = nil) + # Pass arguments to `get_goldengate_connection_type` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload get_goldengate_connection_type(name: nil) + # Pass arguments to `get_goldengate_connection_type` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. Name of the resource in the format: + # projects/\\{project}/locations/\\{location}/goldengateConnectionTypes/\\{goldengate_connection_type} + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest.new + # + # # Call the get_goldengate_connection_type method. + # result = client.get_goldengate_connection_type request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateConnectionType. + # p result + # + def get_goldengate_connection_type request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.get_goldengate_connection_type.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.get_goldengate_connection_type.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.get_goldengate_connection_type.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.get_goldengate_connection_type request, options do |result, operation| + yield result, operation if block_given? + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Lists GoldengateConnectionTypes in a given project and location. + # + # @overload list_goldengate_connection_types(request, options = nil) + # Pass arguments to `list_goldengate_connection_types` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload list_goldengate_connection_types(parent: nil, page_size: nil, page_token: nil, filter: nil) + # Pass arguments to `list_goldengate_connection_types` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. Parent value for ListGoldengateConnectionTypesRequest + # Format: projects/\\{project}/locations/\\{location} + # @param page_size [::Integer] + # Optional. Requested page size. Server may return fewer items than + # requested. If unspecified, server will pick an appropriate default. + # @param page_token [::String] + # Optional. A token identifying a page of results the server should return. + # @param filter [::String] + # Optional. An expression for filtering the results of the request. The + # connection_type field must be specified in the format: + # `connection_type="ORACLE"`. + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType>] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType>] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest.new + # + # # Call the list_goldengate_connection_types method. + # result = client.list_goldengate_connection_types request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType. + # p item + # end + # + def list_goldengate_connection_types request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.list_goldengate_connection_types.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.list_goldengate_connection_types.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.list_goldengate_connection_types.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.list_goldengate_connection_types request, options do |result, operation| + result = ::Gapic::Rest::PagedEnumerable.new @oracle_database_stub, :list_goldengate_connection_types, "goldengate_connection_types", request, result, options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # List DbVersions for the given project and location. + # + # @overload list_db_versions(request, options = nil) + # Pass arguments to `list_db_versions` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload list_db_versions(parent: nil, page_size: nil, page_token: nil, filter: nil) + # Pass arguments to `list_db_versions` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent value for the DbVersion resource with the + # format: projects/\\{project}/locations/\\{location} + # @param page_size [::Integer] + # Optional. The maximum number of items to return. + # If unspecified, a maximum of 50 DbVersions will be returned. + # The maximum value is 1000; values above 1000 will be reset to 1000. + # @param page_token [::String] + # Optional. A token identifying the requested page of results to return. All + # fields except the filter should remain the same as in the request that + # provided this page token. + # @param filter [::String] + # Optional. Filter expression that matches a subset of the DbVersions to + # show. The supported filter for dbSystem creation is `db_system_shape = + # \\{db_system_shape} AND storage_management = \\{storage_management}`. If no + # filter is provided, all DbVersions will be returned. + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DbVersion>] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DbVersion>] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest.new + # + # # Call the list_db_versions method. + # result = client.list_db_versions request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::DbVersion. + # p item + # end + # + def list_db_versions request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.list_db_versions.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.list_db_versions.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.list_db_versions.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.list_db_versions request, options do |result, operation| + result = ::Gapic::Rest::PagedEnumerable.new @oracle_database_stub, :list_db_versions, "db_versions", request, result, options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # List DatabaseCharacterSets for the given project and location. + # + # @overload list_database_character_sets(request, options = nil) + # Pass arguments to `list_database_character_sets` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload list_database_character_sets(parent: nil, page_size: nil, page_token: nil, filter: nil) + # Pass arguments to `list_database_character_sets` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent value for DatabaseCharacterSets in the following + # format: projects/\\{project}/locations/\\{location}. + # @param page_size [::Integer] + # Optional. The maximum number of DatabaseCharacterSets to return. The + # service may return fewer than this value. If unspecified, at most 50 + # DatabaseCharacterSets will be returned. The maximum value is 1000; values + # above 1000 will be coerced to 1000. + # @param page_token [::String] + # Optional. A page token, received from a previous + # `ListDatabaseCharacterSets` call. Provide this to retrieve the subsequent + # page. + # + # When paginating, all other parameters provided to + # `ListDatabaseCharacterSets` must match the call that provided the page + # token. + # @param filter [::String] + # Optional. An expression for filtering the results of the request. Only the + # **character_set_type** field is supported in the following format: + # `character_set_type="{characterSetType}"`. Accepted values include + # `DATABASE` and `NATIONAL`. + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet>] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet>] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest.new + # + # # Call the list_database_character_sets method. + # result = client.list_database_character_sets request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::DatabaseCharacterSet. + # p item + # end + # + def list_database_character_sets request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.list_database_character_sets.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.list_database_character_sets.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.list_database_character_sets.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.list_database_character_sets request, options do |result, operation| + result = ::Gapic::Rest::PagedEnumerable.new @oracle_database_stub, :list_database_character_sets, "database_character_sets", request, result, options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Lists GoldengateConnectionAssignments in a given project and location. + # + # @overload list_goldengate_connection_assignments(request, options = nil) + # Pass arguments to `list_goldengate_connection_assignments` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload list_goldengate_connection_assignments(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) + # Pass arguments to `list_goldengate_connection_assignments` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent value for the GoldengateConnectionAssignments. + # Format: projects/\\{project}/locations/\\{location} + # @param page_size [::Integer] + # Optional. The maximum number of GoldengateConnectionAssignments to return. + # The service may return fewer than this value. If unspecified, at most 50 + # GoldengateConnectionAssignments will be returned. The maximum value is + # 1000; values above 1000 will be coerced to 1000. + # @param page_token [::String] + # Optional. A page token, received from a previous + # `ListGoldengateConnectionAssignments` call. Provide this to retrieve the + # subsequent page. + # + # When paginating, all other parameters provided to + # `ListGoldengateConnectionAssignments` must match the call that provided + # the page token. + # @param filter [::String] + # Optional. A filter expression that filters GoldengateConnectionAssignments + # listed in the response. + # @param order_by [::String] + # Optional. A comma-separated list of fields to order by, sorted in ascending + # order. Use "DESC" after a field name for descending. + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment>] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment>] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest.new + # + # # Call the list_goldengate_connection_assignments method. + # result = client.list_goldengate_connection_assignments request + # + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| + # # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment. + # p item + # end + # + def list_goldengate_connection_assignments request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.list_goldengate_connection_assignments.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.list_goldengate_connection_assignments.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.list_goldengate_connection_assignments.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.list_goldengate_connection_assignments request, options do |result, operation| + result = ::Gapic::Rest::PagedEnumerable.new @oracle_database_stub, :list_goldengate_connection_assignments, "goldengate_connection_assignments", request, result, options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Gets details of a single GoldengateConnectionAssignment. + # + # @overload get_goldengate_connection_assignment(request, options = nil) + # Pass arguments to `get_goldengate_connection_assignment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload get_goldengate_connection_assignment(name: nil) + # Pass arguments to `get_goldengate_connection_assignment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateConnectionAssignment to retrieve. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateConnectionAssignments/\\{goldengate_connection_assignment} + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest.new + # + # # Call the get_goldengate_connection_assignment method. + # result = client.get_goldengate_connection_assignment request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment. + # p result + # + def get_goldengate_connection_assignment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.get_goldengate_connection_assignment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.get_goldengate_connection_assignment.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.get_goldengate_connection_assignment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.get_goldengate_connection_assignment request, options do |result, operation| + yield result, operation if block_given? + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Creates a new GoldengateConnectionAssignment in a given project and + # location. + # + # @overload create_goldengate_connection_assignment(request, options = nil) + # Pass arguments to `create_goldengate_connection_assignment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload create_goldengate_connection_assignment(parent: nil, goldengate_connection_assignment_id: nil, goldengate_connection_assignment: nil, request_id: nil) + # Pass arguments to `create_goldengate_connection_assignment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param parent [::String] + # Required. The parent resource where this GoldengateConnectionAssignment + # will be created. Format: projects/\\{project}/locations/\\{location} + # @param goldengate_connection_assignment_id [::String] + # Required. The ID of the GoldengateConnectionAssignment to create. + # @param goldengate_connection_assignment [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment, ::Hash] + # Required. The GoldengateConnectionAssignment to create. + # @param request_id [::String] + # Optional. An optional request ID to identify requests. Specify a unique + # request ID so that if you must retry your request, the server will know to + # ignore the request if it has already been completed. The server will + # guarantee that for at least 60 minutes since the first request. + # + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request + # ID, the server can check if original operation with the same request ID + # was received, and if so, will ignore the second request. This prevents + # clients from accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Operation] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest.new + # + # # Call the create_goldengate_connection_assignment method. + # result = client.create_goldengate_connection_assignment request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def create_goldengate_connection_assignment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.create_goldengate_connection_assignment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.create_goldengate_connection_assignment.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.create_goldengate_connection_assignment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.create_goldengate_connection_assignment request, options do |result, operation| + result = ::Gapic::Operation.new result, @operations_client, options: options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Deletes a single GoldengateConnectionAssignment. + # + # @overload delete_goldengate_connection_assignment(request, options = nil) + # Pass arguments to `delete_goldengate_connection_assignment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload delete_goldengate_connection_assignment(name: nil, request_id: nil) + # Pass arguments to `delete_goldengate_connection_assignment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. The name of the GoldengateConnectionAssignment to delete. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateConnectionAssignments/\\{goldengate_connection_assignment} + # @param request_id [::String] + # Optional. An optional request ID to identify requests. Specify a unique + # request ID so that if you must retry your request, the server will know to + # ignore the request if it has already been completed. The server will + # guarantee that for at least 60 minutes after the first request. + # + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request + # ID, the server can check if original operation with the same request ID + # was received, and if so, will ignore the second request. This prevents + # clients from accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Gapic::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Gapic::Operation] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest.new + # + # # Call the delete_goldengate_connection_assignment method. + # result = client.delete_goldengate_connection_assignment request + # + # # The returned object is of type Gapic::Operation. You can use it to + # # check the status of an operation, cancel it, or wait for results. + # # Here is how to wait for a response. + # result.wait_until_done! timeout: 60 + # if result.response? + # p result.response + # else + # puts "No response received." + # end + # + def delete_goldengate_connection_assignment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.delete_goldengate_connection_assignment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.delete_goldengate_connection_assignment.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.delete_goldengate_connection_assignment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.delete_goldengate_connection_assignment request, options do |result, operation| + result = ::Gapic::Operation.new result, @operations_client, options: options + yield result, operation if block_given? + throw :response, result + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Tests a single GoldengateConnectionAssignment. + # + # @overload test_goldengate_connection_assignment(request, options = nil) + # Pass arguments to `test_goldengate_connection_assignment` via a request object, either of type + # {::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest} or an equivalent Hash. + # + # @param request [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest, ::Hash] + # A request object representing the call parameters. Required. To specify no + # parameters, or to keep all the default parameter values, pass an empty Hash. + # @param options [::Gapic::CallOptions, ::Hash] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @overload test_goldengate_connection_assignment(name: nil, type: nil) + # Pass arguments to `test_goldengate_connection_assignment` via keyword arguments. Note that at + # least one keyword argument is required. To specify no parameters, or to keep all + # the default parameter values, pass an empty Hash as a request object (see above). + # + # @param name [::String] + # Required. Name of the connection assignment for which to test connection. + # projects/\\{project}/locations/\\{region}/goldengateConnectionAssignments/\\{goldengate_connection_assignment} + # @param type [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest::TestType] + # Optional. The type of the test of the assigned connection. + # The only type actually supported is DEFAULT. + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse] + # + # @raise [::Google::Cloud::Error] if the REST call is aborted. + # + # @example Basic example + # require "google/cloud/oracle_database/v1" + # + # # Create a client object. The client can be reused for multiple calls. + # client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new + # + # # Create a request. To set request fields, pass in keyword arguments. + # request = Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest.new + # + # # Call the test_goldengate_connection_assignment method. + # result = client.test_goldengate_connection_assignment request + # + # # The returned object is of type Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse. + # p result + # + def test_goldengate_connection_assignment request, options = nil + raise ::ArgumentError, "request must be provided" if request.nil? + + request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest + + # Converts hash and nil to an options object + options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h + + # Customize the options with defaults + call_metadata = @config.rpcs.test_goldengate_connection_assignment.metadata.to_h + + # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers + call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ + lib_name: @config.lib_name, lib_version: @config.lib_version, + gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION, + transports_version_send: [:rest] + + call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? + call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id + + options.apply_defaults timeout: @config.rpcs.test_goldengate_connection_assignment.timeout, + metadata: call_metadata, + retry_policy: @config.rpcs.test_goldengate_connection_assignment.retry_policy + + options.apply_defaults timeout: @config.timeout, + metadata: @config.metadata, + retry_policy: @config.retry_policy + + @oracle_database_stub.test_goldengate_connection_assignment request, options do |result, operation| + yield result, operation if block_given? + end + rescue ::Gapic::Rest::Error => e + raise ::Google::Cloud::Error.from_error(e) + end + + ## + # Configuration class for the OracleDatabase REST API. + # + # This class represents the configuration for OracleDatabase REST, + # providing control over timeouts, retry behavior, logging, transport + # parameters, and other low-level controls. Certain parameters can also be + # applied individually to specific RPCs. See + # {::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client::Configuration::Rpcs} + # for a list of RPCs that can be configured independently. + # + # Configuration can be applied globally to all clients, or to a single client + # on construction. + # + # @example + # + # # Modify the global config, setting the timeout for + # # list_cloud_exadata_infrastructures to 20 seconds, + # # and all remaining timeouts to 10 seconds. + # ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.configure do |config| + # config.timeout = 10.0 + # config.rpcs.list_cloud_exadata_infrastructures.timeout = 20.0 + # end + # + # # Apply the above configuration only to a new client. + # client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + # config.timeout = 10.0 + # config.rpcs.list_cloud_exadata_infrastructures.timeout = 20.0 + # end + # + # @!attribute [rw] endpoint + # A custom service endpoint, as a hostname or hostname:port. The default is + # nil, indicating to use the default endpoint in the current universe domain. + # @return [::String,nil] + # @!attribute [rw] credentials + # Credentials to send with calls. You may provide any of the following types: + # * (`String`) The path to a service account key file in JSON format + # * (`Hash`) A service account key as a Hash + # * (`Google::Auth::Credentials`) A googleauth credentials object + # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials)) + # * (`Signet::OAuth2::Client`) A signet oauth2 client object + # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client)) + # * (`nil`) indicating no credentials + # + # Warning: If you accept a credential configuration (JSON file or Hash) from an + # external source for authentication to Google Cloud, you must validate it before + # providing it to a Google API client library. Providing an unvalidated credential + # configuration to Google APIs can compromise the security of your systems and data. + # For more information, refer to [Validate credential configurations from external + # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials). + # @return [::Object] # @!attribute [rw] scope # The OAuth scopes # @return [::Array<::String>] @@ -6262,6 +8426,96 @@ class Rpcs # attr_reader :delete_db_system ## + # RPC-specific configuration for `list_goldengate_deployments` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_deployments + ## + # RPC-specific configuration for `get_goldengate_deployment` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_deployment + ## + # RPC-specific configuration for `create_goldengate_deployment` + # @return [::Gapic::Config::Method] + # + attr_reader :create_goldengate_deployment + ## + # RPC-specific configuration for `delete_goldengate_deployment` + # @return [::Gapic::Config::Method] + # + attr_reader :delete_goldengate_deployment + ## + # RPC-specific configuration for `stop_goldengate_deployment` + # @return [::Gapic::Config::Method] + # + attr_reader :stop_goldengate_deployment + ## + # RPC-specific configuration for `start_goldengate_deployment` + # @return [::Gapic::Config::Method] + # + attr_reader :start_goldengate_deployment + ## + # RPC-specific configuration for `list_goldengate_connections` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_connections + ## + # RPC-specific configuration for `get_goldengate_connection` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_connection + ## + # RPC-specific configuration for `create_goldengate_connection` + # @return [::Gapic::Config::Method] + # + attr_reader :create_goldengate_connection + ## + # RPC-specific configuration for `delete_goldengate_connection` + # @return [::Gapic::Config::Method] + # + attr_reader :delete_goldengate_connection + ## + # RPC-specific configuration for `get_goldengate_deployment_version` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_deployment_version + ## + # RPC-specific configuration for `list_goldengate_deployment_versions` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_deployment_versions + ## + # RPC-specific configuration for `get_goldengate_deployment_type` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_deployment_type + ## + # RPC-specific configuration for `list_goldengate_deployment_types` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_deployment_types + ## + # RPC-specific configuration for `get_goldengate_deployment_environment` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_deployment_environment + ## + # RPC-specific configuration for `list_goldengate_deployment_environments` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_deployment_environments + ## + # RPC-specific configuration for `get_goldengate_connection_type` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_connection_type + ## + # RPC-specific configuration for `list_goldengate_connection_types` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_connection_types + ## # RPC-specific configuration for `list_db_versions` # @return [::Gapic::Config::Method] # @@ -6271,6 +8525,31 @@ class Rpcs # @return [::Gapic::Config::Method] # attr_reader :list_database_character_sets + ## + # RPC-specific configuration for `list_goldengate_connection_assignments` + # @return [::Gapic::Config::Method] + # + attr_reader :list_goldengate_connection_assignments + ## + # RPC-specific configuration for `get_goldengate_connection_assignment` + # @return [::Gapic::Config::Method] + # + attr_reader :get_goldengate_connection_assignment + ## + # RPC-specific configuration for `create_goldengate_connection_assignment` + # @return [::Gapic::Config::Method] + # + attr_reader :create_goldengate_connection_assignment + ## + # RPC-specific configuration for `delete_goldengate_connection_assignment` + # @return [::Gapic::Config::Method] + # + attr_reader :delete_goldengate_connection_assignment + ## + # RPC-specific configuration for `test_goldengate_connection_assignment` + # @return [::Gapic::Config::Method] + # + attr_reader :test_goldengate_connection_assignment # @private def initialize parent_rpcs = nil @@ -6386,10 +8665,56 @@ def initialize parent_rpcs = nil @create_db_system = ::Gapic::Config::Method.new create_db_system_config delete_db_system_config = parent_rpcs.delete_db_system if parent_rpcs.respond_to? :delete_db_system @delete_db_system = ::Gapic::Config::Method.new delete_db_system_config + list_goldengate_deployments_config = parent_rpcs.list_goldengate_deployments if parent_rpcs.respond_to? :list_goldengate_deployments + @list_goldengate_deployments = ::Gapic::Config::Method.new list_goldengate_deployments_config + get_goldengate_deployment_config = parent_rpcs.get_goldengate_deployment if parent_rpcs.respond_to? :get_goldengate_deployment + @get_goldengate_deployment = ::Gapic::Config::Method.new get_goldengate_deployment_config + create_goldengate_deployment_config = parent_rpcs.create_goldengate_deployment if parent_rpcs.respond_to? :create_goldengate_deployment + @create_goldengate_deployment = ::Gapic::Config::Method.new create_goldengate_deployment_config + delete_goldengate_deployment_config = parent_rpcs.delete_goldengate_deployment if parent_rpcs.respond_to? :delete_goldengate_deployment + @delete_goldengate_deployment = ::Gapic::Config::Method.new delete_goldengate_deployment_config + stop_goldengate_deployment_config = parent_rpcs.stop_goldengate_deployment if parent_rpcs.respond_to? :stop_goldengate_deployment + @stop_goldengate_deployment = ::Gapic::Config::Method.new stop_goldengate_deployment_config + start_goldengate_deployment_config = parent_rpcs.start_goldengate_deployment if parent_rpcs.respond_to? :start_goldengate_deployment + @start_goldengate_deployment = ::Gapic::Config::Method.new start_goldengate_deployment_config + list_goldengate_connections_config = parent_rpcs.list_goldengate_connections if parent_rpcs.respond_to? :list_goldengate_connections + @list_goldengate_connections = ::Gapic::Config::Method.new list_goldengate_connections_config + get_goldengate_connection_config = parent_rpcs.get_goldengate_connection if parent_rpcs.respond_to? :get_goldengate_connection + @get_goldengate_connection = ::Gapic::Config::Method.new get_goldengate_connection_config + create_goldengate_connection_config = parent_rpcs.create_goldengate_connection if parent_rpcs.respond_to? :create_goldengate_connection + @create_goldengate_connection = ::Gapic::Config::Method.new create_goldengate_connection_config + delete_goldengate_connection_config = parent_rpcs.delete_goldengate_connection if parent_rpcs.respond_to? :delete_goldengate_connection + @delete_goldengate_connection = ::Gapic::Config::Method.new delete_goldengate_connection_config + get_goldengate_deployment_version_config = parent_rpcs.get_goldengate_deployment_version if parent_rpcs.respond_to? :get_goldengate_deployment_version + @get_goldengate_deployment_version = ::Gapic::Config::Method.new get_goldengate_deployment_version_config + list_goldengate_deployment_versions_config = parent_rpcs.list_goldengate_deployment_versions if parent_rpcs.respond_to? :list_goldengate_deployment_versions + @list_goldengate_deployment_versions = ::Gapic::Config::Method.new list_goldengate_deployment_versions_config + get_goldengate_deployment_type_config = parent_rpcs.get_goldengate_deployment_type if parent_rpcs.respond_to? :get_goldengate_deployment_type + @get_goldengate_deployment_type = ::Gapic::Config::Method.new get_goldengate_deployment_type_config + list_goldengate_deployment_types_config = parent_rpcs.list_goldengate_deployment_types if parent_rpcs.respond_to? :list_goldengate_deployment_types + @list_goldengate_deployment_types = ::Gapic::Config::Method.new list_goldengate_deployment_types_config + get_goldengate_deployment_environment_config = parent_rpcs.get_goldengate_deployment_environment if parent_rpcs.respond_to? :get_goldengate_deployment_environment + @get_goldengate_deployment_environment = ::Gapic::Config::Method.new get_goldengate_deployment_environment_config + list_goldengate_deployment_environments_config = parent_rpcs.list_goldengate_deployment_environments if parent_rpcs.respond_to? :list_goldengate_deployment_environments + @list_goldengate_deployment_environments = ::Gapic::Config::Method.new list_goldengate_deployment_environments_config + get_goldengate_connection_type_config = parent_rpcs.get_goldengate_connection_type if parent_rpcs.respond_to? :get_goldengate_connection_type + @get_goldengate_connection_type = ::Gapic::Config::Method.new get_goldengate_connection_type_config + list_goldengate_connection_types_config = parent_rpcs.list_goldengate_connection_types if parent_rpcs.respond_to? :list_goldengate_connection_types + @list_goldengate_connection_types = ::Gapic::Config::Method.new list_goldengate_connection_types_config list_db_versions_config = parent_rpcs.list_db_versions if parent_rpcs.respond_to? :list_db_versions @list_db_versions = ::Gapic::Config::Method.new list_db_versions_config list_database_character_sets_config = parent_rpcs.list_database_character_sets if parent_rpcs.respond_to? :list_database_character_sets @list_database_character_sets = ::Gapic::Config::Method.new list_database_character_sets_config + list_goldengate_connection_assignments_config = parent_rpcs.list_goldengate_connection_assignments if parent_rpcs.respond_to? :list_goldengate_connection_assignments + @list_goldengate_connection_assignments = ::Gapic::Config::Method.new list_goldengate_connection_assignments_config + get_goldengate_connection_assignment_config = parent_rpcs.get_goldengate_connection_assignment if parent_rpcs.respond_to? :get_goldengate_connection_assignment + @get_goldengate_connection_assignment = ::Gapic::Config::Method.new get_goldengate_connection_assignment_config + create_goldengate_connection_assignment_config = parent_rpcs.create_goldengate_connection_assignment if parent_rpcs.respond_to? :create_goldengate_connection_assignment + @create_goldengate_connection_assignment = ::Gapic::Config::Method.new create_goldengate_connection_assignment_config + delete_goldengate_connection_assignment_config = parent_rpcs.delete_goldengate_connection_assignment if parent_rpcs.respond_to? :delete_goldengate_connection_assignment + @delete_goldengate_connection_assignment = ::Gapic::Config::Method.new delete_goldengate_connection_assignment_config + test_goldengate_connection_assignment_config = parent_rpcs.test_goldengate_connection_assignment if parent_rpcs.respond_to? :test_goldengate_connection_assignment + @test_goldengate_connection_assignment = ::Gapic::Config::Method.new test_goldengate_connection_assignment_config yield self if block_given? end diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb index 0094556dc491..6a11df1272ab 100644 --- a/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb @@ -2314,23 +2314,23 @@ def delete_db_system request_pb, options = nil end ## - # Baseline implementation for the list_db_versions REST call + # Baseline implementation for the list_goldengate_deployments REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest] # A request object representing the call parameters. Required. # @param options [::Gapic::CallOptions] # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. # # @yield [result, operation] Access the result along with the TransportOperation object - # @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse] + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsResponse] # @yieldparam operation [::Gapic::Rest::TransportOperation] # - # @return [::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse] + # @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsResponse] # A result object deserialized from the server's reply - def list_db_versions request_pb, options = nil + def list_goldengate_deployments request_pb, options = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? - verb, uri, query_string_params, body = ServiceStub.transcode_list_db_versions_request request_pb + verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_deployments_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else @@ -2342,11 +2342,11 @@ def list_db_versions request_pb, options = nil uri: uri, body: body || "", params: query_string_params, - method_name: "list_db_versions", + method_name: "list_goldengate_deployments", options: options ) operation = ::Gapic::Rest::TransportOperation.new response - result = ::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse.decode_json response.body, ignore_unknown_fields: true + result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsResponse.decode_json response.body, ignore_unknown_fields: true catch :response do yield result, operation if block_given? result @@ -2354,23 +2354,23 @@ def list_db_versions request_pb, options = nil end ## - # Baseline implementation for the list_database_character_sets REST call + # Baseline implementation for the get_goldengate_deployment REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest] # A request object representing the call parameters. Required. # @param options [::Gapic::CallOptions] # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. # # @yield [result, operation] Access the result along with the TransportOperation object - # @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse] + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeployment] # @yieldparam operation [::Gapic::Rest::TransportOperation] # - # @return [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse] + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeployment] # A result object deserialized from the server's reply - def list_database_character_sets request_pb, options = nil + def get_goldengate_deployment request_pb, options = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? - verb, uri, query_string_params, body = ServiceStub.transcode_list_database_character_sets_request request_pb + verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_deployment_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else @@ -2382,11 +2382,11 @@ def list_database_character_sets request_pb, options = nil uri: uri, body: body || "", params: query_string_params, - method_name: "list_database_character_sets", + method_name: "get_goldengate_deployment", options: options ) operation = ::Gapic::Rest::TransportOperation.new response - result = ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse.decode_json response.body, ignore_unknown_fields: true + result = ::Google::Cloud::OracleDatabase::V1::GoldengateDeployment.decode_json response.body, ignore_unknown_fields: true catch :response do yield result, operation if block_given? result @@ -2394,85 +2394,1503 @@ def list_database_character_sets request_pb, options = nil end ## - # @private + # Baseline implementation for the create_goldengate_deployment REST call # - # GRPC transcoding helper method for the list_cloud_exadata_infrastructures REST call + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListCloudExadataInfrastructuresRequest] + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Longrunning::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Longrunning::Operation] + # A result object deserialized from the server's reply + def create_goldengate_deployment request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_create_goldengate_deployment_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "create_goldengate_deployment", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the delete_goldengate_deployment REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest] # A request object representing the call parameters. Required. - # @return [Array(String, [String, nil], Hash{String => String})] - # Uri, Body, Query string parameters - def self.transcode_list_cloud_exadata_infrastructures_request request_pb - transcoder = Gapic::Rest::GrpcTranscoder.new - .with_bindings( - uri_method: :get, - uri_template: "/v1/{parent}/cloudExadataInfrastructures", - matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] - ] - ) - transcoder.transcode request_pb + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Longrunning::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Longrunning::Operation] + # A result object deserialized from the server's reply + def delete_goldengate_deployment request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_delete_goldengate_deployment_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "delete_goldengate_deployment", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end end ## - # @private + # Baseline implementation for the stop_goldengate_deployment REST call # - # GRPC transcoding helper method for the get_cloud_exadata_infrastructure REST call + # @param request_pb [::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetCloudExadataInfrastructureRequest] + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Longrunning::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Longrunning::Operation] + # A result object deserialized from the server's reply + def stop_goldengate_deployment request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_stop_goldengate_deployment_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "stop_goldengate_deployment", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the start_goldengate_deployment REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest] # A request object representing the call parameters. Required. - # @return [Array(String, [String, nil], Hash{String => String})] - # Uri, Body, Query string parameters - def self.transcode_get_cloud_exadata_infrastructure_request request_pb - transcoder = Gapic::Rest::GrpcTranscoder.new - .with_bindings( - uri_method: :get, - uri_template: "/v1/{name}", - matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/cloudExadataInfrastructures/[^/]+/?$}, false] - ] - ) - transcoder.transcode request_pb + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Longrunning::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Longrunning::Operation] + # A result object deserialized from the server's reply + def start_goldengate_deployment request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_start_goldengate_deployment_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "start_goldengate_deployment", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end end ## - # @private + # Baseline implementation for the list_goldengate_connections REST call # - # GRPC transcoding helper method for the create_cloud_exadata_infrastructure REST call + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateCloudExadataInfrastructureRequest] + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsResponse] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsResponse] + # A result object deserialized from the server's reply + def list_goldengate_connections request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_connections_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "list_goldengate_connections", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsResponse.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the get_goldengate_connection REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest] # A request object representing the call parameters. Required. - # @return [Array(String, [String, nil], Hash{String => String})] - # Uri, Body, Query string parameters - def self.transcode_create_cloud_exadata_infrastructure_request request_pb - transcoder = Gapic::Rest::GrpcTranscoder.new - .with_bindings( - uri_method: :post, - uri_template: "/v1/{parent}/cloudExadataInfrastructures", - body: "cloud_exadata_infrastructure", - matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] - ] - ) - transcoder.transcode request_pb + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateConnection] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnection] + # A result object deserialized from the server's reply + def get_goldengate_connection request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_connection_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "get_goldengate_connection", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::GoldengateConnection.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end end ## - # @private + # Baseline implementation for the create_goldengate_connection REST call # - # GRPC transcoding helper method for the delete_cloud_exadata_infrastructure REST call + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteCloudExadataInfrastructureRequest] + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Longrunning::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Longrunning::Operation] + # A result object deserialized from the server's reply + def create_goldengate_connection request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_create_goldengate_connection_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "create_goldengate_connection", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the delete_goldengate_connection REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Longrunning::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Longrunning::Operation] + # A result object deserialized from the server's reply + def delete_goldengate_connection request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_delete_goldengate_connection_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "delete_goldengate_connection", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the get_goldengate_deployment_version REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion] + # A result object deserialized from the server's reply + def get_goldengate_deployment_version request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_deployment_version_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "get_goldengate_deployment_version", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the list_goldengate_deployment_versions REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsResponse] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsResponse] + # A result object deserialized from the server's reply + def list_goldengate_deployment_versions request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_deployment_versions_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "list_goldengate_deployment_versions", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsResponse.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the get_goldengate_deployment_type REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType] + # A result object deserialized from the server's reply + def get_goldengate_deployment_type request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_deployment_type_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "get_goldengate_deployment_type", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the list_goldengate_deployment_types REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesResponse] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesResponse] + # A result object deserialized from the server's reply + def list_goldengate_deployment_types request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_deployment_types_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "list_goldengate_deployment_types", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesResponse.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the get_goldengate_deployment_environment REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment] + # A result object deserialized from the server's reply + def get_goldengate_deployment_environment request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_deployment_environment_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "get_goldengate_deployment_environment", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the list_goldengate_deployment_environments REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsResponse] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsResponse] + # A result object deserialized from the server's reply + def list_goldengate_deployment_environments request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_deployment_environments_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "list_goldengate_deployment_environments", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsResponse.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the get_goldengate_connection_type REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType] + # A result object deserialized from the server's reply + def get_goldengate_connection_type request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_connection_type_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "get_goldengate_connection_type", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the list_goldengate_connection_types REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesResponse] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesResponse] + # A result object deserialized from the server's reply + def list_goldengate_connection_types request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_connection_types_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "list_goldengate_connection_types", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesResponse.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the list_db_versions REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse] + # A result object deserialized from the server's reply + def list_db_versions request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_list_db_versions_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "list_db_versions", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the list_database_character_sets REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse] + # A result object deserialized from the server's reply + def list_database_character_sets request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_list_database_character_sets_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "list_database_character_sets", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the list_goldengate_connection_assignments REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsResponse] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsResponse] + # A result object deserialized from the server's reply + def list_goldengate_connection_assignments request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_list_goldengate_connection_assignments_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "list_goldengate_connection_assignments", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsResponse.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the get_goldengate_connection_assignment REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment] + # A result object deserialized from the server's reply + def get_goldengate_connection_assignment request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_get_goldengate_connection_assignment_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "get_goldengate_connection_assignment", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the create_goldengate_connection_assignment REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Longrunning::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Longrunning::Operation] + # A result object deserialized from the server's reply + def create_goldengate_connection_assignment request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_create_goldengate_connection_assignment_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "create_goldengate_connection_assignment", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the delete_goldengate_connection_assignment REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Longrunning::Operation] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Longrunning::Operation] + # A result object deserialized from the server's reply + def delete_goldengate_connection_assignment request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_delete_goldengate_connection_assignment_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "delete_goldengate_connection_assignment", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # Baseline implementation for the test_goldengate_connection_assignment REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest] + # A request object representing the call parameters. Required. + # @param options [::Gapic::CallOptions] + # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. + # + # @yield [result, operation] Access the result along with the TransportOperation object + # @yieldparam result [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse] + # @yieldparam operation [::Gapic::Rest::TransportOperation] + # + # @return [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse] + # A result object deserialized from the server's reply + def test_goldengate_connection_assignment request_pb, options = nil + raise ::ArgumentError, "request must be provided" if request_pb.nil? + + verb, uri, query_string_params, body = ServiceStub.transcode_test_goldengate_connection_assignment_request request_pb + query_string_params = if query_string_params.any? + query_string_params.to_h { |p| p.split "=", 2 } + else + {} + end + + response = @client_stub.make_http_request( + verb, + uri: uri, + body: body || "", + params: query_string_params, + method_name: "test_goldengate_connection_assignment", + options: options + ) + operation = ::Gapic::Rest::TransportOperation.new response + result = ::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse.decode_json response.body, ignore_unknown_fields: true + catch :response do + yield result, operation if block_given? + result + end + end + + ## + # @private + # + # GRPC transcoding helper method for the list_cloud_exadata_infrastructures REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListCloudExadataInfrastructuresRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_list_cloud_exadata_infrastructures_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{parent}/cloudExadataInfrastructures", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the get_cloud_exadata_infrastructure REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetCloudExadataInfrastructureRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_get_cloud_exadata_infrastructure_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{name}", + matches: [ + ["name", %r{^projects/[^/]+/locations/[^/]+/cloudExadataInfrastructures/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the create_cloud_exadata_infrastructure REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateCloudExadataInfrastructureRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_create_cloud_exadata_infrastructure_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :post, + uri_template: "/v1/{parent}/cloudExadataInfrastructures", + body: "cloud_exadata_infrastructure", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the delete_cloud_exadata_infrastructure REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteCloudExadataInfrastructureRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_delete_cloud_exadata_infrastructure_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :delete, + uri_template: "/v1/{name}", + matches: [ + ["name", %r{^projects/[^/]+/locations/[^/]+/cloudExadataInfrastructures/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the list_cloud_vm_clusters REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListCloudVmClustersRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_list_cloud_vm_clusters_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{parent}/cloudVmClusters", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the get_cloud_vm_cluster REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetCloudVmClusterRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_get_cloud_vm_cluster_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{name}", + matches: [ + ["name", %r{^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the create_cloud_vm_cluster REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateCloudVmClusterRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_create_cloud_vm_cluster_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :post, + uri_template: "/v1/{parent}/cloudVmClusters", + body: "cloud_vm_cluster", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the delete_cloud_vm_cluster REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteCloudVmClusterRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_delete_cloud_vm_cluster_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :delete, + uri_template: "/v1/{name}", + matches: [ + ["name", %r{^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the list_entitlements REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListEntitlementsRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_list_entitlements_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{parent}/entitlements", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the list_db_servers REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbServersRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_list_db_servers_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{parent}/dbServers", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/cloudExadataInfrastructures/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the list_db_nodes REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbNodesRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_list_db_nodes_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{parent}/dbNodes", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+/?$}, false] + ] + ) + .with_bindings( + uri_method: :get, + uri_template: "/v1/{parent}/dbNodes", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the list_gi_versions REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGiVersionsRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_list_gi_versions_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{parent}/giVersions", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the list_minor_versions REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListMinorVersionsRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_list_minor_versions_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{parent}/minorVersions", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/giVersions/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the list_db_system_shapes REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemShapesRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_list_db_system_shapes_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{parent}/dbSystemShapes", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the list_autonomous_databases REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabasesRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_list_autonomous_databases_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{parent}/autonomousDatabases", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the get_autonomous_database REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetAutonomousDatabaseRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_get_autonomous_database_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{name}", + matches: [ + ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the create_autonomous_database REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateAutonomousDatabaseRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_create_autonomous_database_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :post, + uri_template: "/v1/{parent}/autonomousDatabases", + body: "autonomous_database", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the update_autonomous_database REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::UpdateAutonomousDatabaseRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_update_autonomous_database_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :patch, + uri_template: "/v1/{autonomous_database.name}", + body: "autonomous_database", + matches: [ + ["autonomous_database.name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the delete_autonomous_database REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteAutonomousDatabaseRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_delete_autonomous_database_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :delete, + uri_template: "/v1/{name}", + matches: [ + ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the restore_autonomous_database REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::RestoreAutonomousDatabaseRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_restore_autonomous_database_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :post, + uri_template: "/v1/{name}:restore", + body: "*", + matches: [ + ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the generate_autonomous_database_wallet REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GenerateAutonomousDatabaseWalletRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_generate_autonomous_database_wallet_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :post, + uri_template: "/v1/{name}:generateWallet", + body: "*", + matches: [ + ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the list_autonomous_db_versions REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDbVersionsRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_list_autonomous_db_versions_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{parent}/autonomousDbVersions", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the list_autonomous_database_character_sets REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabaseCharacterSetsRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_list_autonomous_database_character_sets_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{parent}/autonomousDatabaseCharacterSets", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the list_autonomous_database_backups REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabaseBackupsRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_list_autonomous_database_backups_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :get, + uri_template: "/v1/{parent}/autonomousDatabaseBackups", + matches: [ + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the stop_autonomous_database REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::StopAutonomousDatabaseRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_stop_autonomous_database_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :post, + uri_template: "/v1/{name}:stop", + body: "*", + matches: [ + ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the start_autonomous_database REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::StartAutonomousDatabaseRequest] + # A request object representing the call parameters. Required. + # @return [Array(String, [String, nil], Hash{String => String})] + # Uri, Body, Query string parameters + def self.transcode_start_autonomous_database_request request_pb + transcoder = Gapic::Rest::GrpcTranscoder.new + .with_bindings( + uri_method: :post, + uri_template: "/v1/{name}:start", + body: "*", + matches: [ + ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ] + ) + transcoder.transcode request_pb + end + + ## + # @private + # + # GRPC transcoding helper method for the restart_autonomous_database REST call + # + # @param request_pb [::Google::Cloud::OracleDatabase::V1::RestartAutonomousDatabaseRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_delete_cloud_exadata_infrastructure_request request_pb + def self.transcode_restart_autonomous_database_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :delete, - uri_template: "/v1/{name}", + uri_method: :post, + uri_template: "/v1/{name}:restart", + body: "*", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/cloudExadataInfrastructures/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2481,19 +3899,20 @@ def self.transcode_delete_cloud_exadata_infrastructure_request request_pb ## # @private # - # GRPC transcoding helper method for the list_cloud_vm_clusters REST call + # GRPC transcoding helper method for the switchover_autonomous_database REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListCloudVmClustersRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::SwitchoverAutonomousDatabaseRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_cloud_vm_clusters_request request_pb + def self.transcode_switchover_autonomous_database_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :get, - uri_template: "/v1/{parent}/cloudVmClusters", + uri_method: :post, + uri_template: "/v1/{name}:switchover", + body: "*", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2502,19 +3921,20 @@ def self.transcode_list_cloud_vm_clusters_request request_pb ## # @private # - # GRPC transcoding helper method for the get_cloud_vm_cluster REST call + # GRPC transcoding helper method for the failover_autonomous_database REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetCloudVmClusterRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::FailoverAutonomousDatabaseRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_get_cloud_vm_cluster_request request_pb + def self.transcode_failover_autonomous_database_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :get, - uri_template: "/v1/{name}", + uri_method: :post, + uri_template: "/v1/{name}:failover", + body: "*", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2523,18 +3943,17 @@ def self.transcode_get_cloud_vm_cluster_request request_pb ## # @private # - # GRPC transcoding helper method for the create_cloud_vm_cluster REST call + # GRPC transcoding helper method for the list_odb_networks REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateCloudVmClusterRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListOdbNetworksRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_create_cloud_vm_cluster_request request_pb + def self.transcode_list_odb_networks_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :post, - uri_template: "/v1/{parent}/cloudVmClusters", - body: "cloud_vm_cluster", + uri_method: :get, + uri_template: "/v1/{parent}/odbNetworks", matches: [ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] @@ -2545,19 +3964,19 @@ def self.transcode_create_cloud_vm_cluster_request request_pb ## # @private # - # GRPC transcoding helper method for the delete_cloud_vm_cluster REST call + # GRPC transcoding helper method for the get_odb_network REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteCloudVmClusterRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetOdbNetworkRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_delete_cloud_vm_cluster_request request_pb + def self.transcode_get_odb_network_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :delete, + uri_method: :get, uri_template: "/v1/{name}", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2566,17 +3985,18 @@ def self.transcode_delete_cloud_vm_cluster_request request_pb ## # @private # - # GRPC transcoding helper method for the list_entitlements REST call + # GRPC transcoding helper method for the create_odb_network REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListEntitlementsRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateOdbNetworkRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_entitlements_request request_pb + def self.transcode_create_odb_network_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :get, - uri_template: "/v1/{parent}/entitlements", + uri_method: :post, + uri_template: "/v1/{parent}/odbNetworks", + body: "odb_network", matches: [ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] @@ -2587,19 +4007,19 @@ def self.transcode_list_entitlements_request request_pb ## # @private # - # GRPC transcoding helper method for the list_db_servers REST call + # GRPC transcoding helper method for the delete_odb_network REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbServersRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteOdbNetworkRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_db_servers_request request_pb + def self.transcode_delete_odb_network_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :get, - uri_template: "/v1/{parent}/dbServers", + uri_method: :delete, + uri_template: "/v1/{name}", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/cloudExadataInfrastructures/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2608,26 +4028,19 @@ def self.transcode_list_db_servers_request request_pb ## # @private # - # GRPC transcoding helper method for the list_db_nodes REST call + # GRPC transcoding helper method for the list_odb_subnets REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbNodesRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListOdbSubnetsRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_db_nodes_request request_pb + def self.transcode_list_odb_subnets_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{parent}/dbNodes", - matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/cloudVmClusters/[^/]+/?$}, false] - ] - ) - .with_bindings( - uri_method: :get, - uri_template: "/v1/{parent}/dbNodes", + uri_template: "/v1/{parent}/odbSubnets", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2636,19 +4049,19 @@ def self.transcode_list_db_nodes_request request_pb ## # @private # - # GRPC transcoding helper method for the list_gi_versions REST call + # GRPC transcoding helper method for the get_odb_subnet REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGiVersionsRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetOdbSubnetRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_gi_versions_request request_pb + def self.transcode_get_odb_subnet_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{parent}/giVersions", + uri_template: "/v1/{name}", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbSubnets/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2657,19 +4070,20 @@ def self.transcode_list_gi_versions_request request_pb ## # @private # - # GRPC transcoding helper method for the list_minor_versions REST call + # GRPC transcoding helper method for the create_odb_subnet REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListMinorVersionsRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateOdbSubnetRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_minor_versions_request request_pb + def self.transcode_create_odb_subnet_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :get, - uri_template: "/v1/{parent}/minorVersions", + uri_method: :post, + uri_template: "/v1/{parent}/odbSubnets", + body: "odb_subnet", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/giVersions/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2678,19 +4092,19 @@ def self.transcode_list_minor_versions_request request_pb ## # @private # - # GRPC transcoding helper method for the list_db_system_shapes REST call + # GRPC transcoding helper method for the delete_odb_subnet REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemShapesRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteOdbSubnetRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_db_system_shapes_request request_pb + def self.transcode_delete_odb_subnet_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :get, - uri_template: "/v1/{parent}/dbSystemShapes", + uri_method: :delete, + uri_template: "/v1/{name}", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbSubnets/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2699,17 +4113,17 @@ def self.transcode_list_db_system_shapes_request request_pb ## # @private # - # GRPC transcoding helper method for the list_autonomous_databases REST call + # GRPC transcoding helper method for the list_exadb_vm_clusters REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabasesRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListExadbVmClustersRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_autonomous_databases_request request_pb + def self.transcode_list_exadb_vm_clusters_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{parent}/autonomousDatabases", + uri_template: "/v1/{parent}/exadbVmClusters", matches: [ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] @@ -2720,19 +4134,19 @@ def self.transcode_list_autonomous_databases_request request_pb ## # @private # - # GRPC transcoding helper method for the get_autonomous_database REST call + # GRPC transcoding helper method for the get_exadb_vm_cluster REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetAutonomousDatabaseRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetExadbVmClusterRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_get_autonomous_database_request request_pb + def self.transcode_get_exadb_vm_cluster_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, uri_template: "/v1/{name}", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2741,18 +4155,18 @@ def self.transcode_get_autonomous_database_request request_pb ## # @private # - # GRPC transcoding helper method for the create_autonomous_database REST call + # GRPC transcoding helper method for the create_exadb_vm_cluster REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateAutonomousDatabaseRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateExadbVmClusterRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_create_autonomous_database_request request_pb + def self.transcode_create_exadb_vm_cluster_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :post, - uri_template: "/v1/{parent}/autonomousDatabases", - body: "autonomous_database", + uri_template: "/v1/{parent}/exadbVmClusters", + body: "exadb_vm_cluster", matches: [ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] @@ -2763,20 +4177,19 @@ def self.transcode_create_autonomous_database_request request_pb ## # @private # - # GRPC transcoding helper method for the update_autonomous_database REST call + # GRPC transcoding helper method for the delete_exadb_vm_cluster REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::UpdateAutonomousDatabaseRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteExadbVmClusterRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_update_autonomous_database_request request_pb + def self.transcode_delete_exadb_vm_cluster_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :patch, - uri_template: "/v1/{autonomous_database.name}", - body: "autonomous_database", + uri_method: :delete, + uri_template: "/v1/{name}", matches: [ - ["autonomous_database.name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2785,19 +4198,20 @@ def self.transcode_update_autonomous_database_request request_pb ## # @private # - # GRPC transcoding helper method for the delete_autonomous_database REST call + # GRPC transcoding helper method for the update_exadb_vm_cluster REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteAutonomousDatabaseRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::UpdateExadbVmClusterRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_delete_autonomous_database_request request_pb + def self.transcode_update_exadb_vm_cluster_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :delete, - uri_template: "/v1/{name}", + uri_method: :patch, + uri_template: "/v1/{exadb_vm_cluster.name}", + body: "exadb_vm_cluster", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ["exadb_vm_cluster.name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2806,20 +4220,20 @@ def self.transcode_delete_autonomous_database_request request_pb ## # @private # - # GRPC transcoding helper method for the restore_autonomous_database REST call + # GRPC transcoding helper method for the remove_virtual_machine_exadb_vm_cluster REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::RestoreAutonomousDatabaseRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::RemoveVirtualMachineExadbVmClusterRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_restore_autonomous_database_request request_pb + def self.transcode_remove_virtual_machine_exadb_vm_cluster_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :post, - uri_template: "/v1/{name}:restore", + uri_template: "/v1/{name}:removeVirtualMachine", body: "*", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2828,20 +4242,19 @@ def self.transcode_restore_autonomous_database_request request_pb ## # @private # - # GRPC transcoding helper method for the generate_autonomous_database_wallet REST call + # GRPC transcoding helper method for the list_exascale_db_storage_vaults REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::GenerateAutonomousDatabaseWalletRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListExascaleDbStorageVaultsRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_generate_autonomous_database_wallet_request request_pb + def self.transcode_list_exascale_db_storage_vaults_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :post, - uri_template: "/v1/{name}:generateWallet", - body: "*", + uri_method: :get, + uri_template: "/v1/{parent}/exascaleDbStorageVaults", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2850,19 +4263,19 @@ def self.transcode_generate_autonomous_database_wallet_request request_pb ## # @private # - # GRPC transcoding helper method for the list_autonomous_db_versions REST call + # GRPC transcoding helper method for the get_exascale_db_storage_vault REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDbVersionsRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetExascaleDbStorageVaultRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_autonomous_db_versions_request request_pb + def self.transcode_get_exascale_db_storage_vault_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{parent}/autonomousDbVersions", + uri_template: "/v1/{name}", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2871,17 +4284,18 @@ def self.transcode_list_autonomous_db_versions_request request_pb ## # @private # - # GRPC transcoding helper method for the list_autonomous_database_character_sets REST call + # GRPC transcoding helper method for the create_exascale_db_storage_vault REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabaseCharacterSetsRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateExascaleDbStorageVaultRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_autonomous_database_character_sets_request request_pb + def self.transcode_create_exascale_db_storage_vault_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :get, - uri_template: "/v1/{parent}/autonomousDatabaseCharacterSets", + uri_method: :post, + uri_template: "/v1/{parent}/exascaleDbStorageVaults", + body: "exascale_db_storage_vault", matches: [ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] @@ -2892,19 +4306,19 @@ def self.transcode_list_autonomous_database_character_sets_request request_pb ## # @private # - # GRPC transcoding helper method for the list_autonomous_database_backups REST call + # GRPC transcoding helper method for the delete_exascale_db_storage_vault REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListAutonomousDatabaseBackupsRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteExascaleDbStorageVaultRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_autonomous_database_backups_request request_pb + def self.transcode_delete_exascale_db_storage_vault_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :get, - uri_template: "/v1/{parent}/autonomousDatabaseBackups", + uri_method: :delete, + uri_template: "/v1/{name}", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2913,20 +4327,19 @@ def self.transcode_list_autonomous_database_backups_request request_pb ## # @private # - # GRPC transcoding helper method for the stop_autonomous_database REST call + # GRPC transcoding helper method for the list_db_system_initial_storage_sizes REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::StopAutonomousDatabaseRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemInitialStorageSizesRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_stop_autonomous_database_request request_pb + def self.transcode_list_db_system_initial_storage_sizes_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :post, - uri_template: "/v1/{name}:stop", - body: "*", + uri_method: :get, + uri_template: "/v1/{parent}/dbSystemInitialStorageSizes", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2935,20 +4348,19 @@ def self.transcode_stop_autonomous_database_request request_pb ## # @private # - # GRPC transcoding helper method for the start_autonomous_database REST call + # GRPC transcoding helper method for the list_databases REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::StartAutonomousDatabaseRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDatabasesRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_start_autonomous_database_request request_pb + def self.transcode_list_databases_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :post, - uri_template: "/v1/{name}:start", - body: "*", + uri_method: :get, + uri_template: "/v1/{parent}/databases", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2957,20 +4369,19 @@ def self.transcode_start_autonomous_database_request request_pb ## # @private # - # GRPC transcoding helper method for the restart_autonomous_database REST call + # GRPC transcoding helper method for the get_database REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::RestartAutonomousDatabaseRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetDatabaseRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_restart_autonomous_database_request request_pb + def self.transcode_get_database_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :post, - uri_template: "/v1/{name}:restart", - body: "*", + uri_method: :get, + uri_template: "/v1/{name}", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/databases/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -2979,20 +4390,19 @@ def self.transcode_restart_autonomous_database_request request_pb ## # @private # - # GRPC transcoding helper method for the switchover_autonomous_database REST call + # GRPC transcoding helper method for the list_pluggable_databases REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::SwitchoverAutonomousDatabaseRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListPluggableDatabasesRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_switchover_autonomous_database_request request_pb + def self.transcode_list_pluggable_databases_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :post, - uri_template: "/v1/{name}:switchover", - body: "*", + uri_method: :get, + uri_template: "/v1/{parent}/pluggableDatabases", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3001,20 +4411,19 @@ def self.transcode_switchover_autonomous_database_request request_pb ## # @private # - # GRPC transcoding helper method for the failover_autonomous_database REST call + # GRPC transcoding helper method for the get_pluggable_database REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::FailoverAutonomousDatabaseRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetPluggableDatabaseRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_failover_autonomous_database_request request_pb + def self.transcode_get_pluggable_database_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :post, - uri_template: "/v1/{name}:failover", - body: "*", + uri_method: :get, + uri_template: "/v1/{name}", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/pluggableDatabases/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3023,17 +4432,17 @@ def self.transcode_failover_autonomous_database_request request_pb ## # @private # - # GRPC transcoding helper method for the list_odb_networks REST call + # GRPC transcoding helper method for the list_db_systems REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListOdbNetworksRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemsRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_odb_networks_request request_pb + def self.transcode_list_db_systems_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{parent}/odbNetworks", + uri_template: "/v1/{parent}/dbSystems", matches: [ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] @@ -3044,19 +4453,19 @@ def self.transcode_list_odb_networks_request request_pb ## # @private # - # GRPC transcoding helper method for the get_odb_network REST call + # GRPC transcoding helper method for the get_db_system REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetOdbNetworkRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetDbSystemRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_get_odb_network_request request_pb + def self.transcode_get_db_system_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, uri_template: "/v1/{name}", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3065,18 +4474,18 @@ def self.transcode_get_odb_network_request request_pb ## # @private # - # GRPC transcoding helper method for the create_odb_network REST call + # GRPC transcoding helper method for the create_db_system REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateOdbNetworkRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateDbSystemRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_create_odb_network_request request_pb + def self.transcode_create_db_system_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :post, - uri_template: "/v1/{parent}/odbNetworks", - body: "odb_network", + uri_template: "/v1/{parent}/dbSystems", + body: "db_system", matches: [ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] @@ -3087,19 +4496,19 @@ def self.transcode_create_odb_network_request request_pb ## # @private # - # GRPC transcoding helper method for the delete_odb_network REST call + # GRPC transcoding helper method for the delete_db_system REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteOdbNetworkRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteDbSystemRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_delete_odb_network_request request_pb + def self.transcode_delete_db_system_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :delete, uri_template: "/v1/{name}", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3108,19 +4517,19 @@ def self.transcode_delete_odb_network_request request_pb ## # @private # - # GRPC transcoding helper method for the list_odb_subnets REST call + # GRPC transcoding helper method for the list_goldengate_deployments REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListOdbSubnetsRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_odb_subnets_request request_pb + def self.transcode_list_goldengate_deployments_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{parent}/odbSubnets", + uri_template: "/v1/{parent}/goldengateDeployments", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3129,19 +4538,19 @@ def self.transcode_list_odb_subnets_request request_pb ## # @private # - # GRPC transcoding helper method for the get_odb_subnet REST call + # GRPC transcoding helper method for the get_goldengate_deployment REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetOdbSubnetRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_get_odb_subnet_request request_pb + def self.transcode_get_goldengate_deployment_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, uri_template: "/v1/{name}", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbSubnets/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3150,20 +4559,20 @@ def self.transcode_get_odb_subnet_request request_pb ## # @private # - # GRPC transcoding helper method for the create_odb_subnet REST call + # GRPC transcoding helper method for the create_goldengate_deployment REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateOdbSubnetRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_create_odb_subnet_request request_pb + def self.transcode_create_goldengate_deployment_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :post, - uri_template: "/v1/{parent}/odbSubnets", - body: "odb_subnet", + uri_template: "/v1/{parent}/goldengateDeployments", + body: "goldengate_deployment", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3172,19 +4581,19 @@ def self.transcode_create_odb_subnet_request request_pb ## # @private # - # GRPC transcoding helper method for the delete_odb_subnet REST call + # GRPC transcoding helper method for the delete_goldengate_deployment REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteOdbSubnetRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_delete_odb_subnet_request request_pb + def self.transcode_delete_goldengate_deployment_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :delete, uri_template: "/v1/{name}", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbSubnets/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3193,19 +4602,20 @@ def self.transcode_delete_odb_subnet_request request_pb ## # @private # - # GRPC transcoding helper method for the list_exadb_vm_clusters REST call + # GRPC transcoding helper method for the stop_goldengate_deployment REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListExadbVmClustersRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_exadb_vm_clusters_request request_pb + def self.transcode_stop_goldengate_deployment_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :get, - uri_template: "/v1/{parent}/exadbVmClusters", + uri_method: :post, + uri_template: "/v1/{name}:stop", + body: "*", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3214,19 +4624,20 @@ def self.transcode_list_exadb_vm_clusters_request request_pb ## # @private # - # GRPC transcoding helper method for the get_exadb_vm_cluster REST call + # GRPC transcoding helper method for the start_goldengate_deployment REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetExadbVmClusterRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_get_exadb_vm_cluster_request request_pb + def self.transcode_start_goldengate_deployment_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :get, - uri_template: "/v1/{name}", + uri_method: :post, + uri_template: "/v1/{name}:start", + body: "*", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3235,18 +4646,17 @@ def self.transcode_get_exadb_vm_cluster_request request_pb ## # @private # - # GRPC transcoding helper method for the create_exadb_vm_cluster REST call + # GRPC transcoding helper method for the list_goldengate_connections REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateExadbVmClusterRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_create_exadb_vm_cluster_request request_pb + def self.transcode_list_goldengate_connections_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :post, - uri_template: "/v1/{parent}/exadbVmClusters", - body: "exadb_vm_cluster", + uri_method: :get, + uri_template: "/v1/{parent}/goldengateConnections", matches: [ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] @@ -3257,19 +4667,19 @@ def self.transcode_create_exadb_vm_cluster_request request_pb ## # @private # - # GRPC transcoding helper method for the delete_exadb_vm_cluster REST call + # GRPC transcoding helper method for the get_goldengate_connection REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteExadbVmClusterRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_delete_exadb_vm_cluster_request request_pb + def self.transcode_get_goldengate_connection_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :delete, + uri_method: :get, uri_template: "/v1/{name}", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3278,20 +4688,20 @@ def self.transcode_delete_exadb_vm_cluster_request request_pb ## # @private # - # GRPC transcoding helper method for the update_exadb_vm_cluster REST call + # GRPC transcoding helper method for the create_goldengate_connection REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::UpdateExadbVmClusterRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_update_exadb_vm_cluster_request request_pb + def self.transcode_create_goldengate_connection_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :patch, - uri_template: "/v1/{exadb_vm_cluster.name}", - body: "exadb_vm_cluster", + uri_method: :post, + uri_template: "/v1/{parent}/goldengateConnections", + body: "goldengate_connection", matches: [ - ["exadb_vm_cluster.name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3300,20 +4710,19 @@ def self.transcode_update_exadb_vm_cluster_request request_pb ## # @private # - # GRPC transcoding helper method for the remove_virtual_machine_exadb_vm_cluster REST call + # GRPC transcoding helper method for the delete_goldengate_connection REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::RemoveVirtualMachineExadbVmClusterRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_remove_virtual_machine_exadb_vm_cluster_request request_pb + def self.transcode_delete_goldengate_connection_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :post, - uri_template: "/v1/{name}:removeVirtualMachine", - body: "*", + uri_method: :delete, + uri_template: "/v1/{name}", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3322,19 +4731,19 @@ def self.transcode_remove_virtual_machine_exadb_vm_cluster_request request_pb ## # @private # - # GRPC transcoding helper method for the list_exascale_db_storage_vaults REST call + # GRPC transcoding helper method for the get_goldengate_deployment_version REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListExascaleDbStorageVaultsRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_exascale_db_storage_vaults_request request_pb + def self.transcode_get_goldengate_deployment_version_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{parent}/exascaleDbStorageVaults", + uri_template: "/v1/{name}", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeploymentVersions/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3343,19 +4752,19 @@ def self.transcode_list_exascale_db_storage_vaults_request request_pb ## # @private # - # GRPC transcoding helper method for the get_exascale_db_storage_vault REST call + # GRPC transcoding helper method for the list_goldengate_deployment_versions REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetExascaleDbStorageVaultRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_get_exascale_db_storage_vault_request request_pb + def self.transcode_list_goldengate_deployment_versions_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{name}", + uri_template: "/v1/{parent}/goldengateDeploymentVersions", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3364,20 +4773,19 @@ def self.transcode_get_exascale_db_storage_vault_request request_pb ## # @private # - # GRPC transcoding helper method for the create_exascale_db_storage_vault REST call + # GRPC transcoding helper method for the get_goldengate_deployment_type REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateExascaleDbStorageVaultRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_create_exascale_db_storage_vault_request request_pb + def self.transcode_get_goldengate_deployment_type_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :post, - uri_template: "/v1/{parent}/exascaleDbStorageVaults", - body: "exascale_db_storage_vault", + uri_method: :get, + uri_template: "/v1/{name}", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeploymentTypes/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3386,19 +4794,19 @@ def self.transcode_create_exascale_db_storage_vault_request request_pb ## # @private # - # GRPC transcoding helper method for the delete_exascale_db_storage_vault REST call + # GRPC transcoding helper method for the list_goldengate_deployment_types REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteExascaleDbStorageVaultRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_delete_exascale_db_storage_vault_request request_pb + def self.transcode_list_goldengate_deployment_types_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :delete, - uri_template: "/v1/{name}", + uri_method: :get, + uri_template: "/v1/{parent}/goldengateDeploymentTypes", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3407,19 +4815,19 @@ def self.transcode_delete_exascale_db_storage_vault_request request_pb ## # @private # - # GRPC transcoding helper method for the list_db_system_initial_storage_sizes REST call + # GRPC transcoding helper method for the get_goldengate_deployment_environment REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemInitialStorageSizesRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_db_system_initial_storage_sizes_request request_pb + def self.transcode_get_goldengate_deployment_environment_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{parent}/dbSystemInitialStorageSizes", + uri_template: "/v1/{name}", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/goldengateDeploymentEnvironments/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3428,17 +4836,17 @@ def self.transcode_list_db_system_initial_storage_sizes_request request_pb ## # @private # - # GRPC transcoding helper method for the list_databases REST call + # GRPC transcoding helper method for the list_goldengate_deployment_environments REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDatabasesRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_databases_request request_pb + def self.transcode_list_goldengate_deployment_environments_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{parent}/databases", + uri_template: "/v1/{parent}/goldengateDeploymentEnvironments", matches: [ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] @@ -3449,19 +4857,19 @@ def self.transcode_list_databases_request request_pb ## # @private # - # GRPC transcoding helper method for the get_database REST call + # GRPC transcoding helper method for the get_goldengate_connection_type REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetDatabaseRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_get_database_request request_pb + def self.transcode_get_goldengate_connection_type_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, uri_template: "/v1/{name}", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/databases/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/goldengateConnectionTypes/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3470,17 +4878,17 @@ def self.transcode_get_database_request request_pb ## # @private # - # GRPC transcoding helper method for the list_pluggable_databases REST call + # GRPC transcoding helper method for the list_goldengate_connection_types REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListPluggableDatabasesRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_pluggable_databases_request request_pb + def self.transcode_list_goldengate_connection_types_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{parent}/pluggableDatabases", + uri_template: "/v1/{parent}/goldengateConnectionTypes", matches: [ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] @@ -3491,19 +4899,19 @@ def self.transcode_list_pluggable_databases_request request_pb ## # @private # - # GRPC transcoding helper method for the get_pluggable_database REST call + # GRPC transcoding helper method for the list_db_versions REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetPluggableDatabaseRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_get_pluggable_database_request request_pb + def self.transcode_list_db_versions_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{name}", + uri_template: "/v1/{parent}/dbVersions", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/pluggableDatabases/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3512,17 +4920,17 @@ def self.transcode_get_pluggable_database_request request_pb ## # @private # - # GRPC transcoding helper method for the list_db_systems REST call + # GRPC transcoding helper method for the list_database_character_sets REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbSystemsRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_db_systems_request request_pb + def self.transcode_list_database_character_sets_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{parent}/dbSystems", + uri_template: "/v1/{parent}/databaseCharacterSets", matches: [ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] @@ -3533,19 +4941,19 @@ def self.transcode_list_db_systems_request request_pb ## # @private # - # GRPC transcoding helper method for the get_db_system REST call + # GRPC transcoding helper method for the list_goldengate_connection_assignments REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetDbSystemRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_get_db_system_request request_pb + def self.transcode_list_goldengate_connection_assignments_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( uri_method: :get, - uri_template: "/v1/{name}", + uri_template: "/v1/{parent}/goldengateConnectionAssignments", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3554,20 +4962,19 @@ def self.transcode_get_db_system_request request_pb ## # @private # - # GRPC transcoding helper method for the create_db_system REST call + # GRPC transcoding helper method for the get_goldengate_connection_assignment REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateDbSystemRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_create_db_system_request request_pb + def self.transcode_get_goldengate_connection_assignment_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :post, - uri_template: "/v1/{parent}/dbSystems", - body: "db_system", + uri_method: :get, + uri_template: "/v1/{name}", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3576,19 +4983,20 @@ def self.transcode_create_db_system_request request_pb ## # @private # - # GRPC transcoding helper method for the delete_db_system REST call + # GRPC transcoding helper method for the create_goldengate_connection_assignment REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteDbSystemRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_delete_db_system_request request_pb + def self.transcode_create_goldengate_connection_assignment_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :delete, - uri_template: "/v1/{name}", + uri_method: :post, + uri_template: "/v1/{parent}/goldengateConnectionAssignments", + body: "goldengate_connection_assignment", matches: [ - ["name", %r{^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+/?$}, false] + ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3597,19 +5005,19 @@ def self.transcode_delete_db_system_request request_pb ## # @private # - # GRPC transcoding helper method for the list_db_versions REST call + # GRPC transcoding helper method for the delete_goldengate_connection_assignment REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_db_versions_request request_pb + def self.transcode_delete_goldengate_connection_assignment_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :get, - uri_template: "/v1/{parent}/dbVersions", + uri_method: :delete, + uri_template: "/v1/{name}", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+/?$}, false] ] ) transcoder.transcode request_pb @@ -3618,19 +5026,20 @@ def self.transcode_list_db_versions_request request_pb ## # @private # - # GRPC transcoding helper method for the list_database_character_sets REST call + # GRPC transcoding helper method for the test_goldengate_connection_assignment REST call # - # @param request_pb [::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest] + # @param request_pb [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest] # A request object representing the call parameters. Required. # @return [Array(String, [String, nil], Hash{String => String})] # Uri, Body, Query string parameters - def self.transcode_list_database_character_sets_request request_pb + def self.transcode_test_goldengate_connection_assignment_request request_pb transcoder = Gapic::Rest::GrpcTranscoder.new .with_bindings( - uri_method: :get, - uri_template: "/v1/{parent}/databaseCharacterSets", + uri_method: :post, + uri_template: "/v1/{name}:test", + body: "*", matches: [ - ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false] + ["name", %r{^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+/?$}, false] ] ) transcoder.transcode request_pb diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb index 8d276965656b..fdfb23045856 100644 --- a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb @@ -13,7 +13,7 @@ require 'google/type/timeofday_pb' -descriptor_data = "\n8google/cloud/oracledatabase/v1/autonomous_database.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/oracledatabase/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xb2\x08\n\x12\x41utonomousDatabase\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x15\n\x08\x64\x61tabase\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x65ntitlement_id\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0e\x61\x64min_password\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12U\n\nproperties\x18\x07 \x01(\x0b\x32<.google.cloud.oracledatabase.v1.AutonomousDatabasePropertiesB\x03\xe0\x41\x01\x12S\n\x06labels\x18\x08 \x03(\x0b\x32>.google.cloud.oracledatabase.v1.AutonomousDatabase.LabelsEntryB\x03\xe0\x41\x01\x12\x37\n\x07network\x18\t \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x11\n\x04\x63idr\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0bodb_network\x18\x10 \x01(\tB0\xe0\x41\x01\xfa\x41*\n(oracledatabase.googleapis.com/OdbNetwork\x12\x43\n\nodb_subnet\x18\x11 \x01(\tB/\xe0\x41\x01\xfa\x41)\n\'oracledatabase.googleapis.com/OdbSubnet\x12H\n\rsource_config\x18\x0b \x01(\x0b\x32,.google.cloud.oracledatabase.v1.SourceConfigB\x03\xe0\x41\x01\x12[\n\x19peer_autonomous_databases\x18\x0c \x03(\tB8\xe0\x41\x03\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12\x34\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12X\n%disaster_recovery_supported_locations\x18\x0f \x03(\tB)\xe0\x41\x03\xfa\x41#\n!locations.googleapis.com/Location\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xb2\x01\xea\x41\xae\x01\n0oracledatabase.googleapis.com/AutonomousDatabase\x12Qprojects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}*\x13\x61utonomousDatabases2\x12\x61utonomousDatabase\"\x99\x01\n\x0cSourceConfig\x12U\n\x13\x61utonomous_database\x18\x01 \x01(\tB8\xe0\x41\x01\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12\x32\n%automatic_backups_replication_enabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xc0\'\n\x1c\x41utonomousDatabaseProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rcompute_count\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x1b\n\x0e\x63pu_core_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12!\n\x14\x64\x61ta_storage_size_tb\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12!\n\x14\x64\x61ta_storage_size_gb\x18? \x01(\x05\x42\x03\xe0\x41\x01\x12\x44\n\x0b\x64\x62_workload\x18\x05 \x01(\x0e\x32*.google.cloud.oracledatabase.v1.DBWorkloadB\x03\xe0\x41\x02\x12\x65\n\ndb_edition\x18\x06 \x01(\x0e\x32L.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DatabaseEditionB\x03\xe0\x41\x01\x12\x1a\n\rcharacter_set\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fn_character_set\x18\t \x01(\tB\x03\xe0\x41\x01\x12 \n\x13private_endpoint_ip\x18\n \x01(\tB\x03\xe0\x41\x01\x12#\n\x16private_endpoint_label\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ndb_version\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12$\n\x17is_auto_scaling_enabled\x18\x0e \x01(\x08\x42\x03\xe0\x41\x01\x12,\n\x1fis_storage_auto_scaling_enabled\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01\x12\x63\n\x0clicense_type\x18\x10 \x01(\x0e\x32H.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.LicenseTypeB\x03\xe0\x41\x02\x12O\n\x11\x63ustomer_contacts\x18\x11 \x03(\x0b\x32/.google.cloud.oracledatabase.v1.CustomerContactB\x03\xe0\x41\x01\x12\x16\n\tsecret_id\x18\x12 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08vault_id\x18\x13 \x01(\tB\x03\xe0\x41\x01\x12|\n\x19maintenance_schedule_type\x18\x14 \x01(\x0e\x32T.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.MaintenanceScheduleTypeB\x03\xe0\x41\x01\x12%\n\x18mtls_connection_required\x18\" \x01(\x08\x42\x03\xe0\x41\x01\x12)\n\x1c\x62\x61\x63kup_retention_period_days\x18\x39 \x01(\x05\x42\x03\xe0\x41\x01\x12-\n actual_used_data_storage_size_tb\x18\x15 \x01(\x01\x42\x03\xe0\x41\x03\x12&\n\x19\x61llocated_storage_size_tb\x18\x16 \x01(\x01\x42\x03\xe0\x41\x03\x12Q\n\x0c\x61pex_details\x18\x17 \x01(\x0b\x32\x36.google.cloud.oracledatabase.v1.AutonomousDatabaseApexB\x03\xe0\x41\x03\x12\x32\n are_primary_allowlisted_ips_used\x18\x18 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x1e\n\x11lifecycle_details\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x05state\x18\x1a \x01(\x0e\x32%.google.cloud.oracledatabase.v1.StateB\x03\xe0\x41\x03\x12-\n autonomous_container_database_id\x18\x1b \x01(\tB\x03\xe0\x41\x03\x12\'\n\x1a\x61vailable_upgrade_versions\x18\x1c \x03(\tB\x03\xe0\x41\x03\x12\x64\n\x12\x63onnection_strings\x18\x1d \x01(\x0b\x32\x43.google.cloud.oracledatabase.v1.AutonomousDatabaseConnectionStringsB\x03\xe0\x41\x03\x12^\n\x0f\x63onnection_urls\x18\x1e \x01(\x0b\x32@.google.cloud.oracledatabase.v1.AutonomousDatabaseConnectionUrlsB\x03\xe0\x41\x03\x12\x45\n\x1d\x66\x61iled_data_recovery_duration\x18\x1f \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x1d\n\x10memory_table_gbs\x18 \x01(\x05\x42\x03\xe0\x41\x03\x12(\n\x1bis_local_data_guard_enabled\x18! \x01(\x08\x42\x03\xe0\x41\x03\x12\x38\n+local_adg_auto_failover_max_data_loss_limit\x18# \x01(\x05\x42\x03\xe0\x41\x03\x12_\n\x10local_standby_db\x18$ \x01(\x0b\x32@.google.cloud.oracledatabase.v1.AutonomousDatabaseStandbySummaryB\x03\xe0\x41\x03\x12/\n\"memory_per_oracle_compute_unit_gbs\x18% \x01(\x05\x42\x03\xe0\x41\x03\x12\x81\x01\n\x1clocal_disaster_recovery_type\x18& \x01(\x0e\x32V.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.LocalDisasterRecoveryTypeB\x03\xe0\x41\x03\x12h\n\x0f\x64\x61ta_safe_state\x18\' \x01(\x0e\x32J.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DataSafeStateB\x03\xe0\x41\x03\x12|\n\x19\x64\x61tabase_management_state\x18( \x01(\x0e\x32T.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DatabaseManagementStateB\x03\xe0\x41\x03\x12]\n\topen_mode\x18) \x01(\x0e\x32\x45.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.OpenModeB\x03\xe0\x41\x03\x12_\n\x19operations_insights_state\x18* \x01(\x0e\x32\x37.google.cloud.oracledatabase.v1.OperationsInsightsStateB\x03\xe0\x41\x03\x12\x18\n\x0bpeer_db_ids\x18+ \x03(\tB\x03\xe0\x41\x03\x12k\n\x10permission_level\x18, \x01(\x0e\x32L.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.PermissionLevelB\x03\xe0\x41\x03\x12\x1d\n\x10private_endpoint\x18- \x01(\tB\x03\xe0\x41\x03\x12k\n\x10refreshable_mode\x18. \x01(\x0e\x32L.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.RefreshableModeB\x03\xe0\x41\x03\x12m\n\x11refreshable_state\x18/ \x01(\x0e\x32M.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.RefreshableStateB\x03\xe0\x41\x03\x12T\n\x04role\x18\x30 \x01(\x0e\x32\x41.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.RoleB\x03\xe0\x41\x03\x12\x63\n\x1bscheduled_operation_details\x18@ \x03(\x0b\x32\x39.google.cloud.oracledatabase.v1.ScheduledOperationDetailsB\x03\xe0\x41\x03\x12\"\n\x15sql_web_developer_url\x18\x32 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17supported_clone_regions\x18\x33 \x03(\tB\x03\xe0\x41\x03\x12\'\n\x1aused_data_storage_size_tbs\x18\x35 \x01(\x05\x42\x03\xe0\x41\x03\x12\x14\n\x07oci_url\x18\x36 \x01(\tB\x03\xe0\x41\x03\x12/\n\"total_auto_backup_storage_size_gbs\x18; \x01(\x02\x42\x03\xe0\x41\x03\x12\x43\n\x1anext_long_term_backup_time\x18< \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x1c\x64\x61ta_guard_role_changed_time\x18= \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n#disaster_recovery_role_changed_time\x18> \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x16maintenance_begin_time\x18\x41 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14maintenance_end_time\x18\x42 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1c\n\x0f\x61llowlisted_ips\x18\x43 \x03(\tB\x03\xe0\x41\x01\x12J\n\x0e\x65ncryption_key\x18\x44 \x01(\x0b\x32-.google.cloud.oracledatabase.v1.EncryptionKeyB\x03\xe0\x41\x01\x12\x66\n\x1e\x65ncryption_key_history_entries\x18\x45 \x03(\x0b\x32\x39.google.cloud.oracledatabase.v1.EncryptionKeyHistoryEntryB\x03\xe0\x41\x03\x12 \n\x13service_agent_email\x18\x46 \x01(\tB\x03\xe0\x41\x03\"a\n\x0f\x44\x61tabaseEdition\x12 \n\x1c\x44\x41TABASE_EDITION_UNSPECIFIED\x10\x00\x12\x14\n\x10STANDARD_EDITION\x10\x01\x12\x16\n\x12\x45NTERPRISE_EDITION\x10\x02\"]\n\x0bLicenseType\x12\x1c\n\x18LICENSE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10LICENSE_INCLUDED\x10\x01\x12\x1a\n\x16\x42RING_YOUR_OWN_LICENSE\x10\x02\"\\\n\x17MaintenanceScheduleType\x12)\n%MAINTENANCE_SCHEDULE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45\x41RLY\x10\x01\x12\x0b\n\x07REGULAR\x10\x02\"d\n\x19LocalDisasterRecoveryType\x12,\n(LOCAL_DISASTER_RECOVERY_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44G\x10\x01\x12\x10\n\x0c\x42\x41\x43KUP_BASED\x10\x02\"\x84\x01\n\rDataSafeState\x12\x1f\n\x1b\x44\x41TA_SAFE_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bREGISTERING\x10\x01\x12\x0e\n\nREGISTERED\x10\x02\x12\x11\n\rDEREGISTERING\x10\x03\x12\x12\n\x0eNOT_REGISTERED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\"\xaa\x01\n\x17\x44\x61tabaseManagementState\x12)\n%DATABASE_MANAGEMENT_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NABLING\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\r\n\tDISABLING\x10\x03\x12\x0f\n\x0bNOT_ENABLED\x10\x04\x12\x13\n\x0f\x46\x41ILED_ENABLING\x10\x05\x12\x14\n\x10\x46\x41ILED_DISABLING\x10\x06\"D\n\x08OpenMode\x12\x19\n\x15OPEN_MODE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"U\n\x0fPermissionLevel\x12 \n\x1cPERMISSION_LEVEL_UNSPECIFIED\x10\x00\x12\x0e\n\nRESTRICTED\x10\x01\x12\x10\n\x0cUNRESTRICTED\x10\x02\"N\n\x0fRefreshableMode\x12 \n\x1cREFRESHABLE_MODE_UNSPECIFIED\x10\x00\x12\r\n\tAUTOMATIC\x10\x01\x12\n\n\x06MANUAL\x10\x02\"Y\n\x10RefreshableState\x12!\n\x1dREFRESHABLE_STATE_UNSPECIFIED\x10\x00\x12\x0e\n\nREFRESHING\x10\x01\x12\x12\n\x0eNOT_REFRESHING\x10\x02\"s\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\x0b\n\x07STANDBY\x10\x02\x12\x14\n\x10\x44ISABLED_STANDBY\x10\x03\x12\x0f\n\x0b\x42\x41\x43KUP_COPY\x10\x04\x12\x14\n\x10SNAPSHOT_STANDBY\x10\x05\x42#\n!_are_primary_allowlisted_ips_used\"\xa1\x01\n\x19\x45ncryptionKeyHistoryEntry\x12J\n\x0e\x65ncryption_key\x18\x01 \x01(\x0b\x32-.google.cloud.oracledatabase.v1.EncryptionKeyB\x03\xe0\x41\x03\x12\x38\n\x0f\x61\x63tivation_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xe8\x01\n\rEncryptionKey\x12M\n\x08provider\x18\x01 \x01(\x0e\x32\x36.google.cloud.oracledatabase.v1.EncryptionKey.ProviderB\x03\xe0\x41\x01\x12:\n\x07kms_key\x18\x02 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\"L\n\x08Provider\x12\x18\n\x14PROVIDER_UNSPECIFIED\x10\x00\x12\x12\n\x0eGOOGLE_MANAGED\x10\x01\x12\x12\n\x0eORACLE_MANAGED\x10\x02\"N\n\x16\x41utonomousDatabaseApex\x12\x19\n\x0c\x61pex_version\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cords_version\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xaa\x02\n#AutonomousDatabaseConnectionStrings\x12Y\n\x16\x61ll_connection_strings\x18\x01 \x01(\x0b\x32\x34.google.cloud.oracledatabase.v1.AllConnectionStringsB\x03\xe0\x41\x03\x12\x16\n\tdedicated\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04high\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03low\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06medium\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12V\n\x08profiles\x18\x06 \x03(\x0b\x32?.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfileB\x03\xe0\x41\x03\"\xb2\t\n\x1f\x44\x61tabaseConnectionStringProfile\x12j\n\x0e\x63onsumer_group\x18\x01 \x01(\x0e\x32M.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroupB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x0bhost_format\x18\x03 \x01(\x0e\x32J.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormatB\x03\xe0\x41\x03\x12\x18\n\x0bis_regional\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12_\n\x08protocol\x18\x05 \x01(\x0e\x32H.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ProtocolB\x03\xe0\x41\x03\x12\x66\n\x0csession_mode\x18\x06 \x01(\x0e\x32K.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionModeB\x03\xe0\x41\x03\x12h\n\rsyntax_format\x18\x07 \x01(\x0e\x32L.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormatB\x03\xe0\x41\x03\x12r\n\x12tls_authentication\x18\x08 \x01(\x0e\x32Q.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthenticationB\x03\xe0\x41\x03\x12\x12\n\x05value\x18\t \x01(\tB\x03\xe0\x41\x03\"d\n\rConsumerGroup\x12\x1e\n\x1a\x43ONSUMER_GROUP_UNSPECIFIED\x10\x00\x12\x08\n\x04HIGH\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x12\x07\n\x03LOW\x10\x03\x12\x06\n\x02TP\x10\x04\x12\x0c\n\x08TPURGENT\x10\x05\";\n\nHostFormat\x12\x1b\n\x17HOST_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46QDN\x10\x01\x12\x06\n\x02IP\x10\x02\"7\n\x08Protocol\x12\x18\n\x14PROTOCOL_UNSPECIFIED\x10\x00\x12\x07\n\x03TCP\x10\x01\x12\x08\n\x04TCPS\x10\x02\"E\n\x0bSessionMode\x12\x1c\n\x18SESSION_MODE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44IRECT\x10\x01\x12\x0c\n\x08INDIRECT\x10\x02\"Y\n\x0cSyntaxFormat\x12\x1d\n\x19SYNTAX_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04LONG\x10\x01\x12\r\n\tEZCONNECT\x10\x02\x12\x11\n\rEZCONNECTPLUS\x10\x03\"O\n\x11TLSAuthentication\x12\"\n\x1eTLS_AUTHENTICATION_UNSPECIFIED\x10\x00\x12\n\n\x06SERVER\x10\x01\x12\n\n\x06MUTUAL\x10\x02\"P\n\x14\x41llConnectionStrings\x12\x11\n\x04high\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03low\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06medium\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xad\x02\n AutonomousDatabaseConnectionUrls\x12\x15\n\x08\x61pex_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17\x64\x61tabase_transforms_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10graph_studio_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12*\n\x1dmachine_learning_notebook_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x31\n$machine_learning_user_management_uri\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cmongo_db_uri\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08ords_uri\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fsql_dev_web_uri\x18\x08 \x01(\tB\x03\xe0\x41\x03\"\xcd\x02\n AutonomousDatabaseStandbySummary\x12\x39\n\x11lag_time_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x1e\n\x11lifecycle_details\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32%.google.cloud.oracledatabase.v1.StateB\x03\xe0\x41\x03\x12\x45\n\x1c\x64\x61ta_guard_role_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n#disaster_recovery_role_changed_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xae\x01\n\x19ScheduledOperationDetails\x12\x30\n\x0b\x64\x61y_of_week\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x03\x12/\n\nstart_time\x18\x04 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x03\x12.\n\tstop_time\x18\x05 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x03*B\n\x0cGenerateType\x12\x1d\n\x19GENERATE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x12\n\n\x06SINGLE\x10\x02*\xab\x03\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08STOPPING\x10\x03\x12\x0b\n\x07STOPPED\x10\x04\x12\x0c\n\x08STARTING\x10\x05\x12\x0f\n\x0bTERMINATING\x10\x06\x12\x0e\n\nTERMINATED\x10\x07\x12\x0f\n\x0bUNAVAILABLE\x10\x08\x12\x17\n\x13RESTORE_IN_PROGRESS\x10\t\x12\x12\n\x0eRESTORE_FAILED\x10\n\x12\x16\n\x12\x42\x41\x43KUP_IN_PROGRESS\x10\x0b\x12\x15\n\x11SCALE_IN_PROGRESS\x10\x0c\x12\x1d\n\x19\x41VAILABLE_NEEDS_ATTENTION\x10\r\x12\x0c\n\x08UPDATING\x10\x0e\x12\x1b\n\x17MAINTENANCE_IN_PROGRESS\x10\x0f\x12\x0e\n\nRESTARTING\x10\x10\x12\x0e\n\nRECREATING\x10\x11\x12\x1b\n\x17ROLE_CHANGE_IN_PROGRESS\x10\x12\x12\r\n\tUPGRADING\x10\x13\x12\x10\n\x0cINACCESSIBLE\x10\x14\x12\x0b\n\x07STANDBY\x10\x15*\xaa\x01\n\x17OperationsInsightsState\x12)\n%OPERATIONS_INSIGHTS_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NABLING\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\r\n\tDISABLING\x10\x03\x12\x0f\n\x0bNOT_ENABLED\x10\x04\x12\x13\n\x0f\x46\x41ILED_ENABLING\x10\x05\x12\x14\n\x10\x46\x41ILED_DISABLING\x10\x06*N\n\nDBWorkload\x12\x1b\n\x17\x44\x42_WORKLOAD_UNSPECIFIED\x10\x00\x12\x08\n\x04OLTP\x10\x01\x12\x06\n\x02\x44W\x10\x02\x12\x07\n\x03\x41JD\x10\x03\x12\x08\n\x04\x41PEX\x10\x04\x42\xf1\x01\n\"com.google.cloud.oracledatabase.v1B\x17\x41utonomousDatabaseProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" +descriptor_data = "\n8google/cloud/oracledatabase/v1/autonomous_database.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/oracledatabase/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xa8\t\n\x12\x41utonomousDatabase\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x08\x64\x61tabase\x18\x02 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x1c\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x1b\n\x0e\x65ntitlement_id\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x0e\x61\x64min_password\x18\x06 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\\\n\x1d\x61\x64min_password_secret_version\x18\x12 \x01(\tB5\xe0\x41\x01\xe0\x41\x05\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12U\n\nproperties\x18\x07 \x01(\x0b\x32<.google.cloud.oracledatabase.v1.AutonomousDatabasePropertiesB\x03\xe0\x41\x01\x12S\n\x06labels\x18\x08 \x03(\x0b\x32>.google.cloud.oracledatabase.v1.AutonomousDatabase.LabelsEntryB\x03\xe0\x41\x01\x12:\n\x07network\x18\t \x01(\tB)\xe0\x41\x01\xe0\x41\x05\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x14\n\x04\x63idr\x18\n \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12H\n\x0bodb_network\x18\x10 \x01(\tB3\xe0\x41\x01\xe0\x41\x05\xfa\x41*\n(oracledatabase.googleapis.com/OdbNetwork\x12\x46\n\nodb_subnet\x18\x11 \x01(\tB2\xe0\x41\x01\xe0\x41\x05\xfa\x41)\n\'oracledatabase.googleapis.com/OdbSubnet\x12K\n\rsource_config\x18\x0b \x01(\x0b\x32,.google.cloud.oracledatabase.v1.SourceConfigB\x06\xe0\x41\x01\xe0\x41\x05\x12[\n\x19peer_autonomous_databases\x18\x0c \x03(\tB8\xe0\x41\x03\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12\x34\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12X\n%disaster_recovery_supported_locations\x18\x0f \x03(\tB)\xe0\x41\x03\xfa\x41#\n!locations.googleapis.com/Location\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xb2\x01\xea\x41\xae\x01\n0oracledatabase.googleapis.com/AutonomousDatabase\x12Qprojects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}*\x13\x61utonomousDatabases2\x12\x61utonomousDatabase\"\x99\x01\n\x0cSourceConfig\x12U\n\x13\x61utonomous_database\x18\x01 \x01(\tB8\xe0\x41\x01\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12\x32\n%automatic_backups_replication_enabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xe0)\n\x1c\x41utonomousDatabaseProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\rcompute_count\x18\x02 \x01(\x02\x42\x06\xe0\x41\x01\xe0\x41\x05\x12\x1e\n\x0e\x63pu_core_count\x18\x03 \x01(\x05\x42\x06\xe0\x41\x01\xe0\x41\x05\x12$\n\x14\x64\x61ta_storage_size_tb\x18\x04 \x01(\x05\x42\x06\xe0\x41\x01\xe0\x41\x05\x12$\n\x14\x64\x61ta_storage_size_gb\x18? \x01(\x05\x42\x06\xe0\x41\x01\xe0\x41\x05\x12G\n\x0b\x64\x62_workload\x18\x05 \x01(\x0e\x32*.google.cloud.oracledatabase.v1.DBWorkloadB\x06\xe0\x41\x02\xe0\x41\x05\x12h\n\ndb_edition\x18\x06 \x01(\x0e\x32L.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DatabaseEditionB\x06\xe0\x41\x01\xe0\x41\x05\x12\x1d\n\rcharacter_set\x18\x08 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x1f\n\x0fn_character_set\x18\t \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12#\n\x13private_endpoint_ip\x18\n \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12&\n\x16private_endpoint_label\x18\x0b \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x1a\n\ndb_version\x18\x0c \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\'\n\x17is_auto_scaling_enabled\x18\x0e \x01(\x08\x42\x06\xe0\x41\x01\xe0\x41\x05\x12/\n\x1fis_storage_auto_scaling_enabled\x18\x0f \x01(\x08\x42\x06\xe0\x41\x01\xe0\x41\x05\x12\x66\n\x0clicense_type\x18\x10 \x01(\x0e\x32H.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.LicenseTypeB\x06\xe0\x41\x02\xe0\x41\x05\x12R\n\x11\x63ustomer_contacts\x18\x11 \x03(\x0b\x32/.google.cloud.oracledatabase.v1.CustomerContactB\x06\xe0\x41\x01\xe0\x41\x05\x12\x19\n\tsecret_id\x18\x12 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x18\n\x08vault_id\x18\x13 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x7f\n\x19maintenance_schedule_type\x18\x14 \x01(\x0e\x32T.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.MaintenanceScheduleTypeB\x06\xe0\x41\x01\xe0\x41\x05\x12(\n\x18mtls_connection_required\x18\" \x01(\x08\x42\x06\xe0\x41\x01\xe0\x41\x05\x12,\n\x1c\x62\x61\x63kup_retention_period_days\x18\x39 \x01(\x05\x42\x06\xe0\x41\x01\xe0\x41\x05\x12-\n actual_used_data_storage_size_tb\x18\x15 \x01(\x01\x42\x03\xe0\x41\x03\x12&\n\x19\x61llocated_storage_size_tb\x18\x16 \x01(\x01\x42\x03\xe0\x41\x03\x12Q\n\x0c\x61pex_details\x18\x17 \x01(\x0b\x32\x36.google.cloud.oracledatabase.v1.AutonomousDatabaseApexB\x03\xe0\x41\x03\x12\x32\n are_primary_allowlisted_ips_used\x18\x18 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x1e\n\x11lifecycle_details\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x05state\x18\x1a \x01(\x0e\x32%.google.cloud.oracledatabase.v1.StateB\x03\xe0\x41\x03\x12-\n autonomous_container_database_id\x18\x1b \x01(\tB\x03\xe0\x41\x03\x12\'\n\x1a\x61vailable_upgrade_versions\x18\x1c \x03(\tB\x03\xe0\x41\x03\x12\x64\n\x12\x63onnection_strings\x18\x1d \x01(\x0b\x32\x43.google.cloud.oracledatabase.v1.AutonomousDatabaseConnectionStringsB\x03\xe0\x41\x03\x12^\n\x0f\x63onnection_urls\x18\x1e \x01(\x0b\x32@.google.cloud.oracledatabase.v1.AutonomousDatabaseConnectionUrlsB\x03\xe0\x41\x03\x12\x45\n\x1d\x66\x61iled_data_recovery_duration\x18\x1f \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x1d\n\x10memory_table_gbs\x18 \x01(\x05\x42\x03\xe0\x41\x03\x12*\n\x1bis_local_data_guard_enabled\x18! \x01(\x08\x42\x05\x18\x01\xe0\x41\x03\x12:\n+local_adg_auto_failover_max_data_loss_limit\x18# \x01(\x05\x42\x05\x18\x01\xe0\x41\x03\x12_\n\x10local_standby_db\x18$ \x01(\x0b\x32@.google.cloud.oracledatabase.v1.AutonomousDatabaseStandbySummaryB\x03\xe0\x41\x03\x12/\n\"memory_per_oracle_compute_unit_gbs\x18% \x01(\x05\x42\x03\xe0\x41\x03\x12\x81\x01\n\x1clocal_disaster_recovery_type\x18& \x01(\x0e\x32V.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.LocalDisasterRecoveryTypeB\x03\xe0\x41\x03\x12h\n\x0f\x64\x61ta_safe_state\x18\' \x01(\x0e\x32J.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DataSafeStateB\x03\xe0\x41\x03\x12|\n\x19\x64\x61tabase_management_state\x18( \x01(\x0e\x32T.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DatabaseManagementStateB\x03\xe0\x41\x03\x12]\n\topen_mode\x18) \x01(\x0e\x32\x45.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.OpenModeB\x03\xe0\x41\x03\x12_\n\x19operations_insights_state\x18* \x01(\x0e\x32\x37.google.cloud.oracledatabase.v1.OperationsInsightsStateB\x03\xe0\x41\x03\x12\x18\n\x0bpeer_db_ids\x18+ \x03(\tB\x03\xe0\x41\x03\x12k\n\x10permission_level\x18, \x01(\x0e\x32L.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.PermissionLevelB\x03\xe0\x41\x03\x12\x1d\n\x10private_endpoint\x18- \x01(\tB\x03\xe0\x41\x03\x12k\n\x10refreshable_mode\x18. \x01(\x0e\x32L.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.RefreshableModeB\x03\xe0\x41\x03\x12m\n\x11refreshable_state\x18/ \x01(\x0e\x32M.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.RefreshableStateB\x03\xe0\x41\x03\x12T\n\x04role\x18\x30 \x01(\x0e\x32\x41.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.RoleB\x03\xe0\x41\x03\x12\x63\n\x1bscheduled_operation_details\x18@ \x03(\x0b\x32\x39.google.cloud.oracledatabase.v1.ScheduledOperationDetailsB\x03\xe0\x41\x03\x12\"\n\x15sql_web_developer_url\x18\x32 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17supported_clone_regions\x18\x33 \x03(\tB\x03\xe0\x41\x03\x12\'\n\x1aused_data_storage_size_tbs\x18\x35 \x01(\x05\x42\x03\xe0\x41\x03\x12\x14\n\x07oci_url\x18\x36 \x01(\tB\x03\xe0\x41\x03\x12/\n\"total_auto_backup_storage_size_gbs\x18; \x01(\x02\x42\x03\xe0\x41\x03\x12\x43\n\x1anext_long_term_backup_time\x18< \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x1c\x64\x61ta_guard_role_changed_time\x18= \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n#disaster_recovery_role_changed_time\x18> \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x16maintenance_begin_time\x18\x41 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14maintenance_end_time\x18\x42 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1f\n\x0f\x61llowlisted_ips\x18\x43 \x03(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12J\n\x0e\x65ncryption_key\x18\x44 \x01(\x0b\x32-.google.cloud.oracledatabase.v1.EncryptionKeyB\x03\xe0\x41\x01\x12\x66\n\x1e\x65ncryption_key_history_entries\x18\x45 \x03(\x0b\x32\x39.google.cloud.oracledatabase.v1.EncryptionKeyHistoryEntryB\x03\xe0\x41\x03\x12 \n\x13service_agent_email\x18\x46 \x01(\tB\x03\xe0\x41\x03\x12*\n\x18local_data_guard_enabled\x18G \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x46\n4local_adg_auto_failover_max_data_loss_limit_duration\x18H \x01(\x05\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\"a\n\x0f\x44\x61tabaseEdition\x12 \n\x1c\x44\x41TABASE_EDITION_UNSPECIFIED\x10\x00\x12\x14\n\x10STANDARD_EDITION\x10\x01\x12\x16\n\x12\x45NTERPRISE_EDITION\x10\x02\"]\n\x0bLicenseType\x12\x1c\n\x18LICENSE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10LICENSE_INCLUDED\x10\x01\x12\x1a\n\x16\x42RING_YOUR_OWN_LICENSE\x10\x02\"\\\n\x17MaintenanceScheduleType\x12)\n%MAINTENANCE_SCHEDULE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45\x41RLY\x10\x01\x12\x0b\n\x07REGULAR\x10\x02\"w\n\x19LocalDisasterRecoveryType\x12,\n(LOCAL_DISASTER_RECOVERY_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44G\x10\x01\x12\x10\n\x0c\x42\x41\x43KUP_BASED\x10\x02\x12\x11\n\rNOT_AVAILABLE\x10\x03\"\x84\x01\n\rDataSafeState\x12\x1f\n\x1b\x44\x41TA_SAFE_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bREGISTERING\x10\x01\x12\x0e\n\nREGISTERED\x10\x02\x12\x11\n\rDEREGISTERING\x10\x03\x12\x12\n\x0eNOT_REGISTERED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\"\xaa\x01\n\x17\x44\x61tabaseManagementState\x12)\n%DATABASE_MANAGEMENT_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NABLING\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\r\n\tDISABLING\x10\x03\x12\x0f\n\x0bNOT_ENABLED\x10\x04\x12\x13\n\x0f\x46\x41ILED_ENABLING\x10\x05\x12\x14\n\x10\x46\x41ILED_DISABLING\x10\x06\"D\n\x08OpenMode\x12\x19\n\x15OPEN_MODE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"U\n\x0fPermissionLevel\x12 \n\x1cPERMISSION_LEVEL_UNSPECIFIED\x10\x00\x12\x0e\n\nRESTRICTED\x10\x01\x12\x10\n\x0cUNRESTRICTED\x10\x02\"N\n\x0fRefreshableMode\x12 \n\x1cREFRESHABLE_MODE_UNSPECIFIED\x10\x00\x12\r\n\tAUTOMATIC\x10\x01\x12\n\n\x06MANUAL\x10\x02\"Y\n\x10RefreshableState\x12!\n\x1dREFRESHABLE_STATE_UNSPECIFIED\x10\x00\x12\x0e\n\nREFRESHING\x10\x01\x12\x12\n\x0eNOT_REFRESHING\x10\x02\"s\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\x0b\n\x07STANDBY\x10\x02\x12\x14\n\x10\x44ISABLED_STANDBY\x10\x03\x12\x0f\n\x0b\x42\x41\x43KUP_COPY\x10\x04\x12\x14\n\x10SNAPSHOT_STANDBY\x10\x05\x42#\n!_are_primary_allowlisted_ips_usedB\x1b\n\x19_local_data_guard_enabledB7\n5_local_adg_auto_failover_max_data_loss_limit_duration\"\xa1\x01\n\x19\x45ncryptionKeyHistoryEntry\x12J\n\x0e\x65ncryption_key\x18\x01 \x01(\x0b\x32-.google.cloud.oracledatabase.v1.EncryptionKeyB\x03\xe0\x41\x03\x12\x38\n\x0f\x61\x63tivation_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xe8\x01\n\rEncryptionKey\x12M\n\x08provider\x18\x01 \x01(\x0e\x32\x36.google.cloud.oracledatabase.v1.EncryptionKey.ProviderB\x03\xe0\x41\x01\x12:\n\x07kms_key\x18\x02 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\"L\n\x08Provider\x12\x18\n\x14PROVIDER_UNSPECIFIED\x10\x00\x12\x12\n\x0eGOOGLE_MANAGED\x10\x01\x12\x12\n\x0eORACLE_MANAGED\x10\x02\"N\n\x16\x41utonomousDatabaseApex\x12\x19\n\x0c\x61pex_version\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cords_version\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xaa\x02\n#AutonomousDatabaseConnectionStrings\x12Y\n\x16\x61ll_connection_strings\x18\x01 \x01(\x0b\x32\x34.google.cloud.oracledatabase.v1.AllConnectionStringsB\x03\xe0\x41\x03\x12\x16\n\tdedicated\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04high\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03low\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06medium\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12V\n\x08profiles\x18\x06 \x03(\x0b\x32?.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfileB\x03\xe0\x41\x03\"\xb2\t\n\x1f\x44\x61tabaseConnectionStringProfile\x12j\n\x0e\x63onsumer_group\x18\x01 \x01(\x0e\x32M.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroupB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x0bhost_format\x18\x03 \x01(\x0e\x32J.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormatB\x03\xe0\x41\x03\x12\x18\n\x0bis_regional\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12_\n\x08protocol\x18\x05 \x01(\x0e\x32H.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ProtocolB\x03\xe0\x41\x03\x12\x66\n\x0csession_mode\x18\x06 \x01(\x0e\x32K.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionModeB\x03\xe0\x41\x03\x12h\n\rsyntax_format\x18\x07 \x01(\x0e\x32L.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormatB\x03\xe0\x41\x03\x12r\n\x12tls_authentication\x18\x08 \x01(\x0e\x32Q.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthenticationB\x03\xe0\x41\x03\x12\x12\n\x05value\x18\t \x01(\tB\x03\xe0\x41\x03\"d\n\rConsumerGroup\x12\x1e\n\x1a\x43ONSUMER_GROUP_UNSPECIFIED\x10\x00\x12\x08\n\x04HIGH\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x12\x07\n\x03LOW\x10\x03\x12\x06\n\x02TP\x10\x04\x12\x0c\n\x08TPURGENT\x10\x05\";\n\nHostFormat\x12\x1b\n\x17HOST_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46QDN\x10\x01\x12\x06\n\x02IP\x10\x02\"7\n\x08Protocol\x12\x18\n\x14PROTOCOL_UNSPECIFIED\x10\x00\x12\x07\n\x03TCP\x10\x01\x12\x08\n\x04TCPS\x10\x02\"E\n\x0bSessionMode\x12\x1c\n\x18SESSION_MODE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44IRECT\x10\x01\x12\x0c\n\x08INDIRECT\x10\x02\"Y\n\x0cSyntaxFormat\x12\x1d\n\x19SYNTAX_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04LONG\x10\x01\x12\r\n\tEZCONNECT\x10\x02\x12\x11\n\rEZCONNECTPLUS\x10\x03\"O\n\x11TLSAuthentication\x12\"\n\x1eTLS_AUTHENTICATION_UNSPECIFIED\x10\x00\x12\n\n\x06SERVER\x10\x01\x12\n\n\x06MUTUAL\x10\x02\"P\n\x14\x41llConnectionStrings\x12\x11\n\x04high\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03low\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06medium\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xad\x02\n AutonomousDatabaseConnectionUrls\x12\x15\n\x08\x61pex_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17\x64\x61tabase_transforms_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10graph_studio_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12*\n\x1dmachine_learning_notebook_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x31\n$machine_learning_user_management_uri\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cmongo_db_uri\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08ords_uri\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fsql_dev_web_uri\x18\x08 \x01(\tB\x03\xe0\x41\x03\"\xcd\x02\n AutonomousDatabaseStandbySummary\x12\x39\n\x11lag_time_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x1e\n\x11lifecycle_details\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32%.google.cloud.oracledatabase.v1.StateB\x03\xe0\x41\x03\x12\x45\n\x1c\x64\x61ta_guard_role_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n#disaster_recovery_role_changed_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xae\x01\n\x19ScheduledOperationDetails\x12\x30\n\x0b\x64\x61y_of_week\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x03\x12/\n\nstart_time\x18\x04 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x03\x12.\n\tstop_time\x18\x05 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x03*B\n\x0cGenerateType\x12\x1d\n\x19GENERATE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x12\n\n\x06SINGLE\x10\x02*\xab\x03\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08STOPPING\x10\x03\x12\x0b\n\x07STOPPED\x10\x04\x12\x0c\n\x08STARTING\x10\x05\x12\x0f\n\x0bTERMINATING\x10\x06\x12\x0e\n\nTERMINATED\x10\x07\x12\x0f\n\x0bUNAVAILABLE\x10\x08\x12\x17\n\x13RESTORE_IN_PROGRESS\x10\t\x12\x12\n\x0eRESTORE_FAILED\x10\n\x12\x16\n\x12\x42\x41\x43KUP_IN_PROGRESS\x10\x0b\x12\x15\n\x11SCALE_IN_PROGRESS\x10\x0c\x12\x1d\n\x19\x41VAILABLE_NEEDS_ATTENTION\x10\r\x12\x0c\n\x08UPDATING\x10\x0e\x12\x1b\n\x17MAINTENANCE_IN_PROGRESS\x10\x0f\x12\x0e\n\nRESTARTING\x10\x10\x12\x0e\n\nRECREATING\x10\x11\x12\x1b\n\x17ROLE_CHANGE_IN_PROGRESS\x10\x12\x12\r\n\tUPGRADING\x10\x13\x12\x10\n\x0cINACCESSIBLE\x10\x14\x12\x0b\n\x07STANDBY\x10\x15*\xaa\x01\n\x17OperationsInsightsState\x12)\n%OPERATIONS_INSIGHTS_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NABLING\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\r\n\tDISABLING\x10\x03\x12\x0f\n\x0bNOT_ENABLED\x10\x04\x12\x13\n\x0f\x46\x41ILED_ENABLING\x10\x05\x12\x14\n\x10\x46\x41ILED_DISABLING\x10\x06*N\n\nDBWorkload\x12\x1b\n\x17\x44\x42_WORKLOAD_UNSPECIFIED\x10\x00\x12\x08\n\x04OLTP\x10\x01\x12\x06\n\x02\x44W\x10\x02\x12\x07\n\x03\x41JD\x10\x03\x12\x08\n\x04\x41PEX\x10\x04\x42\xf1\x01\n\"com.google.cloud.oracledatabase.v1B\x17\x41utonomousDatabaseProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/database_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/database_pb.rb index 25095ed86795..fd06468cdb9f 100644 --- a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/database_pb.rb +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/database_pb.rb @@ -11,7 +11,7 @@ require 'google/type/dayofweek_pb' -descriptor_data = "\n-google/cloud/oracledatabase/v1/database.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/oracledatabase/v1/pluggable_database.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\"\xc8\x06\n\x08\x44\x61tabase\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x07\x64\x62_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x64\x62_unique_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x61\x64min_password\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13tde_wallet_password\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rcharacter_set\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0encharacter_set\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07oci_url\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\nproperties\x18\n \x01(\x0b\x32\x32.google.cloud.oracledatabase.v1.DatabasePropertiesB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x61tabase_id\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64\x62_home_name\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fgcp_oracle_zone\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x63\n\x13ops_insights_status\x18\x0e \x01(\x0e\x32\x41.google.cloud.oracledatabase.v1.Database.OperationsInsightsStatusB\x03\xe0\x41\x03\"\xac\x01\n\x18OperationsInsightsStatus\x12*\n&OPERATIONS_INSIGHTS_STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NABLING\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\r\n\tDISABLING\x10\x03\x12\x0f\n\x0bNOT_ENABLED\x10\x04\x12\x13\n\x0f\x46\x41ILED_ENABLING\x10\x05\x12\x14\n\x10\x46\x41ILED_DISABLING\x10\x06:~\xea\x41{\n&oracledatabase.googleapis.com/Database\x12\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&oracledatabase.googleapis.com/Database\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"m\n\x15ListDatabasesResponse\x12;\n\tdatabases\x18\x01 \x03(\x0b\x32(.google.cloud.oracledatabase.v1.Database\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\tB\xe7\x01\n\"com.google.cloud.oracledatabase.v1B\rDatabaseProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" +descriptor_data = "\n-google/cloud/oracledatabase/v1/database.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/oracledatabase/v1/pluggable_database.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\"\xcd\x08\n\x08\x44\x61tabase\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x07\x64\x62_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x64\x62_unique_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x61\x64min_password\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12Y\n\x1d\x61\x64min_password_secret_version\x18\x11 \x01(\tB2\xe0\x41\x01\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12 \n\x13tde_wallet_password\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12^\n\"tde_wallet_password_secret_version\x18\x12 \x01(\tB2\xe0\x41\x01\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x1a\n\rcharacter_set\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0encharacter_set\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07oci_url\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\nproperties\x18\n \x01(\x0b\x32\x32.google.cloud.oracledatabase.v1.DatabasePropertiesB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x61tabase_id\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64\x62_home_name\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fgcp_oracle_zone\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x63\n\x13ops_insights_status\x18\x0e \x01(\x0e\x32\x41.google.cloud.oracledatabase.v1.Database.OperationsInsightsStatusB\x03\xe0\x41\x03\x12\"\n\x15pluggable_database_id\x18\x0f \x01(\tB\x03\xe0\x41\x01\x12$\n\x17pluggable_database_name\x18\x10 \x01(\tB\x03\xe0\x41\x01\"\xac\x01\n\x18OperationsInsightsStatus\x12*\n&OPERATIONS_INSIGHTS_STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NABLING\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\r\n\tDISABLING\x10\x03\x12\x0f\n\x0bNOT_ENABLED\x10\x04\x12\x13\n\x0f\x46\x41ILED_ENABLING\x10\x05\x12\x14\n\x10\x46\x41ILED_DISABLING\x10\x06:~\xea\x41{\n&oracledatabase.googleapis.com/Database\x12\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&oracledatabase.googleapis.com/Database\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"m\n\x15ListDatabasesResponse\x12;\n\tdatabases\x18\x01 \x03(\x0b\x32(.google.cloud.oracledatabase.v1.Database\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\tB\xe7\x01\n\"com.google.cloud.oracledatabase.v1B\rDatabaseProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/db_system_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/db_system_pb.rb index e380fe26f8dd..41caf3c91bbc 100644 --- a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/db_system_pb.rb +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/db_system_pb.rb @@ -12,7 +12,7 @@ require 'google/type/datetime_pb' -descriptor_data = "\n.google/cloud/oracledatabase/v1/db_system.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/oracledatabase/v1/database.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/datetime.proto\"\x93\x05\n\x08\x44\x62System\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12K\n\nproperties\x18\x02 \x01(\x0b\x32\x32.google.cloud.oracledatabase.v1.DbSystemPropertiesB\x03\xe0\x41\x01\x12\x1c\n\x0fgcp_oracle_zone\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12I\n\x06labels\x18\x04 \x03(\x0b\x32\x34.google.cloud.oracledatabase.v1.DbSystem.LabelsEntryB\x03\xe0\x41\x01\x12\x45\n\x0bodb_network\x18\x05 \x01(\tB0\xe0\x41\x01\xfa\x41*\n(oracledatabase.googleapis.com/OdbNetwork\x12\x43\n\nodb_subnet\x18\x06 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'oracledatabase.googleapis.com/OdbSubnet\x12\x1b\n\x0e\x65ntitlement_id\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x07oci_url\x18\n \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x7f\xea\x41|\n&oracledatabase.googleapis.com/DbSystem\x12=projects/{project}/locations/{location}/dbSystems/{db_system}*\tdbSystems2\x08\x64\x62System\"\xe4\x0c\n\x12\x44\x62SystemProperties\x12\x12\n\x05shape\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rcompute_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12)\n\x1cinitial_data_storage_size_gb\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12i\n\x10\x64\x61tabase_edition\x18\x04 \x01(\x0e\x32J.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemDatabaseEditionB\x03\xe0\x41\x02\x12[\n\rlicense_model\x18\x05 \x01(\x0e\x32?.google.cloud.oracledatabase.v1.DbSystemProperties.LicenseModelB\x03\xe0\x41\x02\x12\x1c\n\x0fssh_public_keys\x18\x06 \x03(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fhostname_prefix\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08hostname\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nprivate_ip\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x63\n\x17\x64\x61ta_collection_options\x18\n \x01(\x0b\x32=.google.cloud.oracledatabase.v1.DataCollectionOptionsDbSystemB\x03\xe0\x41\x01\x12-\n\ttime_zone\x18\x0b \x01(\x0b\x32\x15.google.type.TimeZoneB\x03\xe0\x41\x01\x12g\n\x0flifecycle_state\x18\x0c \x01(\x0e\x32I.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemLifecycleStateB\x03\xe0\x41\x03\x12<\n\x07\x64\x62_home\x18\r \x01(\x0b\x32&.google.cloud.oracledatabase.v1.DbHomeB\x03\xe0\x41\x01\x12\x11\n\x04ocid\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0ememory_size_gb\x18\x0f \x01(\x05\x42\x03\xe0\x41\x01\x12[\n\rcompute_model\x18\x10 \x01(\x0e\x32?.google.cloud.oracledatabase.v1.DbSystemProperties.ComputeModelB\x03\xe0\x41\x01\x12!\n\x14\x64\x61ta_storage_size_gb\x18\x11 \x01(\x05\x42\x03\xe0\x41\x01\x12!\n\x14reco_storage_size_gb\x18\x12 \x01(\x05\x42\x03\xe0\x41\x01\x12\x13\n\x06\x64omain\x18\x13 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nnode_count\x18\x14 \x01(\x05\x42\x03\xe0\x41\x01\x12O\n\x11\x64\x62_system_options\x18\x15 \x01(\x0b\x32/.google.cloud.oracledatabase.v1.DbSystemOptionsB\x03\xe0\x41\x01\"\x9c\x01\n\x17\x44\x62SystemDatabaseEdition\x12*\n&DB_SYSTEM_DATABASE_EDITION_UNSPECIFIED\x10\x00\x12\x14\n\x10STANDARD_EDITION\x10\x01\x12\x16\n\x12\x45NTERPRISE_EDITION\x10\x02\x12\'\n#ENTERPRISE_EDITION_HIGH_PERFORMANCE\x10\x03\"_\n\x0cLicenseModel\x12\x1d\n\x19LICENSE_MODEL_UNSPECIFIED\x10\x00\x12\x14\n\x10LICENSE_INCLUDED\x10\x01\x12\x1a\n\x16\x42RING_YOUR_OWN_LICENSE\x10\x02\"\xee\x01\n\x16\x44\x62SystemLifecycleState\x12)\n%DB_SYSTEM_LIFECYCLE_STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0f\n\x0bTERMINATING\x10\x04\x12\x0e\n\nTERMINATED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x0c\n\x08MIGRATED\x10\x07\x12\x1b\n\x17MAINTENANCE_IN_PROGRESS\x10\x08\x12\x13\n\x0fNEEDS_ATTENTION\x10\t\x12\r\n\tUPGRADING\x10\n\"A\n\x0c\x43omputeModel\x12\x1d\n\x19\x43OMPUTE_MODEL_UNSPECIFIED\x10\x00\x12\x08\n\x04\x45\x43PU\x10\x01\x12\x08\n\x04OCPU\x10\x02\"r\n\x1d\x44\x61taCollectionOptionsDbSystem\x12*\n\x1dis_diagnostics_events_enabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12%\n\x18is_incident_logs_enabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xc0\x01\n\x0f\x44\x62SystemOptions\x12\x62\n\x12storage_management\x18\x01 \x01(\x0e\x32\x41.google.cloud.oracledatabase.v1.DbSystemOptions.StorageManagementB\x03\xe0\x41\x01\"I\n\x11StorageManagement\x12\"\n\x1eSTORAGE_MANAGEMENT_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41SM\x10\x01\x12\x07\n\x03LVM\x10\x02\"\xa7\x01\n\x06\x44\x62Home\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ndb_version\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\x08\x64\x61tabase\x18\x03 \x01(\x0b\x32(.google.cloud.oracledatabase.v1.DatabaseB\x03\xe0\x41\x02\x12(\n\x1bis_unified_auditing_enabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xd5\x01\n\x15\x43reateDbSystemRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&oracledatabase.googleapis.com/DbSystem\x12\x19\n\x0c\x64\x62_system_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\tdb_system\x18\x03 \x01(\x0b\x32(.google.cloud.oracledatabase.v1.DbSystemB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"v\n\x15\x44\x65leteDbSystemRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&oracledatabase.googleapis.com/DbSystem\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"R\n\x12GetDbSystemRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&oracledatabase.googleapis.com/DbSystem\"\xb3\x01\n\x14ListDbSystemsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&oracledatabase.googleapis.com/DbSystem\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"n\n\x15ListDbSystemsResponse\x12<\n\ndb_systems\x18\x01 \x03(\x0b\x32(.google.cloud.oracledatabase.v1.DbSystem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\tB\xe7\x01\n\"com.google.cloud.oracledatabase.v1B\rDbSystemProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" +descriptor_data = "\n.google/cloud/oracledatabase/v1/db_system.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/oracledatabase/v1/database.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/datetime.proto\"\x93\x05\n\x08\x44\x62System\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12K\n\nproperties\x18\x02 \x01(\x0b\x32\x32.google.cloud.oracledatabase.v1.DbSystemPropertiesB\x03\xe0\x41\x01\x12\x1c\n\x0fgcp_oracle_zone\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12I\n\x06labels\x18\x04 \x03(\x0b\x32\x34.google.cloud.oracledatabase.v1.DbSystem.LabelsEntryB\x03\xe0\x41\x01\x12\x45\n\x0bodb_network\x18\x05 \x01(\tB0\xe0\x41\x01\xfa\x41*\n(oracledatabase.googleapis.com/OdbNetwork\x12\x43\n\nodb_subnet\x18\x06 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'oracledatabase.googleapis.com/OdbSubnet\x12\x1b\n\x0e\x65ntitlement_id\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x07oci_url\x18\n \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x7f\xea\x41|\n&oracledatabase.googleapis.com/DbSystem\x12=projects/{project}/locations/{location}/dbSystems/{db_system}*\tdbSystems2\x08\x64\x62System\"\xe4\x0c\n\x12\x44\x62SystemProperties\x12\x12\n\x05shape\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rcompute_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12)\n\x1cinitial_data_storage_size_gb\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12i\n\x10\x64\x61tabase_edition\x18\x04 \x01(\x0e\x32J.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemDatabaseEditionB\x03\xe0\x41\x02\x12[\n\rlicense_model\x18\x05 \x01(\x0e\x32?.google.cloud.oracledatabase.v1.DbSystemProperties.LicenseModelB\x03\xe0\x41\x02\x12\x1c\n\x0fssh_public_keys\x18\x06 \x03(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fhostname_prefix\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08hostname\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nprivate_ip\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x63\n\x17\x64\x61ta_collection_options\x18\n \x01(\x0b\x32=.google.cloud.oracledatabase.v1.DataCollectionOptionsDbSystemB\x03\xe0\x41\x01\x12-\n\ttime_zone\x18\x0b \x01(\x0b\x32\x15.google.type.TimeZoneB\x03\xe0\x41\x01\x12g\n\x0flifecycle_state\x18\x0c \x01(\x0e\x32I.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemLifecycleStateB\x03\xe0\x41\x03\x12<\n\x07\x64\x62_home\x18\r \x01(\x0b\x32&.google.cloud.oracledatabase.v1.DbHomeB\x03\xe0\x41\x01\x12\x11\n\x04ocid\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0ememory_size_gb\x18\x0f \x01(\x05\x42\x03\xe0\x41\x01\x12[\n\rcompute_model\x18\x10 \x01(\x0e\x32?.google.cloud.oracledatabase.v1.DbSystemProperties.ComputeModelB\x03\xe0\x41\x01\x12!\n\x14\x64\x61ta_storage_size_gb\x18\x11 \x01(\x05\x42\x03\xe0\x41\x01\x12!\n\x14reco_storage_size_gb\x18\x12 \x01(\x05\x42\x03\xe0\x41\x01\x12\x13\n\x06\x64omain\x18\x13 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nnode_count\x18\x14 \x01(\x05\x42\x03\xe0\x41\x01\x12O\n\x11\x64\x62_system_options\x18\x15 \x01(\x0b\x32/.google.cloud.oracledatabase.v1.DbSystemOptionsB\x03\xe0\x41\x01\"\x9c\x01\n\x17\x44\x62SystemDatabaseEdition\x12*\n&DB_SYSTEM_DATABASE_EDITION_UNSPECIFIED\x10\x00\x12\x14\n\x10STANDARD_EDITION\x10\x01\x12\x16\n\x12\x45NTERPRISE_EDITION\x10\x02\x12\'\n#ENTERPRISE_EDITION_HIGH_PERFORMANCE\x10\x03\"_\n\x0cLicenseModel\x12\x1d\n\x19LICENSE_MODEL_UNSPECIFIED\x10\x00\x12\x14\n\x10LICENSE_INCLUDED\x10\x01\x12\x1a\n\x16\x42RING_YOUR_OWN_LICENSE\x10\x02\"\xee\x01\n\x16\x44\x62SystemLifecycleState\x12)\n%DB_SYSTEM_LIFECYCLE_STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0f\n\x0bTERMINATING\x10\x04\x12\x0e\n\nTERMINATED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x0c\n\x08MIGRATED\x10\x07\x12\x1b\n\x17MAINTENANCE_IN_PROGRESS\x10\x08\x12\x13\n\x0fNEEDS_ATTENTION\x10\t\x12\r\n\tUPGRADING\x10\n\"A\n\x0c\x43omputeModel\x12\x1d\n\x19\x43OMPUTE_MODEL_UNSPECIFIED\x10\x00\x12\x08\n\x04\x45\x43PU\x10\x01\x12\x08\n\x04OCPU\x10\x02\"r\n\x1d\x44\x61taCollectionOptionsDbSystem\x12*\n\x1dis_diagnostics_events_enabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12%\n\x18is_incident_logs_enabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xc0\x01\n\x0f\x44\x62SystemOptions\x12\x62\n\x12storage_management\x18\x01 \x01(\x0e\x32\x41.google.cloud.oracledatabase.v1.DbSystemOptions.StorageManagementB\x03\xe0\x41\x01\"I\n\x11StorageManagement\x12\"\n\x1eSTORAGE_MANAGEMENT_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41SM\x10\x01\x12\x07\n\x03LVM\x10\x02\"\xa7\x01\n\x06\x44\x62Home\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ndb_version\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\x08\x64\x61tabase\x18\x03 \x01(\x0b\x32(.google.cloud.oracledatabase.v1.DatabaseB\x03\xe0\x41\x02\x12(\n\x1bis_unified_auditing_enabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xd5\x01\n\x15\x43reateDbSystemRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&oracledatabase.googleapis.com/DbSystem\x12\x19\n\x0c\x64\x62_system_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\tdb_system\x18\x03 \x01(\x0b\x32(.google.cloud.oracledatabase.v1.DbSystemB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"v\n\x15\x44\x65leteDbSystemRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&oracledatabase.googleapis.com/DbSystem\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"R\n\x12GetDbSystemRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&oracledatabase.googleapis.com/DbSystem\"\xb3\x01\n\x14ListDbSystemsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&oracledatabase.googleapis.com/DbSystem\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x83\x01\n\x15ListDbSystemsResponse\x12<\n\ndb_systems\x18\x01 \x03(\x0b\x32(.google.cloud.oracledatabase.v1.DbSystem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\tB\xe7\x01\n\"com.google.cloud.oracledatabase.v1B\rDbSystemProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb index e295a7572c7d..e5f761003eed 100644 --- a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb @@ -5,6 +5,7 @@ require 'google/protobuf' require 'google/api/field_behavior_pb' +require 'google/api/field_info_pb' require 'google/api/resource_pb' require 'google/cloud/oracledatabase/v1/common_pb' require 'google/protobuf/timestamp_pb' @@ -12,7 +13,7 @@ require 'google/type/month_pb' -descriptor_data = "\n2google/cloud/oracledatabase/v1/exadata_infra.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/oracledatabase/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x17google/type/month.proto\"\x84\x05\n\x1a\x43loudExadataInfrastructure\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fgcp_oracle_zone\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x65ntitlement_id\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12]\n\nproperties\x18\x05 \x01(\x0b\x32\x44.google.cloud.oracledatabase.v1.CloudExadataInfrastructurePropertiesB\x03\xe0\x41\x01\x12[\n\x06labels\x18\x06 \x03(\x0b\x32\x46.google.cloud.oracledatabase.v1.CloudExadataInfrastructure.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xdb\x01\xea\x41\xd7\x01\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x62projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}*\x1b\x63loudExadataInfrastructures2\x1a\x63loudExadataInfrastructure\"\xb5\x0b\n$CloudExadataInfrastructureProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rcompute_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1a\n\rstorage_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\"\n\x15total_storage_size_gb\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12&\n\x19\x61vailable_storage_size_gb\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12R\n\x12maintenance_window\x18\x06 \x01(\x0b\x32\x31.google.cloud.oracledatabase.v1.MaintenanceWindowB\x03\xe0\x41\x01\x12^\n\x05state\x18\x07 \x01(\x0e\x32J.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties.StateB\x03\xe0\x41\x03\x12\x12\n\x05shape\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07oci_url\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tcpu_count\x18\n \x01(\x05\x42\x03\xe0\x41\x03\x12\x1a\n\rmax_cpu_count\x18\x0b \x01(\x05\x42\x03\xe0\x41\x03\x12\x1b\n\x0ememory_size_gb\x18\x0c \x01(\x05\x42\x03\xe0\x41\x03\x12\x1a\n\rmax_memory_gb\x18\r \x01(\x05\x42\x03\xe0\x41\x03\x12$\n\x17\x64\x62_node_storage_size_gb\x18\x0e \x01(\x05\x42\x03\xe0\x41\x03\x12(\n\x1bmax_db_node_storage_size_gb\x18\x0f \x01(\x05\x42\x03\xe0\x41\x03\x12!\n\x14\x64\x61ta_storage_size_tb\x18\x10 \x01(\x01\x42\x03\xe0\x41\x03\x12 \n\x13max_data_storage_tb\x18\x11 \x01(\x01\x42\x03\xe0\x41\x03\x12$\n\x17\x61\x63tivated_storage_count\x18\x12 \x01(\x05\x42\x03\xe0\x41\x03\x12%\n\x18\x61\x64\x64itional_storage_count\x18\x13 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1e\n\x11\x64\x62_server_version\x18\x14 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16storage_server_version\x18\x15 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17next_maintenance_run_id\x18\x16 \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x19next_maintenance_run_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\"next_security_maintenance_run_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x11\x63ustomer_contacts\x18\x19 \x03(\x0b\x32/.google.cloud.oracledatabase.v1.CustomerContactB\x03\xe0\x41\x01\x12+\n\x1emonthly_storage_server_version\x18\x1a \x01(\tB\x03\xe0\x41\x03\x12&\n\x19monthly_db_server_version\x18\x1b \x01(\tB\x03\xe0\x41\x03\x12H\n\rcompute_model\x18\x1f \x01(\x0e\x32,.google.cloud.oracledatabase.v1.ComputeModelB\x03\xe0\x41\x03\x12!\n\x14\x64\x61tabase_server_type\x18\x1d \x01(\tB\x03\xe0\x41\x03\x12 \n\x13storage_server_type\x18\x1e \x01(\tB\x03\xe0\x41\x03\"\x97\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0f\n\x0bTERMINATING\x10\x04\x12\x0e\n\nTERMINATED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x1b\n\x17MAINTENANCE_IN_PROGRESS\x10\x07\"\xa5\x05\n\x11MaintenanceWindow\x12\x66\n\npreference\x18\x01 \x01(\x0e\x32M.google.cloud.oracledatabase.v1.MaintenanceWindow.MaintenanceWindowPreferenceB\x03\xe0\x41\x01\x12\'\n\x06months\x18\x02 \x03(\x0e\x32\x12.google.type.MonthB\x03\xe0\x41\x01\x12\x1b\n\x0eweeks_of_month\x18\x03 \x03(\x05\x42\x03\xe0\x41\x01\x12\x31\n\x0c\x64\x61ys_of_week\x18\x04 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x01\x12\x19\n\x0chours_of_day\x18\x05 \x03(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0elead_time_week\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12Z\n\rpatching_mode\x18\x07 \x01(\x0e\x32>.google.cloud.oracledatabase.v1.MaintenanceWindow.PatchingModeB\x03\xe0\x41\x01\x12\'\n\x1a\x63ustom_action_timeout_mins\x18\x08 \x01(\x05\x42\x03\xe0\x41\x01\x12-\n is_custom_action_timeout_enabled\x18\t \x01(\x08\x42\x03\xe0\x41\x01\"v\n\x1bMaintenanceWindowPreference\x12-\n)MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43USTOM_PREFERENCE\x10\x01\x12\x11\n\rNO_PREFERENCE\x10\x02\"K\n\x0cPatchingMode\x12\x1d\n\x19PATCHING_MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07ROLLING\x10\x01\x12\x0f\n\x0bNON_ROLLING\x10\x02\x42\xf9\x01\n\"com.google.cloud.oracledatabase.v1B\x1f\x43loudExadataInfrastructureProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" +descriptor_data = "\n2google/cloud/oracledatabase/v1/exadata_infra.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/oracledatabase/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x17google/type/month.proto\"\x84\x05\n\x1a\x43loudExadataInfrastructure\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fgcp_oracle_zone\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x65ntitlement_id\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12]\n\nproperties\x18\x05 \x01(\x0b\x32\x44.google.cloud.oracledatabase.v1.CloudExadataInfrastructurePropertiesB\x03\xe0\x41\x01\x12[\n\x06labels\x18\x06 \x03(\x0b\x32\x46.google.cloud.oracledatabase.v1.CloudExadataInfrastructure.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xdb\x01\xea\x41\xd7\x01\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x62projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}*\x1b\x63loudExadataInfrastructures2\x1a\x63loudExadataInfrastructure\"\xb5\x0b\n$CloudExadataInfrastructureProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rcompute_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1a\n\rstorage_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\"\n\x15total_storage_size_gb\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12&\n\x19\x61vailable_storage_size_gb\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12R\n\x12maintenance_window\x18\x06 \x01(\x0b\x32\x31.google.cloud.oracledatabase.v1.MaintenanceWindowB\x03\xe0\x41\x01\x12^\n\x05state\x18\x07 \x01(\x0e\x32J.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties.StateB\x03\xe0\x41\x03\x12\x12\n\x05shape\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07oci_url\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tcpu_count\x18\n \x01(\x05\x42\x03\xe0\x41\x03\x12\x1a\n\rmax_cpu_count\x18\x0b \x01(\x05\x42\x03\xe0\x41\x03\x12\x1b\n\x0ememory_size_gb\x18\x0c \x01(\x05\x42\x03\xe0\x41\x03\x12\x1a\n\rmax_memory_gb\x18\r \x01(\x05\x42\x03\xe0\x41\x03\x12$\n\x17\x64\x62_node_storage_size_gb\x18\x0e \x01(\x05\x42\x03\xe0\x41\x03\x12(\n\x1bmax_db_node_storage_size_gb\x18\x0f \x01(\x05\x42\x03\xe0\x41\x03\x12!\n\x14\x64\x61ta_storage_size_tb\x18\x10 \x01(\x01\x42\x03\xe0\x41\x03\x12 \n\x13max_data_storage_tb\x18\x11 \x01(\x01\x42\x03\xe0\x41\x03\x12$\n\x17\x61\x63tivated_storage_count\x18\x12 \x01(\x05\x42\x03\xe0\x41\x03\x12%\n\x18\x61\x64\x64itional_storage_count\x18\x13 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1e\n\x11\x64\x62_server_version\x18\x14 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16storage_server_version\x18\x15 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17next_maintenance_run_id\x18\x16 \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x19next_maintenance_run_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\"next_security_maintenance_run_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x11\x63ustomer_contacts\x18\x19 \x03(\x0b\x32/.google.cloud.oracledatabase.v1.CustomerContactB\x03\xe0\x41\x01\x12+\n\x1emonthly_storage_server_version\x18\x1a \x01(\tB\x03\xe0\x41\x03\x12&\n\x19monthly_db_server_version\x18\x1b \x01(\tB\x03\xe0\x41\x03\x12H\n\rcompute_model\x18\x1f \x01(\x0e\x32,.google.cloud.oracledatabase.v1.ComputeModelB\x03\xe0\x41\x03\x12!\n\x14\x64\x61tabase_server_type\x18\x1d \x01(\tB\x03\xe0\x41\x03\x12 \n\x13storage_server_type\x18\x1e \x01(\tB\x03\xe0\x41\x03\"\x97\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0f\n\x0bTERMINATING\x10\x04\x12\x0e\n\nTERMINATED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x1b\n\x17MAINTENANCE_IN_PROGRESS\x10\x07\"\xa5\x05\n\x11MaintenanceWindow\x12\x66\n\npreference\x18\x01 \x01(\x0e\x32M.google.cloud.oracledatabase.v1.MaintenanceWindow.MaintenanceWindowPreferenceB\x03\xe0\x41\x01\x12\'\n\x06months\x18\x02 \x03(\x0e\x32\x12.google.type.MonthB\x03\xe0\x41\x01\x12\x1b\n\x0eweeks_of_month\x18\x03 \x03(\x05\x42\x03\xe0\x41\x01\x12\x31\n\x0c\x64\x61ys_of_week\x18\x04 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x01\x12\x19\n\x0chours_of_day\x18\x05 \x03(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0elead_time_week\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12Z\n\rpatching_mode\x18\x07 \x01(\x0e\x32>.google.cloud.oracledatabase.v1.MaintenanceWindow.PatchingModeB\x03\xe0\x41\x01\x12\'\n\x1a\x63ustom_action_timeout_mins\x18\x08 \x01(\x05\x42\x03\xe0\x41\x01\x12-\n is_custom_action_timeout_enabled\x18\t \x01(\x08\x42\x03\xe0\x41\x01\"v\n\x1bMaintenanceWindowPreference\x12-\n)MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43USTOM_PREFERENCE\x10\x01\x12\x11\n\rNO_PREFERENCE\x10\x02\"K\n\x0cPatchingMode\x12\x1d\n\x19PATCHING_MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07ROLLING\x10\x01\x12\x0f\n\x0bNON_ROLLING\x10\x02\x42\xf9\x01\n\"com.google.cloud.oracledatabase.v1B\x1f\x43loudExadataInfrastructureProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.rb index 0f81a5fe1556..928044639293 100644 --- a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.rb +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.rb @@ -11,7 +11,7 @@ require 'google/type/datetime_pb' -descriptor_data = "\n>google/cloud/oracledatabase/v1/exascale_db_storage_vault.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/datetime.proto\"\xe5\x04\n\x16\x45xascaleDbStorageVault\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fgcp_oracle_zone\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12Y\n\nproperties\x18\x04 \x01(\x0b\x32@.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultPropertiesB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1b\n\x0e\x65ntitlement_id\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12W\n\x06labels\x18\x07 \x03(\x0b\x32\x42.google.cloud.oracledatabase.v1.ExascaleDbStorageVault.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xc8\x01\xea\x41\xc4\x01\n4oracledatabase.googleapis.com/ExascaleDbStorageVault\x12[projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}*\x17\x65xascaleDbStorageVaults2\x16\x65xascaleDbStorageVault\"\x85\x07\n ExascaleDbStorageVaultProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12-\n\ttime_zone\x18\x02 \x01(\x0b\x32\x15.google.type.TimeZoneB\x03\xe0\x41\x03\x12\x62\n\x1b\x65xascale_db_storage_details\x18\x03 \x01(\x0b\x32\x38.google.cloud.oracledatabase.v1.ExascaleDbStorageDetailsB\x03\xe0\x41\x02\x12Z\n\x05state\x18\x04 \x01(\x0e\x32\x46.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties.StateB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0evm_cluster_ids\x18\x06 \x03(\tB\x03\xe0\x41\x03\x12\x1d\n\x10vm_cluster_count\x18\t \x01(\x05\x42\x03\xe0\x41\x03\x12+\n\x1e\x61\x64\x64itional_flash_cache_percent\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\x12\x14\n\x07oci_uri\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12w\n\x19\x61ttached_shape_attributes\x18\n \x03(\x0e\x32O.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties.ShapeAttributeB\x03\xe0\x41\x03\x12x\n\x1a\x61vailable_shape_attributes\x18\x0b \x03(\x0e\x32O.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties.ShapeAttributeB\x03\xe0\x41\x03\"z\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0f\n\x0bTERMINATING\x10\x04\x12\x0e\n\nTERMINATED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\"W\n\x0eShapeAttribute\x12\x1f\n\x1bSHAPE_ATTRIBUTE_UNSPECIFIED\x10\x00\x12\x11\n\rSMART_STORAGE\x10\x01\x12\x11\n\rBLOCK_STORAGE\x10\x02\"X\n\x18\x45xascaleDbStorageDetails\x12\x1f\n\x12\x61vailable_size_gbs\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1b\n\x0etotal_size_gbs\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"n\n GetExascaleDbStorageVaultRequest\x12J\n\x04name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4oracledatabase.googleapis.com/ExascaleDbStorageVault\"\xcf\x01\n\"ListExascaleDbStorageVaultsRequest\x12L\n\x06parent\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\x12\x34oracledatabase.googleapis.com/ExascaleDbStorageVault\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x9a\x01\n#ListExascaleDbStorageVaultsResponse\x12Z\n\x1a\x65xascale_db_storage_vaults\x18\x01 \x03(\x0b\x32\x36.google.cloud.oracledatabase.v1.ExascaleDbStorageVault\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9f\x02\n#CreateExascaleDbStorageVaultRequest\x12L\n\x06parent\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\x12\x34oracledatabase.googleapis.com/ExascaleDbStorageVault\x12)\n\x1c\x65xascale_db_storage_vault_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12^\n\x19\x65xascale_db_storage_vault\x18\x03 \x01(\x0b\x32\x36.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x92\x01\n#DeleteExascaleDbStorageVaultRequest\x12J\n\x04name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4oracledatabase.googleapis.com/ExascaleDbStorageVault\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x42\xf5\x01\n\"com.google.cloud.oracledatabase.v1B\x1b\x45xascaleDbStorageVaultProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" +descriptor_data = "\n>google/cloud/oracledatabase/v1/exascale_db_storage_vault.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/datetime.proto\"\xe5\x04\n\x16\x45xascaleDbStorageVault\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fgcp_oracle_zone\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12Y\n\nproperties\x18\x04 \x01(\x0b\x32@.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultPropertiesB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1b\n\x0e\x65ntitlement_id\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12W\n\x06labels\x18\x07 \x03(\x0b\x32\x42.google.cloud.oracledatabase.v1.ExascaleDbStorageVault.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xc8\x01\xea\x41\xc4\x01\n4oracledatabase.googleapis.com/ExascaleDbStorageVault\x12[projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}*\x17\x65xascaleDbStorageVaults2\x16\x65xascaleDbStorageVault\"\x85\x07\n ExascaleDbStorageVaultProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12-\n\ttime_zone\x18\x02 \x01(\x0b\x32\x15.google.type.TimeZoneB\x03\xe0\x41\x03\x12\x62\n\x1b\x65xascale_db_storage_details\x18\x03 \x01(\x0b\x32\x38.google.cloud.oracledatabase.v1.ExascaleDbStorageDetailsB\x03\xe0\x41\x02\x12Z\n\x05state\x18\x04 \x01(\x0e\x32\x46.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties.StateB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0evm_cluster_ids\x18\x06 \x03(\tB\x03\xe0\x41\x03\x12\x1d\n\x10vm_cluster_count\x18\t \x01(\x05\x42\x03\xe0\x41\x03\x12+\n\x1e\x61\x64\x64itional_flash_cache_percent\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\x12\x14\n\x07oci_uri\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12w\n\x19\x61ttached_shape_attributes\x18\n \x03(\x0e\x32O.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties.ShapeAttributeB\x03\xe0\x41\x03\x12x\n\x1a\x61vailable_shape_attributes\x18\x0b \x03(\x0e\x32O.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultProperties.ShapeAttributeB\x03\xe0\x41\x03\"z\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0f\n\x0bTERMINATING\x10\x04\x12\x0e\n\nTERMINATED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\"W\n\x0eShapeAttribute\x12\x1f\n\x1bSHAPE_ATTRIBUTE_UNSPECIFIED\x10\x00\x12\x11\n\rSMART_STORAGE\x10\x01\x12\x11\n\rBLOCK_STORAGE\x10\x02\"X\n\x18\x45xascaleDbStorageDetails\x12\x1f\n\x12\x61vailable_size_gbs\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1b\n\x0etotal_size_gbs\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"n\n GetExascaleDbStorageVaultRequest\x12J\n\x04name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4oracledatabase.googleapis.com/ExascaleDbStorageVault\"\xcf\x01\n\"ListExascaleDbStorageVaultsRequest\x12L\n\x06parent\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\x12\x34oracledatabase.googleapis.com/ExascaleDbStorageVault\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xaf\x01\n#ListExascaleDbStorageVaultsResponse\x12Z\n\x1a\x65xascale_db_storage_vaults\x18\x01 \x03(\x0b\x32\x36.google.cloud.oracledatabase.v1.ExascaleDbStorageVault\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x9f\x02\n#CreateExascaleDbStorageVaultRequest\x12L\n\x06parent\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\x12\x34oracledatabase.googleapis.com/ExascaleDbStorageVault\x12)\n\x1c\x65xascale_db_storage_vault_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12^\n\x19\x65xascale_db_storage_vault\x18\x03 \x01(\x0b\x32\x36.google.cloud.oracledatabase.v1.ExascaleDbStorageVaultB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x92\x01\n#DeleteExascaleDbStorageVaultRequest\x12J\n\x04name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4oracledatabase.googleapis.com/ExascaleDbStorageVault\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x42\xf5\x01\n\"com.google.cloud.oracledatabase.v1B\x1b\x45xascaleDbStorageVaultProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_connection_assignment_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_connection_assignment_pb.rb new file mode 100644 index 000000000000..836a55b672ae --- /dev/null +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_connection_assignment_pb.rb @@ -0,0 +1,38 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/cloud/oracledatabase/v1/goldengate_connection_assignment.proto + +require 'google/protobuf' + +require 'google/api/field_behavior_pb' +require 'google/api/field_info_pb' +require 'google/api/resource_pb' +require 'google/protobuf/timestamp_pb' + + +descriptor_data = "\nEgoogle/cloud/oracledatabase/v1/goldengate_connection_assignment.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x86\x05\n\x1eGoldengateConnectionAssignment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x61\n\nproperties\x18\x02 \x01(\x0b\x32H.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentPropertiesB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12_\n\x06labels\x18\x04 \x03(\x0b\x32J.google.cloud.oracledatabase.v1.GoldengateConnectionAssignment.LabelsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x65ntitlement_id\x18\x06 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xef\x01\xea\x41\xeb\x01\n\x12.google.cloud.oracledatabase.v1.GoldengateConnectionAssignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"~\n(GetGoldengateConnectionAssignmentRequest\x12R\n\x04name\x18\x01 \x01(\tBD\xe0\x41\x02\xfa\x41>\n\x12.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x9a\x02\n)TestGoldengateConnectionAssignmentRequest\x12R\n\x04name\x18\x01 \x01(\tBD\xe0\x41\x02\xfa\x41>\n\n.google.cloud.oracledatabase.v1.GoldengateConnectionPropertiesB\x03\xe0\x41\x02\x12\x1c\n\x0fgcp_oracle_zone\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12U\n\x06labels\x18\x04 \x03(\x0b\x32@.google.cloud.oracledatabase.v1.GoldengateConnection.LabelsEntryB\x03\xe0\x41\x01\x12\x45\n\x0bodb_network\x18\x05 \x01(\tB0\xe0\x41\x01\xfa\x41*\n(oracledatabase.googleapis.com/OdbNetwork\x12\x43\n\nodb_subnet\x18\x06 \x01(\tB/\xe0\x41\x01\xfa\x41)\n\'oracledatabase.googleapis.com/OdbSubnet\x12\x1b\n\x0e\x65ntitlement_id\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x07oci_url\x18\t \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xbc\x01\xea\x41\xb8\x01\n2oracledatabase.googleapis.com/GoldengateConnection\x12Uprojects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}*\x15goldengateConnections2\x14goldengateConnection\"\xef\'\n\x1eGoldengateConnectionProperties\x12l\n\x1coracle_connection_properties\x18\t \x01(\x0b\x32\x44.google.cloud.oracledatabase.v1.GoldengateOracleConnectionPropertiesH\x00\x12t\n goldengate_connection_properties\x18\n \x01(\x0b\x32H.google.cloud.oracledatabase.v1.GoldengateGoldengateConnectionPropertiesH\x00\x12n\n\x1dgeneric_connection_properties\x18\x0b \x01(\x0b\x32\x45.google.cloud.oracledatabase.v1.GoldengateGenericConnectionPropertiesH\x00\x12\x86\x01\n*google_cloud_storage_connection_properties\x18\x0c \x01(\x0b\x32P.google.cloud.oracledatabase.v1.GoldengateGoogleCloudStorageConnectionPropertiesH\x00\x12~\n&google_big_query_connection_properties\x18\r \x01(\x0b\x32L.google.cloud.oracledatabase.v1.GoldengateGoogleBigQueryConnectionPropertiesH\x00\x12j\n\x1bmysql_connection_properties\x18\x0e \x01(\x0b\x32\x43.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionPropertiesH\x00\x12j\n\x1bkafka_connection_properties\x18\x0f \x01(\x0b\x32\x43.google.cloud.oracledatabase.v1.GoldengateKafkaConnectionPropertiesH\x00\x12\x88\x01\n+kafka_schema_registry_connection_properties\x18\x10 \x01(\x0b\x32Q.google.cloud.oracledatabase.v1.GoldengateKafkaSchemaRegistryConnectionPropertiesH\x00\x12\x82\x01\n(oci_object_storage_connection_properties\x18\x11 \x01(\x0b\x32N.google.cloud.oracledatabase.v1.GoldengateOciObjectStorageConnectionPropertiesH\x00\x12\x8b\x01\n-azure_data_lake_storage_connection_properties\x18\x12 \x01(\x0b\x32R.google.cloud.oracledatabase.v1.GoldengateAzureDataLakeStorageConnectionPropertiesH\x00\x12\x8c\x01\n-azure_synapse_analytics_connection_properties\x18\x13 \x01(\x0b\x32S.google.cloud.oracledatabase.v1.GoldengateAzureSynapseAnalyticsConnectionPropertiesH\x00\x12t\n postgresql_connection_properties\x18\x14 \x01(\x0b\x32H.google.cloud.oracledatabase.v1.GoldengatePostgresqlConnectionPropertiesH\x00\x12\x85\x01\n)microsoft_sqlserver_connection_properties\x18\x15 \x01(\x0b\x32P.google.cloud.oracledatabase.v1.GoldengateMicrosoftSqlserverConnectionPropertiesH\x00\x12q\n\x1f\x61mazon_s3_connection_properties\x18\x16 \x01(\x0b\x32\x46.google.cloud.oracledatabase.v1.GoldengateAmazonS3ConnectionPropertiesH\x00\x12h\n\x1ahdfs_connection_properties\x18\x17 \x01(\x0b\x32\x42.google.cloud.oracledatabase.v1.GoldengateHdfsConnectionPropertiesH\x00\x12\x86\x01\n*java_message_service_connection_properties\x18\x18 \x01(\x0b\x32P.google.cloud.oracledatabase.v1.GoldengateJavaMessageServiceConnectionPropertiesH\x00\x12n\n\x1dmongodb_connection_properties\x18\x19 \x01(\x0b\x32\x45.google.cloud.oracledatabase.v1.GoldengateMongodbConnectionPropertiesH\x00\x12w\n\"oracle_nosql_connection_properties\x18\x1a \x01(\x0b\x32I.google.cloud.oracledatabase.v1.GoldengateOracleNosqlConnectionPropertiesH\x00\x12r\n\x1fsnowflake_connection_properties\x18\x1b \x01(\x0b\x32G.google.cloud.oracledatabase.v1.GoldengateSnowflakeConnectionPropertiesH\x00\x12}\n%amazon_redshift_connection_properties\x18\x1c \x01(\x0b\x32L.google.cloud.oracledatabase.v1.GoldengateAmazonRedshiftConnectionPropertiesH\x00\x12z\n#elasticsearch_connection_properties\x18\x1d \x01(\x0b\x32K.google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionPropertiesH\x00\x12{\n$amazon_kinesis_connection_properties\x18\x1f \x01(\x0b\x32K.google.cloud.oracledatabase.v1.GoldengateAmazonKinesisConnectionPropertiesH\x00\x12\x66\n\x19\x64\x62\x32_connection_properties\x18 \x01(\x0b\x32\x41.google.cloud.oracledatabase.v1.GoldengateDb2ConnectionPropertiesH\x00\x12j\n\x1bredis_connection_properties\x18! \x01(\x0b\x32\x43.google.cloud.oracledatabase.v1.GoldengateRedisConnectionPropertiesH\x00\x12t\n databricks_connection_properties\x18\" \x01(\x0b\x32H.google.cloud.oracledatabase.v1.GoldengateDatabricksConnectionPropertiesH\x00\x12y\n#google_pubsub_connection_properties\x18# \x01(\x0b\x32J.google.cloud.oracledatabase.v1.GoldengateGooglePubsubConnectionPropertiesH\x00\x12\x7f\nµsoft_fabric_connection_properties\x18$ \x01(\x0b\x32M.google.cloud.oracledatabase.v1.GoldengateMicrosoftFabricConnectionPropertiesH\x00\x12\x8b\x01\n-oracle_ai_data_platform_connection_properties\x18% \x01(\x0b\x32R.google.cloud.oracledatabase.v1.GoldengateOracleAIDataPlatformConnectionPropertiesH\x00\x12n\n\x1diceberg_connection_properties\x18& \x01(\x0b\x32\x45.google.cloud.oracledatabase.v1.GoldengateIcebergConnectionPropertiesH\x00\x12u\n\x0f\x63onnection_type\x18\x01 \x01(\x0e\x32W.google.cloud.oracledatabase.v1.GoldengateConnectionProperties.GoldengateConnectionTypeB\x03\xe0\x41\x02\x12\x11\n\x04ocid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x7f\n\x0flifecycle_state\x18\x05 \x01(\x0e\x32\x61.google.cloud.oracledatabase.v1.GoldengateConnectionProperties.GoldengateConnectionLifecycleStateB\x03\xe0\x41\x03\x12\x1e\n\x11lifecycle_details\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12}\n\x0erouting_method\x18\x08 \x01(\x0e\x32`.google.cloud.oracledatabase.v1.GoldengateConnectionProperties.GoldengateConnectionRoutingMethodB\x03\xe0\x41\x01\x12!\n\x14ingress_ip_addresses\x18\' \x03(\tB\x03\xe0\x41\x03\"\xde\x04\n\x18GoldengateConnectionType\x12*\n&GOLDENGATE_CONNECTION_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nGOLDENGATE\x10\x01\x12\t\n\x05KAFKA\x10\x02\x12\x19\n\x15KAFKA_SCHEMA_REGISTRY\x10\x03\x12\t\n\x05MYSQL\x10\x04\x12\x18\n\x14JAVA_MESSAGE_SERVICE\x10\x05\x12\x17\n\x13MICROSOFT_SQLSERVER\x10\x06\x12\x16\n\x12OCI_OBJECT_STORAGE\x10\x07\x12\n\n\x06ORACLE\x10\x08\x12\x1b\n\x17\x41ZURE_DATA_LAKE_STORAGE\x10\t\x12\x0e\n\nPOSTGRESQL\x10\n\x12\x1b\n\x17\x41ZURE_SYNAPSE_ANALYTICS\x10\x0b\x12\r\n\tSNOWFLAKE\x10\x0c\x12\r\n\tAMAZON_S3\x10\r\x12\x08\n\x04HDFS\x10\x0e\x12\x1b\n\x17ORACLE_AI_DATA_PLATFORM\x10\x0f\x12\x10\n\x0cORACLE_NOSQL\x10\x10\x12\x0b\n\x07MONGODB\x10\x11\x12\x12\n\x0e\x41MAZON_KINESIS\x10\x12\x12\x13\n\x0f\x41MAZON_REDSHIFT\x10\x13\x12\x07\n\x03\x44\x42\x32\x10\x14\x12\t\n\x05REDIS\x10\x15\x12\x11\n\rELASTICSEARCH\x10\x16\x12\x0b\n\x07GENERIC\x10\x17\x12\x18\n\x14GOOGLE_CLOUD_STORAGE\x10\x18\x12\x13\n\x0fGOOGLE_BIGQUERY\x10\x19\x12\x0e\n\nDATABRICKS\x10\x1a\x12\x11\n\rGOOGLE_PUBSUB\x10\x1b\x12\x14\n\x10MICROSOFT_FABRIC\x10\x1c\x12\x0b\n\x07ICEBERG\x10\x1d\"\xaa\x01\n\"GoldengateConnectionLifecycleState\x12\x35\n1GOLDENGATE_CONNECTION_LIFECYCLE_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0b\n\x07\x44\x45LETED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\"\x91\x01\n!GoldengateConnectionRoutingMethod\x12\x34\n0GOLDENGATE_CONNECTION_ROUTING_METHOD_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSHARED_DEPLOYMENT_ENDPOINT\x10\x01\x12\x16\n\x12\x44\x45\x44ICATED_ENDPOINT\x10\x02\x42\x14\n\x12\x63onnection_details\"\xdf\x05\n$GoldengateOracleConnectionProperties\x12\x1a\n\x08password\x18\n \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\x0b \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x7f\n\x13\x61uthentication_mode\x18\x03 \x01(\x0e\x32].google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.OracleAuthenticationModeB\x03\xe0\x41\x01\x12\x1e\n\x11\x63onnection_string\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12k\n\x0csession_mode\x18\x05 \x01(\x0e\x32P.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.SessionModeB\x03\xe0\x41\x01\x12#\n\x16gcp_oracle_database_id\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bwallet_file\x18\t \x01(\tB\x03\xe0\x41\x01\"Y\n\x18OracleAuthenticationMode\x12*\n&ORACLE_AUTHENTICATION_MODE_UNSPECIFIED\x10\x00\x12\x07\n\x03TLS\x10\x01\x12\x08\n\x04MTLS\x10\x02\"E\n\x0bSessionMode\x12\x1c\n\x18SESSION_MODE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44IRECT\x10\x01\x12\x0c\n\x08REDIRECT\x10\x02\x42\x1d\n\x1b\x63onnection_password_options\"\xf8\x02\n(GoldengateGoldengateConnectionProperties\x12\x1a\n\x08password\x18\x07 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\x08 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\\\n\x18goldengate_deployment_id\x18\x02 \x01(\tB:\xe0\x41\x01\xfa\x41\x34\n2oracledatabase.googleapis.com/GoldengateDeployment\x12\x11\n\x04host\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04port\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x05 \x01(\tB\x03\xe0\x41\x01\x42\x1d\n\x1b\x63onnection_password_options\"X\n%GoldengateGenericConnectionProperties\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04host\x18\x02 \x01(\tB\x03\xe0\x41\x01\"w\n0GoldengateGoogleCloudStorageConnectionProperties\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18service_account_key_file\x18\x03 \x01(\tB\x03\xe0\x41\x01\"s\n,GoldengateGoogleBigQueryConnectionProperties\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18service_account_key_file\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xb9\x07\n#GoldengateMysqlConnectionProperties\x12\x1a\n\x08password\x18\x0f \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\x10 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04host\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04port\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x15\n\x08\x64\x61tabase\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12y\n\x11security_protocol\x18\x07 \x01(\x0e\x32Y.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.MysqlSecurityProtocolB\x03\xe0\x41\x01\x12\x62\n\x08ssl_mode\x18\x08 \x01(\x0e\x32K.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.SSLModeB\x03\xe0\x41\x01\x12\x18\n\x0bssl_ca_file\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cssl_crl_file\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rssl_cert_file\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cssl_key_file\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12Q\n\x15\x61\x64\x64itional_attributes\x18\r \x03(\x0b\x32-.google.cloud.oracledatabase.v1.NameValuePairB\x03\xe0\x41\x01\x12\x19\n\x0c\x64\x62_system_id\x18\x0e \x01(\tB\x03\xe0\x41\x01\"^\n\x15MysqlSecurityProtocol\x12\'\n#MYSQL_SECURITY_PROTOCOL_UNSPECIFIED\x10\x00\x12\t\n\x05PLAIN\x10\x01\x12\x07\n\x03TLS\x10\x02\x12\x08\n\x04MTLS\x10\x03\"r\n\x07SSLMode\x12\x18\n\x14SSL_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\r\n\tPREFERRED\x10\x02\x12\x0c\n\x08REQUIRED\x10\x03\x12\r\n\tVERIFY_CA\x10\x04\x12\x13\n\x0fVERIFY_IDENTITY\x10\x05\x42\x1d\n\x1b\x63onnection_password_options\"\x99\n\n#GoldengateKafkaConnectionProperties\x12\x1a\n\x08password\x18\x10 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\x14 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12&\n\x14trust_store_password\x18\x11 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x01\x12\x64\n#trust_store_password_secret_version\x18\x15 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x01\x12$\n\x12key_store_password\x18\x12 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x02\x12\x62\n!key_store_password_secret_version\x18\x16 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x02\x12\"\n\x10ssl_key_password\x18\x13 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x03\x12`\n\x1fssl_key_password_secret_version\x18\x17 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x03\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0estream_pool_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ncluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12T\n\x11\x62ootstrap_servers\x18\x04 \x03(\x0b\x32\x34.google.cloud.oracledatabase.v1.KafkaBootstrapServerB\x03\xe0\x41\x01\x12y\n\x11security_protocol\x18\x05 \x01(\x0e\x32Y.google.cloud.oracledatabase.v1.GoldengateKafkaConnectionProperties.KafkaSecurityProtocolB\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10trust_store_file\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0ekey_store_file\x18\n \x01(\tB\x03\xe0\x41\x01\x12%\n\x18\x63onsumer_properties_file\x18\r \x01(\tB\x03\xe0\x41\x01\x12%\n\x18producer_properties_file\x18\x0e \x01(\tB\x03\xe0\x41\x01\x12#\n\x16use_resource_principal\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01\"z\n\x15KafkaSecurityProtocol\x12\'\n#KAFKA_SECURITY_PROTOCOL_UNSPECIFIED\x10\x00\x12\x07\n\x03SSL\x10\x01\x12\x0c\n\x08SASL_SSL\x10\x02\x12\r\n\tPLAINTEXT\x10\x03\x12\x12\n\x0eSASL_PLAINTEXT\x10\x04\x42\x1d\n\x1b\x63onnection_password_optionsB\x1e\n\x1ctrust_store_password_optionsB\x1c\n\x1akey_store_password_optionsB\x1a\n\x18ssl_key_password_options\"\xa8\x08\n1GoldengateKafkaSchemaRegistryConnectionProperties\x12\x1a\n\x08password\x18\x0b \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\x0f \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12&\n\x14trust_store_password\x18\x0c \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x01\x12\x64\n#trust_store_password_secret_version\x18\x10 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x01\x12$\n\x12key_store_password\x18\r \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x02\x12\x62\n!key_store_password_secret_version\x18\x11 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x02\x12\"\n\x10ssl_key_password\x18\x0e \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x03\x12`\n\x1fssl_key_password_secret_version\x18\x12 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x03\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03url\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x86\x01\n\x13\x61uthentication_type\x18\x03 \x01(\x0e\x32\x64.google.cloud.oracledatabase.v1.GoldengateKafkaSchemaRegistryConnectionProperties.AuthenticationTypeB\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10trust_store_file\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0ekey_store_file\x18\x08 \x01(\tB\x03\xe0\x41\x01\"Z\n\x12\x41uthenticationType\x12#\n\x1f\x41UTHENTICATION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\t\n\x05\x42\x41SIC\x10\x02\x12\n\n\x06MUTUAL\x10\x03\x42\x1d\n\x1b\x63onnection_password_optionsB\x1e\n\x1ctrust_store_password_optionsB\x1c\n\x1akey_store_password_optionsB\x1a\n\x18ssl_key_password_options\"\xa7\x02\n.GoldengateOciObjectStorageConnectionProperties\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ntenancy_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07user_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10private_key_file\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12*\n\x1dprivate_key_passphrase_secret\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16public_key_fingerprint\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16use_resource_principal\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\"\xc3\x04\n2GoldengateAzureDataLakeStorageConnectionProperties\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x87\x01\n\x13\x61uthentication_type\x18\x02 \x01(\x0e\x32\x65.google.cloud.oracledatabase.v1.GoldengateAzureDataLakeStorageConnectionProperties.AuthenticationTypeB\x03\xe0\x41\x01\x12\x14\n\x07\x61\x63\x63ount\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x61\x63\x63ount_key_secret\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10sas_token_secret\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x61zure_tenant_id\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tclient_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rclient_secret\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x65ndpoint\x18\t \x01(\tB\x03\xe0\x41\x01\x12!\n\x14\x61zure_authority_host\x18\n \x01(\tB\x03\xe0\x41\x01\"\x82\x01\n\x12\x41uthenticationType\x12#\n\x1f\x41UTHENTICATION_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nSHARED_KEY\x10\x01\x12\x1b\n\x17SHARED_ACCESS_SIGNATURE\x10\x02\x12\x1a\n\x16\x41ZURE_ACTIVE_DIRECTORY\x10\x03\"\x9f\x02\n3GoldengateAzureSynapseAnalyticsConnectionProperties\x12\x1a\n\x08password\x18\x05 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\x06 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x63onnection_string\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x03 \x01(\tB\x03\xe0\x41\x01\x42\x1d\n\x1b\x63onnection_password_options\"\xe1\x07\n(GoldengatePostgresqlConnectionProperties\x12\x1a\n\x08password\x18\x0f \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\x10 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x64\x61tabase\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04host\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04port\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x15\x61\x64\x64itional_attributes\x18\x07 \x03(\x0b\x32-.google.cloud.oracledatabase.v1.NameValuePairB\x03\xe0\x41\x01\x12\x83\x01\n\x11security_protocol\x18\x08 \x01(\x0e\x32\x63.google.cloud.oracledatabase.v1.GoldengatePostgresqlConnectionProperties.PostgresqlSecurityProtocolB\x03\xe0\x41\x01\x12q\n\x08ssl_mode\x18\t \x01(\x0e\x32Z.google.cloud.oracledatabase.v1.GoldengatePostgresqlConnectionProperties.PostgresqlSslModeB\x03\xe0\x41\x01\x12\x18\n\x0bssl_ca_file\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cssl_crl_file\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rssl_cert_file\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cssl_key_file\x18\r \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64\x62_system_id\x18\x0e \x01(\tB\x03\xe0\x41\x01\"h\n\x1aPostgresqlSecurityProtocol\x12,\n(POSTGRESQL_SECURITY_PROTOCOL_UNSPECIFIED\x10\x00\x12\t\n\x05PLAIN\x10\x01\x12\x07\n\x03TLS\x10\x02\x12\x08\n\x04MTLS\x10\x03\"q\n\x11PostgresqlSslMode\x12#\n\x1fPOSTGRESQL_SSL_MODE_UNSPECIFIED\x10\x00\x12\n\n\x06PREFER\x10\x01\x12\x0b\n\x07REQUIRE\x10\x02\x12\r\n\tVERIFY_CA\x10\x03\x12\x0f\n\x0bVERIFY_FULL\x10\x04\x42\x1d\n\x1b\x63onnection_password_options\"\xe2\x05\n0GoldengateMicrosoftSqlserverConnectionProperties\x12\x1a\n\x08password\x18\x0b \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\x0c \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x64\x61tabase\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04host\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04port\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x15\x61\x64\x64itional_attributes\x18\x07 \x03(\x0b\x32-.google.cloud.oracledatabase.v1.NameValuePairB\x03\xe0\x41\x01\x12\x93\x01\n\x11security_protocol\x18\x08 \x01(\x0e\x32s.google.cloud.oracledatabase.v1.GoldengateMicrosoftSqlserverConnectionProperties.MicrosoftSqlserverSecurityProtocolB\x03\xe0\x41\x01\x12\x18\n\x0bssl_ca_file\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x33\n&server_certificate_validation_required\x18\n \x01(\x08\x42\x03\xe0\x41\x01\"o\n\"MicrosoftSqlserverSecurityProtocol\x12\x35\n1MICROSOFT_SQLSERVER_SECURITY_PROTOCOL_UNSPECIFIED\x10\x00\x12\t\n\x05PLAIN\x10\x01\x12\x07\n\x03TLS\x10\x02\x42\x1d\n\x1b\x63onnection_password_options\"\xb5\x01\n&GoldengateAmazonS3ConnectionProperties\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\raccess_key_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18secret_access_key_secret\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x65ndpoint\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06region\x18\x05 \x01(\tB\x03\xe0\x41\x01\"^\n\"GoldengateHdfsConnectionProperties\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rcore_site_xml\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x90\x0c\n0GoldengateJavaMessageServiceConnectionProperties\x12\x1a\n\x08password\x18\x13 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\x17 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12&\n\x14trust_store_password\x18\x14 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x01\x12\x64\n#trust_store_password_secret_version\x18\x18 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x01\x12$\n\x12key_store_password\x18\x15 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x02\x12\x62\n!key_store_password_secret_version\x18\x19 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x02\x12\"\n\x10ssl_key_password\x18\x16 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x03\x12`\n\x1fssl_key_password_secret_version\x18\x1a \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x03\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08use_jndi\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12$\n\x17jndi_connection_factory\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11jndi_provider_url\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12)\n\x1cjndi_initial_context_factory\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17jndi_security_principal\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12-\n jndi_security_credentials_secret\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x63onnection_url\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x63onnection_factory\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08username\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x84\x01\n\x11security_protocol\x18\x0c \x01(\x0e\x32\x64.google.cloud.oracledatabase.v1.GoldengateJavaMessageServiceConnectionProperties.JmsSecurityProtocolB\x03\xe0\x41\x01\x12\x88\x01\n\x13\x61uthentication_type\x18\r \x01(\x0e\x32\x66.google.cloud.oracledatabase.v1.GoldengateJavaMessageServiceConnectionProperties.JmsAuthenticationTypeB\x03\xe0\x41\x01\x12\x1d\n\x10trust_store_file\x18\x0e \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0ekey_store_file\x18\x10 \x01(\tB\x03\xe0\x41\x01\"Z\n\x13JmsSecurityProtocol\x12%\n!JMS_SECURITY_PROTOCOL_UNSPECIFIED\x10\x00\x12\t\n\x05PLAIN\x10\x01\x12\x07\n\x03TLS\x10\x02\x12\x08\n\x04MTLS\x10\x03\"U\n\x15JmsAuthenticationType\x12\'\n#JMS_AUTHENTICATION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\t\n\x05\x42\x41SIC\x10\x02\x42\x1d\n\x1b\x63onnection_password_optionsB\x1e\n\x1ctrust_store_password_optionsB\x1c\n\x1akey_store_password_optionsB\x1a\n\x18ssl_key_password_options\"\xa4\x06\n%GoldengateMongodbConnectionProperties\x12\x1a\n\x08password\x18\n \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\x0c \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x33\n!tls_certificate_key_file_password\x18\x0b \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x01\x12q\n0tls_certificate_key_file_password_secret_version\x18\r \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x01\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x63onnection_string\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x61tabase_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12}\n\x11security_protocol\x18\x06 \x01(\x0e\x32].google.cloud.oracledatabase.v1.GoldengateMongodbConnectionProperties.MongodbSecurityProtocolB\x03\xe0\x41\x01\x12\x18\n\x0btls_ca_file\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18tls_certificate_key_file\x18\x08 \x01(\tB\x03\xe0\x41\x01\"b\n\x17MongodbSecurityProtocol\x12)\n%MONGODB_SECURITY_PROTOCOL_UNSPECIFIED\x10\x00\x12\t\n\x05PLAIN\x10\x01\x12\x07\n\x03TLS\x10\x02\x12\x08\n\x04MTLS\x10\x03\x42\x1d\n\x1b\x63onnection_password_optionsB+\n)tls_certificate_key_file_password_options\"\xa2\x02\n)GoldengateOracleNosqlConnectionProperties\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ntenancy_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07user_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10private_key_file\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12*\n\x1dprivate_key_passphrase_secret\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16public_key_fingerprint\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16use_resource_principal\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\"\xad\x04\n\'GoldengateSnowflakeConnectionProperties\x12\x1a\n\x08password\x18\x08 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\t \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x63onnection_url\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12|\n\x13\x61uthentication_type\x18\x03 \x01(\x0e\x32Z.google.cloud.oracledatabase.v1.GoldengateSnowflakeConnectionProperties.AuthenticationTypeB\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10private_key_file\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12*\n\x1dprivate_key_passphrase_secret\x18\x07 \x01(\tB\x03\xe0\x41\x01\"R\n\x12\x41uthenticationType\x12#\n\x1f\x41UTHENTICATION_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x0c\n\x08KEY_PAIR\x10\x02\x42\x1d\n\x1b\x63onnection_password_options\"\x95\x02\n,GoldengateAmazonRedshiftConnectionProperties\x12\x1a\n\x08password\x18\x05 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\x06 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x63onnection_url\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x03 \x01(\tB\x03\xe0\x41\x01\x42\x1d\n\x1b\x63onnection_password_options\"\x94\x06\n+GoldengateElasticsearchConnectionProperties\x12\x1a\n\x08password\x18\x08 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\t \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07servers\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x89\x01\n\x11security_protocol\x18\x03 \x01(\x0e\x32i.google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocolB\x03\xe0\x41\x01\x12\x8d\x01\n\x13\x61uthentication_type\x18\x04 \x01(\x0e\x32k.google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationTypeB\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x66ingerprint\x18\x07 \x01(\tB\x03\xe0\x41\x01\"d\n\x1d\x45lasticsearchSecurityProtocol\x12/\n+ELASTICSEARCH_SECURITY_PROTOCOL_UNSPECIFIED\x10\x00\x12\t\n\x05PLAIN\x10\x01\x12\x07\n\x03TLS\x10\x02\"i\n\x1f\x45lasticsearchAuthenticationType\x12\x31\n-ELASTICSEARCH_AUTHENTICATION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\t\n\x05\x42\x41SIC\x10\x02\x42\x1d\n\x1b\x63onnection_password_options\"\xbe\x01\n+GoldengateAmazonKinesisConnectionProperties\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\raccess_key_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18secret_access_key_secret\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x65ndpoint\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\naws_region\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xc0\x05\n!GoldengateDb2ConnectionProperties\x12\x1a\n\x08password\x18\x0c \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\r \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04host\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04port\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x15\n\x08\x64\x61tabase\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12u\n\x11security_protocol\x18\x06 \x01(\x0e\x32U.google.cloud.oracledatabase.v1.GoldengateDb2ConnectionProperties.Db2SecurityProtocolB\x03\xe0\x41\x01\x12Q\n\x15\x61\x64\x64itional_attributes\x18\x08 \x03(\x0b\x32-.google.cloud.oracledatabase.v1.NameValuePairB\x03\xe0\x41\x01\x12\'\n\x1assl_client_keystoredb_file\x18\t \x01(\tB\x03\xe0\x41\x01\x12%\n\x18ssl_client_keystash_file\x18\n \x01(\tB\x03\xe0\x41\x01\x12(\n\x1bssl_server_certificate_file\x18\x0b \x01(\tB\x03\xe0\x41\x01\"P\n\x13\x44\x62\x32SecurityProtocol\x12%\n!DB2_SECURITY_PROTOCOL_UNSPECIFIED\x10\x00\x12\t\n\x05PLAIN\x10\x01\x12\x07\n\x03TLS\x10\x02\x42\x1d\n\x1b\x63onnection_password_options\"\xeb\x08\n#GoldengateRedisConnectionProperties\x12\x1a\n\x08password\x18\x0c \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\x0f \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12&\n\x14trust_store_password\x18\r \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x01\x12\x64\n#trust_store_password_secret_version\x18\x10 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x01\x12$\n\x12key_store_password\x18\x0e \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x02\x12\x62\n!key_store_password_secret_version\x18\x11 \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x02\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07servers\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12y\n\x11security_protocol\x18\x03 \x01(\x0e\x32Y.google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties.RedisSecurityProtocolB\x03\xe0\x41\x01\x12}\n\x13\x61uthentication_type\x18\x04 \x01(\x0e\x32[.google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties.RedisAuthenticationTypeB\x03\xe0\x41\x01\x12\x15\n\x08username\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10redis_cluster_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10trust_store_file\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0ekey_store_file\x18\n \x01(\tB\x03\xe0\x41\x01\"^\n\x15RedisSecurityProtocol\x12\'\n#REDIS_SECURITY_PROTOCOL_UNSPECIFIED\x10\x00\x12\t\n\x05PLAIN\x10\x01\x12\x07\n\x03TLS\x10\x02\x12\x08\n\x04MTLS\x10\x03\"Y\n\x17RedisAuthenticationType\x12)\n%REDIS_AUTHENTICATION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\t\n\x05\x42\x41SIC\x10\x02\x42\x1d\n\x1b\x63onnection_password_optionsB\x1e\n\x1ctrust_store_password_optionsB\x1c\n\x1akey_store_password_options\"\xd3\x04\n(GoldengateDatabricksConnectionProperties\x12\x1a\n\x08password\x18\x08 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x04H\x00\x12X\n\x17password_secret_version\x18\t \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x87\x01\n\x13\x61uthentication_type\x18\x02 \x01(\x0e\x32\x65.google.cloud.oracledatabase.v1.GoldengateDatabricksConnectionProperties.DatabricksAuthenticationTypeB\x03\xe0\x41\x01\x12\x1b\n\x0e\x63onnection_url\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tclient_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rclient_secret\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12storage_credential\x18\x07 \x01(\tB\x03\xe0\x41\x01\"x\n\x1c\x44\x61tabricksAuthenticationType\x12.\n*DATABRICKS_AUTHENTICATION_TYPE_UNSPECIFIED\x10\x00\x12\x19\n\x15PERSONAL_ACCESS_TOKEN\x10\x01\x12\r\n\tOAUTH_M2M\x10\x02\x42\x1d\n\x1b\x63onnection_password_options\"q\n*GoldengateGooglePubsubConnectionProperties\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18service_account_key_file\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xb0\x01\n-GoldengateMicrosoftFabricConnectionProperties\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\ttenant_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tclient_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rclient_secret\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x65ndpoint\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xc8\x02\n2GoldengateOracleAIDataPlatformConnectionProperties\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x63onnection_url\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ntenancy_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06region\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07user_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10private_key_file\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12*\n\x1dprivate_key_passphrase_secret\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16public_key_fingerprint\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16use_resource_principal\x18\t \x01(\x08\x42\x03\xe0\x41\x01\"*\n\x12GlueIcebergCatalog\x12\x14\n\x07glue_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"=\n\x14NessieIcebergCatalog\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x62ranch\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x98\x01\n\x15PolarisIcebergCatalog\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fpolaris_catalog\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tclient_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0eprincipal_role\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rclient_secret\x18\x05 \x01(\tB\x03\xe0\x41\x01\"?\n\x12RestIcebergCatalog\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nproperties\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xba\x04\n\x0eIcebergCatalog\x12R\n\x14glue_iceberg_catalog\x18\x01 \x01(\x0b\x32\x32.google.cloud.oracledatabase.v1.GlueIcebergCatalogH\x00\x12V\n\x16nessie_iceberg_catalog\x18\x03 \x01(\x0b\x32\x34.google.cloud.oracledatabase.v1.NessieIcebergCatalogH\x00\x12X\n\x17polaris_iceberg_catalog\x18\x04 \x01(\x0b\x32\x35.google.cloud.oracledatabase.v1.PolarisIcebergCatalogH\x00\x12R\n\x14rest_iceberg_catalog\x18\x05 \x01(\x0b\x32\x32.google.cloud.oracledatabase.v1.RestIcebergCatalogH\x00\x12U\n\x0c\x63\x61talog_type\x18\x06 \x01(\x0e\x32:.google.cloud.oracledatabase.v1.IcebergCatalog.CatalogTypeB\x03\xe0\x41\x02\"d\n\x0b\x43\x61talogType\x12\x1c\n\x18\x43\x41TALOG_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04GLUE\x10\x01\x12\n\n\x06HADOOP\x10\x02\x12\n\n\x06NESSIE\x10\x03\x12\x0b\n\x07POLARIS\x10\x04\x12\x08\n\x04REST\x10\x05\x42\x11\n\x0f\x63\x61talog_details\"\xb5\x02\n\x16\x41mazonS3IcebergStorage\x12[\n\x0bscheme_type\x18\x01 \x01(\x0e\x32\x41.google.cloud.oracledatabase.v1.AmazonS3IcebergStorage.SchemeTypeB\x03\xe0\x41\x02\x12\x1a\n\raccess_key_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x62ucket\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x65ndpoint\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18secret_access_key_secret\x18\x06 \x01(\tB\x03\xe0\x41\x01\":\n\nSchemeType\x12\x1b\n\x17SCHEME_TYPE_UNSPECIFIED\x10\x00\x12\x06\n\x02S3\x10\x01\x12\x07\n\x03S3A\x10\x02\"w\n GoogleCloudStorageIcebergStorage\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nproject_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12%\n\x18service_account_key_file\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x90\x01\n\"AzureDataLakeStorageIcebergStorage\x12\x1a\n\razure_account\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tcontainer\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12\x61\x63\x63ount_key_secret\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x65ndpoint\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb3\x04\n\x0eIcebergStorage\x12[\n\x19\x61mazon_s3_iceberg_storage\x18\x01 \x01(\x0b\x32\x36.google.cloud.oracledatabase.v1.AmazonS3IcebergStorageH\x00\x12p\n$google_cloud_storage_iceberg_storage\x18\x02 \x01(\x0b\x32@.google.cloud.oracledatabase.v1.GoogleCloudStorageIcebergStorageH\x00\x12u\n\'azure_data_lake_storage_iceberg_storage\x18\x03 \x01(\x0b\x32\x42.google.cloud.oracledatabase.v1.AzureDataLakeStorageIcebergStorageH\x00\x12U\n\x0cstorage_type\x18\x04 \x01(\x0e\x32:.google.cloud.oracledatabase.v1.IcebergStorage.StorageTypeB\x03\xe0\x41\x02\"q\n\x0bStorageType\x12\x1c\n\x18STORAGE_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tAMAZON_S3\x10\x01\x12\x18\n\x14GOOGLE_CLOUD_STORAGE\x10\x02\x12\x1b\n\x17\x41ZURE_DATA_LAKE_STORAGE\x10\x03\x42\x11\n\x0fstorage_details\"\xd1\x01\n%GoldengateIcebergConnectionProperties\x12\x1c\n\x0ftechnology_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x07\x63\x61talog\x18\x02 \x01(\x0b\x32..google.cloud.oracledatabase.v1.IcebergCatalogB\x03\xe0\x41\x02\x12\x44\n\x07storage\x18\x03 \x01(\x0b\x32..google.cloud.oracledatabase.v1.IcebergStorageB\x03\xe0\x41\x02\"\x91\x02\n!CreateGoldengateConnectionRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\x12\x32oracledatabase.googleapis.com/GoldengateConnection\x12%\n\x18goldengate_connection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12X\n\x15goldengate_connection\x18\x03 \x01(\x0b\x32\x34.google.cloud.oracledatabase.v1.GoldengateConnectionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x8e\x01\n!DeleteGoldengateConnectionRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2oracledatabase.googleapis.com/GoldengateConnection\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"j\n\x1eGetGoldengateConnectionRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2oracledatabase.googleapis.com/GoldengateConnection\"\xcb\x01\n ListGoldengateConnectionsRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\x12\x32oracledatabase.googleapis.com/GoldengateConnection\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xac\x01\n!ListGoldengateConnectionsResponse\x12T\n\x16goldengate_connections\x18\x01 \x03(\x0b\x32\x34.google.cloud.oracledatabase.v1.GoldengateConnection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x01\"5\n\rNameValuePair\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\"e\n\x14KafkaBootstrapServer\x12\x11\n\x04host\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\'\n\x12private_ip_address\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x04\x42\xf3\x01\n\"com.google.cloud.oracledatabase.v1B\x19GoldengateConnectionProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Cloud + module OracleDatabase + module V1 + GoldengateConnection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateConnection").msgclass + GoldengateConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateConnectionProperties").msgclass + GoldengateConnectionProperties::GoldengateConnectionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateConnectionProperties.GoldengateConnectionType").enummodule + GoldengateConnectionProperties::GoldengateConnectionLifecycleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateConnectionProperties.GoldengateConnectionLifecycleState").enummodule + GoldengateConnectionProperties::GoldengateConnectionRoutingMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateConnectionProperties.GoldengateConnectionRoutingMethod").enummodule + GoldengateOracleConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties").msgclass + GoldengateOracleConnectionProperties::OracleAuthenticationMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.OracleAuthenticationMode").enummodule + GoldengateOracleConnectionProperties::SessionMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.SessionMode").enummodule + GoldengateGoldengateConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateGoldengateConnectionProperties").msgclass + GoldengateGenericConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateGenericConnectionProperties").msgclass + GoldengateGoogleCloudStorageConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateGoogleCloudStorageConnectionProperties").msgclass + GoldengateGoogleBigQueryConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateGoogleBigQueryConnectionProperties").msgclass + GoldengateMysqlConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties").msgclass + GoldengateMysqlConnectionProperties::MysqlSecurityProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.MysqlSecurityProtocol").enummodule + GoldengateMysqlConnectionProperties::SSLMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.SSLMode").enummodule + GoldengateKafkaConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateKafkaConnectionProperties").msgclass + GoldengateKafkaConnectionProperties::KafkaSecurityProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateKafkaConnectionProperties.KafkaSecurityProtocol").enummodule + GoldengateKafkaSchemaRegistryConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateKafkaSchemaRegistryConnectionProperties").msgclass + GoldengateKafkaSchemaRegistryConnectionProperties::AuthenticationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateKafkaSchemaRegistryConnectionProperties.AuthenticationType").enummodule + GoldengateOciObjectStorageConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateOciObjectStorageConnectionProperties").msgclass + GoldengateAzureDataLakeStorageConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateAzureDataLakeStorageConnectionProperties").msgclass + GoldengateAzureDataLakeStorageConnectionProperties::AuthenticationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateAzureDataLakeStorageConnectionProperties.AuthenticationType").enummodule + GoldengateAzureSynapseAnalyticsConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateAzureSynapseAnalyticsConnectionProperties").msgclass + GoldengatePostgresqlConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengatePostgresqlConnectionProperties").msgclass + GoldengatePostgresqlConnectionProperties::PostgresqlSecurityProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengatePostgresqlConnectionProperties.PostgresqlSecurityProtocol").enummodule + GoldengatePostgresqlConnectionProperties::PostgresqlSslMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengatePostgresqlConnectionProperties.PostgresqlSslMode").enummodule + GoldengateMicrosoftSqlserverConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateMicrosoftSqlserverConnectionProperties").msgclass + GoldengateMicrosoftSqlserverConnectionProperties::MicrosoftSqlserverSecurityProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateMicrosoftSqlserverConnectionProperties.MicrosoftSqlserverSecurityProtocol").enummodule + GoldengateAmazonS3ConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateAmazonS3ConnectionProperties").msgclass + GoldengateHdfsConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateHdfsConnectionProperties").msgclass + GoldengateJavaMessageServiceConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateJavaMessageServiceConnectionProperties").msgclass + GoldengateJavaMessageServiceConnectionProperties::JmsSecurityProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateJavaMessageServiceConnectionProperties.JmsSecurityProtocol").enummodule + GoldengateJavaMessageServiceConnectionProperties::JmsAuthenticationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateJavaMessageServiceConnectionProperties.JmsAuthenticationType").enummodule + GoldengateMongodbConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateMongodbConnectionProperties").msgclass + GoldengateMongodbConnectionProperties::MongodbSecurityProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateMongodbConnectionProperties.MongodbSecurityProtocol").enummodule + GoldengateOracleNosqlConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateOracleNosqlConnectionProperties").msgclass + GoldengateSnowflakeConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateSnowflakeConnectionProperties").msgclass + GoldengateSnowflakeConnectionProperties::AuthenticationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateSnowflakeConnectionProperties.AuthenticationType").enummodule + GoldengateAmazonRedshiftConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateAmazonRedshiftConnectionProperties").msgclass + GoldengateElasticsearchConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties").msgclass + GoldengateElasticsearchConnectionProperties::ElasticsearchSecurityProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocol").enummodule + GoldengateElasticsearchConnectionProperties::ElasticsearchAuthenticationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationType").enummodule + GoldengateAmazonKinesisConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateAmazonKinesisConnectionProperties").msgclass + GoldengateDb2ConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDb2ConnectionProperties").msgclass + GoldengateDb2ConnectionProperties::Db2SecurityProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDb2ConnectionProperties.Db2SecurityProtocol").enummodule + GoldengateRedisConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties").msgclass + GoldengateRedisConnectionProperties::RedisSecurityProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties.RedisSecurityProtocol").enummodule + GoldengateRedisConnectionProperties::RedisAuthenticationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateRedisConnectionProperties.RedisAuthenticationType").enummodule + GoldengateDatabricksConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDatabricksConnectionProperties").msgclass + GoldengateDatabricksConnectionProperties::DatabricksAuthenticationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDatabricksConnectionProperties.DatabricksAuthenticationType").enummodule + GoldengateGooglePubsubConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateGooglePubsubConnectionProperties").msgclass + GoldengateMicrosoftFabricConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateMicrosoftFabricConnectionProperties").msgclass + GoldengateOracleAIDataPlatformConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateOracleAIDataPlatformConnectionProperties").msgclass + GlueIcebergCatalog = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GlueIcebergCatalog").msgclass + NessieIcebergCatalog = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.NessieIcebergCatalog").msgclass + PolarisIcebergCatalog = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.PolarisIcebergCatalog").msgclass + RestIcebergCatalog = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.RestIcebergCatalog").msgclass + IcebergCatalog = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.IcebergCatalog").msgclass + IcebergCatalog::CatalogType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.IcebergCatalog.CatalogType").enummodule + AmazonS3IcebergStorage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AmazonS3IcebergStorage").msgclass + AmazonS3IcebergStorage::SchemeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AmazonS3IcebergStorage.SchemeType").enummodule + GoogleCloudStorageIcebergStorage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoogleCloudStorageIcebergStorage").msgclass + AzureDataLakeStorageIcebergStorage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AzureDataLakeStorageIcebergStorage").msgclass + IcebergStorage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.IcebergStorage").msgclass + IcebergStorage::StorageType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.IcebergStorage.StorageType").enummodule + GoldengateIcebergConnectionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateIcebergConnectionProperties").msgclass + CreateGoldengateConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.CreateGoldengateConnectionRequest").msgclass + DeleteGoldengateConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DeleteGoldengateConnectionRequest").msgclass + GetGoldengateConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GetGoldengateConnectionRequest").msgclass + ListGoldengateConnectionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ListGoldengateConnectionsRequest").msgclass + ListGoldengateConnectionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ListGoldengateConnectionsResponse").msgclass + NameValuePair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.NameValuePair").msgclass + KafkaBootstrapServer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.KafkaBootstrapServer").msgclass + end + end + end +end diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_connection_type_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_connection_type_pb.rb new file mode 100644 index 000000000000..21792e2739f7 --- /dev/null +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_connection_type_pb.rb @@ -0,0 +1,28 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/cloud/oracledatabase/v1/goldengate_connection_type.proto + +require 'google/protobuf' + +require 'google/api/field_behavior_pb' +require 'google/api/resource_pb' + + +descriptor_data = "\n?google/cloud/oracledatabase/v1/goldengate_connection_type.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xd3\x07\n\x18GoldengateConnectionType\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x65\n\x0f\x63onnection_type\x18\x02 \x01(\x0e\x32G.google.cloud.oracledatabase.v1.GoldengateConnectionType.ConnectionTypeB\x03\xe0\x41\x03\x12\x1d\n\x10technology_types\x18\x03 \x03(\tB\x03\xe0\x41\x03\"\xc9\x04\n\x0e\x43onnectionType\x12\x1f\n\x1b\x43ONNECTION_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nGOLDENGATE\x10\x01\x12\t\n\x05KAFKA\x10\x02\x12\x19\n\x15KAFKA_SCHEMA_REGISTRY\x10\x03\x12\t\n\x05MYSQL\x10\x04\x12\x18\n\x14JAVA_MESSAGE_SERVICE\x10\x05\x12\x17\n\x13MICROSOFT_SQLSERVER\x10\x06\x12\x16\n\x12OCI_OBJECT_STORAGE\x10\x07\x12\n\n\x06ORACLE\x10\x08\x12\x1b\n\x17\x41ZURE_DATA_LAKE_STORAGE\x10\t\x12\x0e\n\nPOSTGRESQL\x10\n\x12\x1b\n\x17\x41ZURE_SYNAPSE_ANALYTICS\x10\x0b\x12\r\n\tSNOWFLAKE\x10\x0c\x12\r\n\tAMAZON_S3\x10\r\x12\x08\n\x04HDFS\x10\x0e\x12\x1b\n\x17ORACLE_AI_DATA_PLATFORM\x10\x0f\x12\x10\n\x0cORACLE_NOSQL\x10\x10\x12\x0b\n\x07MONGODB\x10\x11\x12\x12\n\x0e\x41MAZON_KINESIS\x10\x12\x12\x13\n\x0f\x41MAZON_REDSHIFT\x10\x13\x12\x07\n\x03\x44\x42\x32\x10\x14\x12\t\n\x05REDIS\x10\x15\x12\x11\n\rELASTICSEARCH\x10\x16\x12\x0b\n\x07GENERIC\x10\x17\x12\x18\n\x14GOOGLE_CLOUD_STORAGE\x10\x18\x12\x13\n\x0fGOOGLE_BIGQUERY\x10\x19\x12\x0e\n\nDATABRICKS\x10\x1a\x12\x11\n\rGOOGLE_PUBSUB\x10\x1b\x12\x14\n\x10MICROSOFT_FABRIC\x10\x1c\x12\x0b\n\x07ICEBERG\x10\x1d:\xd1\x01\xea\x41\xcd\x01\n6oracledatabase.googleapis.com/GoldengateConnectionType\x12^projects/{project}/locations/{location}/goldengateConnectionTypes/{goldengate_connection_type}*\x19goldengateConnectionTypes2\x18goldengateConnectionType\"r\n\"GetGoldengateConnectionTypeRequest\x12L\n\x04name\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\n6oracledatabase.googleapis.com/GoldengateConnectionType\"\xbc\x01\n$ListGoldengateConnectionTypesRequest\x12N\n\x06parent\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\x12\x36oracledatabase.googleapis.com/GoldengateConnectionType\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb9\x01\n%ListGoldengateConnectionTypesResponse\x12]\n\x1bgoldengate_connection_types\x18\x01 \x03(\x0b\x32\x38.google.cloud.oracledatabase.v1.GoldengateConnectionType\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\x42\xf7\x01\n\"com.google.cloud.oracledatabase.v1B\x1dGoldengateConnectionTypeProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Cloud + module OracleDatabase + module V1 + GoldengateConnectionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateConnectionType").msgclass + GoldengateConnectionType::ConnectionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateConnectionType.ConnectionType").enummodule + GetGoldengateConnectionTypeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GetGoldengateConnectionTypeRequest").msgclass + ListGoldengateConnectionTypesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ListGoldengateConnectionTypesRequest").msgclass + ListGoldengateConnectionTypesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ListGoldengateConnectionTypesResponse").msgclass + end + end + end +end diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_deployment_environment_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_deployment_environment_pb.rb new file mode 100644 index 000000000000..3a5e19c895b2 --- /dev/null +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_deployment_environment_pb.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/cloud/oracledatabase/v1/goldengate_deployment_environment.proto + +require 'google/protobuf' + +require 'google/api/field_behavior_pb' +require 'google/api/resource_pb' + + +descriptor_data = "\nFgoogle/cloud/oracledatabase/v1/goldengate_deployment_environment.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xa7\x08\n\x1fGoldengateDeploymentEnvironment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12i\n\x08\x63\x61tegory\x18\x02 \x01(\x0e\x32R.google.cloud.oracledatabase.v1.GoldengateDeploymentEnvironment.DeploymentCategoryB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12#\n\x16\x64\x65\x66\x61ult_cpu_core_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12x\n\x10\x65nvironment_type\x18\x05 \x01(\x0e\x32Y.google.cloud.oracledatabase.v1.GoldengateDeploymentEnvironment.DeploymentEnvironmentTypeB\x03\xe0\x41\x03\x12!\n\x14\x61uto_scaling_enabled\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1f\n\x12max_cpu_core_count\x18\x07 \x01(\x05\x42\x03\xe0\x41\x03\x12#\n\x16memory_gb_per_cpu_core\x18\x08 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1f\n\x12min_cpu_core_count\x18\t \x01(\x05\x42\x03\xe0\x41\x03\x12\x30\n#network_bandwidth_gbps_per_cpu_core\x18\n \x01(\x05\x42\x03\xe0\x41\x03\x12\x30\n#storage_usage_limit_gb_per_cpu_core\x18\x0b \x01(\x05\x42\x03\xe0\x41\x03\"v\n\x12\x44\x65ploymentCategory\x12#\n\x1f\x44\x45PLOYMENT_CATEGORY_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x44\x41TA_REPLICATION_CATEGORY\x10\x01\x12\x1c\n\x18\x44\x41TA_TRANSFORMS_CATEGORY\x10\x02\"t\n\x19\x44\x65ploymentEnvironmentType\x12+\n\'DEPLOYMENT_ENVIRONMENT_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nPRODUCTION\x10\x01\x12\x1a\n\x16\x44\x45VELOPMENT_OR_TESTING\x10\x02:\xf4\x01\xea\x41\xf0\x01\n=oracledatabase.googleapis.com/GoldengateDeploymentEnvironment\x12lprojects/{project}/locations/{location}/goldengateDeploymentEnvironments/{goldengate_deployment_environment}* goldengateDeploymentEnvironments2\x1fgoldengateDeploymentEnvironment\"\x80\x01\n)GetGoldengateDeploymentEnvironmentRequest\x12S\n\x04name\x18\x01 \x01(\tBE\xe0\x41\x02\xfa\x41?\n=oracledatabase.googleapis.com/GoldengateDeploymentEnvironment\"\xb5\x01\n+ListGoldengateDeploymentEnvironmentsRequest\x12U\n\x06parent\x18\x01 \x01(\tBE\xe0\x41\x02\xfa\x41?\x12=oracledatabase.googleapis.com/GoldengateDeploymentEnvironment\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xce\x01\n,ListGoldengateDeploymentEnvironmentsResponse\x12k\n\"goldengate_deployment_environments\x18\x01 \x03(\x0b\x32?.google.cloud.oracledatabase.v1.GoldengateDeploymentEnvironment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\x42\xfe\x01\n\"com.google.cloud.oracledatabase.v1B$GoldengateDeploymentEnvironmentProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Cloud + module OracleDatabase + module V1 + GoldengateDeploymentEnvironment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentEnvironment").msgclass + GoldengateDeploymentEnvironment::DeploymentCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentEnvironment.DeploymentCategory").enummodule + GoldengateDeploymentEnvironment::DeploymentEnvironmentType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentEnvironment.DeploymentEnvironmentType").enummodule + GetGoldengateDeploymentEnvironmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GetGoldengateDeploymentEnvironmentRequest").msgclass + ListGoldengateDeploymentEnvironmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ListGoldengateDeploymentEnvironmentsRequest").msgclass + ListGoldengateDeploymentEnvironmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ListGoldengateDeploymentEnvironmentsResponse").msgclass + end + end + end +end diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_deployment_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_deployment_pb.rb new file mode 100644 index 000000000000..642199ef8756 --- /dev/null +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_deployment_pb.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/cloud/oracledatabase/v1/goldengate_deployment.proto + +require 'google/protobuf' + +require 'google/api/field_behavior_pb' +require 'google/api/field_info_pb' +require 'google/api/resource_pb' +require 'google/protobuf/timestamp_pb' +require 'google/type/dayofweek_pb' + + +descriptor_data = "\n:google/cloud/oracledatabase/v1/goldengate_deployment.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\"\xf5\x05\n\x14GoldengateDeployment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12W\n\nproperties\x18\x02 \x01(\x0b\x32>.google.cloud.oracledatabase.v1.GoldengateDeploymentPropertiesB\x03\xe0\x41\x02\x12\x1c\n\x0fgcp_oracle_zone\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12U\n\x06labels\x18\x04 \x03(\x0b\x32@.google.cloud.oracledatabase.v1.GoldengateDeployment.LabelsEntryB\x03\xe0\x41\x01\x12\x45\n\x0bodb_network\x18\x05 \x01(\tB0\xe0\x41\x01\xfa\x41*\n(oracledatabase.googleapis.com/OdbNetwork\x12\x43\n\nodb_subnet\x18\x06 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'oracledatabase.googleapis.com/OdbSubnet\x12\x1b\n\x0e\x65ntitlement_id\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x07oci_url\x18\n \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xbc\x01\xea\x41\xb8\x01\n2oracledatabase.googleapis.com/GoldengateDeployment\x12Uprojects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}*\x15goldengateDeployments2\x14goldengateDeployment\"\xa9\x1b\n\x1eGoldengateDeploymentProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x7f\n\x0flifecycle_state\x18\x02 \x01(\x0e\x32\x61.google.cloud.oracledatabase.v1.GoldengateDeploymentProperties.GoldengateDeploymentLifecycleStateB\x03\xe0\x41\x03\x12g\n\rlicense_model\x18\x03 \x01(\x0e\x32K.google.cloud.oracledatabase.v1.GoldengateDeploymentProperties.LicenseModelB\x03\xe0\x41\x01\x12\x1d\n\x10\x65nvironment_type\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x63pu_core_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12$\n\x17is_auto_scaling_enabled\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x64\x65ployment_type\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12N\n\x08ogg_data\x18\t \x01(\x0b\x32\x37.google.cloud.oracledatabase.v1.GoldengateOggDeploymentB\x03\xe0\x41\x02\x12\\\n\x12maintenance_window\x18\n \x01(\x0b\x32;.google.cloud.oracledatabase.v1.GoldengateMaintenanceWindowB\x03\xe0\x41\x01\x12\\\n\x12maintenance_config\x18\x0b \x01(\x0b\x32;.google.cloud.oracledatabase.v1.GoldengateMaintenanceConfigB\x03\xe0\x41\x01\x12\x11\n\x04\x66qdn\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x86\x01\n\x13lifecycle_sub_state\x18\r \x01(\x0e\x32\x64.google.cloud.oracledatabase.v1.GoldengateDeploymentProperties.GoldengateDeploymentLifecycleSubStateB\x03\xe0\x41\x03\x12r\n\x08\x63\x61tegory\x18\x0e \x01(\x0e\x32[.google.cloud.oracledatabase.v1.GoldengateDeploymentProperties.GoldengateDeploymentCategoryB\x03\xe0\x41\x03\x12!\n\x14\x64\x65ployment_backup_id\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1e\n\x11lifecycle_details\x18\x11 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07healthy\x18\x12 \x01(\x08\x42\x03\xe0\x41\x03\x12$\n\x17load_balancer_subnet_id\x18\x13 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10load_balancer_id\x18\x14 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07nsg_ids\x18\x15 \x03(\tB\x03\xe0\x41\x03\x12\x16\n\tis_public\x18\x16 \x01(\x08\x42\x03\xe0\x41\x03\x12&\n\x11public_ip_address\x18\x17 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x04\x12\'\n\x12private_ip_address\x18\x18 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x04\x12\x1b\n\x0e\x64\x65ployment_url\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x11is_latest_version\x18\x1a \x01(\x08\x42\x03\xe0\x41\x03\x12>\n\x15upgrade_required_time\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12&\n\x19storage_utilization_bytes\x18\x1c \x01(\x03\x42\x03\xe0\x41\x03\x12\x32\n%is_storage_utilization_limit_exceeded\x18\x1d \x01(\x08\x42\x03\xe0\x41\x03\x12\x61\n\x1a\x64\x65ployment_diagnostic_data\x18\x1e \x01(\x0b\x32\x38.google.cloud.oracledatabase.v1.DeploymentDiagnosticDataB\x03\xe0\x41\x03\x12V\n\x0f\x62\x61\x63kup_schedule\x18\x1f \x01(\x0b\x32\x38.google.cloud.oracledatabase.v1.GoldengateBackupScheduleB\x03\xe0\x41\x03\x12>\n\x15next_maintenance_time\x18 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x83\x01\n\x1cnext_maintenance_action_type\x18! \x01(\x0e\x32X.google.cloud.oracledatabase.v1.GoldengateDeploymentProperties.NextMaintenanceActionTypeB\x03\xe0\x41\x03\x12)\n\x1cnext_maintenance_description\x18\" \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x1cogg_version_support_end_time\x18# \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x0bingress_ips\x18$ \x03(\x0b\x32).google.cloud.oracledatabase.v1.IngressIpB\x03\xe0\x41\x03\x12y\n\x0f\x64\x65ployment_role\x18% \x01(\x0e\x32[.google.cloud.oracledatabase.v1.GoldengateDeploymentProperties.GoldengateDeploymentRoleTypeB\x03\xe0\x41\x03\x12\x42\n\x19last_backup_schedule_time\x18& \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x19next_backup_schedule_time\x18\' \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10role_change_time\x18( \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n\x05locks\x18) \x03(\x0b\x32\x38.google.cloud.oracledatabase.v1.GoldengateDeploymentLockB\x03\xe0\x41\x03\x12L\n\nplacements\x18* \x03(\x0b\x32\x33.google.cloud.oracledatabase.v1.GoldengatePlacementB\x03\xe0\x41\x03\"\x99\x02\n\"GoldengateDeploymentLifecycleState\x12\x35\n1GOLDENGATE_DEPLOYMENT_LIFECYCLE_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08UPDATING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08INACTIVE\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\x0b\n\x07\x44\x45LETED\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07\x12\x13\n\x0fNEEDS_ATTENTION\x10\x08\x12\x0f\n\x0bIN_PROGRESS\x10\t\x12\x0e\n\nCANCELLING\x10\n\x12\r\n\tCANCELLED\x10\x0b\x12\r\n\tSUCCEEDED\x10\x0c\x12\x0b\n\x07WAITING\x10\r\"_\n\x0cLicenseModel\x12\x1d\n\x19LICENSE_MODEL_UNSPECIFIED\x10\x00\x12\x14\n\x10LICENSE_INCLUDED\x10\x01\x12\x1a\n\x16\x42RING_YOUR_OWN_LICENSE\x10\x02\"\xda\x01\n%GoldengateDeploymentLifecycleSubState\x12\x39\n5GOLDENGATE_DEPLOYMENT_LIFECYCLE_SUB_STATE_UNSPECIFIED\x10\x00\x12\x0e\n\nRECOVERING\x10\x01\x12\x0c\n\x08STARTING\x10\x02\x12\x0c\n\x08STOPPING\x10\x03\x12\n\n\x06MOVING\x10\x04\x12\r\n\tUPGRADING\x10\x05\x12\r\n\tRESTORING\x10\x06\x12\x0e\n\nBACKING_UP\x10\x07\x12\x10\n\x0cROLLING_BACK\x10\x08\"y\n\x1cGoldengateDeploymentCategory\x12.\n*GOLDENGATE_DEPLOYMENT_CATEGORY_UNSPECIFIED\x10\x00\x12\x14\n\x10\x44\x41TA_REPLICATION\x10\x01\x12\x13\n\x0f\x44\x41TA_TRANSFORMS\x10\x02\"V\n\x19NextMaintenanceActionType\x12,\n(NEXT_MAINTENANCE_ACTION_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01\"i\n\x1cGoldengateDeploymentRoleType\x12/\n+GOLDENGATE_DEPLOYMENT_ROLE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\x0b\n\x07STANDBY\x10\x02\"\xfa\x04\n\x17GoldengateOggDeployment\x12\x1d\n\x0e\x61\x64min_password\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x00\x12^\n\x1d\x61\x64min_password_secret_version\x18\n \x01(\tB5\xe0\x41\x01\xe0\x41\x04\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionH\x00\x12\x17\n\ndeployment\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x61\x64min_username\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0bogg_version\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x63\x65rtificate\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x66\n\x10\x63redential_store\x18\x06 \x01(\x0e\x32G.google.cloud.oracledatabase.v1.GoldengateOggDeployment.CredentialStoreB\x03\xe0\x41\x03\x12\x1f\n\x12identity_domain_id\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12password_secret_id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12_\n\x13group_roles_mapping\x18\t \x01(\x0b\x32=.google.cloud.oracledatabase.v1.GoldengateGroupToRolesMappingB\x03\xe0\x41\x03\"L\n\x0f\x43redentialStore\x12 \n\x1c\x43REDENTIAL_STORE_UNSPECIFIED\x10\x00\x12\x0e\n\nGOLDENGATE\x10\x01\x12\x07\n\x03IAM\x10\x02\x42\x1d\n\x1b\x64\x65ployment_password_options\"`\n\x1bGoldengateMaintenanceWindow\x12(\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x02\x12\x17\n\nstart_hour\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"\x97\x02\n\x1bGoldengateMaintenanceConfig\x12\x34\n\'is_interim_release_auto_upgrade_enabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x30\n#interim_release_upgrade_period_days\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12/\n\"bundle_release_upgrade_period_days\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12.\n!major_release_upgrade_period_days\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12/\n\"security_patch_upgrade_period_days\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\"\xa4\x03\n\x18\x44\x65ploymentDiagnosticData\x12\x16\n\tnamespace\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06\x62ucket\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06object\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12g\n\x10\x64iagnostic_state\x18\x04 \x01(\x0e\x32H.google.cloud.oracledatabase.v1.DeploymentDiagnosticData.DiagnosticStateB\x03\xe0\x41\x03\x12>\n\x15\x64iagnostic_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x13\x64iagnostic_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"_\n\x0f\x44iagnosticState\x12 \n\x1c\x44IAGNOSTIC_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\"\xa8\x03\n\x18GoldengateBackupSchedule\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0e\x63ompartment_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12z\n\x1a\x66requency_backup_scheduled\x18\x03 \x01(\x0e\x32Q.google.cloud.oracledatabase.v1.GoldengateBackupSchedule.FrequencyBackupScheduledB\x03\xe0\x41\x03\x12\x1a\n\rmetadata_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12\x16\n\tnamespace\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12>\n\x15\x62\x61\x63kup_scheduled_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"j\n\x18\x46requencyBackupScheduled\x12*\n&FREQUENCY_BACKUP_SCHEDULED_UNSPECIFIED\x10\x00\x12\t\n\x05\x44\x41ILY\x10\x01\x12\n\n\x06WEEKLY\x10\x02\x12\x0b\n\x07MONTHLY\x10\x03\"4\n\tIngressIp\x12\'\n\x12ingress_ip_address\x18\x01 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x04\"\xb8\x02\n\x18GoldengateDeploymentLock\x12T\n\x04type\x18\x01 \x01(\x0e\x32\x41.google.cloud.oracledatabase.v1.GoldengateDeploymentLock.LockTypeB\x03\xe0\x41\x03\x12\x1b\n\x0e\x63ompartment_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12 \n\x13related_resource_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07message\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\";\n\x08LockType\x12\x19\n\x15LOCK_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02\"R\n\x13GoldengatePlacement\x12 \n\x13\x61vailability_domain\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x66\x61ult_domain\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xa0\x01\n\x1dGoldengateGroupToRolesMapping\x12\x1e\n\x11security_group_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16\x61\x64ministrator_group_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x11operator_group_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\ruser_group_id\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\x91\x02\n!CreateGoldengateDeploymentRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\x12\x32oracledatabase.googleapis.com/GoldengateDeployment\x12%\n\x18goldengate_deployment_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12X\n\x15goldengate_deployment\x18\x03 \x01(\x0b\x32\x34.google.cloud.oracledatabase.v1.GoldengateDeploymentB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x8e\x01\n!DeleteGoldengateDeploymentRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2oracledatabase.googleapis.com/GoldengateDeployment\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"j\n\x1eGetGoldengateDeploymentRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2oracledatabase.googleapis.com/GoldengateDeployment\"\xcb\x01\n ListGoldengateDeploymentsRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\x12\x32oracledatabase.googleapis.com/GoldengateDeployment\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xac\x01\n!ListGoldengateDeploymentsResponse\x12T\n\x16goldengate_deployments\x18\x01 \x03(\x0b\x32\x34.google.cloud.oracledatabase.v1.GoldengateDeployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x01\"k\n\x1fStopGoldengateDeploymentRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2oracledatabase.googleapis.com/GoldengateDeployment\"l\n StartGoldengateDeploymentRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2oracledatabase.googleapis.com/GoldengateDeploymentB\xf3\x01\n\"com.google.cloud.oracledatabase.v1B\x19GoldengateDeploymentProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Cloud + module OracleDatabase + module V1 + GoldengateDeployment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeployment").msgclass + GoldengateDeploymentProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentProperties").msgclass + GoldengateDeploymentProperties::GoldengateDeploymentLifecycleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentProperties.GoldengateDeploymentLifecycleState").enummodule + GoldengateDeploymentProperties::LicenseModel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentProperties.LicenseModel").enummodule + GoldengateDeploymentProperties::GoldengateDeploymentLifecycleSubState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentProperties.GoldengateDeploymentLifecycleSubState").enummodule + GoldengateDeploymentProperties::GoldengateDeploymentCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentProperties.GoldengateDeploymentCategory").enummodule + GoldengateDeploymentProperties::NextMaintenanceActionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentProperties.NextMaintenanceActionType").enummodule + GoldengateDeploymentProperties::GoldengateDeploymentRoleType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentProperties.GoldengateDeploymentRoleType").enummodule + GoldengateOggDeployment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateOggDeployment").msgclass + GoldengateOggDeployment::CredentialStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateOggDeployment.CredentialStore").enummodule + GoldengateMaintenanceWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateMaintenanceWindow").msgclass + GoldengateMaintenanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateMaintenanceConfig").msgclass + DeploymentDiagnosticData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DeploymentDiagnosticData").msgclass + DeploymentDiagnosticData::DiagnosticState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DeploymentDiagnosticData.DiagnosticState").enummodule + GoldengateBackupSchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateBackupSchedule").msgclass + GoldengateBackupSchedule::FrequencyBackupScheduled = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateBackupSchedule.FrequencyBackupScheduled").enummodule + IngressIp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.IngressIp").msgclass + GoldengateDeploymentLock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentLock").msgclass + GoldengateDeploymentLock::LockType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentLock.LockType").enummodule + GoldengatePlacement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengatePlacement").msgclass + GoldengateGroupToRolesMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateGroupToRolesMapping").msgclass + CreateGoldengateDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.CreateGoldengateDeploymentRequest").msgclass + DeleteGoldengateDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DeleteGoldengateDeploymentRequest").msgclass + GetGoldengateDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GetGoldengateDeploymentRequest").msgclass + ListGoldengateDeploymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ListGoldengateDeploymentsRequest").msgclass + ListGoldengateDeploymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ListGoldengateDeploymentsResponse").msgclass + StopGoldengateDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.StopGoldengateDeploymentRequest").msgclass + StartGoldengateDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.StartGoldengateDeploymentRequest").msgclass + end + end + end +end diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_deployment_type_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_deployment_type_pb.rb new file mode 100644 index 000000000000..932ec7892064 --- /dev/null +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_deployment_type_pb.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/cloud/oracledatabase/v1/goldengate_deployment_type.proto + +require 'google/protobuf' + +require 'google/api/field_behavior_pb' +require 'google/api/resource_pb' + + +descriptor_data = "\n?google/cloud/oracledatabase/v1/goldengate_deployment_type.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xbe\x08\n\x18GoldengateDeploymentType\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x65\n\x0f\x64\x65ployment_type\x18\x02 \x01(\x0e\x32G.google.cloud.oracledatabase.v1.GoldengateDeploymentType.DeploymentTypeB\x03\xe0\x41\x03\x12\x62\n\x08\x63\x61tegory\x18\x03 \x01(\x0e\x32K.google.cloud.oracledatabase.v1.GoldengateDeploymentType.DeploymentCategoryB\x03\xe0\x41\x03\x12\x1d\n\x10\x63onnection_types\x18\x04 \x03(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0bogg_version\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12 \n\x13source_technologies\x18\x07 \x03(\tB\x03\xe0\x41\x03\x12#\n\x16supported_capabilities\x18\x08 \x03(\tB\x03\xe0\x41\x03\x12\'\n\x1asupported_technologies_url\x18\t \x01(\tB\x03\xe0\x41\x03\x12 \n\x13target_technologies\x18\n \x03(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x64\x65\x66\x61ult_username\x18\x0b \x01(\tB\x03\xe0\x41\x03\"\xf2\x01\n\x0e\x44\x65ploymentType\x12\x1f\n\x1b\x44\x45PLOYMENT_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03OGG\x10\x01\x12\x13\n\x0f\x44\x41TABASE_ORACLE\x10\x02\x12\x0b\n\x07\x42IGDATA\x10\x03\x12 \n\x1c\x44\x41TABASE_MICROSOFT_SQLSERVER\x10\x04\x12\x12\n\x0e\x44\x41TABASE_MYSQL\x10\x05\x12\x17\n\x13\x44\x41TABASE_POSTGRESQL\x10\x06\x12\x13\n\x0f\x44\x41TABASE_DB2ZOS\x10\x07\x12\x11\n\rDATABASE_DB2I\x10\x08\x12\x08\n\x04GGSA\x10\t\x12\x13\n\x0f\x44\x41TA_TRANSFORMS\x10\n\"v\n\x12\x44\x65ploymentCategory\x12#\n\x1f\x44\x45PLOYMENT_CATEGORY_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x44\x41TA_REPLICATION_CATEGORY\x10\x01\x12\x1c\n\x18\x44\x41TA_TRANSFORMS_CATEGORY\x10\x02:\xd1\x01\xea\x41\xcd\x01\n6oracledatabase.googleapis.com/GoldengateDeploymentType\x12^projects/{project}/locations/{location}/goldengateDeploymentTypes/{goldengate_deployment_type}*\x19goldengateDeploymentTypes2\x18goldengateDeploymentType\"r\n\"GetGoldengateDeploymentTypeRequest\x12L\n\x04name\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\n6oracledatabase.googleapis.com/GoldengateDeploymentType\"\xd3\x01\n$ListGoldengateDeploymentTypesRequest\x12N\n\x06parent\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\x12\x36oracledatabase.googleapis.com/GoldengateDeploymentType\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xb9\x01\n%ListGoldengateDeploymentTypesResponse\x12]\n\x1bgoldengate_deployment_types\x18\x01 \x03(\x0b\x32\x38.google.cloud.oracledatabase.v1.GoldengateDeploymentType\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\x42\xf7\x01\n\"com.google.cloud.oracledatabase.v1B\x1dGoldengateDeploymentTypeProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Cloud + module OracleDatabase + module V1 + GoldengateDeploymentType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentType").msgclass + GoldengateDeploymentType::DeploymentType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentType.DeploymentType").enummodule + GoldengateDeploymentType::DeploymentCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentType.DeploymentCategory").enummodule + GetGoldengateDeploymentTypeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GetGoldengateDeploymentTypeRequest").msgclass + ListGoldengateDeploymentTypesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ListGoldengateDeploymentTypesRequest").msgclass + ListGoldengateDeploymentTypesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ListGoldengateDeploymentTypesResponse").msgclass + end + end + end +end diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_deployment_version_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_deployment_version_pb.rb new file mode 100644 index 000000000000..c56e606485cf --- /dev/null +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/goldengate_deployment_version_pb.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/cloud/oracledatabase/v1/goldengate_deployment_version.proto + +require 'google/protobuf' + +require 'google/api/field_behavior_pb' +require 'google/api/resource_pb' +require 'google/protobuf/timestamp_pb' + + +descriptor_data = "\nBgoogle/cloud/oracledatabase/v1/goldengate_deployment_version.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x86\x03\n\x1bGoldengateDeploymentVersion\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x11\n\x04ocid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12^\n\nproperties\x18\x03 \x01(\x0b\x32\x45.google.cloud.oracledatabase.v1.GoldengateDeploymentVersionPropertiesB\x03\xe0\x41\x03:\xe0\x01\xea\x41\xdc\x01\n9oracledatabase.googleapis.com/GoldengateDeploymentVersion\x12\x64projects/{project}/locations/{location}/goldengateDeploymentVersions/{goldengate_deployment_version}*\x1cgoldengateDeploymentVersions2\x1bgoldengateDeploymentVersion\"\x93\x06\n%GoldengateDeploymentVersionProperties\x12r\n\x0f\x64\x65ployment_type\x18\x01 \x01(\x0e\x32T.google.cloud.oracledatabase.v1.GoldengateDeploymentVersionProperties.DeploymentTypeB\x03\xe0\x41\x03\x12\x19\n\x0csecurity_fix\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0bogg_version\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12v\n\x0crelease_type\x18\x04 \x01(\x0e\x32[.google.cloud.oracledatabase.v1.GoldengateDeploymentVersionProperties.DeploymentReleaseTypeB\x03\xe0\x41\x03\x12\x35\n\x0crelease_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10support_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xf2\x01\n\x0e\x44\x65ploymentType\x12\x1f\n\x1b\x44\x45PLOYMENT_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03OGG\x10\x01\x12\x13\n\x0f\x44\x41TABASE_ORACLE\x10\x02\x12\x0b\n\x07\x42IGDATA\x10\x03\x12 \n\x1c\x44\x41TABASE_MICROSOFT_SQLSERVER\x10\x04\x12\x12\n\x0e\x44\x41TABASE_MYSQL\x10\x05\x12\x17\n\x13\x44\x41TABASE_POSTGRESQL\x10\x06\x12\x13\n\x0f\x44\x41TABASE_DB2ZOS\x10\x07\x12\x11\n\rDATABASE_DB2I\x10\x08\x12\x08\n\x04GGSA\x10\t\x12\x13\n\x0f\x44\x41TA_TRANSFORMS\x10\n\"b\n\x15\x44\x65ploymentReleaseType\x12\'\n#DEPLOYMENT_RELEASE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MAJOR\x10\x01\x12\n\n\x06\x42UNDLE\x10\x02\x12\t\n\x05MINOR\x10\x03\"x\n%GetGoldengateDeploymentVersionRequest\x12O\n\x04name\x18\x01 \x01(\tBA\xe0\x41\x02\xfa\x41;\n9oracledatabase.googleapis.com/GoldengateDeploymentVersion\"\xc2\x01\n\'ListGoldengateDeploymentVersionsRequest\x12Q\n\x06parent\x18\x01 \x01(\tBA\xe0\x41\x02\xfa\x41;\x12\x39oracledatabase.googleapis.com/GoldengateDeploymentVersion\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xc2\x01\n(ListGoldengateDeploymentVersionsResponse\x12\x63\n\x1egoldengate_deployment_versions\x18\x01 \x03(\x0b\x32;.google.cloud.oracledatabase.v1.GoldengateDeploymentVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\x42\xfa\x01\n\"com.google.cloud.oracledatabase.v1B GoldengateDeploymentVersionProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Cloud + module OracleDatabase + module V1 + GoldengateDeploymentVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentVersion").msgclass + GoldengateDeploymentVersionProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentVersionProperties").msgclass + GoldengateDeploymentVersionProperties::DeploymentType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentVersionProperties.DeploymentType").enummodule + GoldengateDeploymentVersionProperties::DeploymentReleaseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GoldengateDeploymentVersionProperties.DeploymentReleaseType").enummodule + GetGoldengateDeploymentVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GetGoldengateDeploymentVersionRequest").msgclass + ListGoldengateDeploymentVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ListGoldengateDeploymentVersionsRequest").msgclass + ListGoldengateDeploymentVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ListGoldengateDeploymentVersionsResponse").msgclass + end + end + end +end diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb index 15d6b0006e86..5b0f9bc4db81 100644 --- a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb @@ -26,6 +26,13 @@ require 'google/cloud/oracledatabase/v1/exadb_vm_cluster_pb' require 'google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb' require 'google/cloud/oracledatabase/v1/gi_version_pb' +require 'google/cloud/oracledatabase/v1/goldengate_connection_pb' +require 'google/cloud/oracledatabase/v1/goldengate_connection_assignment_pb' +require 'google/cloud/oracledatabase/v1/goldengate_connection_type_pb' +require 'google/cloud/oracledatabase/v1/goldengate_deployment_pb' +require 'google/cloud/oracledatabase/v1/goldengate_deployment_environment_pb' +require 'google/cloud/oracledatabase/v1/goldengate_deployment_type_pb' +require 'google/cloud/oracledatabase/v1/goldengate_deployment_version_pb' require 'google/cloud/oracledatabase/v1/minor_version_pb' require 'google/cloud/oracledatabase/v1/odb_network_pb' require 'google/cloud/oracledatabase/v1/odb_subnet_pb' @@ -37,7 +44,7 @@ require 'google/protobuf/timestamp_pb' -descriptor_data = "\n3google/cloud/oracledatabase/v1/oracledatabase.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/oracledatabase/v1/autonomous_database.proto\x1a\x46google/cloud/oracledatabase/v1/autonomous_database_character_set.proto\x1a\x39google/cloud/oracledatabase/v1/autonomous_db_backup.proto\x1a:google/cloud/oracledatabase/v1/autonomous_db_version.proto\x1a-google/cloud/oracledatabase/v1/database.proto\x1a;google/cloud/oracledatabase/v1/database_character_set.proto\x1a,google/cloud/oracledatabase/v1/db_node.proto\x1a.google/cloud/oracledatabase/v1/db_server.proto\x1a.google/cloud/oracledatabase/v1/db_system.proto\x1a\x43google/cloud/oracledatabase/v1/db_system_initial_storage_size.proto\x1a\x34google/cloud/oracledatabase/v1/db_system_shape.proto\x1a/google/cloud/oracledatabase/v1/db_version.proto\x1a\x30google/cloud/oracledatabase/v1/entitlement.proto\x1a\x32google/cloud/oracledatabase/v1/exadata_infra.proto\x1a\x35google/cloud/oracledatabase/v1/exadb_vm_cluster.proto\x1a>google/cloud/oracledatabase/v1/exascale_db_storage_vault.proto\x1a/google/cloud/oracledatabase/v1/gi_version.proto\x1a\x32google/cloud/oracledatabase/v1/minor_version.proto\x1a\x30google/cloud/oracledatabase/v1/odb_network.proto\x1a/google/cloud/oracledatabase/v1/odb_subnet.proto\x1a\x37google/cloud/oracledatabase/v1/pluggable_database.proto\x1a/google/cloud/oracledatabase/v1/vm_cluster.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd7\x01\n&ListCloudExadataInfrastructuresRequest\x12P\n\x06parent\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\x12\x38oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xa5\x01\n\'ListCloudExadataInfrastructuresResponse\x12\x61\n\x1d\x63loud_exadata_infrastructures\x18\x01 \x03(\x0b\x32:.google.cloud.oracledatabase.v1.CloudExadataInfrastructure\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"v\n$GetCloudExadataInfrastructureRequest\x12N\n\x04name\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\"\xb1\x02\n\'CreateCloudExadataInfrastructureRequest\x12P\n\x06parent\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\x12\x38oracledatabase.googleapis.com/CloudExadataInfrastructure\x12,\n\x1f\x63loud_exadata_infrastructure_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x65\n\x1c\x63loud_exadata_infrastructure\x18\x03 \x01(\x0b\x32:.google.cloud.oracledatabase.v1.CloudExadataInfrastructureB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xae\x01\n\'DeleteCloudExadataInfrastructureRequest\x12N\n\x04name\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xa8\x01\n\x1aListCloudVmClustersRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,oracledatabase.googleapis.com/CloudVmCluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x81\x01\n\x1bListCloudVmClustersResponse\x12I\n\x11\x63loud_vm_clusters\x18\x01 \x03(\x0b\x32..google.cloud.oracledatabase.v1.CloudVmCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"^\n\x18GetCloudVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/CloudVmCluster\"\xf5\x01\n\x1b\x43reateCloudVmClusterRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,oracledatabase.googleapis.com/CloudVmCluster\x12 \n\x13\x63loud_vm_cluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12M\n\x10\x63loud_vm_cluster\x18\x03 \x01(\x0b\x32..google.cloud.oracledatabase.v1.CloudVmClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x96\x01\n\x1b\x44\x65leteCloudVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/CloudVmCluster\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x8d\x01\n\x17ListEntitlementsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)oracledatabase.googleapis.com/Entitlement\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"v\n\x18ListEntitlementsResponse\x12\x41\n\x0c\x65ntitlements\x18\x01 \x03(\x0b\x32+.google.cloud.oracledatabase.v1.Entitlement\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x87\x01\n\x14ListDbServersRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&oracledatabase.googleapis.com/DbServer\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"n\n\x15ListDbServersResponse\x12<\n\ndb_servers\x18\x01 \x03(\x0b\x32(.google.cloud.oracledatabase.v1.DbServer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x83\x01\n\x12ListDbNodesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$oracledatabase.googleapis.com/DbNode\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"h\n\x13ListDbNodesResponse\x12\x38\n\x08\x64\x62_nodes\x18\x01 \x03(\x0b\x32&.google.cloud.oracledatabase.v1.DbNode\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9e\x01\n\x15ListGiVersionsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'oracledatabase.googleapis.com/GiVersion\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"q\n\x16ListGiVersionsResponse\x12>\n\x0bgi_versions\x18\x01 \x03(\x0b\x32).google.cloud.oracledatabase.v1.GiVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa6\x01\n\x19ListDbSystemShapesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+oracledatabase.googleapis.com/DbSystemShape\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"~\n\x1aListDbSystemShapesResponse\x12G\n\x10\x64\x62_system_shapes\x18\x01 \x03(\x0b\x32-.google.cloud.oracledatabase.v1.DbSystemShape\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9f\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10percent_complete\x18\x08 \x01(\x01\x42\x03\xe0\x41\x03\"\xc7\x01\n\x1eListAutonomousDatabasesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30oracledatabase.googleapis.com/AutonomousDatabase\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x8c\x01\n\x1fListAutonomousDatabasesResponse\x12P\n\x14\x61utonomous_databases\x18\x01 \x03(\x0b\x32\x32.google.cloud.oracledatabase.v1.AutonomousDatabase\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"f\n\x1cGetAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"\x87\x02\n\x1f\x43reateAutonomousDatabaseRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30oracledatabase.googleapis.com/AutonomousDatabase\x12#\n\x16\x61utonomous_database_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12T\n\x13\x61utonomous_database\x18\x03 \x01(\x0b\x32\x32.google.cloud.oracledatabase.v1.AutonomousDatabaseB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xce\x01\n\x1fUpdateAutonomousDatabaseRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12T\n\x13\x61utonomous_database\x18\x02 \x01(\x0b\x32\x32.google.cloud.oracledatabase.v1.AutonomousDatabaseB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x8a\x01\n\x1f\x44\x65leteAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa1\x01\n RestoreAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12\x35\n\x0crestore_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"g\n\x1dStopAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"h\n\x1eStartAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"j\n RestartAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"\xc9\x01\n#SwitchoverAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12Z\n\x18peer_autonomous_database\x18\x02 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"\xc7\x01\n!FailoverAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12Z\n\x18peer_autonomous_database\x18\x02 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"\xe3\x01\n\'GenerateAutonomousDatabaseWalletRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12?\n\x04type\x18\x02 \x01(\x0e\x32,.google.cloud.oracledatabase.v1.GenerateTypeB\x03\xe0\x41\x01\x12\x18\n\x0bis_regional\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08password\x18\x04 \x01(\tB\x03\xe0\x41\x02\"H\n(GenerateAutonomousDatabaseWalletResponse\x12\x1c\n\x0f\x61rchive_content\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x03\"\x9d\x01\n\x1fListAutonomousDbVersionsRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31oracledatabase.googleapis.com/AutonomousDbVersion\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x90\x01\n ListAutonomousDbVersionsResponse\x12S\n\x16\x61utonomous_db_versions\x18\x01 \x03(\x0b\x32\x33.google.cloud.oracledatabase.v1.AutonomousDbVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc8\x01\n*ListAutonomousDatabaseCharacterSetsRequest\x12T\n\x06parent\x18\x01 \x01(\tBD\xe0\x41\x02\xfa\x41>\x12.google.cloud.oracledatabase.v1.AutonomousDatabaseCharacterSet\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xbc\x01\n$ListAutonomousDatabaseBackupsRequest\x12N\n\x06parent\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\x12\x36oracledatabase.googleapis.com/AutonomousDatabaseBackup\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9f\x01\n%ListAutonomousDatabaseBackupsResponse\x12]\n\x1b\x61utonomous_database_backups\x18\x01 \x03(\x0b\x32\x38.google.cloud.oracledatabase.v1.AutonomousDatabaseBackup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf5\x01\n\x1b\x43reateExadbVmClusterRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,oracledatabase.googleapis.com/ExadbVmCluster\x12 \n\x13\x65xadb_vm_cluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12M\n\x10\x65xadb_vm_cluster\x18\x03 \x01(\x0b\x32..google.cloud.oracledatabase.v1.ExadbVmClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x82\x01\n\x1b\x44\x65leteExadbVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/ExadbVmCluster\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"^\n\x18GetExadbVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/ExadbVmCluster\"\xbf\x01\n\x1aListExadbVmClustersRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,oracledatabase.googleapis.com/ExadbVmCluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x81\x01\n\x1bListExadbVmClustersResponse\x12I\n\x11\x65xadb_vm_clusters\x18\x01 \x03(\x0b\x32..google.cloud.oracledatabase.v1.ExadbVmCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc3\x01\n\x1bUpdateExadbVmClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12M\n\x10\x65xadb_vm_cluster\x18\x02 \x01(\x0b\x32..google.cloud.oracledatabase.v1.ExadbVmClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa8\x01\n)RemoveVirtualMachineExadbVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/ExadbVmCluster\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x16\n\thostnames\x18\x04 \x03(\tB\x03\xe0\x41\x02\x32\xc2m\n\x0eOracleDatabase\x12\x84\x02\n\x1fListCloudExadataInfrastructures\x12\x46.google.cloud.oracledatabase.v1.ListCloudExadataInfrastructuresRequest\x1aG.google.cloud.oracledatabase.v1.ListCloudExadataInfrastructuresResponse\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1/{parent=projects/*/locations/*}/cloudExadataInfrastructures\x12\xf1\x01\n\x1dGetCloudExadataInfrastructure\x12\x44.google.cloud.oracledatabase.v1.GetCloudExadataInfrastructureRequest\x1a:.google.cloud.oracledatabase.v1.CloudExadataInfrastructure\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/cloudExadataInfrastructures/*}\x12\xea\x02\n CreateCloudExadataInfrastructure\x12G.google.cloud.oracledatabase.v1.CreateCloudExadataInfrastructureRequest\x1a\x1d.google.longrunning.Operation\"\xdd\x01\xca\x41/\n\x1a\x43loudExadataInfrastructure\x12\x11OperationMetadata\xda\x41\x43parent,cloud_exadata_infrastructure,cloud_exadata_infrastructure_id\x82\xd3\xe4\x93\x02_\"?/v1/{parent=projects/*/locations/*}/cloudExadataInfrastructures:\x1c\x63loud_exadata_infrastructure\x12\x87\x02\n DeleteCloudExadataInfrastructure\x12G.google.cloud.oracledatabase.v1.DeleteCloudExadataInfrastructureRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41*?/v1/{name=projects/*/locations/*/cloudExadataInfrastructures/*}\x12\xd4\x01\n\x13ListCloudVmClusters\x12:.google.cloud.oracledatabase.v1.ListCloudVmClustersRequest\x1a;.google.cloud.oracledatabase.v1.ListCloudVmClustersResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*}/cloudVmClusters\x12\xc1\x01\n\x11GetCloudVmCluster\x12\x38.google.cloud.oracledatabase.v1.GetCloudVmClusterRequest\x1a..google.cloud.oracledatabase.v1.CloudVmCluster\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/cloudVmClusters/*}\x12\x96\x02\n\x14\x43reateCloudVmCluster\x12;.google.cloud.oracledatabase.v1.CreateCloudVmClusterRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\xca\x41#\n\x0e\x43loudVmCluster\x12\x11OperationMetadata\xda\x41+parent,cloud_vm_cluster,cloud_vm_cluster_id\x82\xd3\xe4\x93\x02G\"3/v1/{parent=projects/*/locations/*}/cloudVmClusters:\x10\x63loud_vm_cluster\x12\xe3\x01\n\x14\x44\x65leteCloudVmCluster\x12;.google.cloud.oracledatabase.v1.DeleteCloudVmClusterRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/cloudVmClusters/*}\x12\xc8\x01\n\x10ListEntitlements\x12\x37.google.cloud.oracledatabase.v1.ListEntitlementsRequest\x1a\x38.google.cloud.oracledatabase.v1.ListEntitlementsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/entitlements\x12\xda\x01\n\rListDbServers\x12\x34.google.cloud.oracledatabase.v1.ListDbServersRequest\x1a\x35.google.cloud.oracledatabase.v1.ListDbServersResponse\"\\\xda\x41\x06parent\x82\xd3\xe4\x93\x02M\x12K/v1/{parent=projects/*/locations/*/cloudExadataInfrastructures/*}/dbServers\x12\x89\x02\n\x0bListDbNodes\x12\x32.google.cloud.oracledatabase.v1.ListDbNodesRequest\x1a\x33.google.cloud.oracledatabase.v1.ListDbNodesResponse\"\x90\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x80\x01\x12=/v1/{parent=projects/*/locations/*/cloudVmClusters/*}/dbNodesZ?\x12=/v1/{parent=projects/*/locations/*/exadbVmClusters/*}/dbNodes\x12\xc0\x01\n\x0eListGiVersions\x12\x35.google.cloud.oracledatabase.v1.ListGiVersionsRequest\x1a\x36.google.cloud.oracledatabase.v1.ListGiVersionsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/giVersions\x12\xd9\x01\n\x11ListMinorVersions\x12\x38.google.cloud.oracledatabase.v1.ListMinorVersionsRequest\x1a\x39.google.cloud.oracledatabase.v1.ListMinorVersionsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/giVersions/*}/minorVersions\x12\xd0\x01\n\x12ListDbSystemShapes\x12\x39.google.cloud.oracledatabase.v1.ListDbSystemShapesRequest\x1a:.google.cloud.oracledatabase.v1.ListDbSystemShapesResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/dbSystemShapes\x12\xe4\x01\n\x17ListAutonomousDatabases\x12>.google.cloud.oracledatabase.v1.ListAutonomousDatabasesRequest\x1a?.google.cloud.oracledatabase.v1.ListAutonomousDatabasesResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/autonomousDatabases\x12\xd1\x01\n\x15GetAutonomousDatabase\x12<.google.cloud.oracledatabase.v1.GetAutonomousDatabaseRequest\x1a\x32.google.cloud.oracledatabase.v1.AutonomousDatabase\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/autonomousDatabases/*}\x12\xaf\x02\n\x18\x43reateAutonomousDatabase\x12?.google.cloud.oracledatabase.v1.CreateAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\xb2\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x31parent,autonomous_database,autonomous_database_id\x82\xd3\xe4\x93\x02N\"7/v1/{parent=projects/*/locations/*}/autonomousDatabases:\x13\x61utonomous_database\x12\xb1\x02\n\x18UpdateAutonomousDatabase\x12?.google.cloud.oracledatabase.v1.UpdateAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x1f\x61utonomous_database,update_mask\x82\xd3\xe4\x93\x02\x62\x32K/v1/{autonomous_database.name=projects/*/locations/*/autonomousDatabases/*}:\x13\x61utonomous_database\x12\xef\x01\n\x18\x44\x65leteAutonomousDatabase\x12?.google.cloud.oracledatabase.v1.DeleteAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/autonomousDatabases/*}\x12\x87\x02\n\x19RestoreAutonomousDatabase\x12@.google.cloud.oracledatabase.v1.RestoreAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x11name,restore_time\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/autonomousDatabases/*}:restore:\x01*\x12\xa9\x02\n GenerateAutonomousDatabaseWallet\x12G.google.cloud.oracledatabase.v1.GenerateAutonomousDatabaseWalletRequest\x1aH.google.cloud.oracledatabase.v1.GenerateAutonomousDatabaseWalletResponse\"r\xda\x41\x1ename,type,is_regional,password\x82\xd3\xe4\x93\x02K\"F/v1/{name=projects/*/locations/*/autonomousDatabases/*}:generateWallet:\x01*\x12\xe8\x01\n\x18ListAutonomousDbVersions\x12?.google.cloud.oracledatabase.v1.ListAutonomousDbVersionsRequest\x1a@.google.cloud.oracledatabase.v1.ListAutonomousDbVersionsResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*}/autonomousDbVersions\x12\x94\x02\n#ListAutonomousDatabaseCharacterSets\x12J.google.cloud.oracledatabase.v1.ListAutonomousDatabaseCharacterSetsRequest\x1aK.google.cloud.oracledatabase.v1.ListAutonomousDatabaseCharacterSetsResponse\"T\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*}/autonomousDatabaseCharacterSets\x12\xfc\x01\n\x1dListAutonomousDatabaseBackups\x12\x44.google.cloud.oracledatabase.v1.ListAutonomousDatabaseBackupsRequest\x1a\x45.google.cloud.oracledatabase.v1.ListAutonomousDatabaseBackupsResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*}/autonomousDatabaseBackups\x12\xf0\x01\n\x16StopAutonomousDatabase\x12=.google.cloud.oracledatabase.v1.StopAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\".google.cloud.oracledatabase.v1.StartAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/autonomousDatabases/*}:start:\x01*\x12\xf9\x01\n\x19RestartAutonomousDatabase\x12@.google.cloud.oracledatabase.v1.RestartAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/autonomousDatabases/*}:restart:\x01*\x12\x9c\x02\n\x1cSwitchoverAutonomousDatabase\x12\x43.google.cloud.oracledatabase.v1.SwitchoverAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\x97\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x1dname,peer_autonomous_database\x82\xd3\xe4\x93\x02G\"B/v1/{name=projects/*/locations/*/autonomousDatabases/*}:switchover:\x01*\x12\x96\x02\n\x1a\x46\x61iloverAutonomousDatabase\x12\x41.google.cloud.oracledatabase.v1.FailoverAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x1dname,peer_autonomous_database\x82\xd3\xe4\x93\x02\x45\"@/v1/{name=projects/*/locations/*/autonomousDatabases/*}:failover:\x01*\x12\xc4\x01\n\x0fListOdbNetworks\x12\x36.google.cloud.oracledatabase.v1.ListOdbNetworksRequest\x1a\x37.google.cloud.oracledatabase.v1.ListOdbNetworksResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/odbNetworks\x12\xb1\x01\n\rGetOdbNetwork\x12\x34.google.cloud.oracledatabase.v1.GetOdbNetworkRequest\x1a*.google.cloud.oracledatabase.v1.OdbNetwork\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/odbNetworks/*}\x12\xf7\x01\n\x10\x43reateOdbNetwork\x12\x37.google.cloud.oracledatabase.v1.CreateOdbNetworkRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\xca\x41\x1f\n\nOdbNetwork\x12\x11OperationMetadata\xda\x41!parent,odb_network,odb_network_id\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/odbNetworks:\x0bodb_network\x12\xd7\x01\n\x10\x44\x65leteOdbNetwork\x12\x37.google.cloud.oracledatabase.v1.DeleteOdbNetworkRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/odbNetworks/*}\x12\xce\x01\n\x0eListOdbSubnets\x12\x35.google.cloud.oracledatabase.v1.ListOdbSubnetsRequest\x1a\x36.google.cloud.oracledatabase.v1.ListOdbSubnetsResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12\x12*\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/databases\x12\xa9\x01\n\x0bGetDatabase\x12\x32.google.cloud.oracledatabase.v1.GetDatabaseRequest\x1a(.google.cloud.oracledatabase.v1.Database\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/databases/*}\x12\xe0\x01\n\x16ListPluggableDatabases\x12=.google.cloud.oracledatabase.v1.ListPluggableDatabasesRequest\x1a>.google.cloud.oracledatabase.v1.ListPluggableDatabasesResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*}/pluggableDatabases\x12\xcd\x01\n\x14GetPluggableDatabase\x12;.google.cloud.oracledatabase.v1.GetPluggableDatabaseRequest\x1a\x31.google.cloud.oracledatabase.v1.PluggableDatabase\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/pluggableDatabases/*}\x12\xbc\x01\n\rListDbSystems\x12\x34.google.cloud.oracledatabase.v1.ListDbSystemsRequest\x1a\x35.google.cloud.oracledatabase.v1.ListDbSystemsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/dbSystems\x12\xa9\x01\n\x0bGetDbSystem\x12\x32.google.cloud.oracledatabase.v1.GetDbSystemRequest\x1a(.google.cloud.oracledatabase.v1.DbSystem\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/dbSystems/*}\x12\xe9\x01\n\x0e\x43reateDbSystem\x12\x35.google.cloud.oracledatabase.v1.CreateDbSystemRequest\x1a\x1d.google.longrunning.Operation\"\x80\x01\xca\x41\x1d\n\x08\x44\x62System\x12\x11OperationMetadata\xda\x41\x1dparent,db_system,db_system_id\x82\xd3\xe4\x93\x02:\"-/v1/{parent=projects/*/locations/*}/dbSystems:\tdb_system\x12\xd1\x01\n\x0e\x44\x65leteDbSystem\x12\x35.google.cloud.oracledatabase.v1.DeleteDbSystemRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/dbSystems/*}\x12\xc0\x01\n\x0eListDbVersions\x12\x35.google.cloud.oracledatabase.v1.ListDbVersionsRequest\x1a\x36.google.cloud.oracledatabase.v1.ListDbVersionsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/dbVersions\x12\xec\x01\n\x19ListDatabaseCharacterSets\x12@.google.cloud.oracledatabase.v1.ListDatabaseCharacterSetsRequest\x1a\x41.google.cloud.oracledatabase.v1.ListDatabaseCharacterSetsResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*}/databaseCharacterSets\x1aQ\xca\x41\x1doracledatabase.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xb1\x03\n\"com.google.cloud.oracledatabase.v1B\x0bV1mainProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3" +descriptor_data = "\n3google/cloud/oracledatabase/v1/oracledatabase.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/oracledatabase/v1/autonomous_database.proto\x1a\x46google/cloud/oracledatabase/v1/autonomous_database_character_set.proto\x1a\x39google/cloud/oracledatabase/v1/autonomous_db_backup.proto\x1a:google/cloud/oracledatabase/v1/autonomous_db_version.proto\x1a-google/cloud/oracledatabase/v1/database.proto\x1a;google/cloud/oracledatabase/v1/database_character_set.proto\x1a,google/cloud/oracledatabase/v1/db_node.proto\x1a.google/cloud/oracledatabase/v1/db_server.proto\x1a.google/cloud/oracledatabase/v1/db_system.proto\x1a\x43google/cloud/oracledatabase/v1/db_system_initial_storage_size.proto\x1a\x34google/cloud/oracledatabase/v1/db_system_shape.proto\x1a/google/cloud/oracledatabase/v1/db_version.proto\x1a\x30google/cloud/oracledatabase/v1/entitlement.proto\x1a\x32google/cloud/oracledatabase/v1/exadata_infra.proto\x1a\x35google/cloud/oracledatabase/v1/exadb_vm_cluster.proto\x1a>google/cloud/oracledatabase/v1/exascale_db_storage_vault.proto\x1a/google/cloud/oracledatabase/v1/gi_version.proto\x1a:google/cloud/oracledatabase/v1/goldengate_connection.proto\x1a\x45google/cloud/oracledatabase/v1/goldengate_connection_assignment.proto\x1a?google/cloud/oracledatabase/v1/goldengate_connection_type.proto\x1a:google/cloud/oracledatabase/v1/goldengate_deployment.proto\x1a\x46google/cloud/oracledatabase/v1/goldengate_deployment_environment.proto\x1a?google/cloud/oracledatabase/v1/goldengate_deployment_type.proto\x1a\x42google/cloud/oracledatabase/v1/goldengate_deployment_version.proto\x1a\x32google/cloud/oracledatabase/v1/minor_version.proto\x1a\x30google/cloud/oracledatabase/v1/odb_network.proto\x1a/google/cloud/oracledatabase/v1/odb_subnet.proto\x1a\x37google/cloud/oracledatabase/v1/pluggable_database.proto\x1a/google/cloud/oracledatabase/v1/vm_cluster.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd7\x01\n&ListCloudExadataInfrastructuresRequest\x12P\n\x06parent\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\x12\x38oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xba\x01\n\'ListCloudExadataInfrastructuresResponse\x12\x61\n\x1d\x63loud_exadata_infrastructures\x18\x01 \x03(\x0b\x32:.google.cloud.oracledatabase.v1.CloudExadataInfrastructure\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"v\n$GetCloudExadataInfrastructureRequest\x12N\n\x04name\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\"\xb1\x02\n\'CreateCloudExadataInfrastructureRequest\x12P\n\x06parent\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\x12\x38oracledatabase.googleapis.com/CloudExadataInfrastructure\x12,\n\x1f\x63loud_exadata_infrastructure_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x65\n\x1c\x63loud_exadata_infrastructure\x18\x03 \x01(\x0b\x32:.google.cloud.oracledatabase.v1.CloudExadataInfrastructureB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xae\x01\n\'DeleteCloudExadataInfrastructureRequest\x12N\n\x04name\x18\x01 \x01(\tB@\xe0\x41\x02\xfa\x41:\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xa8\x01\n\x1aListCloudVmClustersRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,oracledatabase.googleapis.com/CloudVmCluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x96\x01\n\x1bListCloudVmClustersResponse\x12I\n\x11\x63loud_vm_clusters\x18\x01 \x03(\x0b\x32..google.cloud.oracledatabase.v1.CloudVmCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"^\n\x18GetCloudVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/CloudVmCluster\"\xf5\x01\n\x1b\x43reateCloudVmClusterRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,oracledatabase.googleapis.com/CloudVmCluster\x12 \n\x13\x63loud_vm_cluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12M\n\x10\x63loud_vm_cluster\x18\x03 \x01(\x0b\x32..google.cloud.oracledatabase.v1.CloudVmClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x96\x01\n\x1b\x44\x65leteCloudVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/CloudVmCluster\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x8d\x01\n\x17ListEntitlementsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)oracledatabase.googleapis.com/Entitlement\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"v\n\x18ListEntitlementsResponse\x12\x41\n\x0c\x65ntitlements\x18\x01 \x03(\x0b\x32+.google.cloud.oracledatabase.v1.Entitlement\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x87\x01\n\x14ListDbServersRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&oracledatabase.googleapis.com/DbServer\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"n\n\x15ListDbServersResponse\x12<\n\ndb_servers\x18\x01 \x03(\x0b\x32(.google.cloud.oracledatabase.v1.DbServer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x83\x01\n\x12ListDbNodesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$oracledatabase.googleapis.com/DbNode\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"h\n\x13ListDbNodesResponse\x12\x38\n\x08\x64\x62_nodes\x18\x01 \x03(\x0b\x32&.google.cloud.oracledatabase.v1.DbNode\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9e\x01\n\x15ListGiVersionsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'oracledatabase.googleapis.com/GiVersion\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"q\n\x16ListGiVersionsResponse\x12>\n\x0bgi_versions\x18\x01 \x03(\x0b\x32).google.cloud.oracledatabase.v1.GiVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa6\x01\n\x19ListDbSystemShapesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+oracledatabase.googleapis.com/DbSystemShape\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"~\n\x1aListDbSystemShapesResponse\x12G\n\x10\x64\x62_system_shapes\x18\x01 \x03(\x0b\x32-.google.cloud.oracledatabase.v1.DbSystemShape\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9f\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10percent_complete\x18\x08 \x01(\x01\x42\x03\xe0\x41\x03\"\xc7\x01\n\x1eListAutonomousDatabasesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30oracledatabase.googleapis.com/AutonomousDatabase\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xa1\x01\n\x1fListAutonomousDatabasesResponse\x12P\n\x14\x61utonomous_databases\x18\x01 \x03(\x0b\x32\x32.google.cloud.oracledatabase.v1.AutonomousDatabase\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"f\n\x1cGetAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"\x87\x02\n\x1f\x43reateAutonomousDatabaseRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30oracledatabase.googleapis.com/AutonomousDatabase\x12#\n\x16\x61utonomous_database_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12T\n\x13\x61utonomous_database\x18\x03 \x01(\x0b\x32\x32.google.cloud.oracledatabase.v1.AutonomousDatabaseB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xce\x01\n\x1fUpdateAutonomousDatabaseRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12T\n\x13\x61utonomous_database\x18\x02 \x01(\x0b\x32\x32.google.cloud.oracledatabase.v1.AutonomousDatabaseB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x8a\x01\n\x1f\x44\x65leteAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa1\x01\n RestoreAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12\x35\n\x0crestore_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"g\n\x1dStopAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"h\n\x1eStartAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"j\n RestartAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"\xc9\x01\n#SwitchoverAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12Z\n\x18peer_autonomous_database\x18\x02 \x01(\tB8\xe0\x41\x01\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"\xc7\x01\n!FailoverAutonomousDatabaseRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12Z\n\x18peer_autonomous_database\x18\x02 \x01(\tB8\xe0\x41\x01\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\"\xe3\x01\n\'GenerateAutonomousDatabaseWalletRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12?\n\x04type\x18\x02 \x01(\x0e\x32,.google.cloud.oracledatabase.v1.GenerateTypeB\x03\xe0\x41\x01\x12\x18\n\x0bis_regional\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08password\x18\x04 \x01(\tB\x03\xe0\x41\x02\"H\n(GenerateAutonomousDatabaseWalletResponse\x12\x1c\n\x0f\x61rchive_content\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x03\"\x9d\x01\n\x1fListAutonomousDbVersionsRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31oracledatabase.googleapis.com/AutonomousDbVersion\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x90\x01\n ListAutonomousDbVersionsResponse\x12S\n\x16\x61utonomous_db_versions\x18\x01 \x03(\x0b\x32\x33.google.cloud.oracledatabase.v1.AutonomousDbVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc8\x01\n*ListAutonomousDatabaseCharacterSetsRequest\x12T\n\x06parent\x18\x01 \x01(\tBD\xe0\x41\x02\xfa\x41>\x12.google.cloud.oracledatabase.v1.AutonomousDatabaseCharacterSet\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xbc\x01\n$ListAutonomousDatabaseBackupsRequest\x12N\n\x06parent\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\x12\x36oracledatabase.googleapis.com/AutonomousDatabaseBackup\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9f\x01\n%ListAutonomousDatabaseBackupsResponse\x12]\n\x1b\x61utonomous_database_backups\x18\x01 \x03(\x0b\x32\x38.google.cloud.oracledatabase.v1.AutonomousDatabaseBackup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xf5\x01\n\x1b\x43reateExadbVmClusterRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,oracledatabase.googleapis.com/ExadbVmCluster\x12 \n\x13\x65xadb_vm_cluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12M\n\x10\x65xadb_vm_cluster\x18\x03 \x01(\x0b\x32..google.cloud.oracledatabase.v1.ExadbVmClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x82\x01\n\x1b\x44\x65leteExadbVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/ExadbVmCluster\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"^\n\x18GetExadbVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/ExadbVmCluster\"\xbf\x01\n\x1aListExadbVmClustersRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,oracledatabase.googleapis.com/ExadbVmCluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x96\x01\n\x1bListExadbVmClustersResponse\x12I\n\x11\x65xadb_vm_clusters\x18\x01 \x03(\x0b\x32..google.cloud.oracledatabase.v1.ExadbVmCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xc3\x01\n\x1bUpdateExadbVmClusterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12M\n\x10\x65xadb_vm_cluster\x18\x02 \x01(\x0b\x32..google.cloud.oracledatabase.v1.ExadbVmClusterB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa8\x01\n)RemoveVirtualMachineExadbVmClusterRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,oracledatabase.googleapis.com/ExadbVmCluster\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x16\n\thostnames\x18\x04 \x03(\tB\x03\xe0\x41\x02\x32\x91\x9d\x01\n\x0eOracleDatabase\x12\x84\x02\n\x1fListCloudExadataInfrastructures\x12\x46.google.cloud.oracledatabase.v1.ListCloudExadataInfrastructuresRequest\x1aG.google.cloud.oracledatabase.v1.ListCloudExadataInfrastructuresResponse\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1/{parent=projects/*/locations/*}/cloudExadataInfrastructures\x12\xf1\x01\n\x1dGetCloudExadataInfrastructure\x12\x44.google.cloud.oracledatabase.v1.GetCloudExadataInfrastructureRequest\x1a:.google.cloud.oracledatabase.v1.CloudExadataInfrastructure\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/cloudExadataInfrastructures/*}\x12\xea\x02\n CreateCloudExadataInfrastructure\x12G.google.cloud.oracledatabase.v1.CreateCloudExadataInfrastructureRequest\x1a\x1d.google.longrunning.Operation\"\xdd\x01\xca\x41/\n\x1a\x43loudExadataInfrastructure\x12\x11OperationMetadata\xda\x41\x43parent,cloud_exadata_infrastructure,cloud_exadata_infrastructure_id\x82\xd3\xe4\x93\x02_\"?/v1/{parent=projects/*/locations/*}/cloudExadataInfrastructures:\x1c\x63loud_exadata_infrastructure\x12\x87\x02\n DeleteCloudExadataInfrastructure\x12G.google.cloud.oracledatabase.v1.DeleteCloudExadataInfrastructureRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41*?/v1/{name=projects/*/locations/*/cloudExadataInfrastructures/*}\x12\xd4\x01\n\x13ListCloudVmClusters\x12:.google.cloud.oracledatabase.v1.ListCloudVmClustersRequest\x1a;.google.cloud.oracledatabase.v1.ListCloudVmClustersResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*}/cloudVmClusters\x12\xc1\x01\n\x11GetCloudVmCluster\x12\x38.google.cloud.oracledatabase.v1.GetCloudVmClusterRequest\x1a..google.cloud.oracledatabase.v1.CloudVmCluster\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/cloudVmClusters/*}\x12\x96\x02\n\x14\x43reateCloudVmCluster\x12;.google.cloud.oracledatabase.v1.CreateCloudVmClusterRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\xca\x41#\n\x0e\x43loudVmCluster\x12\x11OperationMetadata\xda\x41+parent,cloud_vm_cluster,cloud_vm_cluster_id\x82\xd3\xe4\x93\x02G\"3/v1/{parent=projects/*/locations/*}/cloudVmClusters:\x10\x63loud_vm_cluster\x12\xe3\x01\n\x14\x44\x65leteCloudVmCluster\x12;.google.cloud.oracledatabase.v1.DeleteCloudVmClusterRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/cloudVmClusters/*}\x12\xc8\x01\n\x10ListEntitlements\x12\x37.google.cloud.oracledatabase.v1.ListEntitlementsRequest\x1a\x38.google.cloud.oracledatabase.v1.ListEntitlementsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/entitlements\x12\xda\x01\n\rListDbServers\x12\x34.google.cloud.oracledatabase.v1.ListDbServersRequest\x1a\x35.google.cloud.oracledatabase.v1.ListDbServersResponse\"\\\xda\x41\x06parent\x82\xd3\xe4\x93\x02M\x12K/v1/{parent=projects/*/locations/*/cloudExadataInfrastructures/*}/dbServers\x12\x89\x02\n\x0bListDbNodes\x12\x32.google.cloud.oracledatabase.v1.ListDbNodesRequest\x1a\x33.google.cloud.oracledatabase.v1.ListDbNodesResponse\"\x90\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x80\x01\x12=/v1/{parent=projects/*/locations/*/cloudVmClusters/*}/dbNodesZ?\x12=/v1/{parent=projects/*/locations/*/exadbVmClusters/*}/dbNodes\x12\xc0\x01\n\x0eListGiVersions\x12\x35.google.cloud.oracledatabase.v1.ListGiVersionsRequest\x1a\x36.google.cloud.oracledatabase.v1.ListGiVersionsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/giVersions\x12\xd9\x01\n\x11ListMinorVersions\x12\x38.google.cloud.oracledatabase.v1.ListMinorVersionsRequest\x1a\x39.google.cloud.oracledatabase.v1.ListMinorVersionsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/giVersions/*}/minorVersions\x12\xd0\x01\n\x12ListDbSystemShapes\x12\x39.google.cloud.oracledatabase.v1.ListDbSystemShapesRequest\x1a:.google.cloud.oracledatabase.v1.ListDbSystemShapesResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/dbSystemShapes\x12\xe4\x01\n\x17ListAutonomousDatabases\x12>.google.cloud.oracledatabase.v1.ListAutonomousDatabasesRequest\x1a?.google.cloud.oracledatabase.v1.ListAutonomousDatabasesResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/autonomousDatabases\x12\xd1\x01\n\x15GetAutonomousDatabase\x12<.google.cloud.oracledatabase.v1.GetAutonomousDatabaseRequest\x1a\x32.google.cloud.oracledatabase.v1.AutonomousDatabase\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/autonomousDatabases/*}\x12\xaf\x02\n\x18\x43reateAutonomousDatabase\x12?.google.cloud.oracledatabase.v1.CreateAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\xb2\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x31parent,autonomous_database,autonomous_database_id\x82\xd3\xe4\x93\x02N\"7/v1/{parent=projects/*/locations/*}/autonomousDatabases:\x13\x61utonomous_database\x12\xb1\x02\n\x18UpdateAutonomousDatabase\x12?.google.cloud.oracledatabase.v1.UpdateAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x1f\x61utonomous_database,update_mask\x82\xd3\xe4\x93\x02\x62\x32K/v1/{autonomous_database.name=projects/*/locations/*/autonomousDatabases/*}:\x13\x61utonomous_database\x12\xef\x01\n\x18\x44\x65leteAutonomousDatabase\x12?.google.cloud.oracledatabase.v1.DeleteAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/autonomousDatabases/*}\x12\x87\x02\n\x19RestoreAutonomousDatabase\x12@.google.cloud.oracledatabase.v1.RestoreAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x11name,restore_time\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/autonomousDatabases/*}:restore:\x01*\x12\xa9\x02\n GenerateAutonomousDatabaseWallet\x12G.google.cloud.oracledatabase.v1.GenerateAutonomousDatabaseWalletRequest\x1aH.google.cloud.oracledatabase.v1.GenerateAutonomousDatabaseWalletResponse\"r\xda\x41\x1ename,type,is_regional,password\x82\xd3\xe4\x93\x02K\"F/v1/{name=projects/*/locations/*/autonomousDatabases/*}:generateWallet:\x01*\x12\xe8\x01\n\x18ListAutonomousDbVersions\x12?.google.cloud.oracledatabase.v1.ListAutonomousDbVersionsRequest\x1a@.google.cloud.oracledatabase.v1.ListAutonomousDbVersionsResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*}/autonomousDbVersions\x12\x94\x02\n#ListAutonomousDatabaseCharacterSets\x12J.google.cloud.oracledatabase.v1.ListAutonomousDatabaseCharacterSetsRequest\x1aK.google.cloud.oracledatabase.v1.ListAutonomousDatabaseCharacterSetsResponse\"T\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*}/autonomousDatabaseCharacterSets\x12\xfc\x01\n\x1dListAutonomousDatabaseBackups\x12\x44.google.cloud.oracledatabase.v1.ListAutonomousDatabaseBackupsRequest\x1a\x45.google.cloud.oracledatabase.v1.ListAutonomousDatabaseBackupsResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*}/autonomousDatabaseBackups\x12\xf0\x01\n\x16StopAutonomousDatabase\x12=.google.cloud.oracledatabase.v1.StopAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\".google.cloud.oracledatabase.v1.StartAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/autonomousDatabases/*}:start:\x01*\x12\xf9\x01\n\x19RestartAutonomousDatabase\x12@.google.cloud.oracledatabase.v1.RestartAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/autonomousDatabases/*}:restart:\x01*\x12\x9c\x02\n\x1cSwitchoverAutonomousDatabase\x12\x43.google.cloud.oracledatabase.v1.SwitchoverAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\x97\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x1dname,peer_autonomous_database\x82\xd3\xe4\x93\x02G\"B/v1/{name=projects/*/locations/*/autonomousDatabases/*}:switchover:\x01*\x12\x96\x02\n\x1a\x46\x61iloverAutonomousDatabase\x12\x41.google.cloud.oracledatabase.v1.FailoverAutonomousDatabaseRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\xca\x41\'\n\x12\x41utonomousDatabase\x12\x11OperationMetadata\xda\x41\x1dname,peer_autonomous_database\x82\xd3\xe4\x93\x02\x45\"@/v1/{name=projects/*/locations/*/autonomousDatabases/*}:failover:\x01*\x12\xc4\x01\n\x0fListOdbNetworks\x12\x36.google.cloud.oracledatabase.v1.ListOdbNetworksRequest\x1a\x37.google.cloud.oracledatabase.v1.ListOdbNetworksResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/odbNetworks\x12\xb1\x01\n\rGetOdbNetwork\x12\x34.google.cloud.oracledatabase.v1.GetOdbNetworkRequest\x1a*.google.cloud.oracledatabase.v1.OdbNetwork\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/odbNetworks/*}\x12\xf7\x01\n\x10\x43reateOdbNetwork\x12\x37.google.cloud.oracledatabase.v1.CreateOdbNetworkRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\xca\x41\x1f\n\nOdbNetwork\x12\x11OperationMetadata\xda\x41!parent,odb_network,odb_network_id\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/odbNetworks:\x0bodb_network\x12\xd7\x01\n\x10\x44\x65leteOdbNetwork\x12\x37.google.cloud.oracledatabase.v1.DeleteOdbNetworkRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/odbNetworks/*}\x12\xce\x01\n\x0eListOdbSubnets\x12\x35.google.cloud.oracledatabase.v1.ListOdbSubnetsRequest\x1a\x36.google.cloud.oracledatabase.v1.ListOdbSubnetsResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12\x12*\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/databases\x12\xa9\x01\n\x0bGetDatabase\x12\x32.google.cloud.oracledatabase.v1.GetDatabaseRequest\x1a(.google.cloud.oracledatabase.v1.Database\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/databases/*}\x12\xe0\x01\n\x16ListPluggableDatabases\x12=.google.cloud.oracledatabase.v1.ListPluggableDatabasesRequest\x1a>.google.cloud.oracledatabase.v1.ListPluggableDatabasesResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*}/pluggableDatabases\x12\xcd\x01\n\x14GetPluggableDatabase\x12;.google.cloud.oracledatabase.v1.GetPluggableDatabaseRequest\x1a\x31.google.cloud.oracledatabase.v1.PluggableDatabase\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/pluggableDatabases/*}\x12\xbc\x01\n\rListDbSystems\x12\x34.google.cloud.oracledatabase.v1.ListDbSystemsRequest\x1a\x35.google.cloud.oracledatabase.v1.ListDbSystemsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/dbSystems\x12\xa9\x01\n\x0bGetDbSystem\x12\x32.google.cloud.oracledatabase.v1.GetDbSystemRequest\x1a(.google.cloud.oracledatabase.v1.DbSystem\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/dbSystems/*}\x12\xe9\x01\n\x0e\x43reateDbSystem\x12\x35.google.cloud.oracledatabase.v1.CreateDbSystemRequest\x1a\x1d.google.longrunning.Operation\"\x80\x01\xca\x41\x1d\n\x08\x44\x62System\x12\x11OperationMetadata\xda\x41\x1dparent,db_system,db_system_id\x82\xd3\xe4\x93\x02:\"-/v1/{parent=projects/*/locations/*}/dbSystems:\tdb_system\x12\xd1\x01\n\x0e\x44\x65leteDbSystem\x12\x35.google.cloud.oracledatabase.v1.DeleteDbSystemRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/dbSystems/*}\x12\xec\x01\n\x19ListGoldengateDeployments\x12@.google.cloud.oracledatabase.v1.ListGoldengateDeploymentsRequest\x1a\x41.google.cloud.oracledatabase.v1.ListGoldengateDeploymentsResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*}/goldengateDeployments\x12\xd9\x01\n\x17GetGoldengateDeployment\x12>.google.cloud.oracledatabase.v1.GetGoldengateDeploymentRequest\x1a\x34.google.cloud.oracledatabase.v1.GoldengateDeployment\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/goldengateDeployments/*}\x12\xbd\x02\n\x1a\x43reateGoldengateDeployment\x12\x41.google.cloud.oracledatabase.v1.CreateGoldengateDeploymentRequest\x1a\x1d.google.longrunning.Operation\"\xbc\x01\xca\x41)\n\x14GoldengateDeployment\x12\x11OperationMetadata\xda\x41\x35parent,goldengate_deployment,goldengate_deployment_id\x82\xd3\xe4\x93\x02R\"9/v1/{parent=projects/*/locations/*}/goldengateDeployments:\x15goldengate_deployment\x12\xf5\x01\n\x1a\x44\x65leteGoldengateDeployment\x12\x41.google.cloud.oracledatabase.v1.DeleteGoldengateDeploymentRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/goldengateDeployments/*}\x12\xf8\x01\n\x18StopGoldengateDeployment\x12?.google.cloud.oracledatabase.v1.StopGoldengateDeploymentRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41)\n\x14GoldengateDeployment\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\">/v1/{name=projects/*/locations/*/goldengateDeployments/*}:stop:\x01*\x12\xfb\x01\n\x19StartGoldengateDeployment\x12@.google.cloud.oracledatabase.v1.StartGoldengateDeploymentRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41)\n\x14GoldengateDeployment\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/goldengateDeployments/*}:start:\x01*\x12\xec\x01\n\x19ListGoldengateConnections\x12@.google.cloud.oracledatabase.v1.ListGoldengateConnectionsRequest\x1a\x41.google.cloud.oracledatabase.v1.ListGoldengateConnectionsResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*}/goldengateConnections\x12\xd9\x01\n\x17GetGoldengateConnection\x12>.google.cloud.oracledatabase.v1.GetGoldengateConnectionRequest\x1a\x34.google.cloud.oracledatabase.v1.GoldengateConnection\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/goldengateConnections/*}\x12\xbd\x02\n\x1a\x43reateGoldengateConnection\x12\x41.google.cloud.oracledatabase.v1.CreateGoldengateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xbc\x01\xca\x41)\n\x14GoldengateConnection\x12\x11OperationMetadata\xda\x41\x35parent,goldengate_connection,goldengate_connection_id\x82\xd3\xe4\x93\x02R\"9/v1/{parent=projects/*/locations/*}/goldengateConnections:\x15goldengate_connection\x12\xf5\x01\n\x1a\x44\x65leteGoldengateConnection\x12\x41.google.cloud.oracledatabase.v1.DeleteGoldengateConnectionRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/goldengateConnections/*}\x12\xf5\x01\n\x1eGetGoldengateDeploymentVersion\x12\x45.google.cloud.oracledatabase.v1.GetGoldengateDeploymentVersionRequest\x1a;.google.cloud.oracledatabase.v1.GoldengateDeploymentVersion\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v1/{name=projects/*/locations/*/goldengateDeploymentVersions/*}\x12\x88\x02\n ListGoldengateDeploymentVersions\x12G.google.cloud.oracledatabase.v1.ListGoldengateDeploymentVersionsRequest\x1aH.google.cloud.oracledatabase.v1.ListGoldengateDeploymentVersionsResponse\"Q\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x42\x12@/v1/{parent=projects/*/locations/*}/goldengateDeploymentVersions\x12\xe9\x01\n\x1bGetGoldengateDeploymentType\x12\x42.google.cloud.oracledatabase.v1.GetGoldengateDeploymentTypeRequest\x1a\x38.google.cloud.oracledatabase.v1.GoldengateDeploymentType\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v1/{name=projects/*/locations/*/goldengateDeploymentTypes/*}\x12\xfc\x01\n\x1dListGoldengateDeploymentTypes\x12\x44.google.cloud.oracledatabase.v1.ListGoldengateDeploymentTypesRequest\x1a\x45.google.cloud.oracledatabase.v1.ListGoldengateDeploymentTypesResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*}/goldengateDeploymentTypes\x12\x85\x02\n\"GetGoldengateDeploymentEnvironment\x12I.google.cloud.oracledatabase.v1.GetGoldengateDeploymentEnvironmentRequest\x1a?.google.cloud.oracledatabase.v1.GoldengateDeploymentEnvironment\"S\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/*/goldengateDeploymentEnvironments/*}\x12\x98\x02\n$ListGoldengateDeploymentEnvironments\x12K.google.cloud.oracledatabase.v1.ListGoldengateDeploymentEnvironmentsRequest\x1aL.google.cloud.oracledatabase.v1.ListGoldengateDeploymentEnvironmentsResponse\"U\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=projects/*/locations/*}/goldengateDeploymentEnvironments\x12\xe9\x01\n\x1bGetGoldengateConnectionType\x12\x42.google.cloud.oracledatabase.v1.GetGoldengateConnectionTypeRequest\x1a\x38.google.cloud.oracledatabase.v1.GoldengateConnectionType\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v1/{name=projects/*/locations/*/goldengateConnectionTypes/*}\x12\xfc\x01\n\x1dListGoldengateConnectionTypes\x12\x44.google.cloud.oracledatabase.v1.ListGoldengateConnectionTypesRequest\x1a\x45.google.cloud.oracledatabase.v1.ListGoldengateConnectionTypesResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*}/goldengateConnectionTypes\x12\xc0\x01\n\x0eListDbVersions\x12\x35.google.cloud.oracledatabase.v1.ListDbVersionsRequest\x1a\x36.google.cloud.oracledatabase.v1.ListDbVersionsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/dbVersions\x12\xec\x01\n\x19ListDatabaseCharacterSets\x12@.google.cloud.oracledatabase.v1.ListDatabaseCharacterSetsRequest\x1a\x41.google.cloud.oracledatabase.v1.ListDatabaseCharacterSetsResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*}/databaseCharacterSets\x12\x94\x02\n#ListGoldengateConnectionAssignments\x12J.google.cloud.oracledatabase.v1.ListGoldengateConnectionAssignmentsRequest\x1aK.google.cloud.oracledatabase.v1.ListGoldengateConnectionAssignmentsResponse\"T\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*}/goldengateConnectionAssignments\x12\x81\x02\n!GetGoldengateConnectionAssignment\x12H.google.cloud.oracledatabase.v1.GetGoldengateConnectionAssignmentRequest\x1a>.google.cloud.oracledatabase.v1.GoldengateConnectionAssignment\"R\xda\x41\x04name\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{name=projects/*/locations/*/goldengateConnectionAssignments/*}\x12\x86\x03\n$CreateGoldengateConnectionAssignment\x12K.google.cloud.oracledatabase.v1.CreateGoldengateConnectionAssignmentRequest\x1a\x1d.google.longrunning.Operation\"\xf1\x01\xca\x41\x33\n\x1eGoldengateConnectionAssignment\x12\x11OperationMetadata\xda\x41Kparent,goldengate_connection_assignment,goldengate_connection_assignment_id\x82\xd3\xe4\x93\x02g\"C/v1/{parent=projects/*/locations/*}/goldengateConnectionAssignments: goldengate_connection_assignment\x12\x93\x02\n$DeleteGoldengateConnectionAssignment\x12K.google.cloud.oracledatabase.v1.DeleteGoldengateConnectionAssignmentRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x45*C/v1/{name=projects/*/locations/*/goldengateConnectionAssignments/*}\x12\x97\x02\n\"TestGoldengateConnectionAssignment\x12I.google.cloud.oracledatabase.v1.TestGoldengateConnectionAssignmentRequest\x1aJ.google.cloud.oracledatabase.v1.TestGoldengateConnectionAssignmentResponse\"Z\xda\x41\x04name\x82\xd3\xe4\x93\x02M\"H/v1/{name=projects/*/locations/*/goldengateConnectionAssignments/*}:test:\x01*\x1aQ\xca\x41\x1doracledatabase.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x9f\x04\n\"com.google.cloud.oracledatabase.v1B\x0bV1mainProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41k\n*secretmanager.googleapis.com/SecretVersion\x12=projects/{project}/secrets/{secret}/versions/{secret_version}b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb index 1fd3edc34c05..80abee0ffa56 100644 --- a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb @@ -155,10 +155,57 @@ class Service rpc :CreateDbSystem, ::Google::Cloud::OracleDatabase::V1::CreateDbSystemRequest, ::Google::Longrunning::Operation # Deletes a single DbSystem. rpc :DeleteDbSystem, ::Google::Cloud::OracleDatabase::V1::DeleteDbSystemRequest, ::Google::Longrunning::Operation + # Lists all the GoldengateDeployments for the given project and location. + rpc :ListGoldengateDeployments, ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest, ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsResponse + # Gets details of a single GoldengateDeployment. + rpc :GetGoldengateDeployment, ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest, ::Google::Cloud::OracleDatabase::V1::GoldengateDeployment + # Creates a new GoldengateDeployment in a given project and location. + rpc :CreateGoldengateDeployment, ::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest, ::Google::Longrunning::Operation + # Deletes a single GoldengateDeployment. + rpc :DeleteGoldengateDeployment, ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest, ::Google::Longrunning::Operation + # Stops a single GoldengateDeployment. + rpc :StopGoldengateDeployment, ::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest, ::Google::Longrunning::Operation + # Starts a single GoldengateDeployment. + rpc :StartGoldengateDeployment, ::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest, ::Google::Longrunning::Operation + # Lists all the GoldengateConnections for the given project and location. + rpc :ListGoldengateConnections, ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest, ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsResponse + # Gets details of a single GoldengateConnection. + rpc :GetGoldengateConnection, ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest, ::Google::Cloud::OracleDatabase::V1::GoldengateConnection + # Creates a new GoldengateConnection in a given project and location. + rpc :CreateGoldengateConnection, ::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest, ::Google::Longrunning::Operation + # Deletes a single GoldengateConnection. + rpc :DeleteGoldengateConnection, ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest, ::Google::Longrunning::Operation + # Gets details of a single GoldengateDeploymentVersion. + rpc :GetGoldengateDeploymentVersion, ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest, ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion + # Lists GoldengateDeploymentVersions in a given project and location. + rpc :ListGoldengateDeploymentVersions, ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest, ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsResponse + # Gets details of a single GoldenGateDeploymentType. + rpc :GetGoldengateDeploymentType, ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest, ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType + # Lists GoldenGateDeploymentTypes in a given project and location. + rpc :ListGoldengateDeploymentTypes, ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest, ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesResponse + # Gets details of a single GoldengateDeploymentEnvironment. + rpc :GetGoldengateDeploymentEnvironment, ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest, ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment + # Lists GoldengateDeploymentEnvironments in a given project and location. + rpc :ListGoldengateDeploymentEnvironments, ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest, ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsResponse + # Gets details of a single GoldengateConnectionType. + rpc :GetGoldengateConnectionType, ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest, ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType + # Lists GoldengateConnectionTypes in a given project and location. + rpc :ListGoldengateConnectionTypes, ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest, ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesResponse # List DbVersions for the given project and location. rpc :ListDbVersions, ::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest, ::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse # List DatabaseCharacterSets for the given project and location. rpc :ListDatabaseCharacterSets, ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest, ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse + # Lists GoldengateConnectionAssignments in a given project and location. + rpc :ListGoldengateConnectionAssignments, ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest, ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsResponse + # Gets details of a single GoldengateConnectionAssignment. + rpc :GetGoldengateConnectionAssignment, ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest, ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment + # Creates a new GoldengateConnectionAssignment in a given project and + # location. + rpc :CreateGoldengateConnectionAssignment, ::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest, ::Google::Longrunning::Operation + # Deletes a single GoldengateConnectionAssignment. + rpc :DeleteGoldengateConnectionAssignment, ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest, ::Google::Longrunning::Operation + # Tests a single GoldengateConnectionAssignment. + rpc :TestGoldengateConnectionAssignment, ::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest, ::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse end Stub = Service.rpc_stub_class diff --git a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb index 5f2610c1b158..47130b36fd86 100644 --- a/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb +++ b/google-cloud-oracle_database-v1/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb @@ -11,7 +11,7 @@ require 'google/type/datetime_pb' -descriptor_data = "\n/google/cloud/oracledatabase/v1/vm_cluster.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/oracledatabase/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/datetime.proto\"\x82\x08\n\x0e\x43loudVmCluster\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12`\n\x16\x65xadata_infrastructure\x18\x02 \x01(\tB@\xe0\x41\x02\xfa\x41:\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12Q\n\nproperties\x18\x06 \x01(\x0b\x32\x38.google.cloud.oracledatabase.v1.CloudVmClusterPropertiesB\x03\xe0\x41\x01\x12O\n\x06labels\x18\x07 \x03(\x0b\x32:.google.cloud.oracledatabase.v1.CloudVmCluster.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x63idr\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x62\x61\x63kup_subnet_cidr\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x37\n\x07network\x18\x0b \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x1c\n\x0fgcp_oracle_zone\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x0bodb_network\x18\r \x01(\tB0\xe0\x41\x01\xfa\x41*\n(oracledatabase.googleapis.com/OdbNetwork\x12\x43\n\nodb_subnet\x18\x0e \x01(\tB/\xe0\x41\x01\xfa\x41)\n\'oracledatabase.googleapis.com/OdbSubnet\x12J\n\x11\x62\x61\x63kup_odb_subnet\x18\x0f \x01(\tB/\xe0\x41\x01\xfa\x41)\n\'oracledatabase.googleapis.com/OdbSubnet\x12R\n\x12identity_connector\x18\x10 \x01(\x0b\x32\x31.google.cloud.oracledatabase.v1.IdentityConnectorB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9f\x01\xea\x41\x9b\x01\n,oracledatabase.googleapis.com/CloudVmCluster\x12Jprojects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}*\x0f\x63loudVmClusters2\x0e\x63loudVmCluster\"\xe6\x0c\n\x18\x43loudVmClusterProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12_\n\x0clicense_type\x18\x02 \x01(\x0e\x32\x44.google.cloud.oracledatabase.v1.CloudVmClusterProperties.LicenseTypeB\x03\xe0\x41\x02\x12\x17\n\ngi_version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12-\n\ttime_zone\x18\x04 \x01(\x0b\x32\x15.google.type.TimeZoneB\x03\xe0\x41\x01\x12\x1c\n\x0fssh_public_keys\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\x17\n\nnode_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\x05shape\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nocpu_count\x18\x08 \x01(\x02\x42\x03\xe0\x41\x01\x12\x1b\n\x0ememory_size_gb\x18\t \x01(\x05\x42\x03\xe0\x41\x01\x12$\n\x17\x64\x62_node_storage_size_gb\x18\n \x01(\x05\x42\x03\xe0\x41\x01\x12\x1c\n\x0fstorage_size_gb\x18\x0b \x01(\x05\x42\x03\xe0\x41\x03\x12!\n\x14\x64\x61ta_storage_size_tb\x18\x0c \x01(\x01\x42\x03\xe0\x41\x01\x12\x65\n\x0f\x64isk_redundancy\x18\r \x01(\x0e\x32G.google.cloud.oracledatabase.v1.CloudVmClusterProperties.DiskRedundancyB\x03\xe0\x41\x01\x12%\n\x18sparse_diskgroup_enabled\x18\x0e \x01(\x08\x42\x03\xe0\x41\x01\x12!\n\x14local_backup_enabled\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0fhostname_prefix\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12g\n#diagnostics_data_collection_options\x18\x13 \x01(\x0b\x32\x35.google.cloud.oracledatabase.v1.DataCollectionOptionsB\x03\xe0\x41\x01\x12R\n\x05state\x18\x14 \x01(\x0e\x32>.google.cloud.oracledatabase.v1.CloudVmClusterProperties.StateB\x03\xe0\x41\x03\x12#\n\x16scan_listener_port_tcp\x18\x15 \x01(\x05\x42\x03\xe0\x41\x03\x12\'\n\x1ascan_listener_port_tcp_ssl\x18\x16 \x01(\x05\x42\x03\xe0\x41\x03\x12\x13\n\x06\x64omain\x18\x17 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08scan_dns\x18\x18 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08hostname\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0e\x63pu_core_count\x18\x1a \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0esystem_version\x18\x1b \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bscan_ip_ids\x18\x1c \x03(\tB\x03\xe0\x41\x03\x12\x1f\n\x12scan_dns_record_id\x18\x1d \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07oci_url\x18\x1e \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0f\x64\x62_server_ocids\x18\x1f \x03(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x63ompartment_id\x18 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0f\x64ns_listener_ip\x18# \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x63luster_name\x18$ \x01(\tB\x03\xe0\x41\x01\x12H\n\rcompute_model\x18% \x01(\x0e\x32,.google.cloud.oracledatabase.v1.ComputeModelB\x03\xe0\x41\x03\"]\n\x0bLicenseType\x12\x1c\n\x18LICENSE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10LICENSE_INCLUDED\x10\x01\x12\x1a\n\x16\x42RING_YOUR_OWN_LICENSE\x10\x02\"G\n\x0e\x44iskRedundancy\x12\x1f\n\x1b\x44ISK_REDUNDANCY_UNSPECIFIED\x10\x00\x12\x08\n\x04HIGH\x10\x01\x12\n\n\x06NORMAL\x10\x02\"\x97\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0f\n\x0bTERMINATING\x10\x04\x12\x0e\n\nTERMINATED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x1b\n\x17MAINTENANCE_IN_PROGRESS\x10\x07\"\x8c\x01\n\x15\x44\x61taCollectionOptions\x12\'\n\x1a\x64iagnostics_events_enabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12&\n\x19health_monitoring_enabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\"\n\x15incident_logs_enabled\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x42\xed\x01\n\"com.google.cloud.oracledatabase.v1B\x13\x43loudVmClusterProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" +descriptor_data = "\n/google/cloud/oracledatabase/v1/vm_cluster.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/oracledatabase/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/datetime.proto\"\x82\x08\n\x0e\x43loudVmCluster\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12`\n\x16\x65xadata_infrastructure\x18\x02 \x01(\tB@\xe0\x41\x02\xfa\x41:\n8oracledatabase.googleapis.com/CloudExadataInfrastructure\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12Q\n\nproperties\x18\x06 \x01(\x0b\x32\x38.google.cloud.oracledatabase.v1.CloudVmClusterPropertiesB\x03\xe0\x41\x01\x12O\n\x06labels\x18\x07 \x03(\x0b\x32:.google.cloud.oracledatabase.v1.CloudVmCluster.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x63idr\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x62\x61\x63kup_subnet_cidr\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x37\n\x07network\x18\x0b \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x1c\n\x0fgcp_oracle_zone\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x0bodb_network\x18\r \x01(\tB0\xe0\x41\x01\xfa\x41*\n(oracledatabase.googleapis.com/OdbNetwork\x12\x43\n\nodb_subnet\x18\x0e \x01(\tB/\xe0\x41\x01\xfa\x41)\n\'oracledatabase.googleapis.com/OdbSubnet\x12J\n\x11\x62\x61\x63kup_odb_subnet\x18\x0f \x01(\tB/\xe0\x41\x01\xfa\x41)\n\'oracledatabase.googleapis.com/OdbSubnet\x12R\n\x12identity_connector\x18\x10 \x01(\x0b\x32\x31.google.cloud.oracledatabase.v1.IdentityConnectorB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9f\x01\xea\x41\x9b\x01\n,oracledatabase.googleapis.com/CloudVmCluster\x12Jprojects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}*\x0f\x63loudVmClusters2\x0e\x63loudVmCluster\"\xe6\x0c\n\x18\x43loudVmClusterProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12_\n\x0clicense_type\x18\x02 \x01(\x0e\x32\x44.google.cloud.oracledatabase.v1.CloudVmClusterProperties.LicenseTypeB\x03\xe0\x41\x02\x12\x17\n\ngi_version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12-\n\ttime_zone\x18\x04 \x01(\x0b\x32\x15.google.type.TimeZoneB\x03\xe0\x41\x01\x12\x1c\n\x0fssh_public_keys\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\x17\n\nnode_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\x05shape\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nocpu_count\x18\x08 \x01(\x02\x42\x03\xe0\x41\x01\x12\x1b\n\x0ememory_size_gb\x18\t \x01(\x05\x42\x03\xe0\x41\x01\x12$\n\x17\x64\x62_node_storage_size_gb\x18\n \x01(\x05\x42\x03\xe0\x41\x01\x12\x1c\n\x0fstorage_size_gb\x18\x0b \x01(\x05\x42\x03\xe0\x41\x03\x12!\n\x14\x64\x61ta_storage_size_tb\x18\x0c \x01(\x01\x42\x03\xe0\x41\x01\x12\x65\n\x0f\x64isk_redundancy\x18\r \x01(\x0e\x32G.google.cloud.oracledatabase.v1.CloudVmClusterProperties.DiskRedundancyB\x03\xe0\x41\x01\x12%\n\x18sparse_diskgroup_enabled\x18\x0e \x01(\x08\x42\x03\xe0\x41\x01\x12!\n\x14local_backup_enabled\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0fhostname_prefix\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12g\n#diagnostics_data_collection_options\x18\x13 \x01(\x0b\x32\x35.google.cloud.oracledatabase.v1.DataCollectionOptionsB\x03\xe0\x41\x01\x12R\n\x05state\x18\x14 \x01(\x0e\x32>.google.cloud.oracledatabase.v1.CloudVmClusterProperties.StateB\x03\xe0\x41\x03\x12#\n\x16scan_listener_port_tcp\x18\x15 \x01(\x05\x42\x03\xe0\x41\x01\x12\'\n\x1ascan_listener_port_tcp_ssl\x18\x16 \x01(\x05\x42\x03\xe0\x41\x01\x12\x13\n\x06\x64omain\x18\x17 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08scan_dns\x18\x18 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08hostname\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0e\x63pu_core_count\x18\x1a \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0esystem_version\x18\x1b \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bscan_ip_ids\x18\x1c \x03(\tB\x03\xe0\x41\x03\x12\x1f\n\x12scan_dns_record_id\x18\x1d \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07oci_url\x18\x1e \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0f\x64\x62_server_ocids\x18\x1f \x03(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x63ompartment_id\x18 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0f\x64ns_listener_ip\x18# \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x63luster_name\x18$ \x01(\tB\x03\xe0\x41\x01\x12H\n\rcompute_model\x18% \x01(\x0e\x32,.google.cloud.oracledatabase.v1.ComputeModelB\x03\xe0\x41\x03\"]\n\x0bLicenseType\x12\x1c\n\x18LICENSE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10LICENSE_INCLUDED\x10\x01\x12\x1a\n\x16\x42RING_YOUR_OWN_LICENSE\x10\x02\"G\n\x0e\x44iskRedundancy\x12\x1f\n\x1b\x44ISK_REDUNDANCY_UNSPECIFIED\x10\x00\x12\x08\n\x04HIGH\x10\x01\x12\n\n\x06NORMAL\x10\x02\"\x97\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0f\n\x0bTERMINATING\x10\x04\x12\x0e\n\nTERMINATED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x1b\n\x17MAINTENANCE_IN_PROGRESS\x10\x07\"\x8c\x01\n\x15\x44\x61taCollectionOptions\x12\'\n\x1a\x64iagnostics_events_enabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12&\n\x19health_monitoring_enabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\"\n\x15incident_logs_enabled\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x42\xed\x01\n\"com.google.cloud.oracledatabase.v1B\x13\x43loudVmClusterProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/google-cloud-oracle_database-v1/proto_docs/google/api/client.rb b/google-cloud-oracle_database-v1/proto_docs/google/api/client.rb index a8b1b06d1cad..c58739e32368 100644 --- a/google-cloud-oracle_database-v1/proto_docs/google/api/client.rb +++ b/google-cloud-oracle_database-v1/proto_docs/google/api/client.rb @@ -31,6 +31,8 @@ module Api # @!attribute [rw] selective_gapic_generation # @return [::Google::Api::SelectiveGapicGeneration] # Configuration for which RPCs should be generated in the GAPIC client. + # + # Note: This field should not be used in most cases. class CommonLanguageSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods @@ -441,6 +443,8 @@ class LongRunning # This message is used to configure the generation of a subset of the RPCs in # a service for client libraries. + # + # Note: This feature should not be used in most cases. # @!attribute [rw] methods # @return [::Array<::String>] # An allowlist of the fully qualified names of RPCs that should be included diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb index ced3720bc476..2ca5b80a04f9 100644 --- a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb @@ -30,20 +30,28 @@ module V1 # projects/\\{project}/locations/\\{region}/autonomousDatabases/\\{autonomous_database} # @!attribute [rw] database # @return [::String] - # Optional. The name of the Autonomous Database. The database name must be - # unique in the project. The name must begin with a letter and can contain a - # maximum of 30 alphanumeric characters. + # Optional. Immutable. The name of the Autonomous Database. The database name + # must be unique in the project. The name must begin with a letter and can + # contain a maximum of 30 alphanumeric characters. # @!attribute [rw] display_name # @return [::String] - # Optional. The display name for the Autonomous Database. The name does not - # have to be unique within your project. + # Optional. Immutable. The display name for the Autonomous Database. The name + # does not have to be unique within your project. # @!attribute [r] entitlement_id # @return [::String] # Output only. The ID of the subscription entitlement associated with the # Autonomous Database. # @!attribute [rw] admin_password # @return [::String] - # Optional. The password for the default ADMIN user. + # Optional. Immutable. The password for the default ADMIN user. + # Note: Only one of `admin_password_secret_version` or `admin_password` can + # be populated. + # @!attribute [rw] admin_password_secret_version + # @return [::String] + # Optional. Immutable. The resource name of a secret version in Secret + # Manager which contains the database admin user's password. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. Note: Only one of + # `admin_password_secret_version` or `admin_password` can be populated. # @!attribute [rw] properties # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties] # Optional. The properties of the Autonomous Database. @@ -52,28 +60,30 @@ module V1 # Optional. The labels or tags associated with the Autonomous Database. # @!attribute [rw] network # @return [::String] - # Optional. The name of the VPC network used by the Autonomous Database in - # the following format: projects/\\{project}/global/networks/\\{network} + # Optional. Immutable. The name of the VPC network used by the Autonomous + # Database in the following format: + # projects/\\{project}/global/networks/\\{network} # @!attribute [rw] cidr # @return [::String] - # Optional. The subnet CIDR range for the Autonomous Database. + # Optional. Immutable. The subnet CIDR range for the Autonomous Database. # @!attribute [rw] odb_network # @return [::String] - # Optional. The name of the OdbNetwork associated with the Autonomous - # Database. Format: + # Optional. Immutable. The name of the OdbNetwork associated with the + # Autonomous Database. Format: # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network} It is # optional but if specified, this should match the parent ODBNetwork of the # OdbSubnet. # @!attribute [rw] odb_subnet # @return [::String] - # Optional. The name of the OdbSubnet associated with the Autonomous - # Database. Format: + # Optional. Immutable. The name of the OdbSubnet associated with the + # Autonomous Database. Format: # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network}/odbSubnets/\\{odb_subnet} # @!attribute [rw] source_config # @return [::Google::Cloud::OracleDatabase::V1::SourceConfig] - # Optional. The source Autonomous Database configuration for the standby - # Autonomous Database. The source Autonomous Database is configured while - # creating the Peer Autonomous Database and can't be updated after creation. + # Optional. Immutable. The source Autonomous Database configuration for the + # standby Autonomous Database. The source Autonomous Database is configured + # while creating the Peer Autonomous Database and can't be updated after + # creation. # @!attribute [r] peer_autonomous_databases # @return [::Array<::String>] # Output only. The peer Autonomous Database names of the given Autonomous @@ -120,71 +130,79 @@ class SourceConfig # https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle # @!attribute [rw] compute_count # @return [::Float] - # Optional. The number of compute servers for the Autonomous Database. + # Optional. Immutable. The number of compute servers for the Autonomous + # Database. # @!attribute [rw] cpu_core_count # @return [::Integer] - # Optional. The number of CPU cores to be made available to the database. + # Optional. Immutable. The number of CPU cores to be made available to the + # database. # @!attribute [rw] data_storage_size_tb # @return [::Integer] - # Optional. The size of the data stored in the database, in terabytes. + # Optional. Immutable. The size of the data stored in the database, in + # terabytes. # @!attribute [rw] data_storage_size_gb # @return [::Integer] - # Optional. The size of the data stored in the database, in gigabytes. + # Optional. Immutable. The size of the data stored in the database, in + # gigabytes. # @!attribute [rw] db_workload # @return [::Google::Cloud::OracleDatabase::V1::DBWorkload] - # Required. The workload type of the Autonomous Database. + # Required. Immutable. The workload type of the Autonomous Database. # @!attribute [rw] db_edition # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::DatabaseEdition] - # Optional. The edition of the Autonomous Databases. + # Optional. Immutable. The edition of the Autonomous Databases. # @!attribute [rw] character_set # @return [::String] - # Optional. The character set for the Autonomous Database. The default is - # AL32UTF8. + # Optional. Immutable. The character set for the Autonomous Database. The + # default is AL32UTF8. # @!attribute [rw] n_character_set # @return [::String] - # Optional. The national character set for the Autonomous Database. The - # default is AL16UTF16. + # Optional. Immutable. The national character set for the Autonomous + # Database. The default is AL16UTF16. # @!attribute [rw] private_endpoint_ip # @return [::String] - # Optional. The private endpoint IP address for the Autonomous Database. + # Optional. Immutable. The private endpoint IP address for the Autonomous + # Database. # @!attribute [rw] private_endpoint_label # @return [::String] - # Optional. The private endpoint label for the Autonomous Database. + # Optional. Immutable. The private endpoint label for the Autonomous + # Database. # @!attribute [rw] db_version # @return [::String] - # Optional. The Oracle Database version for the Autonomous Database. + # Optional. Immutable. The Oracle Database version for the Autonomous + # Database. # @!attribute [rw] is_auto_scaling_enabled # @return [::Boolean] - # Optional. This field indicates if auto scaling is enabled for the - # Autonomous Database CPU core count. + # Optional. Immutable. This field indicates if auto scaling is enabled for + # the Autonomous Database CPU core count. # @!attribute [rw] is_storage_auto_scaling_enabled # @return [::Boolean] - # Optional. This field indicates if auto scaling is enabled for the - # Autonomous Database storage. + # Optional. Immutable. This field indicates if auto scaling is enabled for + # the Autonomous Database storage. # @!attribute [rw] license_type # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::LicenseType] - # Required. The license type used for the Autonomous Database. + # Required. Immutable. The license type used for the Autonomous Database. # @!attribute [rw] customer_contacts # @return [::Array<::Google::Cloud::OracleDatabase::V1::CustomerContact>] - # Optional. The list of customer contacts. + # Optional. Immutable. The list of customer contacts. # @!attribute [rw] secret_id # @return [::String] - # Optional. The ID of the Oracle Cloud Infrastructure vault secret. + # Optional. Immutable. The ID of the Oracle Cloud Infrastructure vault + # secret. # @!attribute [rw] vault_id # @return [::String] - # Optional. The ID of the Oracle Cloud Infrastructure vault. + # Optional. Immutable. The ID of the Oracle Cloud Infrastructure vault. # @!attribute [rw] maintenance_schedule_type # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties::MaintenanceScheduleType] - # Optional. The maintenance schedule of the Autonomous Database. + # Optional. Immutable. The maintenance schedule of the Autonomous Database. # @!attribute [rw] mtls_connection_required # @return [::Boolean] - # Optional. This field specifies if the Autonomous Database requires mTLS - # connections. + # Optional. Immutable. This field specifies if the Autonomous Database + # requires mTLS connections. # @!attribute [rw] backup_retention_period_days # @return [::Integer] - # Optional. The retention period for the Autonomous Database. This field is - # specified in days, can range from 1 day to 60 days, and has a default value - # of 60 days. + # Optional. Immutable. The retention period for the Autonomous Database. This + # field is specified in days, can range from 1 day to 60 days, and has a + # default value of 60 days. # @!attribute [r] actual_used_data_storage_size_tb # @return [::Float] # Output only. The amount of storage currently being used for user and system @@ -236,13 +254,18 @@ class SourceConfig # Output only. The memory assigned to in-memory tables in an Autonomous # Database. # @!attribute [r] is_local_data_guard_enabled + # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::Boolean] - # Output only. This field indicates whether the Autonomous Database has local - # (in-region) Data Guard enabled. + # Output only. Deprecated: Please use `local_data_guard_enabled` instead. + # This field indicates whether the Autonomous Database has local (in-region) + # Data Guard enabled. # @!attribute [r] local_adg_auto_failover_max_data_loss_limit + # @deprecated This field is deprecated and may be removed in the next major version update. # @return [::Integer] - # Output only. This field indicates the maximum data loss limit for an - # Autonomous Database, in seconds. + # Output only. Deprecated: Please use + # `local_adg_auto_failover_max_data_loss_limit_duration` instead. + # This field indicates the maximum data loss limit for an Autonomous + # Database, in seconds. # @!attribute [r] local_standby_db # @return [::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseStandbySummary] # Output only. The details of the Autonomous Data Guard standby database. @@ -329,7 +352,8 @@ class SourceConfig # Output only. The date and time when maintenance will end. # @!attribute [rw] allowlisted_ips # @return [::Array<::String>] - # Optional. The list of allowlisted IP addresses for the Autonomous Database. + # Optional. Immutable. The list of allowlisted IP addresses for the + # Autonomous Database. # @!attribute [rw] encryption_key # @return [::Google::Cloud::OracleDatabase::V1::EncryptionKey] # Optional. The encryption key used to encrypt the Autonomous Database. @@ -343,6 +367,15 @@ class SourceConfig # @return [::String] # Output only. An Oracle-managed Google Cloud service account on which # customers can grant roles to access resources in the customer project. + # @!attribute [rw] local_data_guard_enabled + # @return [::Boolean] + # Optional. Indicates whether the Autonomous Database has a local (in-region) + # standby database. Not applicable to cross-region Data Guard or dedicated + # Exadata infrastructure. + # @!attribute [rw] local_adg_auto_failover_max_data_loss_limit_duration + # @return [::Integer] + # Optional. This field indicates the maximum data loss limit for an + # Autonomous Database, in seconds. class AutonomousDatabaseProperties include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods @@ -394,6 +427,9 @@ module LocalDisasterRecoveryType # Backup based recovery. BACKUP_BASED = 2 + + # Local disaster recovery is not available. + NOT_AVAILABLE = 3 end # Varies states of the Data Safe registration for the Autonomous Database. diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/database.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/database.rb index adcbf6090e58..dc2c6697835e 100644 --- a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/database.rb +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/database.rb @@ -37,10 +37,27 @@ module V1 # Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up. # @!attribute [rw] admin_password # @return [::String] - # Required. The password for the default ADMIN user. + # Optional. The password for the default ADMIN user. + # Note: Only one of `admin_password_secret_version` or `admin_password` can + # be populated. + # @!attribute [rw] admin_password_secret_version + # @return [::String] + # Optional. The resource name of a secret version in Secret Manager which + # contains the database admin user's password. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. Note: Only one of + # `admin_password_secret_version` or `admin_password` can be populated. # @!attribute [rw] tde_wallet_password # @return [::String] # Optional. The TDE wallet password for the database. + # Note: Only one of `tde_wallet_password_secret_version` or + # `tde_wallet_password` can be populated. + # @!attribute [rw] tde_wallet_password_secret_version + # @return [::String] + # Optional. The resource name of a secret version in Secret Manager which + # contains the TDE wallet password for the database. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. Note: Only one of + # `tde_wallet_password_secret_version` or `tde_wallet_password` can be + # populated. # @!attribute [rw] character_set # @return [::String] # Optional. The character set for the database. The default is AL32UTF8. @@ -70,6 +87,15 @@ module V1 # @!attribute [r] ops_insights_status # @return [::Google::Cloud::OracleDatabase::V1::Database::OperationsInsightsStatus] # Output only. The Status of Operations Insights for this Database. + # @!attribute [rw] pluggable_database_id + # @return [::String] + # Optional. The ID of the pluggable database associated with the Database. + # The ID must be unique within the project and location. + # @!attribute [rw] pluggable_database_name + # @return [::String] + # Optional. The pluggable database associated with the Database. The name + # must begin with an alphabetic character and can contain a maximum of thirty + # alphanumeric characters. class Database include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/db_system.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/db_system.rb index 2af2f8a42e45..a0ddb7359484 100644 --- a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/db_system.rb +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/db_system.rb @@ -248,7 +248,8 @@ module StorageManagement # The storage management is unspecified. STORAGE_MANAGEMENT_UNSPECIFIED = 0 - # Automatic storage management. + # Automatic storage management. This option is not supported. Only LVM is + # supported. ASM = 1 # Logical Volume management. @@ -371,6 +372,10 @@ class ListDbSystemsRequest # @!attribute [rw] next_page_token # @return [::String] # A token identifying a page of results the server should return. + # @!attribute [rw] unreachable + # @return [::Array<::String>] + # Unreachable locations when listing resources across all locations using + # wildcard location '-'. class ListDbSystemsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb index 92eea908bc1d..77be14deeb44 100644 --- a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb @@ -207,6 +207,10 @@ class ListExascaleDbStorageVaultsRequest # the next page token can be provided to a subsequent # ListExascaleDbStorageVaults call to list the next page. # If empty, there are no more pages. + # @!attribute [rw] unreachable + # @return [::Array<::String>] + # Unreachable locations when listing resources across all locations using + # wildcard location '-'. class ListExascaleDbStorageVaultsResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection.rb new file mode 100644 index 000000000000..656cd88eafb7 --- /dev/null +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection.rb @@ -0,0 +1,2238 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + + +module Google + module Cloud + module OracleDatabase + module V1 + # Details of the GoldengateConnection resource. + # @!attribute [rw] name + # @return [::String] + # Identifier. The name of the GoldengateConnection resource in the following + # format: + # projects/\\{project}/locations/\\{region}/goldengateConnections/\\{goldengate_connection} + # @!attribute [rw] properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionProperties] + # Required. The properties of the GoldengateConnection. + # @!attribute [rw] gcp_oracle_zone + # @return [::String] + # Optional. The GCP Oracle zone where Oracle GoldengateConnection is hosted. + # Example: us-east4-b-r2. + # If not specified, the system will pick a zone based on availability. + # @!attribute [rw] labels + # @return [::Google::Protobuf::Map{::String => ::String}] + # Optional. The labels or tags associated with the GoldengateConnection. + # @!attribute [rw] odb_network + # @return [::String] + # Optional. The name of the OdbNetwork associated with the + # GoldengateConnection. The format is + # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network}. + # It is optional but if specified, this should match the parent ODBNetwork + # of the OdbSubnet. + # @!attribute [rw] odb_subnet + # @return [::String] + # Optional. The name of the OdbSubnet associated with the + # GoldengateConnection for IP allocation. Format: + # projects/\\{project}/locations/\\{location}/odbNetworks/\\{odb_network}/odbSubnets/\\{odb_subnet} + # @!attribute [r] entitlement_id + # @return [::String] + # Output only. The ID of the subscription entitlement associated with the + # GoldengateConnection. + # @!attribute [r] create_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The date and time that the GoldengateConnection was created. + # @!attribute [r] oci_url + # @return [::String] + # Output only. HTTPS link to OCI resources exposed to Customer via UI + # Interface. + class GoldengateConnection + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # @!attribute [rw] key + # @return [::String] + # @!attribute [rw] value + # @return [::String] + class LabelsEntry + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + end + + # The properties of a GoldengateConnection. + # @!attribute [rw] oracle_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateOracleConnectionProperties] + # Properties for an Oracle Database Connection. + # + # Note: The following fields are mutually exclusive: `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] goldengate_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateGoldengateConnectionProperties] + # Properties for a Goldengate Connection. + # + # Note: The following fields are mutually exclusive: `goldengate_connection_properties`, `oracle_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] generic_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateGenericConnectionProperties] + # Properties for a Generic Connection. + # + # Note: The following fields are mutually exclusive: `generic_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] google_cloud_storage_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateGoogleCloudStorageConnectionProperties] + # Properties for a Google Cloud Storage Connection. + # + # Note: The following fields are mutually exclusive: `google_cloud_storage_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] google_big_query_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateGoogleBigQueryConnectionProperties] + # Properties for a Google BigQuery Connection. + # + # Note: The following fields are mutually exclusive: `google_big_query_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] mysql_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateMysqlConnectionProperties] + # Properties for a Mysql Connection. + # + # Note: The following fields are mutually exclusive: `mysql_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] kafka_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateKafkaConnectionProperties] + # Properties for a Kafka Connection. + # + # Note: The following fields are mutually exclusive: `kafka_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] kafka_schema_registry_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateKafkaSchemaRegistryConnectionProperties] + # Properties for a Kafka Schema Registry Connection. + # + # Note: The following fields are mutually exclusive: `kafka_schema_registry_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] oci_object_storage_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateOciObjectStorageConnectionProperties] + # Properties for an OCI Object Storage Connection. + # + # Note: The following fields are mutually exclusive: `oci_object_storage_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] azure_data_lake_storage_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateAzureDataLakeStorageConnectionProperties] + # Properties for an Azure Data Lake Storage Connection. + # + # Note: The following fields are mutually exclusive: `azure_data_lake_storage_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] azure_synapse_analytics_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateAzureSynapseAnalyticsConnectionProperties] + # Properties for an Azure Synapse Analytics connection. + # + # Note: The following fields are mutually exclusive: `azure_synapse_analytics_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] postgresql_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties] + # Properties for a PostgreSQL connection. + # + # Note: The following fields are mutually exclusive: `postgresql_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] microsoft_sqlserver_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateMicrosoftSqlserverConnectionProperties] + # Properties for a Microsoft SQL Server connection. + # + # Note: The following fields are mutually exclusive: `microsoft_sqlserver_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] amazon_s3_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateAmazonS3ConnectionProperties] + # Properties for an Amazon S3 connection. + # + # Note: The following fields are mutually exclusive: `amazon_s3_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] hdfs_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateHdfsConnectionProperties] + # Properties for an HDFS connection. + # + # Note: The following fields are mutually exclusive: `hdfs_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] java_message_service_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateJavaMessageServiceConnectionProperties] + # Properties for a Java Message Service connection. + # + # Note: The following fields are mutually exclusive: `java_message_service_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] mongodb_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateMongodbConnectionProperties] + # Properties for a MongoDB connection. + # + # Note: The following fields are mutually exclusive: `mongodb_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] oracle_nosql_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateOracleNosqlConnectionProperties] + # Properties for an Oracle NoSQL connection. + # + # Note: The following fields are mutually exclusive: `oracle_nosql_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] snowflake_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateSnowflakeConnectionProperties] + # Properties for a Snowflake connection. + # + # Note: The following fields are mutually exclusive: `snowflake_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] amazon_redshift_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateAmazonRedshiftConnectionProperties] + # Properties for an Amazon Redshift connection. + # + # Note: The following fields are mutually exclusive: `amazon_redshift_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] elasticsearch_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateElasticsearchConnectionProperties] + # Properties for an Elasticsearch connection. + # + # Note: The following fields are mutually exclusive: `elasticsearch_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] amazon_kinesis_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateAmazonKinesisConnectionProperties] + # Properties for an Amazon Kinesis connection. + # + # Note: The following fields are mutually exclusive: `amazon_kinesis_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] db2_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDb2ConnectionProperties] + # Properties for a DB2 connection. + # + # Note: The following fields are mutually exclusive: `db2_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] redis_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateRedisConnectionProperties] + # Properties for a Redis connection. + # + # Note: The following fields are mutually exclusive: `redis_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] databricks_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDatabricksConnectionProperties] + # Properties for a Databricks connection. + # + # Note: The following fields are mutually exclusive: `databricks_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] google_pubsub_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateGooglePubsubConnectionProperties] + # Properties for a Google Pub/Sub connection. + # + # Note: The following fields are mutually exclusive: `google_pubsub_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] microsoft_fabric_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateMicrosoftFabricConnectionProperties] + # Properties for a Microsoft Fabric connection. + # + # Note: The following fields are mutually exclusive: `microsoft_fabric_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `oracle_ai_data_platform_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] oracle_ai_data_platform_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateOracleAIDataPlatformConnectionProperties] + # Properties for an Oracle AI Data Platform connection. + # + # Note: The following fields are mutually exclusive: `oracle_ai_data_platform_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `iceberg_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] iceberg_connection_properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateIcebergConnectionProperties] + # Properties for an Iceberg connection. + # + # Note: The following fields are mutually exclusive: `iceberg_connection_properties`, `oracle_connection_properties`, `goldengate_connection_properties`, `generic_connection_properties`, `google_cloud_storage_connection_properties`, `google_big_query_connection_properties`, `mysql_connection_properties`, `kafka_connection_properties`, `kafka_schema_registry_connection_properties`, `oci_object_storage_connection_properties`, `azure_data_lake_storage_connection_properties`, `azure_synapse_analytics_connection_properties`, `postgresql_connection_properties`, `microsoft_sqlserver_connection_properties`, `amazon_s3_connection_properties`, `hdfs_connection_properties`, `java_message_service_connection_properties`, `mongodb_connection_properties`, `oracle_nosql_connection_properties`, `snowflake_connection_properties`, `amazon_redshift_connection_properties`, `elasticsearch_connection_properties`, `amazon_kinesis_connection_properties`, `db2_connection_properties`, `redis_connection_properties`, `databricks_connection_properties`, `google_pubsub_connection_properties`, `microsoft_fabric_connection_properties`, `oracle_ai_data_platform_connection_properties`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] connection_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionProperties::GoldengateConnectionType] + # Required. The connection type. + # @!attribute [r] ocid + # @return [::String] + # Output only. The [OCID] of the connection being + # referenced. + # @!attribute [rw] display_name + # @return [::String] + # Required. An object's Display Name. + # @!attribute [rw] description + # @return [::String] + # Optional. Metadata about this specific object. + # @!attribute [r] lifecycle_state + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionProperties::GoldengateConnectionLifecycleState] + # Output only. The lifecycle state of the connection. + # @!attribute [r] lifecycle_details + # @return [::String] + # Output only. Describes the object's current state in detail. For example, + # it can be used to provide actionable information for a resource in a Failed + # state. + # @!attribute [r] update_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The time the resource was last updated. + # @!attribute [rw] routing_method + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionProperties::GoldengateConnectionRoutingMethod] + # Optional. The routing method for the GoldengateConnection. + # @!attribute [r] ingress_ip_addresses + # @return [::Array<::String>] + # Output only. The Ingress IPs of the GoldengateConnection. + class GoldengateConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for Connection type. + module GoldengateConnectionType + # Connection type unspecified. + GOLDENGATE_CONNECTION_TYPE_UNSPECIFIED = 0 + + # Goldengate connection type. + GOLDENGATE = 1 + + # Kafka connection type. + KAFKA = 2 + + # Kafka schema registry connection type. + KAFKA_SCHEMA_REGISTRY = 3 + + # MySQL connection type. + MYSQL = 4 + + # Java message service connection type. + JAVA_MESSAGE_SERVICE = 5 + + # Microsoft SQL Server connection type. + MICROSOFT_SQLSERVER = 6 + + # OCI object storage connection type. + OCI_OBJECT_STORAGE = 7 + + # Oracle connection type. + ORACLE = 8 + + # Azure data lake storage connection type. + AZURE_DATA_LAKE_STORAGE = 9 + + # PostgreSQL connection type. + POSTGRESQL = 10 + + # Azure synapse analytics connection type. + AZURE_SYNAPSE_ANALYTICS = 11 + + # Snowflake connection type. + SNOWFLAKE = 12 + + # Amazon S3 connection type. + AMAZON_S3 = 13 + + # HDFS connection type. + HDFS = 14 + + # Oracle AI data platform connection type. + ORACLE_AI_DATA_PLATFORM = 15 + + # Oracle NoSQL connection type. + ORACLE_NOSQL = 16 + + # MongoDB connection type. + MONGODB = 17 + + # Amazon Kinesis connection type. + AMAZON_KINESIS = 18 + + # Amazon Redshift connection type. + AMAZON_REDSHIFT = 19 + + # DB2 connection type. + DB2 = 20 + + # Redis connection type. + REDIS = 21 + + # Elasticsearch connection type. + ELASTICSEARCH = 22 + + # Generic connection type. + GENERIC = 23 + + # Google Cloud Storage connection type. + GOOGLE_CLOUD_STORAGE = 24 + + # Google BigQuery connection type. + GOOGLE_BIGQUERY = 25 + + # Databricks connection type. + DATABRICKS = 26 + + # Google Pub/Sub connection type. + GOOGLE_PUBSUB = 27 + + # Microsoft Fabric connection type. + MICROSOFT_FABRIC = 28 + + # Iceberg connection type. + ICEBERG = 29 + end + + # Possible lifecycle states for connection. + module GoldengateConnectionLifecycleState + # Default unspecified value. + GOLDENGATE_CONNECTION_LIFECYCLE_STATE_UNSPECIFIED = 0 + + # Indicates that the resource is in provisioning state. + CREATING = 1 + + # Indicates that the resource is in active state. + ACTIVE = 2 + + # Indicates that the resource is in updating state. + UPDATING = 3 + + # Indicates that the resource is in deleting state. + DELETING = 4 + + # Indicates that the resource is in deleted state. + DELETED = 5 + + # Indicates that the resource is in failed state. + FAILED = 6 + end + + # The various routing methods of the GoldengateConnection. + module GoldengateConnectionRoutingMethod + # Default unspecified value. + GOLDENGATE_CONNECTION_ROUTING_METHOD_UNSPECIFIED = 0 + + # Network traffic flows from the assigned deployment's private endpoint + # through the deployment's subnet. + SHARED_DEPLOYMENT_ENDPOINT = 1 + + # A dedicated private endpoint is created in the target VCN subnet for + # the connection. + DEDICATED_ENDPOINT = 2 + end + end + + # The properties of Goldengate Oracle Database Connection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password Oracle Goldengate uses in plain text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password Oracle Goldengate uses. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type. + # @!attribute [rw] username + # @return [::String] + # Optional. The username Oracle Goldengate uses to connect. + # @!attribute [rw] authentication_mode + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateOracleConnectionProperties::OracleAuthenticationMode] + # Optional. Authentication mode. + # @!attribute [rw] connection_string + # @return [::String] + # Optional. Connect descriptor or Easy Connect Naming method used to connect + # to a database. + # @!attribute [rw] session_mode + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateOracleConnectionProperties::SessionMode] + # Optional. The mode of the database connection session to be established by + # the data client. + # @!attribute [rw] gcp_oracle_database_id + # @return [::String] + # Optional. Autonomous AI Database instance id of database in Oracle Database + # @ Google Cloud. If gcp_oracle_database_id is provided, connection_string + # must be empty. Format: + # projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database} + # @!attribute [rw] wallet_file + # @return [::String] + # Optional. The wallet contents Oracle Goldengate uses to make connections to + # a database. This attribute is expected to be base64 encoded. + class GoldengateOracleConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for Authentication mode. + module OracleAuthenticationMode + # Authentication mode not specified. + ORACLE_AUTHENTICATION_MODE_UNSPECIFIED = 0 + + # TLS authentication mode. + TLS = 1 + + # MTLS authentication mode. + MTLS = 2 + end + + # The various session modes of the GoldengateConnection. + module SessionMode + # Default unspecified value. + SESSION_MODE_UNSPECIFIED = 0 + + # Indicates that the resource is using direct session mode. + DIRECT = 1 + + # Indicates that the resource is using redirect session mode. + REDIRECT = 2 + end + end + + # The properties of GoldengateGoldengateConnectionProperties. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password used to connect to the Oracle + # Goldengate in plain text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password used to connect to the Oracle + # Goldengate. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type. + # @!attribute [rw] goldengate_deployment_id + # @return [::String] + # Optional. The name of the GoldengateDeployment associated with the + # GoldengateConnection. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment} + # @!attribute [rw] host + # @return [::String] + # Optional. The host of the GoldengateConnection. + # @!attribute [rw] port + # @return [::Integer] + # Optional. The port of the GoldengateConnection. + # @!attribute [rw] username + # @return [::String] + # Optional. The username credential. + class GoldengateGoldengateConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The properties of GoldengateGenericConnectionProperties. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type. + # @!attribute [rw] host + # @return [::String] + # Optional. The host of the GenericConnection. + class GoldengateGenericConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The properties of GoldengateGoogleCloudStorageConnectionProperties. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type. + # @!attribute [rw] service_account_key_file + # @return [::String] + # Optional. The base64 encoded content of the service account key file + # containing the credentials required to use Google Cloud Storage. + class GoldengateGoogleCloudStorageConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The properties of GoldengateGoogleBigQueryConnectionProperties. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type. + # @!attribute [rw] service_account_key_file + # @return [::String] + # Optional. The base64 encoded content of the service account key file + # containing the credentials required to use Google BigQuery. + class GoldengateGoogleBigQueryConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Properties of GoldengateMysqlConnection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password Oracle Goldengate uses to connect to + # MySQL in plain text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password Oracle Goldengate uses to connect to + # MySQL. Format: projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of MysqlConnection. + # @!attribute [rw] username + # @return [::String] + # Optional. The username Oracle Goldengate uses to connect the associated + # system of the given technology. + # @!attribute [rw] host + # @return [::String] + # Optional. The name or address of a host. + # @!attribute [rw] port + # @return [::Integer] + # Optional. The port of an endpoint usually specified for a connection. + # @!attribute [rw] database + # @return [::String] + # Optional. The name of the database. + # @!attribute [rw] security_protocol + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateMysqlConnectionProperties::MysqlSecurityProtocol] + # Optional. Security Type for MySQL. + # @!attribute [rw] ssl_mode + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateMysqlConnectionProperties::SSLMode] + # Optional. SSL modes for MySQL. + # @!attribute [rw] ssl_ca_file + # @return [::String] + # Optional. Database Certificate - The base64 encoded content of a .pem or + # .crt file containing the server public key (for 1 and 2-way SSL). + # @!attribute [rw] ssl_crl_file + # @return [::String] + # Optional. The base64 encoded list of certificates revoked by the trusted + # certificate authorities (Trusted CA). + # @!attribute [rw] ssl_cert_file + # @return [::String] + # Optional. Client Certificate - The base64 encoded content of a .pem or .crt + # file containing the client public key (for 2-way SSL). + # @!attribute [rw] ssl_key_file + # @return [::String] + # Optional. Client Key - The base64 encoded content of a .pem or .crt file + # containing the client private key (for 2-way SSL). + # @!attribute [rw] additional_attributes + # @return [::Array<::Google::Cloud::OracleDatabase::V1::NameValuePair>] + # Optional. An array of name-value pair attribute entries. + # Used as additional parameters in connection string. + # @!attribute [rw] db_system_id + # @return [::String] + # Optional. The OCID of the database system being referenced. + class GoldengateMysqlConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for Security Type for MySQL. + module MysqlSecurityProtocol + # Security type not specified. + MYSQL_SECURITY_PROTOCOL_UNSPECIFIED = 0 + + # Plain text communication. + PLAIN = 1 + + # Transport Layer Security. + TLS = 2 + + # Mutual Transport Layer Security. + MTLS = 3 + end + + # Enum for SSL modes for MySQL. + module SSLMode + # SSL mode not specified. + SSL_MODE_UNSPECIFIED = 0 + + # SSL is disabled. + DISABLED = 1 + + # SSL is preferred. + PREFERRED = 2 + + # SSL is required. + REQUIRED = 3 + + # SSL is required and certificate is verified. + VERIFY_CA = 4 + + # SSL is required and certificate and hostname are verified. + VERIFY_IDENTITY = 5 + end + end + + # The properties of GoldengateKafkaConnection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password for Kafka basic/SASL auth in plain + # text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password for Kafka basic/SASL auth. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] trust_store_password + # @return [::String] + # Optional. Input only. The TrustStore password in plain text. + # + # Note: The following fields are mutually exclusive: `trust_store_password`, `trust_store_password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] trust_store_password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the TrustStore password. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `trust_store_password_secret_version`, `trust_store_password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] key_store_password + # @return [::String] + # Optional. Input only. The KeyStore password in plain text. + # + # Note: The following fields are mutually exclusive: `key_store_password`, `key_store_password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] key_store_password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the KeyStore password. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `key_store_password_secret_version`, `key_store_password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] ssl_key_password + # @return [::String] + # Optional. Input only. The password for the cert inside of the KeyStore in + # plain text. + # + # Note: The following fields are mutually exclusive: `ssl_key_password`, `ssl_key_password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] ssl_key_password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password for the cert inside of the KeyStore. + # Format: projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `ssl_key_password_secret_version`, `ssl_key_password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of KafkaConnection. + # @!attribute [rw] stream_pool_id + # @return [::String] + # Optional. The OCID of the stream pool being referenced. + # @!attribute [rw] cluster_id + # @return [::String] + # Optional. The OCID of the Kafka cluster being referenced from OCI Streaming + # with Apache Kafka. + # @!attribute [rw] bootstrap_servers + # @return [::Array<::Google::Cloud::OracleDatabase::V1::KafkaBootstrapServer>] + # Optional. Kafka bootstrap. Equivalent of bootstrap.servers configuration + # property in Kafka: list of KafkaBootstrapServer objects specified by + # host/port. Used for establishing the initial connection to the Kafka + # cluster. Example: "server1.example.com:9092,server2.example.com:9092" + # @!attribute [rw] security_protocol + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateKafkaConnectionProperties::KafkaSecurityProtocol] + # Optional. Security Type for Kafka. + # @!attribute [rw] username + # @return [::String] + # Optional. The username Oracle Goldengate uses to connect the associated + # system of the given technology. + # @!attribute [rw] trust_store_file + # @return [::String] + # Optional. The base64 encoded content of the TrustStore file. + # @!attribute [rw] key_store_file + # @return [::String] + # Optional. The base64 encoded content of the KeyStore file. + # @!attribute [rw] consumer_properties_file + # @return [::String] + # Optional. The base64 encoded content of the consumer.properties file. + # @!attribute [rw] producer_properties_file + # @return [::String] + # Optional. The base64 encoded content of the producer.properties file. + # @!attribute [rw] use_resource_principal + # @return [::Boolean] + # Optional. Specifies that the user intends to authenticate to the instance + # using a resource principal. Applicable only for OCI Streaming connections. + class GoldengateKafkaConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for Security Type for Kafka. + module KafkaSecurityProtocol + # Security type not specified. + KAFKA_SECURITY_PROTOCOL_UNSPECIFIED = 0 + + # SSL security protocol. + SSL = 1 + + # SASL SSL security protocol. + SASL_SSL = 2 + + # Plaintext security protocol. + PLAINTEXT = 3 + + # SASL Plaintext security protocol. + SASL_PLAINTEXT = 4 + end + end + + # The properties of GoldengateKafkaSchemaRegistryConnection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password to access Schema Registry in plain + # text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password to access Schema Registry using basic + # authentication. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] trust_store_password + # @return [::String] + # Optional. Input only. The TrustStore password in plain text. + # + # Note: The following fields are mutually exclusive: `trust_store_password`, `trust_store_password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] trust_store_password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the TrustStore password. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `trust_store_password_secret_version`, `trust_store_password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] key_store_password + # @return [::String] + # Optional. Input only. The KeyStore password in plain text. + # + # Note: The following fields are mutually exclusive: `key_store_password`, `key_store_password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] key_store_password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the KeyStore password. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `key_store_password_secret_version`, `key_store_password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] ssl_key_password + # @return [::String] + # Optional. Input only. The password for the cert inside the KeyStore in + # plain text. + # + # Note: The following fields are mutually exclusive: `ssl_key_password`, `ssl_key_password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] ssl_key_password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password for the cert inside the KeyStore. + # Format: projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `ssl_key_password_secret_version`, `ssl_key_password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of KafkaSchemaRegistryConnection. + # @!attribute [rw] url + # @return [::String] + # Optional. Kafka Schema Registry URL. + # e.g.: 'https://server1.us.oracle.com:8081' + # @!attribute [rw] authentication_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateKafkaSchemaRegistryConnectionProperties::AuthenticationType] + # Optional. Used authentication mechanism to access Schema Registry. + # @!attribute [rw] username + # @return [::String] + # Optional. The username to access Schema Registry using basic + # authentication. This value is injected into + # 'schema.registry.basic.auth.user.info=user:password' configuration + # property. + # @!attribute [rw] trust_store_file + # @return [::String] + # Optional. The base64 encoded content of the TrustStore file. + # @!attribute [rw] key_store_file + # @return [::String] + # Optional. The base64 encoded content of the KeyStore file. + class GoldengateKafkaSchemaRegistryConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for authentication mechanism to access Schema Registry. + module AuthenticationType + # Authentication type not specified. + AUTHENTICATION_TYPE_UNSPECIFIED = 0 + + # No authentication. + NONE = 1 + + # Basic authentication. + BASIC = 2 + + # Mutual authentication. + MUTUAL = 3 + end + end + + # The properties of GoldengateOciObjectStorageConnection. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of OciObjectStorageConnection. + # @!attribute [rw] tenancy_id + # @return [::String] + # Optional. The OCID of the related OCI tenancy. + # @!attribute [rw] region + # @return [::String] + # Optional. The name of the region of OCI Object Storage. e.g.: us-ashburn-1 + # If the region is not provided, backend will default to the default region. + # @!attribute [rw] user_id + # @return [::String] + # Optional. The OCID of the OCI user who will access the Object Storage. + # The user must have write access to the bucket they want to connect to. + # @!attribute [rw] private_key_file + # @return [::String] + # Optional. The content of the private key file (PEM file) + # corresponding to the API key of the fingerprint. + # @!attribute [rw] private_key_passphrase_secret + # @return [::String] + # Optional. The passphrase of the private key. + # @!attribute [rw] public_key_fingerprint + # @return [::String] + # Optional. The fingerprint of the API Key of the user specified by the + # userId. + # @!attribute [rw] use_resource_principal + # @return [::Boolean] + # Optional. Specifies that the user intends to authenticate to the instance + # using a resource principal. + class GoldengateOciObjectStorageConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The properties of GoldengateAzureDataLakeStorageConnection. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of AzureDataLakeStorageConnection. + # @!attribute [rw] authentication_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateAzureDataLakeStorageConnectionProperties::AuthenticationType] + # Optional. Authentication mechanism to access Azure Data Lake Storage. + # @!attribute [rw] account + # @return [::String] + # Optional. Sets the Azure storage account name. + # @!attribute [rw] account_key_secret + # @return [::String] + # Optional. Azure storage account key. This property is required when + # 'authentication_type' is set to 'SHARED_KEY'. + # @!attribute [rw] sas_token_secret + # @return [::String] + # Optional. Credential that uses a shared access signature (SAS) to + # authenticate to an Azure Service. + # @!attribute [rw] azure_tenant_id + # @return [::String] + # Optional. Azure tenant ID of the application. This property is required + # when 'authentication_type' is set to 'AZURE_ACTIVE_DIRECTORY'. + # @!attribute [rw] client_id + # @return [::String] + # Optional. Azure client ID of the application. This property is required + # when 'authentication_type' is set to 'AZURE_ACTIVE_DIRECTORY'. + # @!attribute [rw] client_secret + # @return [::String] + # Optional. Azure client secret (aka application password) for + # authentication. + # @!attribute [rw] endpoint + # @return [::String] + # Optional. Azure Storage service endpoint. + # e.g: https://test.blob.core.windows.net + # @!attribute [rw] azure_authority_host + # @return [::String] + # Optional. The endpoint used for authentication with Microsoft Entra ID + # (formerly Azure Active Directory). Default value: + # https://login.microsoftonline.com + class GoldengateAzureDataLakeStorageConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for authentication mechanism to access Azure Data Lake Storage. + module AuthenticationType + # Authentication type not specified. + AUTHENTICATION_TYPE_UNSPECIFIED = 0 + + # Shared key authentication. + SHARED_KEY = 1 + + # Shared access signature authentication. + SHARED_ACCESS_SIGNATURE = 2 + + # Azure active directory authentication. + AZURE_ACTIVE_DIRECTORY = 3 + end + end + + # The properties of GoldengateAzureSynapseAnalyticsConnection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password Oracle Goldengate uses for Azure + # Synapse Analytics connection in plain text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password Oracle Goldengate uses for Azure + # Synapse Analytics connection. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of AzureSynapseAnalyticsConnection. + # @!attribute [rw] connection_string + # @return [::String] + # Optional. JDBC connection string. + # e.g.: + # 'jdbc:sqlserver://.sql.azuresynapse.net:1433;database=;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.sql.azuresynapse.net;loginTimeout=300;' + # @!attribute [rw] username + # @return [::String] + # Optional. The username Oracle Goldengate uses to connect the associated + # system of the given technology. + class GoldengateAzureSynapseAnalyticsConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The properties of GoldengatePostgresqlConnection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password Oracle Goldengate uses for PostgreSQL + # connection in plain text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password Oracle Goldengate uses for PostgreSQL + # connection. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of PostgresqlConnection. + # @!attribute [rw] database + # @return [::String] + # Optional. The name of the database. + # @!attribute [rw] host + # @return [::String] + # Optional. The name or address of a host. + # @!attribute [rw] port + # @return [::Integer] + # Optional. The port of an endpoint usually specified for a connection. + # @!attribute [rw] username + # @return [::String] + # Optional. The username Oracle Goldengate uses to connect the associated + # system of the given technology. + # @!attribute [rw] additional_attributes + # @return [::Array<::Google::Cloud::OracleDatabase::V1::NameValuePair>] + # Optional. An array of name-value pair attribute entries. + # Used as additional parameters in connection string. + # @!attribute [rw] security_protocol + # @return [::Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties::PostgresqlSecurityProtocol] + # Optional. Security protocol for PostgreSQL. + # @!attribute [rw] ssl_mode + # @return [::Google::Cloud::OracleDatabase::V1::GoldengatePostgresqlConnectionProperties::PostgresqlSslMode] + # Optional. SSL modes for PostgreSQL. + # @!attribute [rw] ssl_ca_file + # @return [::String] + # Optional. The base64 encoded certificate of the trusted certificate + # authorities (Trusted CA) for PostgreSQL. + # @!attribute [rw] ssl_crl_file + # @return [::String] + # Optional. The base64 encoded list of certificates revoked by the trusted + # certificate authorities (Trusted CA). + # @!attribute [rw] ssl_cert_file + # @return [::String] + # Optional. The base64 encoded certificate of the PostgreSQL server. + # @!attribute [rw] ssl_key_file + # @return [::String] + # Optional. The base64 encoded private key of the PostgreSQL server. + # @!attribute [rw] db_system_id + # @return [::String] + # Optional. The OCID of the database system being referenced. + class GoldengatePostgresqlConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for Security protocol for PostgreSQL. + module PostgresqlSecurityProtocol + # Security protocol not specified. + POSTGRESQL_SECURITY_PROTOCOL_UNSPECIFIED = 0 + + # Plain text communication. + PLAIN = 1 + + # Transport Layer Security. + TLS = 2 + + # Mutual Transport Layer Security. + MTLS = 3 + end + + # Enum for SSL modes for PostgreSQL. + module PostgresqlSslMode + # SSL mode not specified. + POSTGRESQL_SSL_MODE_UNSPECIFIED = 0 + + # Prefer SSL. + PREFER = 1 + + # Require SSL. + REQUIRE = 2 + + # Verify Certificate Authority. + VERIFY_CA = 3 + + # Verify Full. + VERIFY_FULL = 4 + end + end + + # The properties of GoldengateMicrosoftSqlserverConnection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password Oracle Goldengate uses for Microsoft + # SQL Server connection in plain text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password Oracle Goldengate uses for Microsoft + # SQL Server connection. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of MicrosoftSqlserverConnection. + # @!attribute [rw] database + # @return [::String] + # Optional. The name of the database. + # @!attribute [rw] host + # @return [::String] + # Optional. The name or address of a host. + # @!attribute [rw] port + # @return [::Integer] + # Optional. The port of an endpoint usually specified for a connection. + # @!attribute [rw] username + # @return [::String] + # Optional. The username Oracle Goldengate uses to connect to the Microsoft + # SQL Server. + # @!attribute [rw] additional_attributes + # @return [::Array<::Google::Cloud::OracleDatabase::V1::NameValuePair>] + # Optional. An array of name-value pair attribute entries. + # Used as additional parameters in connection string. + # @!attribute [rw] security_protocol + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateMicrosoftSqlserverConnectionProperties::MicrosoftSqlserverSecurityProtocol] + # Optional. Security Type for Microsoft SQL Server. + # @!attribute [rw] ssl_ca_file + # @return [::String] + # Optional. Database Certificate - The base64 encoded content of a .pem or + # .crt file containing the server public key (for 1-way SSL). + # @!attribute [rw] server_certificate_validation_required + # @return [::Boolean] + # Optional. If set to true, the driver validates the certificate that is sent + # by the database server. + class GoldengateMicrosoftSqlserverConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for Security Type for Microsoft SQL Server. + module MicrosoftSqlserverSecurityProtocol + # Security type not specified. + MICROSOFT_SQLSERVER_SECURITY_PROTOCOL_UNSPECIFIED = 0 + + # Plain text communication. + PLAIN = 1 + + # Transport Layer Security. + TLS = 2 + end + end + + # The properties of GoldengateAmazonS3Connection. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of AmazonS3Connection. + # @!attribute [rw] access_key_id + # @return [::String] + # Optional. Access key ID to access the Amazon S3 bucket. + # @!attribute [rw] secret_access_key_secret + # @return [::String] + # Optional. Secret access key to access the Amazon S3 bucket. + # @!attribute [rw] endpoint + # @return [::String] + # Optional. The Amazon Endpoint for S3. + # @!attribute [rw] region + # @return [::String] + # Optional. The name of the AWS region where the bucket is created. + class GoldengateAmazonS3ConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The properties of GoldengateHdfsConnection. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of HdfsConnection. + # @!attribute [rw] core_site_xml + # @return [::String] + # Optional. The content of the Hadoop Distributed File System + # configuration file (core-site.xml). + class GoldengateHdfsConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The properties of GoldengateJavaMessageServiceConnection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password Oracle Goldengate uses to connect the + # Java Message Service in plain text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password Oracle Goldengate uses to connect the + # associated Java Message Service. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] trust_store_password + # @return [::String] + # Optional. Input only. The TrustStore password in plain text. + # + # Note: The following fields are mutually exclusive: `trust_store_password`, `trust_store_password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] trust_store_password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the TrustStore password. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `trust_store_password_secret_version`, `trust_store_password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] key_store_password + # @return [::String] + # Optional. Input only. The KeyStore password in plain text. + # + # Note: The following fields are mutually exclusive: `key_store_password`, `key_store_password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] key_store_password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the KeyStore password. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `key_store_password_secret_version`, `key_store_password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] ssl_key_password + # @return [::String] + # Optional. Input only. The password for the cert inside of the KeyStore in + # plain text. + # + # Note: The following fields are mutually exclusive: `ssl_key_password`, `ssl_key_password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] ssl_key_password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password for the cert inside of the KeyStore. + # Format: projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `ssl_key_password_secret_version`, `ssl_key_password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of JavaMessageServiceConnection. + # @!attribute [rw] use_jndi + # @return [::Boolean] + # Optional. If set to true, Java Naming and Directory Interface (JNDI) + # properties should be provided. + # @!attribute [rw] jndi_connection_factory + # @return [::String] + # Optional. The Connection Factory can be looked up using this name. + # e.g.: 'ConnectionFactory' + # @!attribute [rw] jndi_provider_url + # @return [::String] + # Optional. The URL that Java Message Service will use to contact the JNDI + # provider. e.g.: 'tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000' + # @!attribute [rw] jndi_initial_context_factory + # @return [::String] + # Optional. The implementation of javax.naming.spi.InitialContextFactory + # interface used to obtain initial naming context. + # @!attribute [rw] jndi_security_principal + # @return [::String] + # Optional. Specifies the identity of the principal (user) to be + # authenticated. + # @!attribute [rw] jndi_security_credentials_secret + # @return [::String] + # Optional. The password associated to the principal. + # @!attribute [rw] connection_url + # @return [::String] + # Optional. Connection URL of the Java Message Service, specifying the + # protocol, host, and port. e.g.: 'mq://myjms.host.domain:7676' + # @!attribute [rw] connection_factory + # @return [::String] + # Optional. The Java class implementing javax.jms.ConnectionFactory interface + # supplied by the JMS provider. + # @!attribute [rw] username + # @return [::String] + # Optional. The username Oracle Goldengate uses to connect to the Java + # Message Service. + # @!attribute [rw] security_protocol + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateJavaMessageServiceConnectionProperties::JmsSecurityProtocol] + # Optional. Security protocol for Java Message Service. + # @!attribute [rw] authentication_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateJavaMessageServiceConnectionProperties::JmsAuthenticationType] + # Optional. Authentication type for Java Message Service. + # @!attribute [rw] trust_store_file + # @return [::String] + # Optional. The base64 encoded content of the TrustStore file. + # @!attribute [rw] key_store_file + # @return [::String] + # Optional. The base64 encoded content of the KeyStore file. + class GoldengateJavaMessageServiceConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for Security protocol for Java Message Service. + module JmsSecurityProtocol + # Security protocol not specified. + JMS_SECURITY_PROTOCOL_UNSPECIFIED = 0 + + # Plain text communication. + PLAIN = 1 + + # Transport Layer Security. + TLS = 2 + + # Mutual Transport Layer Security. + MTLS = 3 + end + + # Enum for Authentication type for Java Message Service. + module JmsAuthenticationType + # Authentication type not specified. + JMS_AUTHENTICATION_TYPE_UNSPECIFIED = 0 + + # No authentication. + NONE = 1 + + # Basic authentication. + BASIC = 2 + end + end + + # The properties of GoldengateMongodbConnection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password Oracle Goldengate uses to connect the + # Mongodb connection in plain text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password Oracle Goldengate uses to connect the + # Mongodb connection. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] tls_certificate_key_file_password + # @return [::String] + # Optional. Input only. The Client Certificate key file password in plain + # text. + # + # Note: The following fields are mutually exclusive: `tls_certificate_key_file_password`, `tls_certificate_key_file_password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] tls_certificate_key_file_password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the Client Certificate key file password in Secret + # Manager. Format: projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `tls_certificate_key_file_password_secret_version`, `tls_certificate_key_file_password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of MongodbConnection. + # @!attribute [rw] connection_string + # @return [::String] + # Optional. MongoDB connection string. + # e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords' + # @!attribute [rw] username + # @return [::String] + # Optional. The username Oracle Goldengate uses to connect to the database. + # @!attribute [rw] database_id + # @return [::String] + # Optional. The OCID of the Oracle Autonomous Json Database. + # @!attribute [rw] security_protocol + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateMongodbConnectionProperties::MongodbSecurityProtocol] + # Optional. Security Type for MongoDB. + # @!attribute [rw] tls_ca_file + # @return [::String] + # Optional. Database Certificate - The base64 encoded content of a .pem file, + # containing the server public key (for 1 and 2-way SSL). + # @!attribute [rw] tls_certificate_key_file + # @return [::String] + # Optional. Client Certificate - The base64 encoded content of a .pem file, + # containing the client public key (for 2-way SSL). + class GoldengateMongodbConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for Security Type for MongoDB. + module MongodbSecurityProtocol + # Security type not specified. + MONGODB_SECURITY_PROTOCOL_UNSPECIFIED = 0 + + # Plain text communication. + PLAIN = 1 + + # Transport Layer Security. + TLS = 2 + + # Mutual Transport Layer Security. + MTLS = 3 + end + end + + # The properties of GoldengateOracleNosqlConnection. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of OracleNosqlConnection. + # @!attribute [rw] tenancy_id + # @return [::String] + # Optional. The OCID of the OCI tenancy. + # @!attribute [rw] region + # @return [::String] + # Optional. The name of the region. e.g.: us-ashburn-1 + # @!attribute [rw] user_id + # @return [::String] + # Optional. The OCID of the OCI user who will access the Oracle NoSQL + # database. + # @!attribute [rw] private_key_file + # @return [::String] + # Optional. The content of the private key file (PEM file) + # corresponding to the API key of the fingerprint. + # @!attribute [rw] private_key_passphrase_secret + # @return [::String] + # Optional. The passphrase of the private key. + # @!attribute [rw] public_key_fingerprint + # @return [::String] + # Optional. The fingerprint of the API Key of the user specified by the + # userId. + # @!attribute [rw] use_resource_principal + # @return [::Boolean] + # Optional. Specifies that the user intends to authenticate to the instance + # using a resource principal. + class GoldengateOracleNosqlConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The properties of GoldengateSnowflakeConnection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password Oracle Goldengate uses to connect to + # Snowflake platform in plain text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password Oracle Goldengate uses to connect to + # Snowflake platform. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of SnowflakeConnection. + # @!attribute [rw] connection_url + # @return [::String] + # Optional. JDBC connection URL. + # e.g.: + # 'jdbc:snowflake://.snowflakecomputing.com/?warehouse=&db=' + # @!attribute [rw] authentication_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateSnowflakeConnectionProperties::AuthenticationType] + # Optional. Used authentication mechanism to access Snowflake. + # @!attribute [rw] username + # @return [::String] + # Optional. The username Oracle Goldengate uses to connect to Snowflake. + # @!attribute [rw] private_key_file + # @return [::String] + # Optional. The content of private key file in PEM format. + # @!attribute [rw] private_key_passphrase_secret + # @return [::String] + # Optional. Password if the private key file is encrypted. + class GoldengateSnowflakeConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for authentication mechanism to access Snowflake. + module AuthenticationType + # Authentication type not specified. + AUTHENTICATION_TYPE_UNSPECIFIED = 0 + + # Basic authentication. + BASIC = 1 + + # Key pair authentication. + KEY_PAIR = 2 + end + end + + # The properties of GoldengateAmazonRedshiftConnection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password Oracle Goldengate uses for Amazon + # Redshift connection in plain text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password Oracle Goldengate uses for Amazon + # Redshift connection. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of AmazonRedshiftConnection. + # @!attribute [rw] connection_url + # @return [::String] + # Optional. Connection URL. + # e.g.: + # 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb' + # @!attribute [rw] username + # @return [::String] + # Optional. The username Oracle Goldengate uses to connect the associated + # system of the given technology. + class GoldengateAmazonRedshiftConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The properties of GoldengateElasticsearchConnection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password Oracle Goldengate uses for Elastic + # Search connection in plain text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password Oracle Goldengate uses for Elastic + # Search connection. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of ElasticsearchConnection. + # @!attribute [rw] servers + # @return [::String] + # Optional. Comma separated list of Elasticsearch server addresses, specified + # as host:port entries, where :port is optional. If port is not specified, it + # defaults to 9200. Example: + # "server1.example.com:4000,server2.example.com:4000" + # @!attribute [rw] security_protocol + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateElasticsearchConnectionProperties::ElasticsearchSecurityProtocol] + # Optional. Security protocol for Elasticsearch. + # @!attribute [rw] authentication_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateElasticsearchConnectionProperties::ElasticsearchAuthenticationType] + # Optional. Authentication type for Elasticsearch. + # @!attribute [rw] username + # @return [::String] + # Optional. The username Oracle Goldengate uses to connect the associated + # system of the given technology. + # @!attribute [rw] fingerprint + # @return [::String] + # Optional. Fingerprint required by TLS security protocol. + # Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c' + class GoldengateElasticsearchConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for Security protocol for Elasticsearch. + module ElasticsearchSecurityProtocol + # Security protocol not specified. + ELASTICSEARCH_SECURITY_PROTOCOL_UNSPECIFIED = 0 + + # Plain text communication. + PLAIN = 1 + + # Transport Layer Security. + TLS = 2 + end + + # Enum for Authentication type for Elasticsearch. + module ElasticsearchAuthenticationType + # Authentication type not specified. + ELASTICSEARCH_AUTHENTICATION_TYPE_UNSPECIFIED = 0 + + # No authentication. + NONE = 1 + + # Basic authentication. + BASIC = 2 + end + end + + # The properties of GoldengateAmazonKinesisConnection. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of AmazonKinesisConnection. + # @!attribute [rw] access_key_id + # @return [::String] + # Optional. Access key ID to access the Amazon Kinesis. + # @!attribute [rw] secret_access_key_secret + # @return [::String] + # Optional. Secret access key to access the Amazon Kinesis. + # @!attribute [rw] endpoint + # @return [::String] + # Optional. The endpoint URL of the Amazon Kinesis service. + # e.g.: 'https://kinesis.us-east-1.amazonaws.com' + # If not provided, Goldengate will default to + # 'https://kinesis..amazonaws.com'. + # @!attribute [rw] aws_region + # @return [::String] + # Optional. The name of the AWS region. + # If not provided, Goldengate will default to 'us-west-1'. + class GoldengateAmazonKinesisConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The properties of GoldengateDb2Connection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password Oracle Goldengate uses for Db2 + # connection in plain text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password Oracle Goldengate uses for Db2 + # connection. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of Db2Connection. + # @!attribute [rw] host + # @return [::String] + # Optional. The name or address of a host. + # @!attribute [rw] port + # @return [::Integer] + # Optional. The port of an endpoint usually specified for a connection. + # @!attribute [rw] database + # @return [::String] + # Optional. The name of the database. + # @!attribute [rw] username + # @return [::String] + # Optional. The username Oracle Goldengate uses to connect to the DB2 + # database. + # @!attribute [rw] security_protocol + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDb2ConnectionProperties::Db2SecurityProtocol] + # Optional. Security protocol for the DB2 database. + # @!attribute [rw] additional_attributes + # @return [::Array<::Google::Cloud::OracleDatabase::V1::NameValuePair>] + # Optional. An array of name-value pair attribute entries. + # Used as additional parameters in connection string. + # @!attribute [rw] ssl_client_keystoredb_file + # @return [::String] + # Optional. The keystore file created at the client containing the + # server certificate / CA root certificate. Not supported for IBM Db2 for i. + # @!attribute [rw] ssl_client_keystash_file + # @return [::String] + # Optional. The keystash file which contains the encrypted password to + # the key database file. Not supported for IBM Db2 for i. + # @!attribute [rw] ssl_server_certificate_file + # @return [::String] + # Optional. The file which contains the self-signed server certificate + # / Certificate Authority (CA) certificate. + class GoldengateDb2ConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for Security protocol for the DB2 database. + module Db2SecurityProtocol + # Security protocol not specified. + DB2_SECURITY_PROTOCOL_UNSPECIFIED = 0 + + # Plain text communication. + PLAIN = 1 + + # Transport Layer Security. + TLS = 2 + end + end + + # The properties of GoldengateRedisConnection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password Oracle Goldengate uses for Redis + # connection in plain text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password Oracle Goldengate uses for Redis + # connection. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] trust_store_password + # @return [::String] + # Optional. Input only. The TrustStore password in plain text. + # + # Note: The following fields are mutually exclusive: `trust_store_password`, `trust_store_password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] trust_store_password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the TrustStore password. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `trust_store_password_secret_version`, `trust_store_password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] key_store_password + # @return [::String] + # Optional. Input only. The KeyStore password in plain text. + # + # Note: The following fields are mutually exclusive: `key_store_password`, `key_store_password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] key_store_password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the KeyStore password. Format: + # projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `key_store_password_secret_version`, `key_store_password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of RedisConnection. + # @!attribute [rw] servers + # @return [::String] + # Optional. Comma separated list of Redis server addresses, specified as + # host:port entries, where :port is optional. If port is not specified, it + # defaults to 6379. Example: + # "server1.example.com:6379,server2.example.com:6379" + # @!attribute [rw] security_protocol + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateRedisConnectionProperties::RedisSecurityProtocol] + # Optional. Security protocol for Redis. + # @!attribute [rw] authentication_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateRedisConnectionProperties::RedisAuthenticationType] + # Optional. Authentication type for Redis. + # @!attribute [rw] username + # @return [::String] + # Optional. The username Oracle Goldengate uses to connect the associated + # system of the given technology. + # @!attribute [rw] redis_cluster_id + # @return [::String] + # Optional. The OCID of the Redis cluster. + # @!attribute [rw] trust_store_file + # @return [::String] + # Optional. The base64 encoded content of the TrustStore file. + # @!attribute [rw] key_store_file + # @return [::String] + # Optional. The base64 encoded content of the KeyStore file. + class GoldengateRedisConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for Security protocol for Redis. + module RedisSecurityProtocol + # Security protocol not specified. + REDIS_SECURITY_PROTOCOL_UNSPECIFIED = 0 + + # Plain text communication. + PLAIN = 1 + + # Transport Layer Security. + TLS = 2 + + # Mutual Transport Layer Security. + MTLS = 3 + end + + # Enum for Authentication type for Redis. + module RedisAuthenticationType + # Authentication type not specified. + REDIS_AUTHENTICATION_TYPE_UNSPECIFIED = 0 + + # No authentication. + NONE = 1 + + # Basic authentication. + BASIC = 2 + end + end + + # The properties of GoldengateDatabricksConnection. + # @!attribute [rw] password + # @return [::String] + # Optional. Input only. The password used to connect to Databricks in plain + # text. + # + # Note: The following fields are mutually exclusive: `password`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] password_secret_version + # @return [::String] + # Optional. Input only. The resource name of a secret version in Secret + # Manager which contains the password used to connect to Databricks. + # Format: projects/\\{project}/secrets/\\{secret}/versions/\\{version}. + # + # Note: The following fields are mutually exclusive: `password_secret_version`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of DatabricksConnection. + # @!attribute [rw] authentication_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDatabricksConnectionProperties::DatabricksAuthenticationType] + # Optional. Authentication type for Databricks. + # @!attribute [rw] connection_url + # @return [::String] + # Optional. Connection URL. + # e.g.: + # 'jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb' + # @!attribute [rw] client_id + # @return [::String] + # Optional. OAuth client id, only applicable for authentication_type == + # OAUTH_M2M + # @!attribute [rw] client_secret + # @return [::String] + # Optional. OAuth client secret, only applicable for authentication_type == + # OAUTH_M2M + # @!attribute [rw] storage_credential + # @return [::String] + # Optional. External storage credential name to access files on object + # storage such as ADLS Gen2, S3 or Cloud Storage. + class GoldengateDatabricksConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for authentication type for Databricks. + module DatabricksAuthenticationType + # Authentication type not specified. + DATABRICKS_AUTHENTICATION_TYPE_UNSPECIFIED = 0 + + # Personal access token authentication. + PERSONAL_ACCESS_TOKEN = 1 + + # OAuth M2M authentication. + OAUTH_M2M = 2 + end + end + + # The properties of GoldengateGooglePubsubConnection. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of GooglePubsubConnection. + # @!attribute [rw] service_account_key_file + # @return [::String] + # Optional. The base64 encoded content of the service account key file + # containing the credentials required to use Google Pub/Sub. + class GoldengateGooglePubsubConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The properties of GoldengateMicrosoftFabricConnection. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of MicrosoftFabricConnection. + # @!attribute [rw] tenant_id + # @return [::String] + # Optional. Azure tenant ID of the application. + # @!attribute [rw] client_id + # @return [::String] + # Optional. Azure client ID of the application. + # @!attribute [rw] client_secret + # @return [::String] + # Optional. Client secret associated with the client id. + # @!attribute [rw] endpoint + # @return [::String] + # Optional. Optional Microsoft Fabric service endpoint. + # Default value: https://onelake.dfs.fabric.microsoft.com + class GoldengateMicrosoftFabricConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The properties of GoldengateOracleAIDataPlatformConnection. + # @!attribute [rw] technology_type + # @return [::String] + # Optional. The technology type of OracleAiDataPlatformConnection. + # @!attribute [rw] connection_url + # @return [::String] + # Optional. Connection URL. It must start with 'jdbc:spark://' + # @!attribute [rw] tenancy_id + # @return [::String] + # Optional. The OCID of the related OCI tenancy. + # @!attribute [rw] region + # @return [::String] + # Optional. The name of the region. e.g.: us-ashburn-1 + # @!attribute [rw] user_id + # @return [::String] + # Optional. The OCID of the OCI user who will access. + # @!attribute [rw] private_key_file + # @return [::String] + # Optional. The content of the private key file (PEM file) + # corresponding to the API key of the fingerprint. + # @!attribute [rw] private_key_passphrase_secret + # @return [::String] + # Optional. The passphrase of the private key. + # @!attribute [rw] public_key_fingerprint + # @return [::String] + # Optional. The fingerprint of the API Key of the user specified by the + # user_id. + # @!attribute [rw] use_resource_principal + # @return [::Boolean] + # Optional. Specifies that the user intends to authenticate to the instance + # using a resource principal. + class GoldengateOracleAIDataPlatformConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The Glue Iceberg catalog. + # @!attribute [rw] glue_id + # @return [::String] + # Required. The catalog ID of Glue. + class GlueIcebergCatalog + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The Nessie Iceberg catalog. + # @!attribute [rw] uri + # @return [::String] + # Required. The Nessie uri. + # @!attribute [rw] branch + # @return [::String] + # Required. The Nessie branch. + class NessieIcebergCatalog + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The Polaris Iceberg catalog. + # @!attribute [rw] uri + # @return [::String] + # Required. The Polaris uri. + # @!attribute [rw] polaris_catalog + # @return [::String] + # Required. The catalog name within Polaris. + # @!attribute [rw] client_id + # @return [::String] + # Required. The Polaris client ID. + # @!attribute [rw] principal_role + # @return [::String] + # Required. The Polaris principal role. + # @!attribute [rw] client_secret + # @return [::String] + # Optional. The Polaris client secret. + class PolarisIcebergCatalog + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The REST Iceberg catalog. + # @!attribute [rw] uri + # @return [::String] + # Required. The REST uri. + # @!attribute [rw] properties + # @return [::String] + # Optional. The base64 encoded content of the configuration file containing + # additional properties for the REST catalog. + class RestIcebergCatalog + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The Iceberg catalog details. + # @!attribute [rw] glue_iceberg_catalog + # @return [::Google::Cloud::OracleDatabase::V1::GlueIcebergCatalog] + # The Glue Iceberg catalog. + # + # Note: The following fields are mutually exclusive: `glue_iceberg_catalog`, `nessie_iceberg_catalog`, `polaris_iceberg_catalog`, `rest_iceberg_catalog`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] nessie_iceberg_catalog + # @return [::Google::Cloud::OracleDatabase::V1::NessieIcebergCatalog] + # The Nessie Iceberg catalog. + # + # Note: The following fields are mutually exclusive: `nessie_iceberg_catalog`, `glue_iceberg_catalog`, `polaris_iceberg_catalog`, `rest_iceberg_catalog`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] polaris_iceberg_catalog + # @return [::Google::Cloud::OracleDatabase::V1::PolarisIcebergCatalog] + # The Polaris Iceberg catalog. + # + # Note: The following fields are mutually exclusive: `polaris_iceberg_catalog`, `glue_iceberg_catalog`, `nessie_iceberg_catalog`, `rest_iceberg_catalog`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] rest_iceberg_catalog + # @return [::Google::Cloud::OracleDatabase::V1::RestIcebergCatalog] + # The REST Iceberg catalog. + # + # Note: The following fields are mutually exclusive: `rest_iceberg_catalog`, `glue_iceberg_catalog`, `nessie_iceberg_catalog`, `polaris_iceberg_catalog`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] catalog_type + # @return [::Google::Cloud::OracleDatabase::V1::IcebergCatalog::CatalogType] + # Required. The type of Iceberg catalog. + class IcebergCatalog + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # The type of Iceberg catalog. + module CatalogType + # Catalog type not specified. + CATALOG_TYPE_UNSPECIFIED = 0 + + # Glue catalog. + GLUE = 1 + + # Hadoop catalog. + HADOOP = 2 + + # Nessie catalog. + NESSIE = 3 + + # Polaris catalog. + POLARIS = 4 + + # REST catalog. + REST = 5 + end + end + + # The Amazon S3 Iceberg storage. + # @!attribute [rw] scheme_type + # @return [::Google::Cloud::OracleDatabase::V1::AmazonS3IcebergStorage::SchemeType] + # Required. The scheme type of Amazon S3. + # @!attribute [rw] access_key_id + # @return [::String] + # Required. The access key ID of Amazon S3. + # @!attribute [rw] region + # @return [::String] + # Required. The region of Amazon S3. + # @!attribute [rw] bucket + # @return [::String] + # Required. The bucket of Amazon S3. + # @!attribute [rw] endpoint + # @return [::String] + # Optional. The endpoint of Amazon S3. + # @!attribute [rw] secret_access_key_secret + # @return [::String] + # Optional. The secret access key of Amazon S3. + class AmazonS3IcebergStorage + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for scheme type of Amazon S3. + module SchemeType + # Scheme type not specified. + SCHEME_TYPE_UNSPECIFIED = 0 + + # S3 scheme. + S3 = 1 + + # S3A scheme. + S3A = 2 + end + end + + # The Google Cloud Storage Iceberg storage. + # @!attribute [rw] bucket + # @return [::String] + # Required. The bucket of Google Cloud Storage. + # @!attribute [rw] project_id + # @return [::String] + # Required. The project ID of Google Cloud Storage. + # @!attribute [rw] service_account_key_file + # @return [::String] + # Optional. The base64 encoded content of the service account key file of + # Google Cloud Storage. + class GoogleCloudStorageIcebergStorage + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The Azure Data Lake Storage Iceberg storage. + # @!attribute [rw] azure_account + # @return [::String] + # Required. The account of Azure Data Lake Storage. + # @!attribute [rw] container + # @return [::String] + # Required. The container of Azure Data Lake Storage. + # @!attribute [rw] account_key_secret + # @return [::String] + # Optional. The account key of Azure Data Lake Storage. + # @!attribute [rw] endpoint + # @return [::String] + # Optional. The endpoint of Azure Data Lake Storage. + class AzureDataLakeStorageIcebergStorage + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The Iceberg storage details. + # @!attribute [rw] amazon_s3_iceberg_storage + # @return [::Google::Cloud::OracleDatabase::V1::AmazonS3IcebergStorage] + # The Amazon S3 Iceberg storage. + # + # Note: The following fields are mutually exclusive: `amazon_s3_iceberg_storage`, `google_cloud_storage_iceberg_storage`, `azure_data_lake_storage_iceberg_storage`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] google_cloud_storage_iceberg_storage + # @return [::Google::Cloud::OracleDatabase::V1::GoogleCloudStorageIcebergStorage] + # The Google Cloud Storage Iceberg storage. + # + # Note: The following fields are mutually exclusive: `google_cloud_storage_iceberg_storage`, `amazon_s3_iceberg_storage`, `azure_data_lake_storage_iceberg_storage`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] azure_data_lake_storage_iceberg_storage + # @return [::Google::Cloud::OracleDatabase::V1::AzureDataLakeStorageIcebergStorage] + # The Azure Data Lake Storage Iceberg storage. + # + # Note: The following fields are mutually exclusive: `azure_data_lake_storage_iceberg_storage`, `amazon_s3_iceberg_storage`, `google_cloud_storage_iceberg_storage`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] storage_type + # @return [::Google::Cloud::OracleDatabase::V1::IcebergStorage::StorageType] + # Required. The type of Iceberg storage. + class IcebergStorage + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # The type of Iceberg storage. + module StorageType + # Storage type not specified. + STORAGE_TYPE_UNSPECIFIED = 0 + + # Amazon S3 storage. + AMAZON_S3 = 1 + + # Google Cloud Storage storage. + GOOGLE_CLOUD_STORAGE = 2 + + # Azure Data Lake Storage storage. + AZURE_DATA_LAKE_STORAGE = 3 + end + end + + # The properties of GoldengateIcebergConnection. + # @!attribute [rw] technology_type + # @return [::String] + # Required. The technology type of Iceberg connection. + # @!attribute [rw] catalog + # @return [::Google::Cloud::OracleDatabase::V1::IcebergCatalog] + # Required. The Iceberg catalog. + # @!attribute [rw] storage + # @return [::Google::Cloud::OracleDatabase::V1::IcebergStorage] + # Required. The Iceberg storage. + class GoldengateIcebergConnectionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The request for `GoldengateConnection.Create`. + # @!attribute [rw] parent + # @return [::String] + # Required. The value for parent of the GoldengateConnection in the following + # format: projects/\\{project}/locations/\\{location}. + # @!attribute [rw] goldengate_connection_id + # @return [::String] + # Required. The ID of the GoldengateConnection to create. This value is + # restricted to (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$) and must be a maximum of + # 63 characters in length. The value must start with a letter and end with a + # letter or a number. + # @!attribute [rw] goldengate_connection + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnection] + # Required. The resource being created. + # @!attribute [rw] request_id + # @return [::String] + # Optional. An optional request ID to identify requests. Specify a unique + # request ID so that if you must retry your request, the server will know to + # ignore the request if it has already been completed. The server will + # guarantee that for at least 60 minutes since the first request. + # + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request + # ID, the server can check if original operation with the same request ID + # was received, and if so, will ignore the second request. This prevents + # clients from accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + class CreateGoldengateConnectionRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The request for `GoldengateConnection.Delete`. + # @!attribute [rw] name + # @return [::String] + # Required. The name of the GoldengateConnection in the following format: + # projects/\\{project}/locations/\\{location}/goldengateConnections/\\{goldengate_connection}. + # @!attribute [rw] request_id + # @return [::String] + # Optional. An optional ID to identify the request. This value is used to + # identify duplicate requests. If you make a request with the same request ID + # and the original request is still in progress or completed, the server + # ignores the second request. This prevents clients from + # accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + class DeleteGoldengateConnectionRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The request for `GoldengateConnection.Get`. + # @!attribute [rw] name + # @return [::String] + # Required. The name of the GoldengateConnection in the following format: + # projects/\\{project}/locations/\\{location}/goldengateConnections/\\{goldengate_connection}. + class GetGoldengateConnectionRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The request for `GoldengateConnection.List`. + # @!attribute [rw] parent + # @return [::String] + # Required. The parent value for GoldengateConnections in the following + # format: projects/\\{project}/locations/\\{location}. + # @!attribute [rw] page_size + # @return [::Integer] + # Optional. The maximum number of items to return. + # If unspecified, at most 50 GoldengateConnections will be returned. + # The maximum value is 1000; values above 1000 will be coerced to 1000. + # @!attribute [rw] page_token + # @return [::String] + # Optional. A page token, received from a previous ListGoldengateConnections + # call. Provide this to retrieve the subsequent page. + # @!attribute [rw] filter + # @return [::String] + # Optional. An expression for filtering the results of the request. + # @!attribute [rw] order_by + # @return [::String] + # Optional. An expression for ordering the results of the request. + class ListGoldengateConnectionsRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The response for `GoldengateConnection.List`. + # @!attribute [rw] goldengate_connections + # @return [::Array<::Google::Cloud::OracleDatabase::V1::GoldengateConnection>] + # The list of GoldengateConnections. + # @!attribute [rw] next_page_token + # @return [::String] + # A token identifying a page of results the server should return. + # @!attribute [rw] unreachable + # @return [::Array<::String>] + # Optional. Locations that could not be reached. + class ListGoldengateConnectionsResponse + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # A name-value pair representing an attribute entry usable in a list of + # attributes. + # @!attribute [rw] key + # @return [::String] + # Required. The name of the property entry. + # @!attribute [rw] value + # @return [::String] + # Required. The value of the property entry. + class NameValuePair + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Represents a Kafka bootstrap server with host name, optional port defaults to + # 9092, and an optional private ip. + # @!attribute [rw] host + # @return [::String] + # Required. The name or address of a host. + # @!attribute [rw] port + # @return [::Integer] + # Optional. The port of an endpoint usually specified for a connection. + # @!attribute [rw] private_ip_address + # @return [::String] + # Optional. The private IP address of the connection's endpoint in the + # customer's VCN, typically a database endpoint or a big data endpoint (e.g. + # Kafka bootstrap server). In case the privateIp is provided, the subnetId + # must also be provided. In case the privateIp (and the subnetId) is not + # provided it is assumed the datasource is publicly accessible. In case the + # connection is accessible only privately, the lack of privateIp will result + # in not being able to access the connection. + class KafkaBootstrapServer + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + end + end + end +end diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_assignment.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_assignment.rb new file mode 100644 index 000000000000..9a726625ab06 --- /dev/null +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_assignment.rb @@ -0,0 +1,300 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + + +module Google + module Cloud + module OracleDatabase + module V1 + # Represents the metadata of a Goldengate Connection Assignment. + # @!attribute [rw] name + # @return [::String] + # Identifier. The name of the GoldengateConnectionAssignment resource in the + # following format: + # projects/\\{project}/locations/\\{region}/goldengateConnectionAssignments/\\{goldengate_connection_assignment} + # @!attribute [rw] properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignmentProperties] + # Required. The properties of the GoldengateConnectionAssignment. + # @!attribute [r] create_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The time when the connection assignment was created. + # @!attribute [rw] labels + # @return [::Google::Protobuf::Map{::String => ::String}] + # Optional. The labels or tags associated with the + # GoldengateConnectionAssignment. + # @!attribute [rw] display_name + # @return [::String] + # Optional. The display name for the GoldengateConnectionAssignment. + # @!attribute [r] entitlement_id + # @return [::String] + # Output only. The OCID of the entitlement linked to this resource. + class GoldengateConnectionAssignment + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # @!attribute [rw] key + # @return [::String] + # @!attribute [rw] value + # @return [::String] + class LabelsEntry + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + end + + # The properties of a GoldengateConnectionAssignment. + # @!attribute [r] ocid + # @return [::String] + # Output only. The + # [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) + # of the connection assignment being referenced. + # @!attribute [rw] goldengate_connection + # @return [::String] + # Required. The GoldengateConnection resource to be assigned. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateConnections/\\{goldengate_connection} + # @!attribute [rw] goldengate_deployment + # @return [::String] + # Required. The GoldenGateDeployment to assign the connection to. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment} + # @!attribute [r] alias + # @return [::String] + # Output only. Credential store alias. + # @!attribute [r] state + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignmentProperties::State] + # Output only. The lifecycle state of the connection assignment. + class GoldengateConnectionAssignmentProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Possible lifecycle states for connection assignments. + module State + # Lifecycle state is unspecified. + STATE_UNSPECIFIED = 0 + + # Connection assignment is being created. + CREATING = 1 + + # Connection assignment is active. + ACTIVE = 2 + + # Connection assignment failed. + FAILED = 3 + + # Connection assignment is being updated. + UPDATING = 4 + + # Connection assignment is being deleted. + DELETING = 5 + end + end + + # Request message for listing GoldengateConnectionAssignments. + # @!attribute [rw] parent + # @return [::String] + # Required. The parent value for the GoldengateConnectionAssignments. + # Format: projects/\\{project}/locations/\\{location} + # @!attribute [rw] page_size + # @return [::Integer] + # Optional. The maximum number of GoldengateConnectionAssignments to return. + # The service may return fewer than this value. If unspecified, at most 50 + # GoldengateConnectionAssignments will be returned. The maximum value is + # 1000; values above 1000 will be coerced to 1000. + # @!attribute [rw] page_token + # @return [::String] + # Optional. A page token, received from a previous + # `ListGoldengateConnectionAssignments` call. Provide this to retrieve the + # subsequent page. + # + # When paginating, all other parameters provided to + # `ListGoldengateConnectionAssignments` must match the call that provided + # the page token. + # @!attribute [rw] filter + # @return [::String] + # Optional. A filter expression that filters GoldengateConnectionAssignments + # listed in the response. + # @!attribute [rw] order_by + # @return [::String] + # Optional. A comma-separated list of fields to order by, sorted in ascending + # order. Use "DESC" after a field name for descending. + class ListGoldengateConnectionAssignmentsRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Response message for listing GoldengateConnectionAssignments. + # @!attribute [rw] goldengate_connection_assignments + # @return [::Array<::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment>] + # The list of GoldengateConnectionAssignments. + # @!attribute [rw] next_page_token + # @return [::String] + # A token, which can be sent as `page_token` to retrieve the next page. + # If this field is omitted, there are no subsequent pages. + # @!attribute [rw] unreachable + # @return [::Array<::String>] + # Unreachable locations when listing resources across all locations using + # wildcard location '-'. + class ListGoldengateConnectionAssignmentsResponse + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Request message for getting a GoldengateConnectionAssignment. + # @!attribute [rw] name + # @return [::String] + # Required. The name of the GoldengateConnectionAssignment to retrieve. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateConnectionAssignments/\\{goldengate_connection_assignment} + class GetGoldengateConnectionAssignmentRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Request message for creating a GoldengateConnectionAssignment. + # @!attribute [rw] parent + # @return [::String] + # Required. The parent resource where this GoldengateConnectionAssignment + # will be created. Format: projects/\\{project}/locations/\\{location} + # @!attribute [rw] goldengate_connection_assignment_id + # @return [::String] + # Required. The ID of the GoldengateConnectionAssignment to create. + # @!attribute [rw] goldengate_connection_assignment + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment] + # Required. The GoldengateConnectionAssignment to create. + # @!attribute [rw] request_id + # @return [::String] + # Optional. An optional request ID to identify requests. Specify a unique + # request ID so that if you must retry your request, the server will know to + # ignore the request if it has already been completed. The server will + # guarantee that for at least 60 minutes since the first request. + # + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request + # ID, the server can check if original operation with the same request ID + # was received, and if so, will ignore the second request. This prevents + # clients from accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + class CreateGoldengateConnectionAssignmentRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Request message for TestGoldengateConnectionAssignment. + # @!attribute [rw] name + # @return [::String] + # Required. Name of the connection assignment for which to test connection. + # projects/\\{project}/locations/\\{region}/goldengateConnectionAssignments/\\{goldengate_connection_assignment} + # @!attribute [rw] type + # @return [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest::TestType] + # Optional. The type of the test of the assigned connection. + # The only type actually supported is DEFAULT. + class TestGoldengateConnectionAssignmentRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # The type of test to perform. + module TestType + # The default value. This value is unused. + TEST_TYPE_UNSPECIFIED = 0 + + # The default connection test. + DEFAULT = 1 + end + end + + # Error details for TestGoldengateConnectionAssignment. + # @!attribute [rw] code + # @return [::String] + # A short error code that defines the error, meant for programmatic parsing. + # @!attribute [rw] message + # @return [::String] + # A human-readable error message. + # @!attribute [rw] action + # @return [::String] + # The text describing the action required to fix the issue. + # @!attribute [rw] issue + # @return [::String] + # The text describing the root cause of the reported issue. + class TestConnectionAssignmentError + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The result of the connectivity test performed between the Goldengate + # deployment and the associated database / service. + # @!attribute [rw] result_type + # @return [::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse::ResultType] + # Type of the result i.e. Success, Failure or Timeout. + # @!attribute [rw] error + # @return [::Google::Cloud::OracleDatabase::V1::TestConnectionAssignmentError] + # Error details if test connection failed. + # @!attribute [rw] errors + # @return [::Array<::Google::Cloud::OracleDatabase::V1::TestConnectionAssignmentError>] + # List of test connection assignment error objects. + class TestGoldengateConnectionAssignmentResponse + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Type of the result. + module ResultType + # Result type is unspecified. + RESULT_TYPE_UNSPECIFIED = 0 + + # Test connection succeeded. + SUCCEEDED = 1 + + # Test connection failed. + FAILED = 2 + + # Test connection timed out. + TIMED_OUT = 3 + end + end + + # Request message for deleting a GoldengateConnectionAssignment. + # @!attribute [rw] name + # @return [::String] + # Required. The name of the GoldengateConnectionAssignment to delete. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateConnectionAssignments/\\{goldengate_connection_assignment} + # @!attribute [rw] request_id + # @return [::String] + # Optional. An optional request ID to identify requests. Specify a unique + # request ID so that if you must retry your request, the server will know to + # ignore the request if it has already been completed. The server will + # guarantee that for at least 60 minutes after the first request. + # + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request + # ID, the server can check if original operation with the same request ID + # was received, and if so, will ignore the second request. This prevents + # clients from accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + class DeleteGoldengateConnectionAssignmentRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + end + end + end +end diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_type.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_type.rb new file mode 100644 index 000000000000..767ede5c1a73 --- /dev/null +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_type.rb @@ -0,0 +1,186 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + + +module Google + module Cloud + module OracleDatabase + module V1 + # Details of the Goldengate Connection Type resource. + # @!attribute [rw] name + # @return [::String] + # Identifier. The name of the Goldengate Connection Type resource with the + # format: + # projects/\\{project}/locations/\\{region}/goldengateConnectionTypes/\\{goldengate_connection_type} + # @!attribute [r] connection_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType::ConnectionType] + # Output only. The connection type of the Goldengate Connection Type + # resource. + # @!attribute [r] technology_types + # @return [::Array<::String>] + # Output only. The technology type of the Goldengate Connection Type + # resource. + class GoldengateConnectionType + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # The connection type of the Goldengate Connection Type resource. + module ConnectionType + # Default unspecified value. + CONNECTION_TYPE_UNSPECIFIED = 0 + + # Goldengate Connection Type category is GOLDENGATE. + GOLDENGATE = 1 + + # Goldengate Connection Type category is KAFKA. + KAFKA = 2 + + # Goldengate Connection Type category is KAFKA_SCHEMA_REGISTRY. + KAFKA_SCHEMA_REGISTRY = 3 + + # Goldengate Connection Type category is MYSQL. + MYSQL = 4 + + # Goldengate Connection Type category is JAVA_MESSAGE_SERVICE. + JAVA_MESSAGE_SERVICE = 5 + + # Goldengate Connection Type category is MICROSOFT_SQLSERVER. + MICROSOFT_SQLSERVER = 6 + + # Goldengate Connection Type category is OCI_OBJECT_STORAGE. + OCI_OBJECT_STORAGE = 7 + + # Goldengate Connection Type category is ORACLE. + ORACLE = 8 + + # Goldengate Connection Type category is AZURE_DATA_LAKE_STORAGE. + AZURE_DATA_LAKE_STORAGE = 9 + + # Goldengate Connection Type category is POSTGRESQL. + POSTGRESQL = 10 + + # Goldengate Connection Type category is AZURE_SYNAPSE_ANALYTICS. + AZURE_SYNAPSE_ANALYTICS = 11 + + # Goldengate Connection Type category is SNOWFLAKE. + SNOWFLAKE = 12 + + # Goldengate Connection Type category is AMAZON_S3. + AMAZON_S3 = 13 + + # Goldengate Connection Type category is HDFS. + HDFS = 14 + + # Goldengate Connection Type category is ORACLE_AI_DATA_PLATFORM. + ORACLE_AI_DATA_PLATFORM = 15 + + # Goldengate Connection Type category is ORACLE_NOSQL. + ORACLE_NOSQL = 16 + + # Goldengate Connection Type category is MONGODB. + MONGODB = 17 + + # Goldengate Connection Type category is AMAZON_KINESIS. + AMAZON_KINESIS = 18 + + # Goldengate Connection Type category is AMAZON_REDSHIFT. + AMAZON_REDSHIFT = 19 + + # Goldengate Connection Type category is DB2. + DB2 = 20 + + # Goldengate Connection Type category is REDIS. + REDIS = 21 + + # Goldengate Connection Type category is ELASTICSEARCH. + ELASTICSEARCH = 22 + + # Goldengate Connection Type category is GENERIC. + GENERIC = 23 + + # Goldengate Connection Type category is GOOGLE_CLOUD_STORAGE. + GOOGLE_CLOUD_STORAGE = 24 + + # Goldengate Connection Type category is GOOGLE_BIGQUERY. + GOOGLE_BIGQUERY = 25 + + # Goldengate Connection Type category is DATABRICKS. + DATABRICKS = 26 + + # Goldengate Connection Type category is GOOGLE_PUBSUB. + GOOGLE_PUBSUB = 27 + + # Goldengate Connection Type category is MICROSOFT_FABRIC. + MICROSOFT_FABRIC = 28 + + # Goldengate Connection Type category is ICEBERG. + ICEBERG = 29 + end + end + + # Message for getting a GoldengateConnectionType. + # @!attribute [rw] name + # @return [::String] + # Required. Name of the resource in the format: + # projects/\\{project}/locations/\\{location}/goldengateConnectionTypes/\\{goldengate_connection_type} + class GetGoldengateConnectionTypeRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Message for listing GoldengateConnectionTypes. + # @!attribute [rw] parent + # @return [::String] + # Required. Parent value for ListGoldengateConnectionTypesRequest + # Format: projects/\\{project}/locations/\\{location} + # @!attribute [rw] page_size + # @return [::Integer] + # Optional. Requested page size. Server may return fewer items than + # requested. If unspecified, server will pick an appropriate default. + # @!attribute [rw] page_token + # @return [::String] + # Optional. A token identifying a page of results the server should return. + # @!attribute [rw] filter + # @return [::String] + # Optional. An expression for filtering the results of the request. The + # connection_type field must be specified in the format: + # `connection_type="ORACLE"`. + class ListGoldengateConnectionTypesRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Message for response to listing GoldengateConnectionTypes + # @!attribute [rw] goldengate_connection_types + # @return [::Array<::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType>] + # The list of GoldengateConnectionType + # @!attribute [rw] next_page_token + # @return [::String] + # A token, which can be sent as `page_token` to retrieve the next page. + # If this field is omitted, there are no subsequent pages. + # @!attribute [rw] unreachable + # @return [::Array<::String>] + # Unordered list. Locations that could not be reached. + class ListGoldengateConnectionTypesResponse + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + end + end + end +end diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment.rb new file mode 100644 index 000000000000..8a5e6d795789 --- /dev/null +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment.rb @@ -0,0 +1,712 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + + +module Google + module Cloud + module OracleDatabase + module V1 + # GoldengateDeployment Goldengate Deployment resource model. + # @!attribute [rw] name + # @return [::String] + # Identifier. The name of the GoldengateDeployment resource in the following + # format: + # projects/\\{project}/locations/\\{region}/goldengateDeployments/\\{goldengate_deployment} + # @!attribute [rw] properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentProperties] + # Required. The properties of the GoldengateDeployment. + # @!attribute [rw] gcp_oracle_zone + # @return [::String] + # Optional. The GCP Oracle zone where Oracle GoldengateDeployment is hosted. + # Example: us-east4-b-r2. + # If not specified, the system will pick a zone based on availability. + # @!attribute [rw] labels + # @return [::Google::Protobuf::Map{::String => ::String}] + # Optional. The labels or tags associated with the GoldengateDeployment. + # @!attribute [rw] odb_network + # @return [::String] + # Optional. The name of the OdbNetwork associated with the + # GoldengateDeployment. + # @!attribute [rw] odb_subnet + # @return [::String] + # Required. The name of the OdbSubnet associated with the + # GoldengateDeployment for IP allocation. + # @!attribute [r] entitlement_id + # @return [::String] + # Output only. The ID of the subscription entitlement associated with the + # GoldengateDeployment + # @!attribute [rw] display_name + # @return [::String] + # Required. The display name for the GoldengateDeployment. + # @!attribute [r] create_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The date and time that the GoldengateDeployment was created. + # @!attribute [r] oci_url + # @return [::String] + # Output only. HTTPS link to OCI resources exposed to Customer via UI + # Interface. + class GoldengateDeployment + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # @!attribute [rw] key + # @return [::String] + # @!attribute [rw] value + # @return [::String] + class LabelsEntry + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + end + + # Properties of GoldengateDeployment. + # @!attribute [r] ocid + # @return [::String] + # Output only. OCID of the GoldengateDeployment. + # @!attribute [r] lifecycle_state + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentProperties::GoldengateDeploymentLifecycleState] + # Output only. State of the GoldengateDeployment. + # @!attribute [rw] license_model + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentProperties::LicenseModel] + # Optional. The Oracle license model that applies to a Deployment. + # @!attribute [rw] environment_type + # @return [::String] + # Optional. The environment type of the GoldengateDeployment. + # @!attribute [rw] cpu_core_count + # @return [::Integer] + # Optional. The Minimum number of OCPUs to be made available for this + # Deployment. + # @!attribute [rw] is_auto_scaling_enabled + # @return [::Boolean] + # Optional. Indicates if auto scaling is enabled for the Deployment's CPU + # core count. + # @!attribute [rw] description + # @return [::String] + # Optional. The description of the GoldengateDeployment. + # @!attribute [rw] deployment_type + # @return [::String] + # Required. A valid Goldengate Deployment type. For a list of supported + # types, use the `ListGoldengateDeploymentTypes` operation. + # @!attribute [rw] ogg_data + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateOggDeployment] + # Required. The ogg data of the GoldengateDeployment. + # @!attribute [rw] maintenance_window + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateMaintenanceWindow] + # Optional. The maintenance window of the GoldengateDeployment. + # @!attribute [rw] maintenance_config + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateMaintenanceConfig] + # Optional. The maintenance configuration of the GoldengateDeployment. + # @!attribute [r] fqdn + # @return [::String] + # Output only. The Fully Qualified Domain Name of the GoldengateDeployment. + # @!attribute [r] lifecycle_sub_state + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentProperties::GoldengateDeploymentLifecycleSubState] + # Output only. The lifecycle sub-state of the GoldengateDeployment. + # @!attribute [r] category + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentProperties::GoldengateDeploymentCategory] + # Output only. The category of the GoldengateDeployment. + # @!attribute [r] deployment_backup_id + # @return [::String] + # Output only. The deployment backup id of the GoldengateDeployment. + # @!attribute [r] update_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The time the GoldengateDeployment was updated. + # @!attribute [r] lifecycle_details + # @return [::String] + # Output only. The lifecycle details of the GoldengateDeployment. + # @!attribute [r] healthy + # @return [::Boolean] + # Output only. Whether the GoldengateDeployment is healthy. + # @!attribute [r] load_balancer_subnet_id + # @return [::String] + # Output only. The load balancer subnet id of the GoldengateDeployment. + # @!attribute [r] load_balancer_id + # @return [::String] + # Output only. The load balancer id of the GoldengateDeployment. + # @!attribute [r] nsg_ids + # @return [::Array<::String>] + # Output only. The nsg ids of the GoldengateDeployment. + # @!attribute [r] is_public + # @return [::Boolean] + # Output only. Whether the GoldengateDeployment is public. + # @!attribute [r] public_ip_address + # @return [::String] + # Output only. The public ip address of the GoldengateDeployment. + # @!attribute [r] private_ip_address + # @return [::String] + # Output only. The private ip address of the GoldengateDeployment. + # @!attribute [r] deployment_url + # @return [::String] + # Output only. The deployment url of the GoldengateDeployment. + # @!attribute [r] is_latest_version + # @return [::Boolean] + # Output only. Whether the GoldengateDeployment is of the latest version. + # @!attribute [r] upgrade_required_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The time upgrade required of the GoldengateDeployment. + # @!attribute [r] storage_utilization_bytes + # @return [::Integer] + # Output only. The storage utilization in bytes of the GoldengateDeployment. + # @!attribute [r] is_storage_utilization_limit_exceeded + # @return [::Boolean] + # Output only. Whether storage utilization limit is exceeded of the + # GoldengateDeployment. + # @!attribute [r] deployment_diagnostic_data + # @return [::Google::Cloud::OracleDatabase::V1::DeploymentDiagnosticData] + # Output only. The deployment diagnostic data of the GoldengateDeployment. + # @!attribute [r] backup_schedule + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateBackupSchedule] + # Output only. The backup schedule of the GoldengateDeployment. + # @!attribute [r] next_maintenance_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The time of next maintenance of the GoldengateDeployment. + # @!attribute [r] next_maintenance_action_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentProperties::NextMaintenanceActionType] + # Output only. The next maintenance action type of the GoldengateDeployment. + # @!attribute [r] next_maintenance_description + # @return [::String] + # Output only. The next maintenance description of the GoldengateDeployment. + # @!attribute [r] ogg_version_support_end_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The time ogg version supported until of the + # GoldengateDeployment. + # @!attribute [r] ingress_ips + # @return [::Array<::Google::Cloud::OracleDatabase::V1::IngressIp>] + # Output only. The ingress ips of the GoldengateDeployment. + # @!attribute [r] deployment_role + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentProperties::GoldengateDeploymentRoleType] + # Output only. The deployment role of the GoldengateDeployment. + # @!attribute [r] last_backup_schedule_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The time last backup scheduled of the GoldengateDeployment. + # @!attribute [r] next_backup_schedule_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The time next backup scheduled of the GoldengateDeployment. + # @!attribute [r] role_change_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The time when the role of the GoldengateDeployment was + # changed. + # @!attribute [r] locks + # @return [::Array<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentLock>] + # Output only. The locks of the GoldengateDeployment. + # @!attribute [r] placements + # @return [::Array<::Google::Cloud::OracleDatabase::V1::GoldengatePlacement>] + # Output only. The placements of the GoldengateDeployment. + class GoldengateDeploymentProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # The various lifecycle states of the GoldengateDeployment. + module GoldengateDeploymentLifecycleState + # Default unspecified value. + GOLDENGATE_DEPLOYMENT_LIFECYCLE_STATE_UNSPECIFIED = 0 + + # The deployment is being created. + CREATING = 1 + + # The deployment is being updated. + UPDATING = 2 + + # The deployment is active. + ACTIVE = 3 + + # The deployment is inactive. + INACTIVE = 4 + + # The deployment is being deleted. + DELETING = 5 + + # The deployment is deleted. + DELETED = 6 + + # The deployment failed. + FAILED = 7 + + # The deployment needs attention. + NEEDS_ATTENTION = 8 + + # The deployment is in progress. + IN_PROGRESS = 9 + + # The deployment is canceling. + CANCELLING = 10 + + # The deployment is canceled. + CANCELLED = 11 + + # The deployment succeeded. + SUCCEEDED = 12 + + # The deployment is waiting. + WAITING = 13 + end + + # The license model of the GoldengateDeployment. + module LicenseModel + # The license model is unspecified. + LICENSE_MODEL_UNSPECIFIED = 0 + + # The license model is included. + LICENSE_INCLUDED = 1 + + # The license model is bring your own license. + BRING_YOUR_OWN_LICENSE = 2 + end + + # The various lifecycle sub-states of the GoldengateDeployment. + module GoldengateDeploymentLifecycleSubState + # The lifecycle sub-state is unspecified. + GOLDENGATE_DEPLOYMENT_LIFECYCLE_SUB_STATE_UNSPECIFIED = 0 + + # The deployment is recovering. + RECOVERING = 1 + + # The deployment is starting. + STARTING = 2 + + # The deployment is stopping. + STOPPING = 3 + + # The deployment is moving. + MOVING = 4 + + # The deployment is upgrading. + UPGRADING = 5 + + # The deployment is restoring. + RESTORING = 6 + + # The deployment is backing up. + BACKING_UP = 7 + + # The deployment is rolling back. + ROLLING_BACK = 8 + end + + # The category of the GoldengateDeployment. + module GoldengateDeploymentCategory + # The category is unspecified. + GOLDENGATE_DEPLOYMENT_CATEGORY_UNSPECIFIED = 0 + + # The deployment is data replication. + DATA_REPLICATION = 1 + + # The deployment is data transforms. + DATA_TRANSFORMS = 2 + end + + # The various next maintenance action types of the GoldengateDeployment. + module NextMaintenanceActionType + # The next maintenance action type is unspecified. + NEXT_MAINTENANCE_ACTION_TYPE_UNSPECIFIED = 0 + + # The next maintenance action type is upgrade. + UPGRADE = 1 + end + + # The deployment role type of the GoldengateDeployment. + module GoldengateDeploymentRoleType + # The deployment role type is unspecified. + GOLDENGATE_DEPLOYMENT_ROLE_TYPE_UNSPECIFIED = 0 + + # The deployment role type is primary. + PRIMARY = 1 + + # The deployment role type is standby. + STANDBY = 2 + end + end + + # The Ogg data of the GoldengateDeployment. + # @!attribute [rw] admin_password + # @return [::String] + # Optional. The Goldengate deployment console password in plain text. + # + # 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. + # @!attribute [rw] admin_password_secret_version + # @return [::String] + # Optional. Input only. The Goldengate deployment console password secret + # version. + # + # Note: The following fields are mutually exclusive: `admin_password_secret_version`, `admin_password`. If a field in that set is populated, all other fields in the set will automatically be cleared. + # @!attribute [rw] deployment + # @return [::String] + # Required. The name given to the Goldengate service deployment. The name + # must be 1 to 32 characters long, must contain only alphanumeric characters + # and must start with a letter. + # @!attribute [rw] admin_username + # @return [::String] + # Required. The Goldengate deployment console username. + # @!attribute [rw] ogg_version + # @return [::String] + # Optional. Version of OGG + # @!attribute [r] certificate + # @return [::String] + # Output only. The certificate of the GoldengateDeployment. + # @!attribute [r] credential_store + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateOggDeployment::CredentialStore] + # Output only. The credential store of the GoldengateDeployment. + # @!attribute [r] identity_domain_id + # @return [::String] + # Output only. The identity domain id of the GoldengateDeployment. + # @!attribute [r] password_secret_id + # @return [::String] + # Output only. The password secret id of the GoldengateDeployment. + # @!attribute [r] group_roles_mapping + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateGroupToRolesMapping] + # Output only. The group to roles mapping of the GoldengateDeployment. + class GoldengateOggDeployment + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # The credential store of the GoldengateDeployment. + module CredentialStore + # The credential store is unspecified. + CREDENTIAL_STORE_UNSPECIFIED = 0 + + # The credential store is Goldengate. + GOLDENGATE = 1 + + # The credential store is IAM. + IAM = 2 + end + end + + # The maintenance window of the GoldengateDeployment. + # @!attribute [rw] day + # @return [::Google::Type::DayOfWeek] + # Required. Days of the week. + # @!attribute [rw] start_hour + # @return [::Integer] + # Required. Start hour for maintenance period. Hour is in UTC. + class GoldengateMaintenanceWindow + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The maintenance configuration of the GoldengateDeployment. + # @!attribute [rw] is_interim_release_auto_upgrade_enabled + # @return [::Boolean] + # Optional. By default auto upgrade for interim releases are not enabled. If + # auto-upgrade is enabled for interim release, you have to specify + # interim_release_upgrade_period_days too. + # @!attribute [rw] interim_release_upgrade_period_days + # @return [::Integer] + # Optional. Defines auto upgrade period for interim releases. This period + # must be shorter or equal to bundle release upgrade period. + # @!attribute [rw] bundle_release_upgrade_period_days + # @return [::Integer] + # Optional. Defines auto upgrade period for bundle releases. Manually + # configured period cannot be longer than service defined period for bundle + # releases. This period must be shorter or equal to major release upgrade + # period. Not passing this field during create will equate to using the + # service default. + # @!attribute [rw] major_release_upgrade_period_days + # @return [::Integer] + # Optional. Defines auto upgrade period for major releases. Manually + # configured period cannot be longer than service defined period for major + # releases. Not passing this field during create will equate to using the + # service default. + # @!attribute [rw] security_patch_upgrade_period_days + # @return [::Integer] + # Optional. Defines auto upgrade period for releases with security fix. + # Manually configured period cannot be longer than service defined period for + # security releases. Not passing this field during create will equate to + # using the service default. + class GoldengateMaintenanceConfig + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The deployment diagnostic data. + # @!attribute [r] namespace + # @return [::String] + # Output only. The namespace name. + # @!attribute [r] bucket + # @return [::String] + # Output only. The bucket name. + # @!attribute [r] object + # @return [::String] + # Output only. The object name. + # @!attribute [r] diagnostic_state + # @return [::Google::Cloud::OracleDatabase::V1::DeploymentDiagnosticData::DiagnosticState] + # Output only. The diagnostic state. + # @!attribute [r] diagnostic_start_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The time diagnostic start. + # @!attribute [r] diagnostic_end_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The time diagnostic end. + class DeploymentDiagnosticData + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # The possible states of the diagnostic data. + module DiagnosticState + # The diagnostic state is unspecified. + DIAGNOSTIC_STATE_UNSPECIFIED = 0 + + # The diagnostic is in progress. + IN_PROGRESS = 1 + + # The diagnostic completed successfully. + SUCCEEDED = 2 + + # The diagnostic failed. + FAILED = 3 + end + end + + # The backup schedule of the GoldengateDeployment. + # @!attribute [r] bucket + # @return [::String] + # Output only. The bucket name. + # @!attribute [r] compartment_id + # @return [::String] + # Output only. The compartment id. + # @!attribute [r] frequency_backup_scheduled + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateBackupSchedule::FrequencyBackupScheduled] + # Output only. The frequency backup scheduled. + # @!attribute [r] metadata_only + # @return [::Boolean] + # Output only. If metadata only. + # @!attribute [r] namespace + # @return [::String] + # Output only. The namespace name. + # @!attribute [r] backup_scheduled_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The timestamp of when the backup was scheduled. + class GoldengateBackupSchedule + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enum for frequency backup scheduled. + module FrequencyBackupScheduled + # The frequency backup scheduled is unspecified. + FREQUENCY_BACKUP_SCHEDULED_UNSPECIFIED = 0 + + # The frequency backup scheduled is daily. + DAILY = 1 + + # The frequency backup scheduled is weekly. + WEEKLY = 2 + + # The frequency backup scheduled is monthly. + MONTHLY = 3 + end + end + + # The ingress IPs of the GoldengateDeployment. + # @!attribute [r] ingress_ip_address + # @return [::String] + # Output only. The ingress IP. + class IngressIp + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The lock of the GoldengateDeployment. + # @!attribute [r] type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentLock::LockType] + # Output only. The type of lock. + # @!attribute [r] compartment_id + # @return [::String] + # Output only. The compartment id. + # @!attribute [r] related_resource_id + # @return [::String] + # Output only. The related resource id. + # @!attribute [r] message + # @return [::String] + # Output only. The message. + # @!attribute [r] create_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The time created. + class GoldengateDeploymentLock + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # The type of lock. + module LockType + # The lock type is unspecified. + LOCK_TYPE_UNSPECIFIED = 0 + + # The lock type is full. + FULL = 1 + + # The lock type is delete. + DELETE = 2 + end + end + + # The placement of the GoldengateDeployment. + # @!attribute [r] availability_domain + # @return [::String] + # Output only. The availability domain. + # @!attribute [r] fault_domain + # @return [::String] + # Output only. The fault domain. + class GoldengatePlacement + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The group to roles mapping of the GoldengateDeployment. + # @!attribute [r] security_group_id + # @return [::String] + # Output only. The security group id. + # @!attribute [r] administrator_group_id + # @return [::String] + # Output only. The administrator group id. + # @!attribute [r] operator_group_id + # @return [::String] + # Output only. The operator group id. + # @!attribute [r] user_group_id + # @return [::String] + # Output only. The user group id. + class GoldengateGroupToRolesMapping + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The request for `GoldengateDeployment.Create`. + # @!attribute [rw] parent + # @return [::String] + # Required. The value for parent of the GoldengateDeployment in the following + # format: projects/\\{project}/locations/\\{location}. + # @!attribute [rw] goldengate_deployment_id + # @return [::String] + # Required. The ID of the GoldengateDeployment to create. This value is + # restricted to (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$) and must be a maximum of + # 63 characters in length. The value must start with a letter and end with a + # letter or a number. + # @!attribute [rw] goldengate_deployment + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeployment] + # Required. The resource being created. + # @!attribute [rw] request_id + # @return [::String] + # Optional. An optional request ID to identify requests. Specify a unique + # request ID so that if you must retry your request, the server will know to + # ignore the request if it has already been completed. The server will + # guarantee that for at least 60 minutes since the first request. + # + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request + # ID, the server can check if original operation with the same request ID + # was received, and if so, will ignore the second request. This prevents + # clients from accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + class CreateGoldengateDeploymentRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The request for `GoldengateDeployment.Delete`. + # @!attribute [rw] name + # @return [::String] + # Required. The name of the GoldengateDeployment in the following format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment}. + # @!attribute [rw] request_id + # @return [::String] + # Optional. An optional ID to identify the request. This value is used to + # identify duplicate requests. If you make a request with the same request ID + # and the original request is still in progress or completed, the server + # ignores the second request. This prevents clients from + # accidentally creating duplicate commitments. + # + # The request ID must be a valid UUID with the exception that zero UUID is + # not supported (00000000-0000-0000-0000-000000000000). + class DeleteGoldengateDeploymentRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The request for `GoldengateDeployment.Get`. + # @!attribute [rw] name + # @return [::String] + # Required. The name of the GoldengateDeployment in the following format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment}. + class GetGoldengateDeploymentRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The request for `GoldengateDeployment.List`. + # @!attribute [rw] parent + # @return [::String] + # Required. The parent value for GoldengateDeployments in the following + # format: projects/\\{project}/locations/\\{location}. + # @!attribute [rw] page_size + # @return [::Integer] + # Optional. The maximum number of items to return. + # If unspecified, at most 50 GoldengateDeployments will be returned. + # The maximum value is 1000; values above 1000 will be coerced to 1000. + # @!attribute [rw] page_token + # @return [::String] + # Optional. A page token, received from a previous ListGoldengateDeployments + # call. Provide this to retrieve the subsequent page. + # @!attribute [rw] filter + # @return [::String] + # Optional. An expression for filtering the results of the request. + # @!attribute [rw] order_by + # @return [::String] + # Optional. An expression for ordering the results of the request. + class ListGoldengateDeploymentsRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The response for `GoldengateDeployment.List`. + # @!attribute [rw] goldengate_deployments + # @return [::Array<::Google::Cloud::OracleDatabase::V1::GoldengateDeployment>] + # The list of GoldengateDeployments. + # @!attribute [rw] next_page_token + # @return [::String] + # A token identifying a page of results the server should return. + # @!attribute [rw] unreachable + # @return [::Array<::String>] + # Optional. Locations that could not be reached. + class ListGoldengateDeploymentsResponse + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The request for `GoldengateDeployment.Stop`. + # @!attribute [rw] name + # @return [::String] + # Required. The name of the Goldengate Deployment in the following format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment}. + class StopGoldengateDeploymentRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # The request for `GoldengateDeployment.Start`. + # @!attribute [rw] name + # @return [::String] + # Required. The name of the Goldengate Deployment in the following format: + # projects/\\{project}/locations/\\{location}/goldengateDeployments/\\{goldengate_deployment}. + class StartGoldengateDeploymentRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + end + end + end +end diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_environment.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_environment.rb new file mode 100644 index 000000000000..b5929ddf5253 --- /dev/null +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_environment.rb @@ -0,0 +1,145 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + + +module Google + module Cloud + module OracleDatabase + module V1 + # Details of the Goldengate Deployment Environment resource. + # @!attribute [rw] name + # @return [::String] + # Identifier. The name of the Goldengate Deployment Environment resource with + # the format: + # projects/\\{project}/locations/\\{location}/goldengateDeploymentEnvironments/\\{goldengate_deployment_environment} + # @!attribute [r] category + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment::DeploymentCategory] + # Output only. The category of the Goldengate Deployment Environment + # resource. + # @!attribute [rw] display_name + # @return [::String] + # The display name of the Goldengate Deployment Environment resource. + # @!attribute [r] default_cpu_core_count + # @return [::Integer] + # Output only. The default CPU core count of the Goldengate Deployment + # Environment resource. + # @!attribute [r] environment_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment::DeploymentEnvironmentType] + # Output only. The environment type of the Goldengate Deployment Environment + # resource. + # @!attribute [r] auto_scaling_enabled + # @return [::Boolean] + # Output only. Whether auto scaling is enabled by default for the Goldengate + # Deployment Environment resource. + # @!attribute [r] max_cpu_core_count + # @return [::Integer] + # Output only. The max CPU core count of the Goldengate Deployment + # Environment resource. + # @!attribute [r] memory_gb_per_cpu_core + # @return [::Integer] + # Output only. The memory per CPU core in GBs of the Goldengate Deployment + # Environment resource. + # @!attribute [r] min_cpu_core_count + # @return [::Integer] + # Output only. The min CPU core count of the Goldengate Deployment + # Environment resource. + # @!attribute [r] network_bandwidth_gbps_per_cpu_core + # @return [::Integer] + # Output only. The network bandwidth per CPU core in Gbps of the Goldengate + # Deployment Environment resource. + # @!attribute [r] storage_usage_limit_gb_per_cpu_core + # @return [::Integer] + # Output only. The storage usage limit per CPU core in GBs of the Goldengate + # Deployment Environment resource. + class GoldengateDeploymentEnvironment + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Deployment category of the Goldengate Deployment resource. + module DeploymentCategory + # Default unspecified value. + DEPLOYMENT_CATEGORY_UNSPECIFIED = 0 + + # Goldengate Deployment Environment category is DATA_REPLICATION_CATEGORY. + DATA_REPLICATION_CATEGORY = 1 + + # Goldengate Deployment Environment category is DATA_TRANSFORMS_CATEGORY. + DATA_TRANSFORMS_CATEGORY = 2 + end + + # The environment type of the Goldengate Deployment Environment resource. + module DeploymentEnvironmentType + # Default unspecified value. + DEPLOYMENT_ENVIRONMENT_TYPE_UNSPECIFIED = 0 + + # Goldengate Deployment Environment type is PRODUCTION. + PRODUCTION = 1 + + # Goldengate Deployment Environment type is DEVELOPMENT_OR_TESTING. + DEVELOPMENT_OR_TESTING = 2 + end + end + + # Message for getting a GoldengateDeploymentEnvironment. + # @!attribute [rw] name + # @return [::String] + # Required. Name of the resource with the format: + # projects/\\{project}/locations/\\{location}/goldengateDeploymentEnvironments/\\{goldengate_deployment_environment} + class GetGoldengateDeploymentEnvironmentRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Message for listing GoldengateDeploymentEnvironments. + # @!attribute [rw] parent + # @return [::String] + # Required. The parent, which owns this collection of + # GoldengateDeploymentEnvironments. Format: + # projects/\\{project}/locations/\\{location} + # @!attribute [rw] page_size + # @return [::Integer] + # Optional. The maximum number of items to return. + # If unspecified, at most 50 deployment environments will be returned. + # The maximum value is 1000; values above 1000 will be coerced to 1000. + # @!attribute [rw] page_token + # @return [::String] + # Optional. A token identifying a page of results the server should return. + class ListGoldengateDeploymentEnvironmentsRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Message for response to listing GoldengateDeploymentEnvironments + # @!attribute [rw] goldengate_deployment_environments + # @return [::Array<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment>] + # The list of GoldengateDeploymentEnvironment + # @!attribute [rw] next_page_token + # @return [::String] + # A token identifying a page of results the server should return. + # If this field is empty, there are no subsequent pages. + # @!attribute [rw] unreachable + # @return [::Array<::String>] + # Unordered list. Locations that could not be reached. + class ListGoldengateDeploymentEnvironmentsResponse + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + end + end + end +end diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_type.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_type.rb new file mode 100644 index 000000000000..4faa09e065dd --- /dev/null +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_type.rb @@ -0,0 +1,177 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + + +module Google + module Cloud + module OracleDatabase + module V1 + # Details of the Goldengate Deployment Type resource. + # @!attribute [rw] name + # @return [::String] + # Identifier. The name of the Goldengate Deployment Type resource with the + # format: + # projects/\\{project}/locations/\\{region}/goldengateDeploymentTypes/\\{goldengate_deployment_type} + # @!attribute [r] deployment_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType::DeploymentType] + # Output only. The deployment type of the Goldengate Deployment Type + # resource. + # @!attribute [r] category + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType::DeploymentCategory] + # Output only. The category of the Goldengate Deployment Type resource. + # @!attribute [r] connection_types + # @return [::Array<::String>] + # Output only. The connection types of the Goldengate Deployment Type + # resource. + # @!attribute [r] display_name + # @return [::String] + # Output only. The display name of the Goldengate Deployment Type resource. + # @!attribute [r] ogg_version + # @return [::String] + # Output only. The Ogg version of the Goldengate Deployment Type resource. + # @!attribute [r] source_technologies + # @return [::Array<::String>] + # Output only. The source technologies of the Goldengate Deployment Type + # resource. + # @!attribute [r] supported_capabilities + # @return [::Array<::String>] + # Output only. The supported capabilities of the Goldengate Deployment Type + # resource. + # @!attribute [r] supported_technologies_url + # @return [::String] + # Output only. The supported technologies URL of the Goldengate Deployment + # Type resource. + # @!attribute [r] target_technologies + # @return [::Array<::String>] + # Output only. The target technologies of the Goldengate Deployment Type + # resource. + # @!attribute [r] default_username + # @return [::String] + # Output only. The default username of the Goldengate Deployment Type + # resource. + class GoldengateDeploymentType + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # The deployment type of the Goldengate Deployment Type resource. + module DeploymentType + # Default unspecified value. + DEPLOYMENT_TYPE_UNSPECIFIED = 0 + + # Goldengate Deployment Type category is OGG. + OGG = 1 + + # Goldengate Deployment Type category is DATABASE_ORACLE. + DATABASE_ORACLE = 2 + + # Goldengate Deployment Type category is BIGDATA. + BIGDATA = 3 + + # Goldengate Deployment Type category is DATABASE_MICROSOFT_SQLSERVER. + DATABASE_MICROSOFT_SQLSERVER = 4 + + # Goldengate Deployment Type category is DATABASE_MYSQL. + DATABASE_MYSQL = 5 + + # Goldengate Deployment Type category is DATABASE_POSTGRESQL. + DATABASE_POSTGRESQL = 6 + + # Goldengate Deployment Type category is DATABASE_DB2ZOS. + DATABASE_DB2ZOS = 7 + + # Goldengate Deployment Type category is DATABASE_DB2I. + DATABASE_DB2I = 8 + + # Goldengate Deployment Type category is GGSA. + GGSA = 9 + + # Goldengate Deployment Type category is DATA_TRANSFORMS. + DATA_TRANSFORMS = 10 + end + + # The category of the Goldengate Deployment Type resource. + module DeploymentCategory + # Default unspecified value. + DEPLOYMENT_CATEGORY_UNSPECIFIED = 0 + + # Goldengate Deployment Type category is DATA_REPLICATION_CATEGORY. + DATA_REPLICATION_CATEGORY = 1 + + # Goldengate Deployment Type category is DATA_TRANSFORMS_CATEGORY. + DATA_TRANSFORMS_CATEGORY = 2 + end + end + + # Message for getting a GoldengateDeploymentType. + # @!attribute [rw] name + # @return [::String] + # Required. The name of the GoldengateDeploymentType to retrieve. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateDeploymentTypes/\\{goldengate_deployment_type} + class GetGoldengateDeploymentTypeRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Message for listing GoldengateDeploymentTypes. + # @!attribute [rw] parent + # @return [::String] + # Required. The parent resource. + # Format: projects/\\{project}/locations/\\{location} + # @!attribute [rw] page_size + # @return [::Integer] + # Optional. Requested page size. Server may return fewer items than + # requested. If unspecified, server will pick an appropriate default. + # @!attribute [rw] page_token + # @return [::String] + # Optional. A token identifying a page of results the server should return. + # @!attribute [rw] filter + # @return [::String] + # Optional. An expression for filtering the results of the request. Either + # the deployment_type and ogg_version fields must be specified in the format: + # `deployment_type="DATABASE_ORACLE"` or `ogg_version="version"`. + # Allowed values for deployment_type are: `DATABASE_ORACLE`, `BIGDATA`, + # `DATABASE_MICROSOFT_SQLSERVER`, `DATABASE_MYSQL`, `DATABASE_POSTGRESQL`, + # `DATABASE_DB2ZOS`, `DATABASE_DB2I`, `GGSA`, `DATA_TRANSFORMS`. + # @!attribute [rw] order_by + # @return [::String] + # Optional. Hint for how to order the results + class ListGoldengateDeploymentTypesRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Message for response to listing GoldengateDeploymentTypes + # @!attribute [rw] goldengate_deployment_types + # @return [::Array<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType>] + # The list of GoldengateDeploymentType + # @!attribute [rw] next_page_token + # @return [::String] + # A token, which can be sent as `page_token` to retrieve the next page. + # If this field is omitted, there are no subsequent pages. + # @!attribute [rw] unreachable + # @return [::Array<::String>] + # Unordered list. The resource names of locations that could not be reached. + class ListGoldengateDeploymentTypesResponse + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + end + end + end +end diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_version.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_version.rb new file mode 100644 index 000000000000..2df1aac0ac04 --- /dev/null +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_version.rb @@ -0,0 +1,175 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + + +module Google + module Cloud + module OracleDatabase + module V1 + # Details of the Goldengate Deployment Version resource. + # @!attribute [rw] name + # @return [::String] + # Identifier. The name of the Goldengate Deployment Version resource with the + # format: + # projects/\\{project}/locations/\\{location}/goldengateDeploymentVersions/\\{goldengate_deployment_version} + # @!attribute [r] ocid + # @return [::String] + # Output only. The deployment version ocid of the Goldengate Deployment + # Version resource. + # @!attribute [r] properties + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersionProperties] + # Output only. The technology type of the Goldengate Deployment Version + # resource. + class GoldengateDeploymentVersion + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Properties of GoldengateDeploymentVersion. + # @!attribute [r] deployment_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersionProperties::DeploymentType] + # Output only. The deployment type of the Goldengate Deployment Version + # resource. + # @!attribute [rw] security_fix + # @return [::Boolean] + # Optional. Whether the Goldengate Deployment Version resource is a security + # fix. + # @!attribute [r] ogg_version + # @return [::String] + # Output only. The OGG version of the Goldengate Deployment Version resource. + # @!attribute [r] release_type + # @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersionProperties::DeploymentReleaseType] + # Output only. The release type of the Goldengate Deployment Version + # resource. + # @!attribute [r] release_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The release time of the Goldengate Deployment Version + # resource. + # @!attribute [r] support_end_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The support end time of the Goldengate Deployment Version + # resource. + class GoldengateDeploymentVersionProperties + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # The deployment type of the Goldengate Deployment Version resource. + module DeploymentType + # Default unspecified value. + DEPLOYMENT_TYPE_UNSPECIFIED = 0 + + # Goldengate Deployment Type category is OGG. + OGG = 1 + + # Goldengate Deployment Type category is DATABASE_ORACLE. + DATABASE_ORACLE = 2 + + # Goldengate Deployment Type category is BIGDATA. + BIGDATA = 3 + + # Goldengate Deployment Type category is DATABASE_MICROSOFT_SQLSERVER. + DATABASE_MICROSOFT_SQLSERVER = 4 + + # Goldengate Deployment Type category is DATABASE_MYSQL. + DATABASE_MYSQL = 5 + + # Goldengate Deployment Type category is DATABASE_POSTGRESQL. + DATABASE_POSTGRESQL = 6 + + # Goldengate Deployment Type category is DATABASE_DB2ZOS. + DATABASE_DB2ZOS = 7 + + # Goldengate Deployment Type category is DATABASE_DB2I. + DATABASE_DB2I = 8 + + # Goldengate Deployment Type category is GGSA. + GGSA = 9 + + # Goldengate Deployment Type category is DATA_TRANSFORMS. + DATA_TRANSFORMS = 10 + end + + # The release type of the Goldengate Deployment Version resource. + module DeploymentReleaseType + # Default unspecified value. + DEPLOYMENT_RELEASE_TYPE_UNSPECIFIED = 0 + + # Goldengate Deployment Version release type is MAJOR. + MAJOR = 1 + + # Goldengate Deployment Version release type is BUNDLE. + BUNDLE = 2 + + # Goldengate Deployment Version release type is MINOR. + MINOR = 3 + end + end + + # Message for getting a GoldengateDeploymentVersion. + # @!attribute [rw] name + # @return [::String] + # Required. The name of the GoldengateDeploymentVersion to retrieve. + # Format: + # projects/\\{project}/locations/\\{location}/goldengateDeploymentVersions/\\{goldengate_deployment_version} + class GetGoldengateDeploymentVersionRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Message for listing GoldengateDeploymentVersions. + # @!attribute [rw] parent + # @return [::String] + # Required. Parent value for ListGoldengateDeploymentVersionsRequest + # Format: projects/\\{project}/locations/\\{location} + # @!attribute [rw] page_size + # @return [::Integer] + # Optional. Requested page size. Server may return fewer items than + # requested. If unspecified, server will pick an appropriate default. The + # maximum value is 1000; values above 1000 will be coerced to 1000. + # @!attribute [rw] page_token + # @return [::String] + # Optional. A token identifying a page of results the server should return. + # @!attribute [rw] filter + # @return [::String] + # Optional. An expression for filtering the results of the request. Either + # the deployment_id and deployment_type fields must be specified in the + # format: `deployment_id="id"` or `deployment_type="DATABASE_ORACLE"`. + class ListGoldengateDeploymentVersionsRequest + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # Message for response to listing GoldengateDeploymentVersions + # @!attribute [rw] goldengate_deployment_versions + # @return [::Array<::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion>] + # The list of GoldengateDeploymentVersion + # @!attribute [rw] next_page_token + # @return [::String] + # A token, which can be sent as `page_token` to retrieve the next page. + # If this field is omitted, there are no subsequent pages. + # @!attribute [rw] unreachable + # @return [::Array<::String>] + # Unordered list. Locations that could not be reached. + class ListGoldengateDeploymentVersionsResponse + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + end + end + end +end diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb index 684d355111a4..b7cf8dedc5e8 100644 --- a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb @@ -52,6 +52,10 @@ class ListCloudExadataInfrastructuresRequest # @!attribute [rw] next_page_token # @return [::String] # A token for fetching next page of response. + # @!attribute [rw] unreachable + # @return [::Array<::String>] + # Unreachable locations when listing resources across all locations using + # wildcard location '-'. class ListCloudExadataInfrastructuresResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods @@ -151,6 +155,10 @@ class ListCloudVmClustersRequest # @!attribute [rw] next_page_token # @return [::String] # A token to fetch the next page of results. + # @!attribute [rw] unreachable + # @return [::Array<::String>] + # Unreachable locations when listing resources across all locations using + # wildcard location '-'. class ListCloudVmClustersResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods @@ -448,6 +456,10 @@ class ListAutonomousDatabasesRequest # @!attribute [rw] next_page_token # @return [::String] # A token identifying a page of results the server should return. + # @!attribute [rw] unreachable + # @return [::Array<::String>] + # Unreachable locations when listing resources across all locations using + # wildcard location '-'. class ListAutonomousDatabasesResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods @@ -588,7 +600,8 @@ class RestartAutonomousDatabaseRequest # projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}. # @!attribute [rw] peer_autonomous_database # @return [::String] - # Required. The peer database name to switch over to. + # Optional. The peer database name to switch over to. Required for + # cross-region standby, and must be omitted for in-region Data Guard. class SwitchoverAutonomousDatabaseRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods @@ -601,7 +614,8 @@ class SwitchoverAutonomousDatabaseRequest # projects/\\{project}/locations/\\{location}/autonomousDatabases/\\{autonomous_database}. # @!attribute [rw] peer_autonomous_database # @return [::String] - # Required. The peer database name to fail over to. + # Optional. The peer database name to fail over to. Required for cross-region + # standby, and must be omitted for in-region Data Guard. class FailoverAutonomousDatabaseRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods @@ -838,6 +852,10 @@ class ListExadbVmClustersRequest # @!attribute [rw] next_page_token # @return [::String] # A token identifying a page of results the server should return. + # @!attribute [rw] unreachable + # @return [::Array<::String>] + # Unreachable locations when listing resources across all locations using + # wildcard location '-'. class ListExadbVmClustersResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods diff --git a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb index 4097d7d1b985..59a753f5f8d9 100644 --- a/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb +++ b/google-cloud-oracle_database-v1/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb @@ -149,12 +149,12 @@ class LabelsEntry # @!attribute [r] state # @return [::Google::Cloud::OracleDatabase::V1::CloudVmClusterProperties::State] # Output only. State of the cluster. - # @!attribute [r] scan_listener_port_tcp + # @!attribute [rw] scan_listener_port_tcp # @return [::Integer] - # Output only. SCAN listener port - TCP - # @!attribute [r] scan_listener_port_tcp_ssl + # Optional. SCAN listener port - TCP + # @!attribute [rw] scan_listener_port_tcp_ssl # @return [::Integer] - # Output only. SCAN listener port - TLS + # Optional. SCAN listener port - TLS # @!attribute [r] domain # @return [::String] # Output only. Parent DNS domain where SCAN DNS and hosts names are diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/create_goldengate_connection.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/create_goldengate_connection.rb new file mode 100644 index 000000000000..e449d911b233 --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/create_goldengate_connection.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_CreateGoldengateConnection_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the create_goldengate_connection call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#create_goldengate_connection. +# +def create_goldengate_connection + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest.new + + # Call the create_goldengate_connection method. + result = client.create_goldengate_connection request + + # The returned object is of type Gapic::Operation. You can use it to + # check the status of an operation, cancel it, or wait for results. + # Here is how to wait for a response. + result.wait_until_done! timeout: 60 + if result.response? + p result.response + else + puts "No response received." + end +end +# [END oracledatabase_v1_generated_OracleDatabase_CreateGoldengateConnection_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/create_goldengate_connection_assignment.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/create_goldengate_connection_assignment.rb new file mode 100644 index 000000000000..5e2ed4da0201 --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/create_goldengate_connection_assignment.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_CreateGoldengateConnectionAssignment_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the create_goldengate_connection_assignment call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#create_goldengate_connection_assignment. +# +def create_goldengate_connection_assignment + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest.new + + # Call the create_goldengate_connection_assignment method. + result = client.create_goldengate_connection_assignment request + + # The returned object is of type Gapic::Operation. You can use it to + # check the status of an operation, cancel it, or wait for results. + # Here is how to wait for a response. + result.wait_until_done! timeout: 60 + if result.response? + p result.response + else + puts "No response received." + end +end +# [END oracledatabase_v1_generated_OracleDatabase_CreateGoldengateConnectionAssignment_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/create_goldengate_deployment.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/create_goldengate_deployment.rb new file mode 100644 index 000000000000..1f4f6bb1971d --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/create_goldengate_deployment.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_CreateGoldengateDeployment_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the create_goldengate_deployment call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#create_goldengate_deployment. +# +def create_goldengate_deployment + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest.new + + # Call the create_goldengate_deployment method. + result = client.create_goldengate_deployment request + + # The returned object is of type Gapic::Operation. You can use it to + # check the status of an operation, cancel it, or wait for results. + # Here is how to wait for a response. + result.wait_until_done! timeout: 60 + if result.response? + p result.response + else + puts "No response received." + end +end +# [END oracledatabase_v1_generated_OracleDatabase_CreateGoldengateDeployment_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/delete_goldengate_connection.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/delete_goldengate_connection.rb new file mode 100644 index 000000000000..0e6947f51955 --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/delete_goldengate_connection.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_DeleteGoldengateConnection_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the delete_goldengate_connection call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#delete_goldengate_connection. +# +def delete_goldengate_connection + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest.new + + # Call the delete_goldengate_connection method. + result = client.delete_goldengate_connection request + + # The returned object is of type Gapic::Operation. You can use it to + # check the status of an operation, cancel it, or wait for results. + # Here is how to wait for a response. + result.wait_until_done! timeout: 60 + if result.response? + p result.response + else + puts "No response received." + end +end +# [END oracledatabase_v1_generated_OracleDatabase_DeleteGoldengateConnection_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/delete_goldengate_connection_assignment.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/delete_goldengate_connection_assignment.rb new file mode 100644 index 000000000000..eead844d7caa --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/delete_goldengate_connection_assignment.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_DeleteGoldengateConnectionAssignment_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the delete_goldengate_connection_assignment call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#delete_goldengate_connection_assignment. +# +def delete_goldengate_connection_assignment + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest.new + + # Call the delete_goldengate_connection_assignment method. + result = client.delete_goldengate_connection_assignment request + + # The returned object is of type Gapic::Operation. You can use it to + # check the status of an operation, cancel it, or wait for results. + # Here is how to wait for a response. + result.wait_until_done! timeout: 60 + if result.response? + p result.response + else + puts "No response received." + end +end +# [END oracledatabase_v1_generated_OracleDatabase_DeleteGoldengateConnectionAssignment_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/delete_goldengate_deployment.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/delete_goldengate_deployment.rb new file mode 100644 index 000000000000..289228eea10e --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/delete_goldengate_deployment.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_DeleteGoldengateDeployment_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the delete_goldengate_deployment call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#delete_goldengate_deployment. +# +def delete_goldengate_deployment + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest.new + + # Call the delete_goldengate_deployment method. + result = client.delete_goldengate_deployment request + + # The returned object is of type Gapic::Operation. You can use it to + # check the status of an operation, cancel it, or wait for results. + # Here is how to wait for a response. + result.wait_until_done! timeout: 60 + if result.response? + p result.response + else + puts "No response received." + end +end +# [END oracledatabase_v1_generated_OracleDatabase_DeleteGoldengateDeployment_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_connection.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_connection.rb new file mode 100644 index 000000000000..d1f900b5501c --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_connection.rb @@ -0,0 +1,47 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_GetGoldengateConnection_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the get_goldengate_connection call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_connection. +# +def get_goldengate_connection + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest.new + + # Call the get_goldengate_connection method. + result = client.get_goldengate_connection request + + # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateConnection. + p result +end +# [END oracledatabase_v1_generated_OracleDatabase_GetGoldengateConnection_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_connection_assignment.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_connection_assignment.rb new file mode 100644 index 000000000000..f56baa91c94b --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_connection_assignment.rb @@ -0,0 +1,47 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_GetGoldengateConnectionAssignment_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the get_goldengate_connection_assignment call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_connection_assignment. +# +def get_goldengate_connection_assignment + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest.new + + # Call the get_goldengate_connection_assignment method. + result = client.get_goldengate_connection_assignment request + + # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment. + p result +end +# [END oracledatabase_v1_generated_OracleDatabase_GetGoldengateConnectionAssignment_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_connection_type.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_connection_type.rb new file mode 100644 index 000000000000..27a576e8b5f8 --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_connection_type.rb @@ -0,0 +1,47 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_GetGoldengateConnectionType_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the get_goldengate_connection_type call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_connection_type. +# +def get_goldengate_connection_type + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest.new + + # Call the get_goldengate_connection_type method. + result = client.get_goldengate_connection_type request + + # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateConnectionType. + p result +end +# [END oracledatabase_v1_generated_OracleDatabase_GetGoldengateConnectionType_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_deployment.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_deployment.rb new file mode 100644 index 000000000000..044f28a7d59a --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_deployment.rb @@ -0,0 +1,47 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_GetGoldengateDeployment_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the get_goldengate_deployment call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_deployment. +# +def get_goldengate_deployment + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest.new + + # Call the get_goldengate_deployment method. + result = client.get_goldengate_deployment request + + # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeployment. + p result +end +# [END oracledatabase_v1_generated_OracleDatabase_GetGoldengateDeployment_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_deployment_environment.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_deployment_environment.rb new file mode 100644 index 000000000000..902c7a11a7d3 --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_deployment_environment.rb @@ -0,0 +1,47 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_GetGoldengateDeploymentEnvironment_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the get_goldengate_deployment_environment call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_deployment_environment. +# +def get_goldengate_deployment_environment + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest.new + + # Call the get_goldengate_deployment_environment method. + result = client.get_goldengate_deployment_environment request + + # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment. + p result +end +# [END oracledatabase_v1_generated_OracleDatabase_GetGoldengateDeploymentEnvironment_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_deployment_type.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_deployment_type.rb new file mode 100644 index 000000000000..f9b0ff0ff85b --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_deployment_type.rb @@ -0,0 +1,47 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_GetGoldengateDeploymentType_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the get_goldengate_deployment_type call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_deployment_type. +# +def get_goldengate_deployment_type + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest.new + + # Call the get_goldengate_deployment_type method. + result = client.get_goldengate_deployment_type request + + # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType. + p result +end +# [END oracledatabase_v1_generated_OracleDatabase_GetGoldengateDeploymentType_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_deployment_version.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_deployment_version.rb new file mode 100644 index 000000000000..ca0869d5d9d8 --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/get_goldengate_deployment_version.rb @@ -0,0 +1,47 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_GetGoldengateDeploymentVersion_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the get_goldengate_deployment_version call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_deployment_version. +# +def get_goldengate_deployment_version + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest.new + + # Call the get_goldengate_deployment_version method. + result = client.get_goldengate_deployment_version request + + # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion. + p result +end +# [END oracledatabase_v1_generated_OracleDatabase_GetGoldengateDeploymentVersion_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_connection_assignments.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_connection_assignments.rb new file mode 100644 index 000000000000..f0710dd914de --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_connection_assignments.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_ListGoldengateConnectionAssignments_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the list_goldengate_connection_assignments call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_connection_assignments. +# +def list_goldengate_connection_assignments + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest.new + + # Call the list_goldengate_connection_assignments method. + result = client.list_goldengate_connection_assignments request + + # The returned object is of type Gapic::PagedEnumerable. You can iterate + # over elements, and API calls will be issued to fetch pages as needed. + result.each do |item| + # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment. + p item + end +end +# [END oracledatabase_v1_generated_OracleDatabase_ListGoldengateConnectionAssignments_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_connection_types.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_connection_types.rb new file mode 100644 index 000000000000..2f6308d38b1c --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_connection_types.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_ListGoldengateConnectionTypes_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the list_goldengate_connection_types call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_connection_types. +# +def list_goldengate_connection_types + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest.new + + # Call the list_goldengate_connection_types method. + result = client.list_goldengate_connection_types request + + # The returned object is of type Gapic::PagedEnumerable. You can iterate + # over elements, and API calls will be issued to fetch pages as needed. + result.each do |item| + # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType. + p item + end +end +# [END oracledatabase_v1_generated_OracleDatabase_ListGoldengateConnectionTypes_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_connections.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_connections.rb new file mode 100644 index 000000000000..114d28561f7a --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_connections.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_ListGoldengateConnections_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the list_goldengate_connections call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_connections. +# +def list_goldengate_connections + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest.new + + # Call the list_goldengate_connections method. + result = client.list_goldengate_connections request + + # The returned object is of type Gapic::PagedEnumerable. You can iterate + # over elements, and API calls will be issued to fetch pages as needed. + result.each do |item| + # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateConnection. + p item + end +end +# [END oracledatabase_v1_generated_OracleDatabase_ListGoldengateConnections_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_deployment_environments.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_deployment_environments.rb new file mode 100644 index 000000000000..65dad9b55ea0 --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_deployment_environments.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_ListGoldengateDeploymentEnvironments_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the list_goldengate_deployment_environments call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_deployment_environments. +# +def list_goldengate_deployment_environments + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest.new + + # Call the list_goldengate_deployment_environments method. + result = client.list_goldengate_deployment_environments request + + # The returned object is of type Gapic::PagedEnumerable. You can iterate + # over elements, and API calls will be issued to fetch pages as needed. + result.each do |item| + # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment. + p item + end +end +# [END oracledatabase_v1_generated_OracleDatabase_ListGoldengateDeploymentEnvironments_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_deployment_types.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_deployment_types.rb new file mode 100644 index 000000000000..3e0f19565539 --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_deployment_types.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_ListGoldengateDeploymentTypes_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the list_goldengate_deployment_types call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_deployment_types. +# +def list_goldengate_deployment_types + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest.new + + # Call the list_goldengate_deployment_types method. + result = client.list_goldengate_deployment_types request + + # The returned object is of type Gapic::PagedEnumerable. You can iterate + # over elements, and API calls will be issued to fetch pages as needed. + result.each do |item| + # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType. + p item + end +end +# [END oracledatabase_v1_generated_OracleDatabase_ListGoldengateDeploymentTypes_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_deployment_versions.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_deployment_versions.rb new file mode 100644 index 000000000000..01734b2b98a0 --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_deployment_versions.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_ListGoldengateDeploymentVersions_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the list_goldengate_deployment_versions call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_deployment_versions. +# +def list_goldengate_deployment_versions + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest.new + + # Call the list_goldengate_deployment_versions method. + result = client.list_goldengate_deployment_versions request + + # The returned object is of type Gapic::PagedEnumerable. You can iterate + # over elements, and API calls will be issued to fetch pages as needed. + result.each do |item| + # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion. + p item + end +end +# [END oracledatabase_v1_generated_OracleDatabase_ListGoldengateDeploymentVersions_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_deployments.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_deployments.rb new file mode 100644 index 000000000000..fc553dcb3479 --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/list_goldengate_deployments.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_ListGoldengateDeployments_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the list_goldengate_deployments call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_deployments. +# +def list_goldengate_deployments + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest.new + + # Call the list_goldengate_deployments method. + result = client.list_goldengate_deployments request + + # The returned object is of type Gapic::PagedEnumerable. You can iterate + # over elements, and API calls will be issued to fetch pages as needed. + result.each do |item| + # Each element is of type ::Google::Cloud::OracleDatabase::V1::GoldengateDeployment. + p item + end +end +# [END oracledatabase_v1_generated_OracleDatabase_ListGoldengateDeployments_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/start_goldengate_deployment.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/start_goldengate_deployment.rb new file mode 100644 index 000000000000..c2b129f746f7 --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/start_goldengate_deployment.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_StartGoldengateDeployment_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the start_goldengate_deployment call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#start_goldengate_deployment. +# +def start_goldengate_deployment + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest.new + + # Call the start_goldengate_deployment method. + result = client.start_goldengate_deployment request + + # The returned object is of type Gapic::Operation. You can use it to + # check the status of an operation, cancel it, or wait for results. + # Here is how to wait for a response. + result.wait_until_done! timeout: 60 + if result.response? + p result.response + else + puts "No response received." + end +end +# [END oracledatabase_v1_generated_OracleDatabase_StartGoldengateDeployment_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/stop_goldengate_deployment.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/stop_goldengate_deployment.rb new file mode 100644 index 000000000000..9ec29a5d49e2 --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/stop_goldengate_deployment.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_StopGoldengateDeployment_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the stop_goldengate_deployment call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#stop_goldengate_deployment. +# +def stop_goldengate_deployment + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest.new + + # Call the stop_goldengate_deployment method. + result = client.stop_goldengate_deployment request + + # The returned object is of type Gapic::Operation. You can use it to + # check the status of an operation, cancel it, or wait for results. + # Here is how to wait for a response. + result.wait_until_done! timeout: 60 + if result.response? + p result.response + else + puts "No response received." + end +end +# [END oracledatabase_v1_generated_OracleDatabase_StopGoldengateDeployment_sync] diff --git a/google-cloud-oracle_database-v1/snippets/oracle_database/test_goldengate_connection_assignment.rb b/google-cloud-oracle_database-v1/snippets/oracle_database/test_goldengate_connection_assignment.rb new file mode 100644 index 000000000000..150605576370 --- /dev/null +++ b/google-cloud-oracle_database-v1/snippets/oracle_database/test_goldengate_connection_assignment.rb @@ -0,0 +1,47 @@ +# frozen_string_literal: true + +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + +# [START oracledatabase_v1_generated_OracleDatabase_TestGoldengateConnectionAssignment_sync] +require "google/cloud/oracle_database/v1" + +## +# Snippet for the test_goldengate_connection_assignment call in the OracleDatabase service +# +# This snippet has been automatically generated and should be regarded as a code +# template only. It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in https://cloud.google.com/ruby/docs/reference. +# +# This is an auto-generated example demonstrating basic usage of +# Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#test_goldengate_connection_assignment. +# +def test_goldengate_connection_assignment + # Create a client object. The client can be reused for multiple calls. + client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new + + # Create a request. To set request fields, pass in keyword arguments. + request = Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest.new + + # Call the test_goldengate_connection_assignment method. + result = client.test_goldengate_connection_assignment request + + # The returned object is of type Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse. + p result +end +# [END oracledatabase_v1_generated_OracleDatabase_TestGoldengateConnectionAssignment_sync] diff --git a/google-cloud-oracle_database-v1/snippets/snippet_metadata_google.cloud.oracledatabase.v1.json b/google-cloud-oracle_database-v1/snippets/snippet_metadata_google.cloud.oracledatabase.v1.json index 4e7d90352fe6..5e431c4714b1 100644 --- a/google-cloud-oracle_database-v1/snippets/snippet_metadata_google.cloud.oracledatabase.v1.json +++ b/google-cloud-oracle_database-v1/snippets/snippet_metadata_google.cloud.oracledatabase.v1.json @@ -2251,6 +2251,726 @@ } ] }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_ListGoldengateDeployments_sync", + "title": "Snippet for the list_goldengate_deployments call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_deployments.", + "file": "oracle_database/list_goldengate_deployments.rb", + "language": "RUBY", + "client_method": { + "short_name": "list_goldengate_deployments", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_deployments", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsResponse", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "ListGoldengateDeployments", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.ListGoldengateDeployments", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 50, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_GetGoldengateDeployment_sync", + "title": "Snippet for the get_goldengate_deployment call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_deployment.", + "file": "oracle_database/get_goldengate_deployment.rb", + "language": "RUBY", + "client_method": { + "short_name": "get_goldengate_deployment", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_deployment", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::GoldengateDeployment", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "GetGoldengateDeployment", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.GetGoldengateDeployment", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_CreateGoldengateDeployment_sync", + "title": "Snippet for the create_goldengate_deployment call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#create_goldengate_deployment.", + "file": "oracle_database/create_goldengate_deployment.rb", + "language": "RUBY", + "client_method": { + "short_name": "create_goldengate_deployment", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#create_goldengate_deployment", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest", + "name": "request" + } + ], + "result_type": "::Google::Longrunning::Operation", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "CreateGoldengateDeployment", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.CreateGoldengateDeployment", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 53, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_DeleteGoldengateDeployment_sync", + "title": "Snippet for the delete_goldengate_deployment call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#delete_goldengate_deployment.", + "file": "oracle_database/delete_goldengate_deployment.rb", + "language": "RUBY", + "client_method": { + "short_name": "delete_goldengate_deployment", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#delete_goldengate_deployment", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest", + "name": "request" + } + ], + "result_type": "::Google::Longrunning::Operation", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "DeleteGoldengateDeployment", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteGoldengateDeployment", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 53, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_StopGoldengateDeployment_sync", + "title": "Snippet for the stop_goldengate_deployment call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#stop_goldengate_deployment.", + "file": "oracle_database/stop_goldengate_deployment.rb", + "language": "RUBY", + "client_method": { + "short_name": "stop_goldengate_deployment", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#stop_goldengate_deployment", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest", + "name": "request" + } + ], + "result_type": "::Google::Longrunning::Operation", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "StopGoldengateDeployment", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.StopGoldengateDeployment", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 53, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_StartGoldengateDeployment_sync", + "title": "Snippet for the start_goldengate_deployment call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#start_goldengate_deployment.", + "file": "oracle_database/start_goldengate_deployment.rb", + "language": "RUBY", + "client_method": { + "short_name": "start_goldengate_deployment", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#start_goldengate_deployment", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest", + "name": "request" + } + ], + "result_type": "::Google::Longrunning::Operation", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "StartGoldengateDeployment", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.StartGoldengateDeployment", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 53, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_ListGoldengateConnections_sync", + "title": "Snippet for the list_goldengate_connections call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_connections.", + "file": "oracle_database/list_goldengate_connections.rb", + "language": "RUBY", + "client_method": { + "short_name": "list_goldengate_connections", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_connections", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsResponse", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "ListGoldengateConnections", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.ListGoldengateConnections", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 50, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_GetGoldengateConnection_sync", + "title": "Snippet for the get_goldengate_connection call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_connection.", + "file": "oracle_database/get_goldengate_connection.rb", + "language": "RUBY", + "client_method": { + "short_name": "get_goldengate_connection", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_connection", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::GoldengateConnection", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "GetGoldengateConnection", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.GetGoldengateConnection", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_CreateGoldengateConnection_sync", + "title": "Snippet for the create_goldengate_connection call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#create_goldengate_connection.", + "file": "oracle_database/create_goldengate_connection.rb", + "language": "RUBY", + "client_method": { + "short_name": "create_goldengate_connection", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#create_goldengate_connection", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest", + "name": "request" + } + ], + "result_type": "::Google::Longrunning::Operation", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "CreateGoldengateConnection", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.CreateGoldengateConnection", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 53, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_DeleteGoldengateConnection_sync", + "title": "Snippet for the delete_goldengate_connection call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#delete_goldengate_connection.", + "file": "oracle_database/delete_goldengate_connection.rb", + "language": "RUBY", + "client_method": { + "short_name": "delete_goldengate_connection", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#delete_goldengate_connection", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest", + "name": "request" + } + ], + "result_type": "::Google::Longrunning::Operation", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "DeleteGoldengateConnection", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteGoldengateConnection", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 53, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_GetGoldengateDeploymentVersion_sync", + "title": "Snippet for the get_goldengate_deployment_version call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_deployment_version.", + "file": "oracle_database/get_goldengate_deployment_version.rb", + "language": "RUBY", + "client_method": { + "short_name": "get_goldengate_deployment_version", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_deployment_version", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "GetGoldengateDeploymentVersion", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.GetGoldengateDeploymentVersion", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_ListGoldengateDeploymentVersions_sync", + "title": "Snippet for the list_goldengate_deployment_versions call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_deployment_versions.", + "file": "oracle_database/list_goldengate_deployment_versions.rb", + "language": "RUBY", + "client_method": { + "short_name": "list_goldengate_deployment_versions", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_deployment_versions", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsResponse", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "ListGoldengateDeploymentVersions", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.ListGoldengateDeploymentVersions", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 50, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_GetGoldengateDeploymentType_sync", + "title": "Snippet for the get_goldengate_deployment_type call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_deployment_type.", + "file": "oracle_database/get_goldengate_deployment_type.rb", + "language": "RUBY", + "client_method": { + "short_name": "get_goldengate_deployment_type", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_deployment_type", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "GetGoldengateDeploymentType", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.GetGoldengateDeploymentType", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_ListGoldengateDeploymentTypes_sync", + "title": "Snippet for the list_goldengate_deployment_types call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_deployment_types.", + "file": "oracle_database/list_goldengate_deployment_types.rb", + "language": "RUBY", + "client_method": { + "short_name": "list_goldengate_deployment_types", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_deployment_types", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesResponse", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "ListGoldengateDeploymentTypes", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.ListGoldengateDeploymentTypes", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 50, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_GetGoldengateDeploymentEnvironment_sync", + "title": "Snippet for the get_goldengate_deployment_environment call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_deployment_environment.", + "file": "oracle_database/get_goldengate_deployment_environment.rb", + "language": "RUBY", + "client_method": { + "short_name": "get_goldengate_deployment_environment", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_deployment_environment", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "GetGoldengateDeploymentEnvironment", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.GetGoldengateDeploymentEnvironment", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_ListGoldengateDeploymentEnvironments_sync", + "title": "Snippet for the list_goldengate_deployment_environments call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_deployment_environments.", + "file": "oracle_database/list_goldengate_deployment_environments.rb", + "language": "RUBY", + "client_method": { + "short_name": "list_goldengate_deployment_environments", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_deployment_environments", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsResponse", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "ListGoldengateDeploymentEnvironments", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.ListGoldengateDeploymentEnvironments", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 50, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_GetGoldengateConnectionType_sync", + "title": "Snippet for the get_goldengate_connection_type call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_connection_type.", + "file": "oracle_database/get_goldengate_connection_type.rb", + "language": "RUBY", + "client_method": { + "short_name": "get_goldengate_connection_type", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_connection_type", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "GetGoldengateConnectionType", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.GetGoldengateConnectionType", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_ListGoldengateConnectionTypes_sync", + "title": "Snippet for the list_goldengate_connection_types call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_connection_types.", + "file": "oracle_database/list_goldengate_connection_types.rb", + "language": "RUBY", + "client_method": { + "short_name": "list_goldengate_connection_types", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_connection_types", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesResponse", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "ListGoldengateConnectionTypes", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.ListGoldengateConnectionTypes", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 50, + "type": "FULL" + } + ] + }, { "region_tag": "oracledatabase_v1_generated_OracleDatabase_ListDbVersions_sync", "title": "Snippet for the list_db_versions call in the OracleDatabase service", @@ -2330,6 +3050,206 @@ "type": "FULL" } ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_ListGoldengateConnectionAssignments_sync", + "title": "Snippet for the list_goldengate_connection_assignments call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_connection_assignments.", + "file": "oracle_database/list_goldengate_connection_assignments.rb", + "language": "RUBY", + "client_method": { + "short_name": "list_goldengate_connection_assignments", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#list_goldengate_connection_assignments", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsResponse", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "ListGoldengateConnectionAssignments", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.ListGoldengateConnectionAssignments", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 50, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_GetGoldengateConnectionAssignment_sync", + "title": "Snippet for the get_goldengate_connection_assignment call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_connection_assignment.", + "file": "oracle_database/get_goldengate_connection_assignment.rb", + "language": "RUBY", + "client_method": { + "short_name": "get_goldengate_connection_assignment", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#get_goldengate_connection_assignment", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "GetGoldengateConnectionAssignment", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.GetGoldengateConnectionAssignment", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_CreateGoldengateConnectionAssignment_sync", + "title": "Snippet for the create_goldengate_connection_assignment call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#create_goldengate_connection_assignment.", + "file": "oracle_database/create_goldengate_connection_assignment.rb", + "language": "RUBY", + "client_method": { + "short_name": "create_goldengate_connection_assignment", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#create_goldengate_connection_assignment", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest", + "name": "request" + } + ], + "result_type": "::Google::Longrunning::Operation", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "CreateGoldengateConnectionAssignment", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.CreateGoldengateConnectionAssignment", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 53, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_DeleteGoldengateConnectionAssignment_sync", + "title": "Snippet for the delete_goldengate_connection_assignment call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#delete_goldengate_connection_assignment.", + "file": "oracle_database/delete_goldengate_connection_assignment.rb", + "language": "RUBY", + "client_method": { + "short_name": "delete_goldengate_connection_assignment", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#delete_goldengate_connection_assignment", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest", + "name": "request" + } + ], + "result_type": "::Google::Longrunning::Operation", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "DeleteGoldengateConnectionAssignment", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteGoldengateConnectionAssignment", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 53, + "type": "FULL" + } + ] + }, + { + "region_tag": "oracledatabase_v1_generated_OracleDatabase_TestGoldengateConnectionAssignment_sync", + "title": "Snippet for the test_goldengate_connection_assignment call in the OracleDatabase service", + "description": "This is an auto-generated example demonstrating basic usage of Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#test_goldengate_connection_assignment.", + "file": "oracle_database/test_goldengate_connection_assignment.rb", + "language": "RUBY", + "client_method": { + "short_name": "test_goldengate_connection_assignment", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client#test_goldengate_connection_assignment", + "async": false, + "parameters": [ + { + "type": "::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest", + "name": "request" + } + ], + "result_type": "::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse", + "client": { + "short_name": "OracleDatabase::Client", + "full_name": "::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client" + }, + "method": { + "short_name": "TestGoldengateConnectionAssignment", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase.TestGoldengateConnectionAssignment", + "service": { + "short_name": "OracleDatabase", + "full_name": "google.cloud.oracledatabase.v1.OracleDatabase" + } + } + }, + "canonical": true, + "origin": "API_DEFINITION", + "segments": [ + { + "start": 20, + "end": 46, + "type": "FULL" + } + ] } ] } \ No newline at end of file diff --git a/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_paths_test.rb b/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_paths_test.rb index 248184bb5b99..bdd58b2ae0e8 100644 --- a/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_paths_test.rb +++ b/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_paths_test.rb @@ -149,6 +149,90 @@ def test_gi_version_path end end + def test_goldengate_connection_path + grpc_channel = ::GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + ::Gapic::ServiceStub.stub :new, DummyStub.new do + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + path = client.goldengate_connection_path project: "value0", location: "value1", goldengate_connection: "value2" + assert_equal "projects/value0/locations/value1/goldengateConnections/value2", path + end + end + + def test_goldengate_connection_assignment_path + grpc_channel = ::GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + ::Gapic::ServiceStub.stub :new, DummyStub.new do + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + path = client.goldengate_connection_assignment_path project: "value0", location: "value1", goldengate_connection_assignment: "value2" + assert_equal "projects/value0/locations/value1/goldengateConnectionAssignments/value2", path + end + end + + def test_goldengate_connection_type_path + grpc_channel = ::GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + ::Gapic::ServiceStub.stub :new, DummyStub.new do + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + path = client.goldengate_connection_type_path project: "value0", location: "value1", goldengate_connection_type: "value2" + assert_equal "projects/value0/locations/value1/goldengateConnectionTypes/value2", path + end + end + + def test_goldengate_deployment_path + grpc_channel = ::GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + ::Gapic::ServiceStub.stub :new, DummyStub.new do + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + path = client.goldengate_deployment_path project: "value0", location: "value1", goldengate_deployment: "value2" + assert_equal "projects/value0/locations/value1/goldengateDeployments/value2", path + end + end + + def test_goldengate_deployment_environment_path + grpc_channel = ::GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + ::Gapic::ServiceStub.stub :new, DummyStub.new do + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + path = client.goldengate_deployment_environment_path project: "value0", location: "value1", goldengate_deployment_environment: "value2" + assert_equal "projects/value0/locations/value1/goldengateDeploymentEnvironments/value2", path + end + end + + def test_goldengate_deployment_type_path + grpc_channel = ::GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + ::Gapic::ServiceStub.stub :new, DummyStub.new do + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + path = client.goldengate_deployment_type_path project: "value0", location: "value1", goldengate_deployment_type: "value2" + assert_equal "projects/value0/locations/value1/goldengateDeploymentTypes/value2", path + end + end + + def test_goldengate_deployment_version_path + grpc_channel = ::GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + ::Gapic::ServiceStub.stub :new, DummyStub.new do + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + path = client.goldengate_deployment_version_path project: "value0", location: "value1", goldengate_deployment_version: "value2" + assert_equal "projects/value0/locations/value1/goldengateDeploymentVersions/value2", path + end + end + def test_location_path grpc_channel = ::GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure ::Gapic::ServiceStub.stub :new, DummyStub.new do @@ -208,4 +292,16 @@ def test_pluggable_database_path assert_equal "projects/value0/locations/value1/pluggableDatabases/value2", path end end + + def test_secret_version_path + grpc_channel = ::GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + ::Gapic::ServiceStub.stub :new, DummyStub.new do + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + path = client.secret_version_path project: "value0", secret: "value1", secret_version: "value2" + assert_equal "projects/value0/secrets/value1/versions/value2", path + end + end end diff --git a/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_rest_test.rb b/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_rest_test.rb index 44faa21b54fa..0022af455a82 100644 --- a/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_rest_test.rb +++ b/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_rest_test.rb @@ -3210,6 +3210,1006 @@ def test_delete_db_system end end + def test_list_goldengate_deployments + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsResponse.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + filter = "hello world" + order_by = "hello world" + + list_goldengate_deployments_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_list_goldengate_deployments_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, list_goldengate_deployments_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.list_goldengate_deployments({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.list_goldengate_deployments parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.list_goldengate_deployments ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.list_goldengate_deployments({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.list_goldengate_deployments(::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, list_goldengate_deployments_client_stub.call_count + end + end + end + + def test_get_goldengate_deployment + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::GoldengateDeployment.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_deployment_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_get_goldengate_deployment_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, get_goldengate_deployment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.get_goldengate_deployment({ name: name }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.get_goldengate_deployment name: name do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.get_goldengate_deployment ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest.new(name: name) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.get_goldengate_deployment({ name: name }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.get_goldengate_deployment(::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest.new(name: name), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, get_goldengate_deployment_client_stub.call_count + end + end + end + + def test_create_goldengate_deployment + # Create test objects. + client_result = ::Google::Longrunning::Operation.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + goldengate_deployment_id = "hello world" + goldengate_deployment = {} + request_id = "hello world" + + create_goldengate_deployment_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_create_goldengate_deployment_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, create_goldengate_deployment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.create_goldengate_deployment({ parent: parent, goldengate_deployment_id: goldengate_deployment_id, goldengate_deployment: goldengate_deployment, request_id: request_id }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.create_goldengate_deployment parent: parent, goldengate_deployment_id: goldengate_deployment_id, goldengate_deployment: goldengate_deployment, request_id: request_id do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.create_goldengate_deployment ::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest.new(parent: parent, goldengate_deployment_id: goldengate_deployment_id, goldengate_deployment: goldengate_deployment, request_id: request_id) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.create_goldengate_deployment({ parent: parent, goldengate_deployment_id: goldengate_deployment_id, goldengate_deployment: goldengate_deployment, request_id: request_id }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.create_goldengate_deployment(::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest.new(parent: parent, goldengate_deployment_id: goldengate_deployment_id, goldengate_deployment: goldengate_deployment, request_id: request_id), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, create_goldengate_deployment_client_stub.call_count + end + end + end + + def test_delete_goldengate_deployment + # Create test objects. + client_result = ::Google::Longrunning::Operation.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + name = "hello world" + request_id = "hello world" + + delete_goldengate_deployment_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_delete_goldengate_deployment_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, delete_goldengate_deployment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.delete_goldengate_deployment({ name: name, request_id: request_id }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.delete_goldengate_deployment name: name, request_id: request_id do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.delete_goldengate_deployment ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest.new(name: name, request_id: request_id) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.delete_goldengate_deployment({ name: name, request_id: request_id }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.delete_goldengate_deployment(::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest.new(name: name, request_id: request_id), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, delete_goldengate_deployment_client_stub.call_count + end + end + end + + def test_stop_goldengate_deployment + # Create test objects. + client_result = ::Google::Longrunning::Operation.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + stop_goldengate_deployment_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_stop_goldengate_deployment_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, stop_goldengate_deployment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.stop_goldengate_deployment({ name: name }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.stop_goldengate_deployment name: name do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.stop_goldengate_deployment ::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest.new(name: name) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.stop_goldengate_deployment({ name: name }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.stop_goldengate_deployment(::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest.new(name: name), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, stop_goldengate_deployment_client_stub.call_count + end + end + end + + def test_start_goldengate_deployment + # Create test objects. + client_result = ::Google::Longrunning::Operation.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + start_goldengate_deployment_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_start_goldengate_deployment_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, start_goldengate_deployment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.start_goldengate_deployment({ name: name }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.start_goldengate_deployment name: name do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.start_goldengate_deployment ::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest.new(name: name) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.start_goldengate_deployment({ name: name }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.start_goldengate_deployment(::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest.new(name: name), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, start_goldengate_deployment_client_stub.call_count + end + end + end + + def test_list_goldengate_connections + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsResponse.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + filter = "hello world" + order_by = "hello world" + + list_goldengate_connections_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_list_goldengate_connections_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, list_goldengate_connections_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.list_goldengate_connections({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.list_goldengate_connections parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.list_goldengate_connections ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.list_goldengate_connections({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.list_goldengate_connections(::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, list_goldengate_connections_client_stub.call_count + end + end + end + + def test_get_goldengate_connection + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::GoldengateConnection.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_connection_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_get_goldengate_connection_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, get_goldengate_connection_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.get_goldengate_connection({ name: name }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.get_goldengate_connection name: name do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.get_goldengate_connection ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest.new(name: name) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.get_goldengate_connection({ name: name }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.get_goldengate_connection(::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest.new(name: name), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, get_goldengate_connection_client_stub.call_count + end + end + end + + def test_create_goldengate_connection + # Create test objects. + client_result = ::Google::Longrunning::Operation.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + goldengate_connection_id = "hello world" + goldengate_connection = {} + request_id = "hello world" + + create_goldengate_connection_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_create_goldengate_connection_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, create_goldengate_connection_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.create_goldengate_connection({ parent: parent, goldengate_connection_id: goldengate_connection_id, goldengate_connection: goldengate_connection, request_id: request_id }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.create_goldengate_connection parent: parent, goldengate_connection_id: goldengate_connection_id, goldengate_connection: goldengate_connection, request_id: request_id do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.create_goldengate_connection ::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest.new(parent: parent, goldengate_connection_id: goldengate_connection_id, goldengate_connection: goldengate_connection, request_id: request_id) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.create_goldengate_connection({ parent: parent, goldengate_connection_id: goldengate_connection_id, goldengate_connection: goldengate_connection, request_id: request_id }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.create_goldengate_connection(::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest.new(parent: parent, goldengate_connection_id: goldengate_connection_id, goldengate_connection: goldengate_connection, request_id: request_id), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, create_goldengate_connection_client_stub.call_count + end + end + end + + def test_delete_goldengate_connection + # Create test objects. + client_result = ::Google::Longrunning::Operation.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + name = "hello world" + request_id = "hello world" + + delete_goldengate_connection_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_delete_goldengate_connection_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, delete_goldengate_connection_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.delete_goldengate_connection({ name: name, request_id: request_id }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.delete_goldengate_connection name: name, request_id: request_id do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.delete_goldengate_connection ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest.new(name: name, request_id: request_id) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.delete_goldengate_connection({ name: name, request_id: request_id }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.delete_goldengate_connection(::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest.new(name: name, request_id: request_id), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, delete_goldengate_connection_client_stub.call_count + end + end + end + + def test_get_goldengate_deployment_version + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_deployment_version_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_get_goldengate_deployment_version_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, get_goldengate_deployment_version_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.get_goldengate_deployment_version({ name: name }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.get_goldengate_deployment_version name: name do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.get_goldengate_deployment_version ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest.new(name: name) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.get_goldengate_deployment_version({ name: name }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.get_goldengate_deployment_version(::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest.new(name: name), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, get_goldengate_deployment_version_client_stub.call_count + end + end + end + + def test_list_goldengate_deployment_versions + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsResponse.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + filter = "hello world" + + list_goldengate_deployment_versions_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_list_goldengate_deployment_versions_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, list_goldengate_deployment_versions_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.list_goldengate_deployment_versions({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.list_goldengate_deployment_versions parent: parent, page_size: page_size, page_token: page_token, filter: filter do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.list_goldengate_deployment_versions ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.list_goldengate_deployment_versions({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.list_goldengate_deployment_versions(::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, list_goldengate_deployment_versions_client_stub.call_count + end + end + end + + def test_get_goldengate_deployment_type + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_deployment_type_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_get_goldengate_deployment_type_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, get_goldengate_deployment_type_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.get_goldengate_deployment_type({ name: name }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.get_goldengate_deployment_type name: name do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.get_goldengate_deployment_type ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest.new(name: name) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.get_goldengate_deployment_type({ name: name }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.get_goldengate_deployment_type(::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest.new(name: name), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, get_goldengate_deployment_type_client_stub.call_count + end + end + end + + def test_list_goldengate_deployment_types + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesResponse.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + filter = "hello world" + order_by = "hello world" + + list_goldengate_deployment_types_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_list_goldengate_deployment_types_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, list_goldengate_deployment_types_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.list_goldengate_deployment_types({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.list_goldengate_deployment_types parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.list_goldengate_deployment_types ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.list_goldengate_deployment_types({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.list_goldengate_deployment_types(::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, list_goldengate_deployment_types_client_stub.call_count + end + end + end + + def test_get_goldengate_deployment_environment + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_deployment_environment_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_get_goldengate_deployment_environment_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, get_goldengate_deployment_environment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.get_goldengate_deployment_environment({ name: name }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.get_goldengate_deployment_environment name: name do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.get_goldengate_deployment_environment ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest.new(name: name) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.get_goldengate_deployment_environment({ name: name }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.get_goldengate_deployment_environment(::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest.new(name: name), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, get_goldengate_deployment_environment_client_stub.call_count + end + end + end + + def test_list_goldengate_deployment_environments + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsResponse.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + + list_goldengate_deployment_environments_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_list_goldengate_deployment_environments_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, list_goldengate_deployment_environments_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.list_goldengate_deployment_environments({ parent: parent, page_size: page_size, page_token: page_token }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.list_goldengate_deployment_environments parent: parent, page_size: page_size, page_token: page_token do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.list_goldengate_deployment_environments ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest.new(parent: parent, page_size: page_size, page_token: page_token) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.list_goldengate_deployment_environments({ parent: parent, page_size: page_size, page_token: page_token }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.list_goldengate_deployment_environments(::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest.new(parent: parent, page_size: page_size, page_token: page_token), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, list_goldengate_deployment_environments_client_stub.call_count + end + end + end + + def test_get_goldengate_connection_type + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_connection_type_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_get_goldengate_connection_type_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, get_goldengate_connection_type_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.get_goldengate_connection_type({ name: name }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.get_goldengate_connection_type name: name do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.get_goldengate_connection_type ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest.new(name: name) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.get_goldengate_connection_type({ name: name }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.get_goldengate_connection_type(::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest.new(name: name), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, get_goldengate_connection_type_client_stub.call_count + end + end + end + + def test_list_goldengate_connection_types + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesResponse.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + filter = "hello world" + + list_goldengate_connection_types_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_list_goldengate_connection_types_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, list_goldengate_connection_types_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.list_goldengate_connection_types({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.list_goldengate_connection_types parent: parent, page_size: page_size, page_token: page_token, filter: filter do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.list_goldengate_connection_types ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.list_goldengate_connection_types({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.list_goldengate_connection_types(::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, list_goldengate_connection_types_client_stub.call_count + end + end + end + def test_list_db_versions # Create test objects. client_result = ::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse.new @@ -3324,6 +4324,285 @@ def test_list_database_character_sets end end + def test_list_goldengate_connection_assignments + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsResponse.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + filter = "hello world" + order_by = "hello world" + + list_goldengate_connection_assignments_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_list_goldengate_connection_assignments_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, list_goldengate_connection_assignments_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.list_goldengate_connection_assignments({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.list_goldengate_connection_assignments parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.list_goldengate_connection_assignments ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.list_goldengate_connection_assignments({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.list_goldengate_connection_assignments(::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, list_goldengate_connection_assignments_client_stub.call_count + end + end + end + + def test_get_goldengate_connection_assignment + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_connection_assignment_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_get_goldengate_connection_assignment_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, get_goldengate_connection_assignment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.get_goldengate_connection_assignment({ name: name }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.get_goldengate_connection_assignment name: name do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.get_goldengate_connection_assignment ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest.new(name: name) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.get_goldengate_connection_assignment({ name: name }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.get_goldengate_connection_assignment(::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest.new(name: name), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, get_goldengate_connection_assignment_client_stub.call_count + end + end + end + + def test_create_goldengate_connection_assignment + # Create test objects. + client_result = ::Google::Longrunning::Operation.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + goldengate_connection_assignment_id = "hello world" + goldengate_connection_assignment = {} + request_id = "hello world" + + create_goldengate_connection_assignment_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_create_goldengate_connection_assignment_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, create_goldengate_connection_assignment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.create_goldengate_connection_assignment({ parent: parent, goldengate_connection_assignment_id: goldengate_connection_assignment_id, goldengate_connection_assignment: goldengate_connection_assignment, request_id: request_id }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.create_goldengate_connection_assignment parent: parent, goldengate_connection_assignment_id: goldengate_connection_assignment_id, goldengate_connection_assignment: goldengate_connection_assignment, request_id: request_id do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.create_goldengate_connection_assignment ::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest.new(parent: parent, goldengate_connection_assignment_id: goldengate_connection_assignment_id, goldengate_connection_assignment: goldengate_connection_assignment, request_id: request_id) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.create_goldengate_connection_assignment({ parent: parent, goldengate_connection_assignment_id: goldengate_connection_assignment_id, goldengate_connection_assignment: goldengate_connection_assignment, request_id: request_id }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.create_goldengate_connection_assignment(::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest.new(parent: parent, goldengate_connection_assignment_id: goldengate_connection_assignment_id, goldengate_connection_assignment: goldengate_connection_assignment, request_id: request_id), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, create_goldengate_connection_assignment_client_stub.call_count + end + end + end + + def test_delete_goldengate_connection_assignment + # Create test objects. + client_result = ::Google::Longrunning::Operation.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + name = "hello world" + request_id = "hello world" + + delete_goldengate_connection_assignment_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_delete_goldengate_connection_assignment_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, delete_goldengate_connection_assignment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.delete_goldengate_connection_assignment({ name: name, request_id: request_id }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.delete_goldengate_connection_assignment name: name, request_id: request_id do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.delete_goldengate_connection_assignment ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest.new(name: name, request_id: request_id) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.delete_goldengate_connection_assignment({ name: name, request_id: request_id }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.delete_goldengate_connection_assignment(::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest.new(name: name, request_id: request_id), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, delete_goldengate_connection_assignment_client_stub.call_count + end + end + end + + def test_test_goldengate_connection_assignment + # Create test objects. + client_result = ::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse.new + http_response = OpenStruct.new body: client_result.to_json + + call_options = {} + + # Create request parameters for a unary method. + name = "hello world" + type = :TEST_TYPE_UNSPECIFIED + + test_goldengate_connection_assignment_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:, method_name:| + assert options.metadata.key? :"x-goog-api-client" + assert options.metadata[:"x-goog-api-client"].include? "rest" + refute options.metadata[:"x-goog-api-client"].include? "grpc" + end + + ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::ServiceStub.stub :transcode_test_goldengate_connection_assignment_request, ["", "", {}] do + Gapic::Rest::ClientStub.stub :new, test_goldengate_connection_assignment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new do |config| + config.credentials = :dummy_value + end + + # Use hash object + client.test_goldengate_connection_assignment({ name: name, type: type }) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use named arguments + client.test_goldengate_connection_assignment name: name, type: type do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object + client.test_goldengate_connection_assignment ::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest.new(name: name, type: type) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use hash object with options + client.test_goldengate_connection_assignment({ name: name, type: type }, call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Use protobuf object with options + client.test_goldengate_connection_assignment(::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest.new(name: name, type: type), call_options) do |_result, response| + assert_equal http_response, response.underlying_op + end + + # Verify method calls + assert_equal 5, test_goldengate_connection_assignment_client_stub.call_count + end + end + end + def test_configure credentials_token = :dummy_value diff --git a/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_test.rb b/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_test.rb index ba2783330c8d..4d63cb14de94 100644 --- a/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_test.rb +++ b/google-cloud-oracle_database-v1/test/google/cloud/oracle_database/v1/oracle_database_test.rb @@ -3752,9 +3752,1238 @@ def test_delete_db_system end end + def test_list_goldengate_deployments + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsResponse.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + filter = "hello world" + order_by = "hello world" + + list_goldengate_deployments_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :list_goldengate_deployments, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest, request + assert_equal "hello world", request["parent"] + assert_equal 42, request["page_size"] + assert_equal "hello world", request["page_token"] + assert_equal "hello world", request["filter"] + assert_equal "hello world", request["order_by"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, list_goldengate_deployments_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.list_goldengate_deployments({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.list_goldengate_deployments parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.list_goldengate_deployments ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.list_goldengate_deployments({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }, grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.list_goldengate_deployments(::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by), grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, list_goldengate_deployments_client_stub.call_rpc_count + end + end + + def test_get_goldengate_deployment + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::GoldengateDeployment.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_deployment_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :get_goldengate_deployment, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest, request + assert_equal "hello world", request["name"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, get_goldengate_deployment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.get_goldengate_deployment({ name: name }) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.get_goldengate_deployment name: name do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.get_goldengate_deployment ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest.new(name: name) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.get_goldengate_deployment({ name: name }, grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.get_goldengate_deployment(::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentRequest.new(name: name), grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, get_goldengate_deployment_client_stub.call_rpc_count + end + end + + def test_create_goldengate_deployment + # Create GRPC objects. + grpc_response = ::Google::Longrunning::Operation.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + goldengate_deployment_id = "hello world" + goldengate_deployment = {} + request_id = "hello world" + + create_goldengate_deployment_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :create_goldengate_deployment, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest, request + assert_equal "hello world", request["parent"] + assert_equal "hello world", request["goldengate_deployment_id"] + assert_equal Gapic::Protobuf.coerce({}, to: ::Google::Cloud::OracleDatabase::V1::GoldengateDeployment), request["goldengate_deployment"] + assert_equal "hello world", request["request_id"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, create_goldengate_deployment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.create_goldengate_deployment({ parent: parent, goldengate_deployment_id: goldengate_deployment_id, goldengate_deployment: goldengate_deployment, request_id: request_id }) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use named arguments + client.create_goldengate_deployment parent: parent, goldengate_deployment_id: goldengate_deployment_id, goldengate_deployment: goldengate_deployment, request_id: request_id do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.create_goldengate_deployment ::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest.new(parent: parent, goldengate_deployment_id: goldengate_deployment_id, goldengate_deployment: goldengate_deployment, request_id: request_id) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.create_goldengate_deployment({ parent: parent, goldengate_deployment_id: goldengate_deployment_id, goldengate_deployment: goldengate_deployment, request_id: request_id }, grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.create_goldengate_deployment(::Google::Cloud::OracleDatabase::V1::CreateGoldengateDeploymentRequest.new(parent: parent, goldengate_deployment_id: goldengate_deployment_id, goldengate_deployment: goldengate_deployment, request_id: request_id), grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, create_goldengate_deployment_client_stub.call_rpc_count + end + end + + def test_delete_goldengate_deployment + # Create GRPC objects. + grpc_response = ::Google::Longrunning::Operation.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + name = "hello world" + request_id = "hello world" + + delete_goldengate_deployment_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :delete_goldengate_deployment, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest, request + assert_equal "hello world", request["name"] + assert_equal "hello world", request["request_id"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, delete_goldengate_deployment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.delete_goldengate_deployment({ name: name, request_id: request_id }) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use named arguments + client.delete_goldengate_deployment name: name, request_id: request_id do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.delete_goldengate_deployment ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest.new(name: name, request_id: request_id) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.delete_goldengate_deployment({ name: name, request_id: request_id }, grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.delete_goldengate_deployment(::Google::Cloud::OracleDatabase::V1::DeleteGoldengateDeploymentRequest.new(name: name, request_id: request_id), grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, delete_goldengate_deployment_client_stub.call_rpc_count + end + end + + def test_stop_goldengate_deployment + # Create GRPC objects. + grpc_response = ::Google::Longrunning::Operation.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + stop_goldengate_deployment_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :stop_goldengate_deployment, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest, request + assert_equal "hello world", request["name"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, stop_goldengate_deployment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.stop_goldengate_deployment({ name: name }) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use named arguments + client.stop_goldengate_deployment name: name do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.stop_goldengate_deployment ::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest.new(name: name) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.stop_goldengate_deployment({ name: name }, grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.stop_goldengate_deployment(::Google::Cloud::OracleDatabase::V1::StopGoldengateDeploymentRequest.new(name: name), grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, stop_goldengate_deployment_client_stub.call_rpc_count + end + end + + def test_start_goldengate_deployment + # Create GRPC objects. + grpc_response = ::Google::Longrunning::Operation.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + start_goldengate_deployment_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :start_goldengate_deployment, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest, request + assert_equal "hello world", request["name"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, start_goldengate_deployment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.start_goldengate_deployment({ name: name }) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use named arguments + client.start_goldengate_deployment name: name do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.start_goldengate_deployment ::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest.new(name: name) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.start_goldengate_deployment({ name: name }, grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.start_goldengate_deployment(::Google::Cloud::OracleDatabase::V1::StartGoldengateDeploymentRequest.new(name: name), grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, start_goldengate_deployment_client_stub.call_rpc_count + end + end + + def test_list_goldengate_connections + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsResponse.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + filter = "hello world" + order_by = "hello world" + + list_goldengate_connections_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :list_goldengate_connections, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest, request + assert_equal "hello world", request["parent"] + assert_equal 42, request["page_size"] + assert_equal "hello world", request["page_token"] + assert_equal "hello world", request["filter"] + assert_equal "hello world", request["order_by"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, list_goldengate_connections_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.list_goldengate_connections({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.list_goldengate_connections parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.list_goldengate_connections ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.list_goldengate_connections({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }, grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.list_goldengate_connections(::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by), grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, list_goldengate_connections_client_stub.call_rpc_count + end + end + + def test_get_goldengate_connection + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::GoldengateConnection.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_connection_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :get_goldengate_connection, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest, request + assert_equal "hello world", request["name"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, get_goldengate_connection_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.get_goldengate_connection({ name: name }) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.get_goldengate_connection name: name do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.get_goldengate_connection ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest.new(name: name) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.get_goldengate_connection({ name: name }, grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.get_goldengate_connection(::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionRequest.new(name: name), grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, get_goldengate_connection_client_stub.call_rpc_count + end + end + + def test_create_goldengate_connection + # Create GRPC objects. + grpc_response = ::Google::Longrunning::Operation.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + goldengate_connection_id = "hello world" + goldengate_connection = {} + request_id = "hello world" + + create_goldengate_connection_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :create_goldengate_connection, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest, request + assert_equal "hello world", request["parent"] + assert_equal "hello world", request["goldengate_connection_id"] + assert_equal Gapic::Protobuf.coerce({}, to: ::Google::Cloud::OracleDatabase::V1::GoldengateConnection), request["goldengate_connection"] + assert_equal "hello world", request["request_id"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, create_goldengate_connection_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.create_goldengate_connection({ parent: parent, goldengate_connection_id: goldengate_connection_id, goldengate_connection: goldengate_connection, request_id: request_id }) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use named arguments + client.create_goldengate_connection parent: parent, goldengate_connection_id: goldengate_connection_id, goldengate_connection: goldengate_connection, request_id: request_id do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.create_goldengate_connection ::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest.new(parent: parent, goldengate_connection_id: goldengate_connection_id, goldengate_connection: goldengate_connection, request_id: request_id) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.create_goldengate_connection({ parent: parent, goldengate_connection_id: goldengate_connection_id, goldengate_connection: goldengate_connection, request_id: request_id }, grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.create_goldengate_connection(::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionRequest.new(parent: parent, goldengate_connection_id: goldengate_connection_id, goldengate_connection: goldengate_connection, request_id: request_id), grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, create_goldengate_connection_client_stub.call_rpc_count + end + end + + def test_delete_goldengate_connection + # Create GRPC objects. + grpc_response = ::Google::Longrunning::Operation.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + name = "hello world" + request_id = "hello world" + + delete_goldengate_connection_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :delete_goldengate_connection, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest, request + assert_equal "hello world", request["name"] + assert_equal "hello world", request["request_id"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, delete_goldengate_connection_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.delete_goldengate_connection({ name: name, request_id: request_id }) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use named arguments + client.delete_goldengate_connection name: name, request_id: request_id do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.delete_goldengate_connection ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest.new(name: name, request_id: request_id) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.delete_goldengate_connection({ name: name, request_id: request_id }, grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.delete_goldengate_connection(::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionRequest.new(name: name, request_id: request_id), grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, delete_goldengate_connection_client_stub.call_rpc_count + end + end + + def test_get_goldengate_deployment_version + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_deployment_version_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :get_goldengate_deployment_version, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest, request + assert_equal "hello world", request["name"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, get_goldengate_deployment_version_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.get_goldengate_deployment_version({ name: name }) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.get_goldengate_deployment_version name: name do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.get_goldengate_deployment_version ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest.new(name: name) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.get_goldengate_deployment_version({ name: name }, grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.get_goldengate_deployment_version(::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest.new(name: name), grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, get_goldengate_deployment_version_client_stub.call_rpc_count + end + end + + def test_list_goldengate_deployment_versions + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsResponse.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + filter = "hello world" + + list_goldengate_deployment_versions_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :list_goldengate_deployment_versions, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest, request + assert_equal "hello world", request["parent"] + assert_equal 42, request["page_size"] + assert_equal "hello world", request["page_token"] + assert_equal "hello world", request["filter"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, list_goldengate_deployment_versions_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.list_goldengate_deployment_versions({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.list_goldengate_deployment_versions parent: parent, page_size: page_size, page_token: page_token, filter: filter do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.list_goldengate_deployment_versions ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.list_goldengate_deployment_versions({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }, grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.list_goldengate_deployment_versions(::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentVersionsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter), grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, list_goldengate_deployment_versions_client_stub.call_rpc_count + end + end + + def test_get_goldengate_deployment_type + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_deployment_type_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :get_goldengate_deployment_type, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest, request + assert_equal "hello world", request["name"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, get_goldengate_deployment_type_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.get_goldengate_deployment_type({ name: name }) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.get_goldengate_deployment_type name: name do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.get_goldengate_deployment_type ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest.new(name: name) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.get_goldengate_deployment_type({ name: name }, grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.get_goldengate_deployment_type(::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest.new(name: name), grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, get_goldengate_deployment_type_client_stub.call_rpc_count + end + end + + def test_list_goldengate_deployment_types + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesResponse.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + filter = "hello world" + order_by = "hello world" + + list_goldengate_deployment_types_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :list_goldengate_deployment_types, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest, request + assert_equal "hello world", request["parent"] + assert_equal 42, request["page_size"] + assert_equal "hello world", request["page_token"] + assert_equal "hello world", request["filter"] + assert_equal "hello world", request["order_by"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, list_goldengate_deployment_types_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.list_goldengate_deployment_types({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.list_goldengate_deployment_types parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.list_goldengate_deployment_types ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.list_goldengate_deployment_types({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }, grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.list_goldengate_deployment_types(::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentTypesRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by), grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, list_goldengate_deployment_types_client_stub.call_rpc_count + end + end + + def test_get_goldengate_deployment_environment + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_deployment_environment_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :get_goldengate_deployment_environment, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest, request + assert_equal "hello world", request["name"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, get_goldengate_deployment_environment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.get_goldengate_deployment_environment({ name: name }) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.get_goldengate_deployment_environment name: name do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.get_goldengate_deployment_environment ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest.new(name: name) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.get_goldengate_deployment_environment({ name: name }, grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.get_goldengate_deployment_environment(::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest.new(name: name), grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, get_goldengate_deployment_environment_client_stub.call_rpc_count + end + end + + def test_list_goldengate_deployment_environments + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsResponse.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + + list_goldengate_deployment_environments_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :list_goldengate_deployment_environments, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest, request + assert_equal "hello world", request["parent"] + assert_equal 42, request["page_size"] + assert_equal "hello world", request["page_token"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, list_goldengate_deployment_environments_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.list_goldengate_deployment_environments({ parent: parent, page_size: page_size, page_token: page_token }) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.list_goldengate_deployment_environments parent: parent, page_size: page_size, page_token: page_token do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.list_goldengate_deployment_environments ::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest.new(parent: parent, page_size: page_size, page_token: page_token) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.list_goldengate_deployment_environments({ parent: parent, page_size: page_size, page_token: page_token }, grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.list_goldengate_deployment_environments(::Google::Cloud::OracleDatabase::V1::ListGoldengateDeploymentEnvironmentsRequest.new(parent: parent, page_size: page_size, page_token: page_token), grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, list_goldengate_deployment_environments_client_stub.call_rpc_count + end + end + + def test_get_goldengate_connection_type + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_connection_type_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :get_goldengate_connection_type, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest, request + assert_equal "hello world", request["name"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, get_goldengate_connection_type_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.get_goldengate_connection_type({ name: name }) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.get_goldengate_connection_type name: name do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.get_goldengate_connection_type ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest.new(name: name) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.get_goldengate_connection_type({ name: name }, grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.get_goldengate_connection_type(::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest.new(name: name), grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, get_goldengate_connection_type_client_stub.call_rpc_count + end + end + + def test_list_goldengate_connection_types + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesResponse.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + filter = "hello world" + + list_goldengate_connection_types_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :list_goldengate_connection_types, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest, request + assert_equal "hello world", request["parent"] + assert_equal 42, request["page_size"] + assert_equal "hello world", request["page_token"] + assert_equal "hello world", request["filter"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, list_goldengate_connection_types_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.list_goldengate_connection_types({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.list_goldengate_connection_types parent: parent, page_size: page_size, page_token: page_token, filter: filter do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.list_goldengate_connection_types ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.list_goldengate_connection_types({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }, grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.list_goldengate_connection_types(::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionTypesRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter), grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, list_goldengate_connection_types_client_stub.call_rpc_count + end + end + def test_list_db_versions # Create GRPC objects. - grpc_response = ::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse.new + grpc_response = ::Google::Cloud::OracleDatabase::V1::ListDbVersionsResponse.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + page_size = 42 + page_token = "hello world" + filter = "hello world" + + list_db_versions_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :list_db_versions, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest, request + assert_equal "hello world", request["parent"] + assert_equal 42, request["page_size"] + assert_equal "hello world", request["page_token"] + assert_equal "hello world", request["filter"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, list_db_versions_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.list_db_versions({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.list_db_versions parent: parent, page_size: page_size, page_token: page_token, filter: filter do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.list_db_versions ::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.list_db_versions({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }, grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.list_db_versions(::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter), grpc_options) do |response, operation| + assert_kind_of Gapic::PagedEnumerable, response + assert_equal grpc_response, response.response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, list_db_versions_client_stub.call_rpc_count + end + end + + def test_list_database_character_sets + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse.new grpc_operation = GRPC::ActiveCall::Operation.new nil grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure grpc_options = {} @@ -3765,9 +4994,9 @@ def test_list_db_versions page_token = "hello world" filter = "hello world" - list_db_versions_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| - assert_equal :list_db_versions, name - assert_kind_of ::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest, request + list_database_character_sets_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :list_database_character_sets, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest, request assert_equal "hello world", request["parent"] assert_equal 42, request["page_size"] assert_equal "hello world", request["page_token"] @@ -3775,55 +5004,55 @@ def test_list_db_versions refute_nil options end - Gapic::ServiceStub.stub :new, list_db_versions_client_stub do + Gapic::ServiceStub.stub :new, list_database_character_sets_client_stub do # Create client client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| config.credentials = grpc_channel end # Use hash object - client.list_db_versions({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }) do |response, operation| + client.list_database_character_sets({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }) do |response, operation| assert_kind_of Gapic::PagedEnumerable, response assert_equal grpc_response, response.response assert_equal grpc_operation, operation end # Use named arguments - client.list_db_versions parent: parent, page_size: page_size, page_token: page_token, filter: filter do |response, operation| + client.list_database_character_sets parent: parent, page_size: page_size, page_token: page_token, filter: filter do |response, operation| assert_kind_of Gapic::PagedEnumerable, response assert_equal grpc_response, response.response assert_equal grpc_operation, operation end # Use protobuf object - client.list_db_versions ::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter) do |response, operation| + client.list_database_character_sets ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter) do |response, operation| assert_kind_of Gapic::PagedEnumerable, response assert_equal grpc_response, response.response assert_equal grpc_operation, operation end # Use hash object with options - client.list_db_versions({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }, grpc_options) do |response, operation| + client.list_database_character_sets({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }, grpc_options) do |response, operation| assert_kind_of Gapic::PagedEnumerable, response assert_equal grpc_response, response.response assert_equal grpc_operation, operation end # Use protobuf object with options - client.list_db_versions(::Google::Cloud::OracleDatabase::V1::ListDbVersionsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter), grpc_options) do |response, operation| + client.list_database_character_sets(::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter), grpc_options) do |response, operation| assert_kind_of Gapic::PagedEnumerable, response assert_equal grpc_response, response.response assert_equal grpc_operation, operation end # Verify method calls - assert_equal 5, list_db_versions_client_stub.call_rpc_count + assert_equal 5, list_database_character_sets_client_stub.call_rpc_count end end - def test_list_database_character_sets + def test_list_goldengate_connection_assignments # Create GRPC objects. - grpc_response = ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsResponse.new + grpc_response = ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsResponse.new grpc_operation = GRPC::ActiveCall::Operation.new nil grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure grpc_options = {} @@ -3833,60 +5062,314 @@ def test_list_database_character_sets page_size = 42 page_token = "hello world" filter = "hello world" + order_by = "hello world" - list_database_character_sets_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| - assert_equal :list_database_character_sets, name - assert_kind_of ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest, request + list_goldengate_connection_assignments_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :list_goldengate_connection_assignments, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest, request assert_equal "hello world", request["parent"] assert_equal 42, request["page_size"] assert_equal "hello world", request["page_token"] assert_equal "hello world", request["filter"] + assert_equal "hello world", request["order_by"] refute_nil options end - Gapic::ServiceStub.stub :new, list_database_character_sets_client_stub do + Gapic::ServiceStub.stub :new, list_goldengate_connection_assignments_client_stub do # Create client client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| config.credentials = grpc_channel end # Use hash object - client.list_database_character_sets({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }) do |response, operation| + client.list_goldengate_connection_assignments({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }) do |response, operation| assert_kind_of Gapic::PagedEnumerable, response assert_equal grpc_response, response.response assert_equal grpc_operation, operation end # Use named arguments - client.list_database_character_sets parent: parent, page_size: page_size, page_token: page_token, filter: filter do |response, operation| + client.list_goldengate_connection_assignments parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by do |response, operation| assert_kind_of Gapic::PagedEnumerable, response assert_equal grpc_response, response.response assert_equal grpc_operation, operation end # Use protobuf object - client.list_database_character_sets ::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter) do |response, operation| + client.list_goldengate_connection_assignments ::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by) do |response, operation| assert_kind_of Gapic::PagedEnumerable, response assert_equal grpc_response, response.response assert_equal grpc_operation, operation end # Use hash object with options - client.list_database_character_sets({ parent: parent, page_size: page_size, page_token: page_token, filter: filter }, grpc_options) do |response, operation| + client.list_goldengate_connection_assignments({ parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by }, grpc_options) do |response, operation| assert_kind_of Gapic::PagedEnumerable, response assert_equal grpc_response, response.response assert_equal grpc_operation, operation end # Use protobuf object with options - client.list_database_character_sets(::Google::Cloud::OracleDatabase::V1::ListDatabaseCharacterSetsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter), grpc_options) do |response, operation| + client.list_goldengate_connection_assignments(::Google::Cloud::OracleDatabase::V1::ListGoldengateConnectionAssignmentsRequest.new(parent: parent, page_size: page_size, page_token: page_token, filter: filter, order_by: order_by), grpc_options) do |response, operation| assert_kind_of Gapic::PagedEnumerable, response assert_equal grpc_response, response.response assert_equal grpc_operation, operation end # Verify method calls - assert_equal 5, list_database_character_sets_client_stub.call_rpc_count + assert_equal 5, list_goldengate_connection_assignments_client_stub.call_rpc_count + end + end + + def test_get_goldengate_connection_assignment + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + name = "hello world" + + get_goldengate_connection_assignment_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :get_goldengate_connection_assignment, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest, request + assert_equal "hello world", request["name"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, get_goldengate_connection_assignment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.get_goldengate_connection_assignment({ name: name }) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.get_goldengate_connection_assignment name: name do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.get_goldengate_connection_assignment ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest.new(name: name) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.get_goldengate_connection_assignment({ name: name }, grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.get_goldengate_connection_assignment(::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionAssignmentRequest.new(name: name), grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, get_goldengate_connection_assignment_client_stub.call_rpc_count + end + end + + def test_create_goldengate_connection_assignment + # Create GRPC objects. + grpc_response = ::Google::Longrunning::Operation.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + parent = "hello world" + goldengate_connection_assignment_id = "hello world" + goldengate_connection_assignment = {} + request_id = "hello world" + + create_goldengate_connection_assignment_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :create_goldengate_connection_assignment, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest, request + assert_equal "hello world", request["parent"] + assert_equal "hello world", request["goldengate_connection_assignment_id"] + assert_equal Gapic::Protobuf.coerce({}, to: ::Google::Cloud::OracleDatabase::V1::GoldengateConnectionAssignment), request["goldengate_connection_assignment"] + assert_equal "hello world", request["request_id"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, create_goldengate_connection_assignment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.create_goldengate_connection_assignment({ parent: parent, goldengate_connection_assignment_id: goldengate_connection_assignment_id, goldengate_connection_assignment: goldengate_connection_assignment, request_id: request_id }) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use named arguments + client.create_goldengate_connection_assignment parent: parent, goldengate_connection_assignment_id: goldengate_connection_assignment_id, goldengate_connection_assignment: goldengate_connection_assignment, request_id: request_id do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.create_goldengate_connection_assignment ::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest.new(parent: parent, goldengate_connection_assignment_id: goldengate_connection_assignment_id, goldengate_connection_assignment: goldengate_connection_assignment, request_id: request_id) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.create_goldengate_connection_assignment({ parent: parent, goldengate_connection_assignment_id: goldengate_connection_assignment_id, goldengate_connection_assignment: goldengate_connection_assignment, request_id: request_id }, grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.create_goldengate_connection_assignment(::Google::Cloud::OracleDatabase::V1::CreateGoldengateConnectionAssignmentRequest.new(parent: parent, goldengate_connection_assignment_id: goldengate_connection_assignment_id, goldengate_connection_assignment: goldengate_connection_assignment, request_id: request_id), grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, create_goldengate_connection_assignment_client_stub.call_rpc_count + end + end + + def test_delete_goldengate_connection_assignment + # Create GRPC objects. + grpc_response = ::Google::Longrunning::Operation.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + name = "hello world" + request_id = "hello world" + + delete_goldengate_connection_assignment_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :delete_goldengate_connection_assignment, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest, request + assert_equal "hello world", request["name"] + assert_equal "hello world", request["request_id"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, delete_goldengate_connection_assignment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.delete_goldengate_connection_assignment({ name: name, request_id: request_id }) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use named arguments + client.delete_goldengate_connection_assignment name: name, request_id: request_id do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.delete_goldengate_connection_assignment ::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest.new(name: name, request_id: request_id) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.delete_goldengate_connection_assignment({ name: name, request_id: request_id }, grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.delete_goldengate_connection_assignment(::Google::Cloud::OracleDatabase::V1::DeleteGoldengateConnectionAssignmentRequest.new(name: name, request_id: request_id), grpc_options) do |response, operation| + assert_kind_of Gapic::Operation, response + assert_equal grpc_response, response.grpc_op + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, delete_goldengate_connection_assignment_client_stub.call_rpc_count + end + end + + def test_test_goldengate_connection_assignment + # Create GRPC objects. + grpc_response = ::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentResponse.new + grpc_operation = GRPC::ActiveCall::Operation.new nil + grpc_channel = GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + grpc_options = {} + + # Create request parameters for a unary method. + name = "hello world" + type = :TEST_TYPE_UNSPECIFIED + + test_goldengate_connection_assignment_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:| + assert_equal :test_goldengate_connection_assignment, name + assert_kind_of ::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest, request + assert_equal "hello world", request["name"] + assert_equal :TEST_TYPE_UNSPECIFIED, request["type"] + refute_nil options + end + + Gapic::ServiceStub.stub :new, test_goldengate_connection_assignment_client_stub do + # Create client + client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config| + config.credentials = grpc_channel + end + + # Use hash object + client.test_goldengate_connection_assignment({ name: name, type: type }) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use named arguments + client.test_goldengate_connection_assignment name: name, type: type do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object + client.test_goldengate_connection_assignment ::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest.new(name: name, type: type) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use hash object with options + client.test_goldengate_connection_assignment({ name: name, type: type }, grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Use protobuf object with options + client.test_goldengate_connection_assignment(::Google::Cloud::OracleDatabase::V1::TestGoldengateConnectionAssignmentRequest.new(name: name, type: type), grpc_options) do |response, operation| + assert_equal grpc_response, response + assert_equal grpc_operation, operation + end + + # Verify method calls + assert_equal 5, test_goldengate_connection_assignment_client_stub.call_rpc_count end end