google-cloud-oracle_database-v1 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/oracle_database/v1/oracle_database/client.rb +0 -374
- data/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb +0 -76
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +0 -346
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +0 -244
- data/lib/google/cloud/oracle_database/v1/version.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/goldengate_connection_type_pb.rb +1 -2
- data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_environment_pb.rb +1 -2
- data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_type_pb.rb +1 -2
- data/lib/google/cloud/oracledatabase/v1/goldengate_deployment_version_pb.rb +1 -2
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +0 -8
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_connection_type.rb +0 -10
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_environment.rb +0 -10
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_type.rb +0 -11
- data/proto_docs/google/cloud/oracledatabase/v1/goldengate_deployment_version.rb +0 -11
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 794356e54130d9717fadd647b40c0256aa1fe57388a61169c080d611801245ae
|
|
4
|
+
data.tar.gz: a7265b13aa959d70c0d9bf7d2756ae21ade3caad02ec792ac390b79157a9c693
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99b820491586e8e4d1547ca219a6a76361267fd333791deddc5efcd8fa6bdb579f4741461c0e2080bf2daf6fcb67effb31f46cacfb75b1f16e34ee79ef4c147e
|
|
7
|
+
data.tar.gz: 13878c542ddb7f053e7156da10365adcde10a6165c0495fad3f7239ae8da7fc98aebf829839985ef0edbab191e6baee1edbfd718844b6dd1a053c1f3d7dfe607
|
|
@@ -7085,93 +7085,6 @@ module Google
|
|
|
7085
7085
|
raise ::Google::Cloud::Error.from_error(e)
|
|
7086
7086
|
end
|
|
7087
7087
|
|
|
7088
|
-
##
|
|
7089
|
-
# Gets details of a single GoldengateDeploymentVersion.
|
|
7090
|
-
#
|
|
7091
|
-
# @overload get_goldengate_deployment_version(request, options = nil)
|
|
7092
|
-
# Pass arguments to `get_goldengate_deployment_version` via a request object, either of type
|
|
7093
|
-
# {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest} or an equivalent Hash.
|
|
7094
|
-
#
|
|
7095
|
-
# @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest, ::Hash]
|
|
7096
|
-
# A request object representing the call parameters. Required. To specify no
|
|
7097
|
-
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
7098
|
-
# @param options [::Gapic::CallOptions, ::Hash]
|
|
7099
|
-
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
7100
|
-
#
|
|
7101
|
-
# @overload get_goldengate_deployment_version(name: nil)
|
|
7102
|
-
# Pass arguments to `get_goldengate_deployment_version` via keyword arguments. Note that at
|
|
7103
|
-
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
7104
|
-
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
7105
|
-
#
|
|
7106
|
-
# @param name [::String]
|
|
7107
|
-
# Required. The name of the GoldengateDeploymentVersion to retrieve.
|
|
7108
|
-
# Format:
|
|
7109
|
-
# projects/\\{project}/locations/\\{location}/goldengateDeploymentVersions/\\{goldengate_deployment_version}
|
|
7110
|
-
#
|
|
7111
|
-
# @yield [response, operation] Access the result along with the RPC operation
|
|
7112
|
-
# @yieldparam response [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion]
|
|
7113
|
-
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
7114
|
-
#
|
|
7115
|
-
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion]
|
|
7116
|
-
#
|
|
7117
|
-
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
7118
|
-
#
|
|
7119
|
-
# @example Basic example
|
|
7120
|
-
# require "google/cloud/oracle_database/v1"
|
|
7121
|
-
#
|
|
7122
|
-
# # Create a client object. The client can be reused for multiple calls.
|
|
7123
|
-
# client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new
|
|
7124
|
-
#
|
|
7125
|
-
# # Create a request. To set request fields, pass in keyword arguments.
|
|
7126
|
-
# request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest.new
|
|
7127
|
-
#
|
|
7128
|
-
# # Call the get_goldengate_deployment_version method.
|
|
7129
|
-
# result = client.get_goldengate_deployment_version request
|
|
7130
|
-
#
|
|
7131
|
-
# # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion.
|
|
7132
|
-
# p result
|
|
7133
|
-
#
|
|
7134
|
-
def get_goldengate_deployment_version request, options = nil
|
|
7135
|
-
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
7136
|
-
|
|
7137
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest
|
|
7138
|
-
|
|
7139
|
-
# Converts hash and nil to an options object
|
|
7140
|
-
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
7141
|
-
|
|
7142
|
-
# Customize the options with defaults
|
|
7143
|
-
metadata = @config.rpcs.get_goldengate_deployment_version.metadata.to_h
|
|
7144
|
-
|
|
7145
|
-
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
7146
|
-
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
7147
|
-
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
7148
|
-
gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION
|
|
7149
|
-
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
7150
|
-
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
7151
|
-
|
|
7152
|
-
header_params = {}
|
|
7153
|
-
if request.name
|
|
7154
|
-
header_params["name"] = request.name
|
|
7155
|
-
end
|
|
7156
|
-
|
|
7157
|
-
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
7158
|
-
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
7159
|
-
|
|
7160
|
-
options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment_version.timeout,
|
|
7161
|
-
metadata: metadata,
|
|
7162
|
-
retry_policy: @config.rpcs.get_goldengate_deployment_version.retry_policy
|
|
7163
|
-
|
|
7164
|
-
options.apply_defaults timeout: @config.timeout,
|
|
7165
|
-
metadata: @config.metadata,
|
|
7166
|
-
retry_policy: @config.retry_policy
|
|
7167
|
-
|
|
7168
|
-
@oracle_database_stub.call_rpc :get_goldengate_deployment_version, request, options: options do |response, operation|
|
|
7169
|
-
yield response, operation if block_given?
|
|
7170
|
-
end
|
|
7171
|
-
rescue ::GRPC::BadStatus => e
|
|
7172
|
-
raise ::Google::Cloud::Error.from_error(e)
|
|
7173
|
-
end
|
|
7174
|
-
|
|
7175
7088
|
##
|
|
7176
7089
|
# Lists GoldengateDeploymentVersions in a given project and location.
|
|
7177
7090
|
#
|
|
@@ -7274,93 +7187,6 @@ module Google
|
|
|
7274
7187
|
raise ::Google::Cloud::Error.from_error(e)
|
|
7275
7188
|
end
|
|
7276
7189
|
|
|
7277
|
-
##
|
|
7278
|
-
# Gets details of a single GoldenGateDeploymentType.
|
|
7279
|
-
#
|
|
7280
|
-
# @overload get_goldengate_deployment_type(request, options = nil)
|
|
7281
|
-
# Pass arguments to `get_goldengate_deployment_type` via a request object, either of type
|
|
7282
|
-
# {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest} or an equivalent Hash.
|
|
7283
|
-
#
|
|
7284
|
-
# @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest, ::Hash]
|
|
7285
|
-
# A request object representing the call parameters. Required. To specify no
|
|
7286
|
-
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
7287
|
-
# @param options [::Gapic::CallOptions, ::Hash]
|
|
7288
|
-
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
7289
|
-
#
|
|
7290
|
-
# @overload get_goldengate_deployment_type(name: nil)
|
|
7291
|
-
# Pass arguments to `get_goldengate_deployment_type` via keyword arguments. Note that at
|
|
7292
|
-
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
7293
|
-
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
7294
|
-
#
|
|
7295
|
-
# @param name [::String]
|
|
7296
|
-
# Required. The name of the GoldengateDeploymentType to retrieve.
|
|
7297
|
-
# Format:
|
|
7298
|
-
# projects/\\{project}/locations/\\{location}/goldengateDeploymentTypes/\\{goldengate_deployment_type}
|
|
7299
|
-
#
|
|
7300
|
-
# @yield [response, operation] Access the result along with the RPC operation
|
|
7301
|
-
# @yieldparam response [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType]
|
|
7302
|
-
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
7303
|
-
#
|
|
7304
|
-
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType]
|
|
7305
|
-
#
|
|
7306
|
-
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
7307
|
-
#
|
|
7308
|
-
# @example Basic example
|
|
7309
|
-
# require "google/cloud/oracle_database/v1"
|
|
7310
|
-
#
|
|
7311
|
-
# # Create a client object. The client can be reused for multiple calls.
|
|
7312
|
-
# client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new
|
|
7313
|
-
#
|
|
7314
|
-
# # Create a request. To set request fields, pass in keyword arguments.
|
|
7315
|
-
# request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest.new
|
|
7316
|
-
#
|
|
7317
|
-
# # Call the get_goldengate_deployment_type method.
|
|
7318
|
-
# result = client.get_goldengate_deployment_type request
|
|
7319
|
-
#
|
|
7320
|
-
# # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType.
|
|
7321
|
-
# p result
|
|
7322
|
-
#
|
|
7323
|
-
def get_goldengate_deployment_type request, options = nil
|
|
7324
|
-
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
7325
|
-
|
|
7326
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest
|
|
7327
|
-
|
|
7328
|
-
# Converts hash and nil to an options object
|
|
7329
|
-
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
7330
|
-
|
|
7331
|
-
# Customize the options with defaults
|
|
7332
|
-
metadata = @config.rpcs.get_goldengate_deployment_type.metadata.to_h
|
|
7333
|
-
|
|
7334
|
-
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
7335
|
-
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
7336
|
-
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
7337
|
-
gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION
|
|
7338
|
-
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
7339
|
-
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
7340
|
-
|
|
7341
|
-
header_params = {}
|
|
7342
|
-
if request.name
|
|
7343
|
-
header_params["name"] = request.name
|
|
7344
|
-
end
|
|
7345
|
-
|
|
7346
|
-
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
7347
|
-
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
7348
|
-
|
|
7349
|
-
options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment_type.timeout,
|
|
7350
|
-
metadata: metadata,
|
|
7351
|
-
retry_policy: @config.rpcs.get_goldengate_deployment_type.retry_policy
|
|
7352
|
-
|
|
7353
|
-
options.apply_defaults timeout: @config.timeout,
|
|
7354
|
-
metadata: @config.metadata,
|
|
7355
|
-
retry_policy: @config.retry_policy
|
|
7356
|
-
|
|
7357
|
-
@oracle_database_stub.call_rpc :get_goldengate_deployment_type, request, options: options do |response, operation|
|
|
7358
|
-
yield response, operation if block_given?
|
|
7359
|
-
end
|
|
7360
|
-
rescue ::GRPC::BadStatus => e
|
|
7361
|
-
raise ::Google::Cloud::Error.from_error(e)
|
|
7362
|
-
end
|
|
7363
|
-
|
|
7364
7190
|
##
|
|
7365
7191
|
# Lists GoldenGateDeploymentTypes in a given project and location.
|
|
7366
7192
|
#
|
|
@@ -7467,92 +7293,6 @@ module Google
|
|
|
7467
7293
|
raise ::Google::Cloud::Error.from_error(e)
|
|
7468
7294
|
end
|
|
7469
7295
|
|
|
7470
|
-
##
|
|
7471
|
-
# Gets details of a single GoldengateDeploymentEnvironment.
|
|
7472
|
-
#
|
|
7473
|
-
# @overload get_goldengate_deployment_environment(request, options = nil)
|
|
7474
|
-
# Pass arguments to `get_goldengate_deployment_environment` via a request object, either of type
|
|
7475
|
-
# {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest} or an equivalent Hash.
|
|
7476
|
-
#
|
|
7477
|
-
# @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest, ::Hash]
|
|
7478
|
-
# A request object representing the call parameters. Required. To specify no
|
|
7479
|
-
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
7480
|
-
# @param options [::Gapic::CallOptions, ::Hash]
|
|
7481
|
-
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
7482
|
-
#
|
|
7483
|
-
# @overload get_goldengate_deployment_environment(name: nil)
|
|
7484
|
-
# Pass arguments to `get_goldengate_deployment_environment` via keyword arguments. Note that at
|
|
7485
|
-
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
7486
|
-
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
7487
|
-
#
|
|
7488
|
-
# @param name [::String]
|
|
7489
|
-
# Required. Name of the resource with the format:
|
|
7490
|
-
# projects/\\{project}/locations/\\{location}/goldengateDeploymentEnvironments/\\{goldengate_deployment_environment}
|
|
7491
|
-
#
|
|
7492
|
-
# @yield [response, operation] Access the result along with the RPC operation
|
|
7493
|
-
# @yieldparam response [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment]
|
|
7494
|
-
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
7495
|
-
#
|
|
7496
|
-
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment]
|
|
7497
|
-
#
|
|
7498
|
-
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
7499
|
-
#
|
|
7500
|
-
# @example Basic example
|
|
7501
|
-
# require "google/cloud/oracle_database/v1"
|
|
7502
|
-
#
|
|
7503
|
-
# # Create a client object. The client can be reused for multiple calls.
|
|
7504
|
-
# client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new
|
|
7505
|
-
#
|
|
7506
|
-
# # Create a request. To set request fields, pass in keyword arguments.
|
|
7507
|
-
# request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest.new
|
|
7508
|
-
#
|
|
7509
|
-
# # Call the get_goldengate_deployment_environment method.
|
|
7510
|
-
# result = client.get_goldengate_deployment_environment request
|
|
7511
|
-
#
|
|
7512
|
-
# # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment.
|
|
7513
|
-
# p result
|
|
7514
|
-
#
|
|
7515
|
-
def get_goldengate_deployment_environment request, options = nil
|
|
7516
|
-
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
7517
|
-
|
|
7518
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest
|
|
7519
|
-
|
|
7520
|
-
# Converts hash and nil to an options object
|
|
7521
|
-
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
7522
|
-
|
|
7523
|
-
# Customize the options with defaults
|
|
7524
|
-
metadata = @config.rpcs.get_goldengate_deployment_environment.metadata.to_h
|
|
7525
|
-
|
|
7526
|
-
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
7527
|
-
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
7528
|
-
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
7529
|
-
gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION
|
|
7530
|
-
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
7531
|
-
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
7532
|
-
|
|
7533
|
-
header_params = {}
|
|
7534
|
-
if request.name
|
|
7535
|
-
header_params["name"] = request.name
|
|
7536
|
-
end
|
|
7537
|
-
|
|
7538
|
-
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
7539
|
-
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
7540
|
-
|
|
7541
|
-
options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment_environment.timeout,
|
|
7542
|
-
metadata: metadata,
|
|
7543
|
-
retry_policy: @config.rpcs.get_goldengate_deployment_environment.retry_policy
|
|
7544
|
-
|
|
7545
|
-
options.apply_defaults timeout: @config.timeout,
|
|
7546
|
-
metadata: @config.metadata,
|
|
7547
|
-
retry_policy: @config.retry_policy
|
|
7548
|
-
|
|
7549
|
-
@oracle_database_stub.call_rpc :get_goldengate_deployment_environment, request, options: options do |response, operation|
|
|
7550
|
-
yield response, operation if block_given?
|
|
7551
|
-
end
|
|
7552
|
-
rescue ::GRPC::BadStatus => e
|
|
7553
|
-
raise ::Google::Cloud::Error.from_error(e)
|
|
7554
|
-
end
|
|
7555
|
-
|
|
7556
7296
|
##
|
|
7557
7297
|
# Lists GoldengateDeploymentEnvironments in a given project and location.
|
|
7558
7298
|
#
|
|
@@ -7652,92 +7392,6 @@ module Google
|
|
|
7652
7392
|
raise ::Google::Cloud::Error.from_error(e)
|
|
7653
7393
|
end
|
|
7654
7394
|
|
|
7655
|
-
##
|
|
7656
|
-
# Gets details of a single GoldengateConnectionType.
|
|
7657
|
-
#
|
|
7658
|
-
# @overload get_goldengate_connection_type(request, options = nil)
|
|
7659
|
-
# Pass arguments to `get_goldengate_connection_type` via a request object, either of type
|
|
7660
|
-
# {::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest} or an equivalent Hash.
|
|
7661
|
-
#
|
|
7662
|
-
# @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest, ::Hash]
|
|
7663
|
-
# A request object representing the call parameters. Required. To specify no
|
|
7664
|
-
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
7665
|
-
# @param options [::Gapic::CallOptions, ::Hash]
|
|
7666
|
-
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
7667
|
-
#
|
|
7668
|
-
# @overload get_goldengate_connection_type(name: nil)
|
|
7669
|
-
# Pass arguments to `get_goldengate_connection_type` via keyword arguments. Note that at
|
|
7670
|
-
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
7671
|
-
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
7672
|
-
#
|
|
7673
|
-
# @param name [::String]
|
|
7674
|
-
# Required. Name of the resource in the format:
|
|
7675
|
-
# projects/\\{project}/locations/\\{location}/goldengateConnectionTypes/\\{goldengate_connection_type}
|
|
7676
|
-
#
|
|
7677
|
-
# @yield [response, operation] Access the result along with the RPC operation
|
|
7678
|
-
# @yieldparam response [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType]
|
|
7679
|
-
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
7680
|
-
#
|
|
7681
|
-
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType]
|
|
7682
|
-
#
|
|
7683
|
-
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
7684
|
-
#
|
|
7685
|
-
# @example Basic example
|
|
7686
|
-
# require "google/cloud/oracle_database/v1"
|
|
7687
|
-
#
|
|
7688
|
-
# # Create a client object. The client can be reused for multiple calls.
|
|
7689
|
-
# client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new
|
|
7690
|
-
#
|
|
7691
|
-
# # Create a request. To set request fields, pass in keyword arguments.
|
|
7692
|
-
# request = Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest.new
|
|
7693
|
-
#
|
|
7694
|
-
# # Call the get_goldengate_connection_type method.
|
|
7695
|
-
# result = client.get_goldengate_connection_type request
|
|
7696
|
-
#
|
|
7697
|
-
# # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateConnectionType.
|
|
7698
|
-
# p result
|
|
7699
|
-
#
|
|
7700
|
-
def get_goldengate_connection_type request, options = nil
|
|
7701
|
-
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
7702
|
-
|
|
7703
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest
|
|
7704
|
-
|
|
7705
|
-
# Converts hash and nil to an options object
|
|
7706
|
-
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
7707
|
-
|
|
7708
|
-
# Customize the options with defaults
|
|
7709
|
-
metadata = @config.rpcs.get_goldengate_connection_type.metadata.to_h
|
|
7710
|
-
|
|
7711
|
-
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
7712
|
-
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
7713
|
-
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
7714
|
-
gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION
|
|
7715
|
-
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
7716
|
-
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
7717
|
-
|
|
7718
|
-
header_params = {}
|
|
7719
|
-
if request.name
|
|
7720
|
-
header_params["name"] = request.name
|
|
7721
|
-
end
|
|
7722
|
-
|
|
7723
|
-
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
7724
|
-
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
7725
|
-
|
|
7726
|
-
options.apply_defaults timeout: @config.rpcs.get_goldengate_connection_type.timeout,
|
|
7727
|
-
metadata: metadata,
|
|
7728
|
-
retry_policy: @config.rpcs.get_goldengate_connection_type.retry_policy
|
|
7729
|
-
|
|
7730
|
-
options.apply_defaults timeout: @config.timeout,
|
|
7731
|
-
metadata: @config.metadata,
|
|
7732
|
-
retry_policy: @config.retry_policy
|
|
7733
|
-
|
|
7734
|
-
@oracle_database_stub.call_rpc :get_goldengate_connection_type, request, options: options do |response, operation|
|
|
7735
|
-
yield response, operation if block_given?
|
|
7736
|
-
end
|
|
7737
|
-
rescue ::GRPC::BadStatus => e
|
|
7738
|
-
raise ::Google::Cloud::Error.from_error(e)
|
|
7739
|
-
end
|
|
7740
|
-
|
|
7741
7395
|
##
|
|
7742
7396
|
# Lists GoldengateConnectionTypes in a given project and location.
|
|
7743
7397
|
#
|
|
@@ -9081,41 +8735,21 @@ module Google
|
|
|
9081
8735
|
#
|
|
9082
8736
|
attr_reader :delete_goldengate_connection
|
|
9083
8737
|
##
|
|
9084
|
-
# RPC-specific configuration for `get_goldengate_deployment_version`
|
|
9085
|
-
# @return [::Gapic::Config::Method]
|
|
9086
|
-
#
|
|
9087
|
-
attr_reader :get_goldengate_deployment_version
|
|
9088
|
-
##
|
|
9089
8738
|
# RPC-specific configuration for `list_goldengate_deployment_versions`
|
|
9090
8739
|
# @return [::Gapic::Config::Method]
|
|
9091
8740
|
#
|
|
9092
8741
|
attr_reader :list_goldengate_deployment_versions
|
|
9093
8742
|
##
|
|
9094
|
-
# RPC-specific configuration for `get_goldengate_deployment_type`
|
|
9095
|
-
# @return [::Gapic::Config::Method]
|
|
9096
|
-
#
|
|
9097
|
-
attr_reader :get_goldengate_deployment_type
|
|
9098
|
-
##
|
|
9099
8743
|
# RPC-specific configuration for `list_goldengate_deployment_types`
|
|
9100
8744
|
# @return [::Gapic::Config::Method]
|
|
9101
8745
|
#
|
|
9102
8746
|
attr_reader :list_goldengate_deployment_types
|
|
9103
8747
|
##
|
|
9104
|
-
# RPC-specific configuration for `get_goldengate_deployment_environment`
|
|
9105
|
-
# @return [::Gapic::Config::Method]
|
|
9106
|
-
#
|
|
9107
|
-
attr_reader :get_goldengate_deployment_environment
|
|
9108
|
-
##
|
|
9109
8748
|
# RPC-specific configuration for `list_goldengate_deployment_environments`
|
|
9110
8749
|
# @return [::Gapic::Config::Method]
|
|
9111
8750
|
#
|
|
9112
8751
|
attr_reader :list_goldengate_deployment_environments
|
|
9113
8752
|
##
|
|
9114
|
-
# RPC-specific configuration for `get_goldengate_connection_type`
|
|
9115
|
-
# @return [::Gapic::Config::Method]
|
|
9116
|
-
#
|
|
9117
|
-
attr_reader :get_goldengate_connection_type
|
|
9118
|
-
##
|
|
9119
8753
|
# RPC-specific configuration for `list_goldengate_connection_types`
|
|
9120
8754
|
# @return [::Gapic::Config::Method]
|
|
9121
8755
|
#
|
|
@@ -9290,20 +8924,12 @@ module Google
|
|
|
9290
8924
|
@create_goldengate_connection = ::Gapic::Config::Method.new create_goldengate_connection_config
|
|
9291
8925
|
delete_goldengate_connection_config = parent_rpcs.delete_goldengate_connection if parent_rpcs.respond_to? :delete_goldengate_connection
|
|
9292
8926
|
@delete_goldengate_connection = ::Gapic::Config::Method.new delete_goldengate_connection_config
|
|
9293
|
-
get_goldengate_deployment_version_config = parent_rpcs.get_goldengate_deployment_version if parent_rpcs.respond_to? :get_goldengate_deployment_version
|
|
9294
|
-
@get_goldengate_deployment_version = ::Gapic::Config::Method.new get_goldengate_deployment_version_config
|
|
9295
8927
|
list_goldengate_deployment_versions_config = parent_rpcs.list_goldengate_deployment_versions if parent_rpcs.respond_to? :list_goldengate_deployment_versions
|
|
9296
8928
|
@list_goldengate_deployment_versions = ::Gapic::Config::Method.new list_goldengate_deployment_versions_config
|
|
9297
|
-
get_goldengate_deployment_type_config = parent_rpcs.get_goldengate_deployment_type if parent_rpcs.respond_to? :get_goldengate_deployment_type
|
|
9298
|
-
@get_goldengate_deployment_type = ::Gapic::Config::Method.new get_goldengate_deployment_type_config
|
|
9299
8929
|
list_goldengate_deployment_types_config = parent_rpcs.list_goldengate_deployment_types if parent_rpcs.respond_to? :list_goldengate_deployment_types
|
|
9300
8930
|
@list_goldengate_deployment_types = ::Gapic::Config::Method.new list_goldengate_deployment_types_config
|
|
9301
|
-
get_goldengate_deployment_environment_config = parent_rpcs.get_goldengate_deployment_environment if parent_rpcs.respond_to? :get_goldengate_deployment_environment
|
|
9302
|
-
@get_goldengate_deployment_environment = ::Gapic::Config::Method.new get_goldengate_deployment_environment_config
|
|
9303
8931
|
list_goldengate_deployment_environments_config = parent_rpcs.list_goldengate_deployment_environments if parent_rpcs.respond_to? :list_goldengate_deployment_environments
|
|
9304
8932
|
@list_goldengate_deployment_environments = ::Gapic::Config::Method.new list_goldengate_deployment_environments_config
|
|
9305
|
-
get_goldengate_connection_type_config = parent_rpcs.get_goldengate_connection_type if parent_rpcs.respond_to? :get_goldengate_connection_type
|
|
9306
|
-
@get_goldengate_connection_type = ::Gapic::Config::Method.new get_goldengate_connection_type_config
|
|
9307
8933
|
list_goldengate_connection_types_config = parent_rpcs.list_goldengate_connection_types if parent_rpcs.respond_to? :list_goldengate_connection_types
|
|
9308
8934
|
@list_goldengate_connection_types = ::Gapic::Config::Method.new list_goldengate_connection_types_config
|
|
9309
8935
|
list_db_versions_config = parent_rpcs.list_db_versions if parent_rpcs.respond_to? :list_db_versions
|
|
@@ -235,25 +235,6 @@ module Google
|
|
|
235
235
|
"projects/#{project}/locations/#{location}/goldengateConnectionAssignments/#{goldengate_connection_assignment}"
|
|
236
236
|
end
|
|
237
237
|
|
|
238
|
-
##
|
|
239
|
-
# Create a fully-qualified GoldengateConnectionType resource string.
|
|
240
|
-
#
|
|
241
|
-
# The resource will be in the following format:
|
|
242
|
-
#
|
|
243
|
-
# `projects/{project}/locations/{location}/goldengateConnectionTypes/{goldengate_connection_type}`
|
|
244
|
-
#
|
|
245
|
-
# @param project [String]
|
|
246
|
-
# @param location [String]
|
|
247
|
-
# @param goldengate_connection_type [String]
|
|
248
|
-
#
|
|
249
|
-
# @return [::String]
|
|
250
|
-
def goldengate_connection_type_path project:, location:, goldengate_connection_type:
|
|
251
|
-
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
252
|
-
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
253
|
-
|
|
254
|
-
"projects/#{project}/locations/#{location}/goldengateConnectionTypes/#{goldengate_connection_type}"
|
|
255
|
-
end
|
|
256
|
-
|
|
257
238
|
##
|
|
258
239
|
# Create a fully-qualified GoldengateDeployment resource string.
|
|
259
240
|
#
|
|
@@ -273,63 +254,6 @@ module Google
|
|
|
273
254
|
"projects/#{project}/locations/#{location}/goldengateDeployments/#{goldengate_deployment}"
|
|
274
255
|
end
|
|
275
256
|
|
|
276
|
-
##
|
|
277
|
-
# Create a fully-qualified GoldengateDeploymentEnvironment resource string.
|
|
278
|
-
#
|
|
279
|
-
# The resource will be in the following format:
|
|
280
|
-
#
|
|
281
|
-
# `projects/{project}/locations/{location}/goldengateDeploymentEnvironments/{goldengate_deployment_environment}`
|
|
282
|
-
#
|
|
283
|
-
# @param project [String]
|
|
284
|
-
# @param location [String]
|
|
285
|
-
# @param goldengate_deployment_environment [String]
|
|
286
|
-
#
|
|
287
|
-
# @return [::String]
|
|
288
|
-
def goldengate_deployment_environment_path project:, location:, goldengate_deployment_environment:
|
|
289
|
-
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
290
|
-
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
291
|
-
|
|
292
|
-
"projects/#{project}/locations/#{location}/goldengateDeploymentEnvironments/#{goldengate_deployment_environment}"
|
|
293
|
-
end
|
|
294
|
-
|
|
295
|
-
##
|
|
296
|
-
# Create a fully-qualified GoldengateDeploymentType resource string.
|
|
297
|
-
#
|
|
298
|
-
# The resource will be in the following format:
|
|
299
|
-
#
|
|
300
|
-
# `projects/{project}/locations/{location}/goldengateDeploymentTypes/{goldengate_deployment_type}`
|
|
301
|
-
#
|
|
302
|
-
# @param project [String]
|
|
303
|
-
# @param location [String]
|
|
304
|
-
# @param goldengate_deployment_type [String]
|
|
305
|
-
#
|
|
306
|
-
# @return [::String]
|
|
307
|
-
def goldengate_deployment_type_path project:, location:, goldengate_deployment_type:
|
|
308
|
-
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
309
|
-
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
310
|
-
|
|
311
|
-
"projects/#{project}/locations/#{location}/goldengateDeploymentTypes/#{goldengate_deployment_type}"
|
|
312
|
-
end
|
|
313
|
-
|
|
314
|
-
##
|
|
315
|
-
# Create a fully-qualified GoldengateDeploymentVersion resource string.
|
|
316
|
-
#
|
|
317
|
-
# The resource will be in the following format:
|
|
318
|
-
#
|
|
319
|
-
# `projects/{project}/locations/{location}/goldengateDeploymentVersions/{goldengate_deployment_version}`
|
|
320
|
-
#
|
|
321
|
-
# @param project [String]
|
|
322
|
-
# @param location [String]
|
|
323
|
-
# @param goldengate_deployment_version [String]
|
|
324
|
-
#
|
|
325
|
-
# @return [::String]
|
|
326
|
-
def goldengate_deployment_version_path project:, location:, goldengate_deployment_version:
|
|
327
|
-
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
328
|
-
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
329
|
-
|
|
330
|
-
"projects/#{project}/locations/#{location}/goldengateDeploymentVersions/#{goldengate_deployment_version}"
|
|
331
|
-
end
|
|
332
|
-
|
|
333
257
|
##
|
|
334
258
|
# Create a fully-qualified Location resource string.
|
|
335
259
|
#
|