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
|
@@ -6617,86 +6617,6 @@ module Google
|
|
|
6617
6617
|
raise ::Google::Cloud::Error.from_error(e)
|
|
6618
6618
|
end
|
|
6619
6619
|
|
|
6620
|
-
##
|
|
6621
|
-
# Gets details of a single GoldengateDeploymentVersion.
|
|
6622
|
-
#
|
|
6623
|
-
# @overload get_goldengate_deployment_version(request, options = nil)
|
|
6624
|
-
# Pass arguments to `get_goldengate_deployment_version` via a request object, either of type
|
|
6625
|
-
# {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest} or an equivalent Hash.
|
|
6626
|
-
#
|
|
6627
|
-
# @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest, ::Hash]
|
|
6628
|
-
# A request object representing the call parameters. Required. To specify no
|
|
6629
|
-
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
6630
|
-
# @param options [::Gapic::CallOptions, ::Hash]
|
|
6631
|
-
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
6632
|
-
#
|
|
6633
|
-
# @overload get_goldengate_deployment_version(name: nil)
|
|
6634
|
-
# Pass arguments to `get_goldengate_deployment_version` via keyword arguments. Note that at
|
|
6635
|
-
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
6636
|
-
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
6637
|
-
#
|
|
6638
|
-
# @param name [::String]
|
|
6639
|
-
# Required. The name of the GoldengateDeploymentVersion to retrieve.
|
|
6640
|
-
# Format:
|
|
6641
|
-
# projects/\\{project}/locations/\\{location}/goldengateDeploymentVersions/\\{goldengate_deployment_version}
|
|
6642
|
-
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
6643
|
-
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion]
|
|
6644
|
-
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
6645
|
-
#
|
|
6646
|
-
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion]
|
|
6647
|
-
#
|
|
6648
|
-
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
6649
|
-
#
|
|
6650
|
-
# @example Basic example
|
|
6651
|
-
# require "google/cloud/oracle_database/v1"
|
|
6652
|
-
#
|
|
6653
|
-
# # Create a client object. The client can be reused for multiple calls.
|
|
6654
|
-
# client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new
|
|
6655
|
-
#
|
|
6656
|
-
# # Create a request. To set request fields, pass in keyword arguments.
|
|
6657
|
-
# request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest.new
|
|
6658
|
-
#
|
|
6659
|
-
# # Call the get_goldengate_deployment_version method.
|
|
6660
|
-
# result = client.get_goldengate_deployment_version request
|
|
6661
|
-
#
|
|
6662
|
-
# # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentVersion.
|
|
6663
|
-
# p result
|
|
6664
|
-
#
|
|
6665
|
-
def get_goldengate_deployment_version request, options = nil
|
|
6666
|
-
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
6667
|
-
|
|
6668
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentVersionRequest
|
|
6669
|
-
|
|
6670
|
-
# Converts hash and nil to an options object
|
|
6671
|
-
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
6672
|
-
|
|
6673
|
-
# Customize the options with defaults
|
|
6674
|
-
call_metadata = @config.rpcs.get_goldengate_deployment_version.metadata.to_h
|
|
6675
|
-
|
|
6676
|
-
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
6677
|
-
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
6678
|
-
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
6679
|
-
gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION,
|
|
6680
|
-
transports_version_send: [:rest]
|
|
6681
|
-
|
|
6682
|
-
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
6683
|
-
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
6684
|
-
|
|
6685
|
-
options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment_version.timeout,
|
|
6686
|
-
metadata: call_metadata,
|
|
6687
|
-
retry_policy: @config.rpcs.get_goldengate_deployment_version.retry_policy
|
|
6688
|
-
|
|
6689
|
-
options.apply_defaults timeout: @config.timeout,
|
|
6690
|
-
metadata: @config.metadata,
|
|
6691
|
-
retry_policy: @config.retry_policy
|
|
6692
|
-
|
|
6693
|
-
@oracle_database_stub.get_goldengate_deployment_version request, options do |result, operation|
|
|
6694
|
-
yield result, operation if block_given?
|
|
6695
|
-
end
|
|
6696
|
-
rescue ::Gapic::Rest::Error => e
|
|
6697
|
-
raise ::Google::Cloud::Error.from_error(e)
|
|
6698
|
-
end
|
|
6699
|
-
|
|
6700
6620
|
##
|
|
6701
6621
|
# Lists GoldengateDeploymentVersions in a given project and location.
|
|
6702
6622
|
#
|
|
@@ -6792,86 +6712,6 @@ module Google
|
|
|
6792
6712
|
raise ::Google::Cloud::Error.from_error(e)
|
|
6793
6713
|
end
|
|
6794
6714
|
|
|
6795
|
-
##
|
|
6796
|
-
# Gets details of a single GoldenGateDeploymentType.
|
|
6797
|
-
#
|
|
6798
|
-
# @overload get_goldengate_deployment_type(request, options = nil)
|
|
6799
|
-
# Pass arguments to `get_goldengate_deployment_type` via a request object, either of type
|
|
6800
|
-
# {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest} or an equivalent Hash.
|
|
6801
|
-
#
|
|
6802
|
-
# @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest, ::Hash]
|
|
6803
|
-
# A request object representing the call parameters. Required. To specify no
|
|
6804
|
-
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
6805
|
-
# @param options [::Gapic::CallOptions, ::Hash]
|
|
6806
|
-
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
6807
|
-
#
|
|
6808
|
-
# @overload get_goldengate_deployment_type(name: nil)
|
|
6809
|
-
# Pass arguments to `get_goldengate_deployment_type` via keyword arguments. Note that at
|
|
6810
|
-
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
6811
|
-
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
6812
|
-
#
|
|
6813
|
-
# @param name [::String]
|
|
6814
|
-
# Required. The name of the GoldengateDeploymentType to retrieve.
|
|
6815
|
-
# Format:
|
|
6816
|
-
# projects/\\{project}/locations/\\{location}/goldengateDeploymentTypes/\\{goldengate_deployment_type}
|
|
6817
|
-
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
6818
|
-
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType]
|
|
6819
|
-
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
6820
|
-
#
|
|
6821
|
-
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType]
|
|
6822
|
-
#
|
|
6823
|
-
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
6824
|
-
#
|
|
6825
|
-
# @example Basic example
|
|
6826
|
-
# require "google/cloud/oracle_database/v1"
|
|
6827
|
-
#
|
|
6828
|
-
# # Create a client object. The client can be reused for multiple calls.
|
|
6829
|
-
# client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new
|
|
6830
|
-
#
|
|
6831
|
-
# # Create a request. To set request fields, pass in keyword arguments.
|
|
6832
|
-
# request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest.new
|
|
6833
|
-
#
|
|
6834
|
-
# # Call the get_goldengate_deployment_type method.
|
|
6835
|
-
# result = client.get_goldengate_deployment_type request
|
|
6836
|
-
#
|
|
6837
|
-
# # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentType.
|
|
6838
|
-
# p result
|
|
6839
|
-
#
|
|
6840
|
-
def get_goldengate_deployment_type request, options = nil
|
|
6841
|
-
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
6842
|
-
|
|
6843
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentTypeRequest
|
|
6844
|
-
|
|
6845
|
-
# Converts hash and nil to an options object
|
|
6846
|
-
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
6847
|
-
|
|
6848
|
-
# Customize the options with defaults
|
|
6849
|
-
call_metadata = @config.rpcs.get_goldengate_deployment_type.metadata.to_h
|
|
6850
|
-
|
|
6851
|
-
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
6852
|
-
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
6853
|
-
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
6854
|
-
gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION,
|
|
6855
|
-
transports_version_send: [:rest]
|
|
6856
|
-
|
|
6857
|
-
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
6858
|
-
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
6859
|
-
|
|
6860
|
-
options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment_type.timeout,
|
|
6861
|
-
metadata: call_metadata,
|
|
6862
|
-
retry_policy: @config.rpcs.get_goldengate_deployment_type.retry_policy
|
|
6863
|
-
|
|
6864
|
-
options.apply_defaults timeout: @config.timeout,
|
|
6865
|
-
metadata: @config.metadata,
|
|
6866
|
-
retry_policy: @config.retry_policy
|
|
6867
|
-
|
|
6868
|
-
@oracle_database_stub.get_goldengate_deployment_type request, options do |result, operation|
|
|
6869
|
-
yield result, operation if block_given?
|
|
6870
|
-
end
|
|
6871
|
-
rescue ::Gapic::Rest::Error => e
|
|
6872
|
-
raise ::Google::Cloud::Error.from_error(e)
|
|
6873
|
-
end
|
|
6874
|
-
|
|
6875
6715
|
##
|
|
6876
6716
|
# Lists GoldenGateDeploymentTypes in a given project and location.
|
|
6877
6717
|
#
|
|
@@ -6971,85 +6811,6 @@ module Google
|
|
|
6971
6811
|
raise ::Google::Cloud::Error.from_error(e)
|
|
6972
6812
|
end
|
|
6973
6813
|
|
|
6974
|
-
##
|
|
6975
|
-
# Gets details of a single GoldengateDeploymentEnvironment.
|
|
6976
|
-
#
|
|
6977
|
-
# @overload get_goldengate_deployment_environment(request, options = nil)
|
|
6978
|
-
# Pass arguments to `get_goldengate_deployment_environment` via a request object, either of type
|
|
6979
|
-
# {::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest} or an equivalent Hash.
|
|
6980
|
-
#
|
|
6981
|
-
# @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest, ::Hash]
|
|
6982
|
-
# A request object representing the call parameters. Required. To specify no
|
|
6983
|
-
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
6984
|
-
# @param options [::Gapic::CallOptions, ::Hash]
|
|
6985
|
-
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
6986
|
-
#
|
|
6987
|
-
# @overload get_goldengate_deployment_environment(name: nil)
|
|
6988
|
-
# Pass arguments to `get_goldengate_deployment_environment` via keyword arguments. Note that at
|
|
6989
|
-
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
6990
|
-
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
6991
|
-
#
|
|
6992
|
-
# @param name [::String]
|
|
6993
|
-
# Required. Name of the resource with the format:
|
|
6994
|
-
# projects/\\{project}/locations/\\{location}/goldengateDeploymentEnvironments/\\{goldengate_deployment_environment}
|
|
6995
|
-
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
6996
|
-
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment]
|
|
6997
|
-
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
6998
|
-
#
|
|
6999
|
-
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment]
|
|
7000
|
-
#
|
|
7001
|
-
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
7002
|
-
#
|
|
7003
|
-
# @example Basic example
|
|
7004
|
-
# require "google/cloud/oracle_database/v1"
|
|
7005
|
-
#
|
|
7006
|
-
# # Create a client object. The client can be reused for multiple calls.
|
|
7007
|
-
# client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new
|
|
7008
|
-
#
|
|
7009
|
-
# # Create a request. To set request fields, pass in keyword arguments.
|
|
7010
|
-
# request = Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest.new
|
|
7011
|
-
#
|
|
7012
|
-
# # Call the get_goldengate_deployment_environment method.
|
|
7013
|
-
# result = client.get_goldengate_deployment_environment request
|
|
7014
|
-
#
|
|
7015
|
-
# # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateDeploymentEnvironment.
|
|
7016
|
-
# p result
|
|
7017
|
-
#
|
|
7018
|
-
def get_goldengate_deployment_environment request, options = nil
|
|
7019
|
-
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
7020
|
-
|
|
7021
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateDeploymentEnvironmentRequest
|
|
7022
|
-
|
|
7023
|
-
# Converts hash and nil to an options object
|
|
7024
|
-
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
7025
|
-
|
|
7026
|
-
# Customize the options with defaults
|
|
7027
|
-
call_metadata = @config.rpcs.get_goldengate_deployment_environment.metadata.to_h
|
|
7028
|
-
|
|
7029
|
-
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
7030
|
-
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
7031
|
-
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
7032
|
-
gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION,
|
|
7033
|
-
transports_version_send: [:rest]
|
|
7034
|
-
|
|
7035
|
-
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
7036
|
-
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
7037
|
-
|
|
7038
|
-
options.apply_defaults timeout: @config.rpcs.get_goldengate_deployment_environment.timeout,
|
|
7039
|
-
metadata: call_metadata,
|
|
7040
|
-
retry_policy: @config.rpcs.get_goldengate_deployment_environment.retry_policy
|
|
7041
|
-
|
|
7042
|
-
options.apply_defaults timeout: @config.timeout,
|
|
7043
|
-
metadata: @config.metadata,
|
|
7044
|
-
retry_policy: @config.retry_policy
|
|
7045
|
-
|
|
7046
|
-
@oracle_database_stub.get_goldengate_deployment_environment request, options do |result, operation|
|
|
7047
|
-
yield result, operation if block_given?
|
|
7048
|
-
end
|
|
7049
|
-
rescue ::Gapic::Rest::Error => e
|
|
7050
|
-
raise ::Google::Cloud::Error.from_error(e)
|
|
7051
|
-
end
|
|
7052
|
-
|
|
7053
6814
|
##
|
|
7054
6815
|
# Lists GoldengateDeploymentEnvironments in a given project and location.
|
|
7055
6816
|
#
|
|
@@ -7142,85 +6903,6 @@ module Google
|
|
|
7142
6903
|
raise ::Google::Cloud::Error.from_error(e)
|
|
7143
6904
|
end
|
|
7144
6905
|
|
|
7145
|
-
##
|
|
7146
|
-
# Gets details of a single GoldengateConnectionType.
|
|
7147
|
-
#
|
|
7148
|
-
# @overload get_goldengate_connection_type(request, options = nil)
|
|
7149
|
-
# Pass arguments to `get_goldengate_connection_type` via a request object, either of type
|
|
7150
|
-
# {::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest} or an equivalent Hash.
|
|
7151
|
-
#
|
|
7152
|
-
# @param request [::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest, ::Hash]
|
|
7153
|
-
# A request object representing the call parameters. Required. To specify no
|
|
7154
|
-
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
7155
|
-
# @param options [::Gapic::CallOptions, ::Hash]
|
|
7156
|
-
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
7157
|
-
#
|
|
7158
|
-
# @overload get_goldengate_connection_type(name: nil)
|
|
7159
|
-
# Pass arguments to `get_goldengate_connection_type` via keyword arguments. Note that at
|
|
7160
|
-
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
7161
|
-
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
7162
|
-
#
|
|
7163
|
-
# @param name [::String]
|
|
7164
|
-
# Required. Name of the resource in the format:
|
|
7165
|
-
# projects/\\{project}/locations/\\{location}/goldengateConnectionTypes/\\{goldengate_connection_type}
|
|
7166
|
-
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
7167
|
-
# @yieldparam result [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType]
|
|
7168
|
-
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
7169
|
-
#
|
|
7170
|
-
# @return [::Google::Cloud::OracleDatabase::V1::GoldengateConnectionType]
|
|
7171
|
-
#
|
|
7172
|
-
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
7173
|
-
#
|
|
7174
|
-
# @example Basic example
|
|
7175
|
-
# require "google/cloud/oracle_database/v1"
|
|
7176
|
-
#
|
|
7177
|
-
# # Create a client object. The client can be reused for multiple calls.
|
|
7178
|
-
# client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new
|
|
7179
|
-
#
|
|
7180
|
-
# # Create a request. To set request fields, pass in keyword arguments.
|
|
7181
|
-
# request = Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest.new
|
|
7182
|
-
#
|
|
7183
|
-
# # Call the get_goldengate_connection_type method.
|
|
7184
|
-
# result = client.get_goldengate_connection_type request
|
|
7185
|
-
#
|
|
7186
|
-
# # The returned object is of type Google::Cloud::OracleDatabase::V1::GoldengateConnectionType.
|
|
7187
|
-
# p result
|
|
7188
|
-
#
|
|
7189
|
-
def get_goldengate_connection_type request, options = nil
|
|
7190
|
-
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
7191
|
-
|
|
7192
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::GetGoldengateConnectionTypeRequest
|
|
7193
|
-
|
|
7194
|
-
# Converts hash and nil to an options object
|
|
7195
|
-
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
7196
|
-
|
|
7197
|
-
# Customize the options with defaults
|
|
7198
|
-
call_metadata = @config.rpcs.get_goldengate_connection_type.metadata.to_h
|
|
7199
|
-
|
|
7200
|
-
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
7201
|
-
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
7202
|
-
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
7203
|
-
gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION,
|
|
7204
|
-
transports_version_send: [:rest]
|
|
7205
|
-
|
|
7206
|
-
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
7207
|
-
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
7208
|
-
|
|
7209
|
-
options.apply_defaults timeout: @config.rpcs.get_goldengate_connection_type.timeout,
|
|
7210
|
-
metadata: call_metadata,
|
|
7211
|
-
retry_policy: @config.rpcs.get_goldengate_connection_type.retry_policy
|
|
7212
|
-
|
|
7213
|
-
options.apply_defaults timeout: @config.timeout,
|
|
7214
|
-
metadata: @config.metadata,
|
|
7215
|
-
retry_policy: @config.retry_policy
|
|
7216
|
-
|
|
7217
|
-
@oracle_database_stub.get_goldengate_connection_type request, options do |result, operation|
|
|
7218
|
-
yield result, operation if block_given?
|
|
7219
|
-
end
|
|
7220
|
-
rescue ::Gapic::Rest::Error => e
|
|
7221
|
-
raise ::Google::Cloud::Error.from_error(e)
|
|
7222
|
-
end
|
|
7223
|
-
|
|
7224
6906
|
##
|
|
7225
6907
|
# Lists GoldengateConnectionTypes in a given project and location.
|
|
7226
6908
|
#
|
|
@@ -8478,41 +8160,21 @@ module Google
|
|
|
8478
8160
|
#
|
|
8479
8161
|
attr_reader :delete_goldengate_connection
|
|
8480
8162
|
##
|
|
8481
|
-
# RPC-specific configuration for `get_goldengate_deployment_version`
|
|
8482
|
-
# @return [::Gapic::Config::Method]
|
|
8483
|
-
#
|
|
8484
|
-
attr_reader :get_goldengate_deployment_version
|
|
8485
|
-
##
|
|
8486
8163
|
# RPC-specific configuration for `list_goldengate_deployment_versions`
|
|
8487
8164
|
# @return [::Gapic::Config::Method]
|
|
8488
8165
|
#
|
|
8489
8166
|
attr_reader :list_goldengate_deployment_versions
|
|
8490
8167
|
##
|
|
8491
|
-
# RPC-specific configuration for `get_goldengate_deployment_type`
|
|
8492
|
-
# @return [::Gapic::Config::Method]
|
|
8493
|
-
#
|
|
8494
|
-
attr_reader :get_goldengate_deployment_type
|
|
8495
|
-
##
|
|
8496
8168
|
# RPC-specific configuration for `list_goldengate_deployment_types`
|
|
8497
8169
|
# @return [::Gapic::Config::Method]
|
|
8498
8170
|
#
|
|
8499
8171
|
attr_reader :list_goldengate_deployment_types
|
|
8500
8172
|
##
|
|
8501
|
-
# RPC-specific configuration for `get_goldengate_deployment_environment`
|
|
8502
|
-
# @return [::Gapic::Config::Method]
|
|
8503
|
-
#
|
|
8504
|
-
attr_reader :get_goldengate_deployment_environment
|
|
8505
|
-
##
|
|
8506
8173
|
# RPC-specific configuration for `list_goldengate_deployment_environments`
|
|
8507
8174
|
# @return [::Gapic::Config::Method]
|
|
8508
8175
|
#
|
|
8509
8176
|
attr_reader :list_goldengate_deployment_environments
|
|
8510
8177
|
##
|
|
8511
|
-
# RPC-specific configuration for `get_goldengate_connection_type`
|
|
8512
|
-
# @return [::Gapic::Config::Method]
|
|
8513
|
-
#
|
|
8514
|
-
attr_reader :get_goldengate_connection_type
|
|
8515
|
-
##
|
|
8516
8178
|
# RPC-specific configuration for `list_goldengate_connection_types`
|
|
8517
8179
|
# @return [::Gapic::Config::Method]
|
|
8518
8180
|
#
|
|
@@ -8687,20 +8349,12 @@ module Google
|
|
|
8687
8349
|
@create_goldengate_connection = ::Gapic::Config::Method.new create_goldengate_connection_config
|
|
8688
8350
|
delete_goldengate_connection_config = parent_rpcs.delete_goldengate_connection if parent_rpcs.respond_to? :delete_goldengate_connection
|
|
8689
8351
|
@delete_goldengate_connection = ::Gapic::Config::Method.new delete_goldengate_connection_config
|
|
8690
|
-
get_goldengate_deployment_version_config = parent_rpcs.get_goldengate_deployment_version if parent_rpcs.respond_to? :get_goldengate_deployment_version
|
|
8691
|
-
@get_goldengate_deployment_version = ::Gapic::Config::Method.new get_goldengate_deployment_version_config
|
|
8692
8352
|
list_goldengate_deployment_versions_config = parent_rpcs.list_goldengate_deployment_versions if parent_rpcs.respond_to? :list_goldengate_deployment_versions
|
|
8693
8353
|
@list_goldengate_deployment_versions = ::Gapic::Config::Method.new list_goldengate_deployment_versions_config
|
|
8694
|
-
get_goldengate_deployment_type_config = parent_rpcs.get_goldengate_deployment_type if parent_rpcs.respond_to? :get_goldengate_deployment_type
|
|
8695
|
-
@get_goldengate_deployment_type = ::Gapic::Config::Method.new get_goldengate_deployment_type_config
|
|
8696
8354
|
list_goldengate_deployment_types_config = parent_rpcs.list_goldengate_deployment_types if parent_rpcs.respond_to? :list_goldengate_deployment_types
|
|
8697
8355
|
@list_goldengate_deployment_types = ::Gapic::Config::Method.new list_goldengate_deployment_types_config
|
|
8698
|
-
get_goldengate_deployment_environment_config = parent_rpcs.get_goldengate_deployment_environment if parent_rpcs.respond_to? :get_goldengate_deployment_environment
|
|
8699
|
-
@get_goldengate_deployment_environment = ::Gapic::Config::Method.new get_goldengate_deployment_environment_config
|
|
8700
8356
|
list_goldengate_deployment_environments_config = parent_rpcs.list_goldengate_deployment_environments if parent_rpcs.respond_to? :list_goldengate_deployment_environments
|
|
8701
8357
|
@list_goldengate_deployment_environments = ::Gapic::Config::Method.new list_goldengate_deployment_environments_config
|
|
8702
|
-
get_goldengate_connection_type_config = parent_rpcs.get_goldengate_connection_type if parent_rpcs.respond_to? :get_goldengate_connection_type
|
|
8703
|
-
@get_goldengate_connection_type = ::Gapic::Config::Method.new get_goldengate_connection_type_config
|
|
8704
8358
|
list_goldengate_connection_types_config = parent_rpcs.list_goldengate_connection_types if parent_rpcs.respond_to? :list_goldengate_connection_types
|
|
8705
8359
|
@list_goldengate_connection_types = ::Gapic::Config::Method.new list_goldengate_connection_types_config
|
|
8706
8360
|
list_db_versions_config = parent_rpcs.list_db_versions if parent_rpcs.respond_to? :list_db_versions
|