google-cloud-oracle_database-v1 0.14.0 → 0.16.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 +107 -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 +100 -346
- data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +62 -244
- data/lib/google/cloud/oracle_database/v1/version.rb +1 -1
- data/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +3 -1
- data/lib/google/cloud/oracledatabase/v1/exascale_db_storage_vault_pb.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 +2 -8
- data/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb +2 -1
- data/proto_docs/google/cloud/oracledatabase/v1/exadata_infra.rb +32 -0
- data/proto_docs/google/cloud/oracledatabase/v1/exascale_db_storage_vault.rb +6 -0
- 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
- data/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb +20 -0
- 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: afd60d51c632e189728ae00ab03abd823412ed89445811106b8693adb5560639
|
|
4
|
+
data.tar.gz: 0b24f695e443f92b12a05a75c539b7f49459e9ed6616e4848c9b5a0d412d90d7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 106c2baaab55dc455c49556849fdc79f2d99372af7058b0cc97877c377cd846e9d007ad4e3de20a36645cf2023d49355b096c567bdc864922dfd94266899978a
|
|
7
|
+
data.tar.gz: fe38513ceb83f6a065ac9d44b856a965aded7aba230b2259b781cd8c00f2997eab6e7cec4096630f8f18a487838eb8b0634f30a4ff2cb950d9761a5bde3ebab4
|
|
@@ -834,6 +834,106 @@ module Google
|
|
|
834
834
|
raise ::Google::Cloud::Error.from_error(e)
|
|
835
835
|
end
|
|
836
836
|
|
|
837
|
+
##
|
|
838
|
+
# Configures Exascale for a single Exadata Infrastructure.
|
|
839
|
+
#
|
|
840
|
+
# @overload configure_exascale_cloud_exadata_infrastructure(request, options = nil)
|
|
841
|
+
# Pass arguments to `configure_exascale_cloud_exadata_infrastructure` via a request object, either of type
|
|
842
|
+
# {::Google::Cloud::OracleDatabase::V1::ConfigureExascaleCloudExadataInfrastructureRequest} or an equivalent Hash.
|
|
843
|
+
#
|
|
844
|
+
# @param request [::Google::Cloud::OracleDatabase::V1::ConfigureExascaleCloudExadataInfrastructureRequest, ::Hash]
|
|
845
|
+
# A request object representing the call parameters. Required. To specify no
|
|
846
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
847
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
848
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
849
|
+
#
|
|
850
|
+
# @overload configure_exascale_cloud_exadata_infrastructure(name: nil, total_storage_size_gb: nil, request_id: nil)
|
|
851
|
+
# Pass arguments to `configure_exascale_cloud_exadata_infrastructure` via keyword arguments. Note that at
|
|
852
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
853
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
854
|
+
#
|
|
855
|
+
# @param name [::String]
|
|
856
|
+
# Required. The name of the Cloud Exadata Infrastructure in the following
|
|
857
|
+
# format:
|
|
858
|
+
# projects/\\{project}/locations/\\{location}/cloudExadataInfrastructures/\\{cloud_exadata_infrastructure}.
|
|
859
|
+
# @param total_storage_size_gb [::Integer]
|
|
860
|
+
# Required. The total storage to be allocated to Exascale in GBs.
|
|
861
|
+
# @param request_id [::String]
|
|
862
|
+
# Optional. An optional ID to identify the request.
|
|
863
|
+
#
|
|
864
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
|
865
|
+
# @yieldparam response [::Gapic::Operation]
|
|
866
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
867
|
+
#
|
|
868
|
+
# @return [::Gapic::Operation]
|
|
869
|
+
#
|
|
870
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
871
|
+
#
|
|
872
|
+
# @example Basic example
|
|
873
|
+
# require "google/cloud/oracle_database/v1"
|
|
874
|
+
#
|
|
875
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
876
|
+
# client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new
|
|
877
|
+
#
|
|
878
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
879
|
+
# request = Google::Cloud::OracleDatabase::V1::ConfigureExascaleCloudExadataInfrastructureRequest.new
|
|
880
|
+
#
|
|
881
|
+
# # Call the configure_exascale_cloud_exadata_infrastructure method.
|
|
882
|
+
# result = client.configure_exascale_cloud_exadata_infrastructure request
|
|
883
|
+
#
|
|
884
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
|
885
|
+
# # check the status of an operation, cancel it, or wait for results.
|
|
886
|
+
# # Here is how to wait for a response.
|
|
887
|
+
# result.wait_until_done! timeout: 60
|
|
888
|
+
# if result.response?
|
|
889
|
+
# p result.response
|
|
890
|
+
# else
|
|
891
|
+
# puts "No response received."
|
|
892
|
+
# end
|
|
893
|
+
#
|
|
894
|
+
def configure_exascale_cloud_exadata_infrastructure request, options = nil
|
|
895
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
896
|
+
|
|
897
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ConfigureExascaleCloudExadataInfrastructureRequest
|
|
898
|
+
|
|
899
|
+
# Converts hash and nil to an options object
|
|
900
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
901
|
+
|
|
902
|
+
# Customize the options with defaults
|
|
903
|
+
metadata = @config.rpcs.configure_exascale_cloud_exadata_infrastructure.metadata.to_h
|
|
904
|
+
|
|
905
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
906
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
907
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
908
|
+
gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION
|
|
909
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
910
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
911
|
+
|
|
912
|
+
header_params = {}
|
|
913
|
+
if request.name
|
|
914
|
+
header_params["name"] = request.name
|
|
915
|
+
end
|
|
916
|
+
|
|
917
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
918
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
919
|
+
|
|
920
|
+
options.apply_defaults timeout: @config.rpcs.configure_exascale_cloud_exadata_infrastructure.timeout,
|
|
921
|
+
metadata: metadata,
|
|
922
|
+
retry_policy: @config.rpcs.configure_exascale_cloud_exadata_infrastructure.retry_policy
|
|
923
|
+
|
|
924
|
+
options.apply_defaults timeout: @config.timeout,
|
|
925
|
+
metadata: @config.metadata,
|
|
926
|
+
retry_policy: @config.retry_policy
|
|
927
|
+
|
|
928
|
+
@oracle_database_stub.call_rpc :configure_exascale_cloud_exadata_infrastructure, request, options: options do |response, operation|
|
|
929
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
|
930
|
+
yield response, operation if block_given?
|
|
931
|
+
throw :response, response
|
|
932
|
+
end
|
|
933
|
+
rescue ::GRPC::BadStatus => e
|
|
934
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
935
|
+
end
|
|
936
|
+
|
|
837
937
|
##
|
|
838
938
|
# Lists the VM Clusters in a given project and location.
|
|
839
939
|
#
|
|
@@ -7085,93 +7185,6 @@ module Google
|
|
|
7085
7185
|
raise ::Google::Cloud::Error.from_error(e)
|
|
7086
7186
|
end
|
|
7087
7187
|
|
|
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
7188
|
##
|
|
7176
7189
|
# Lists GoldengateDeploymentVersions in a given project and location.
|
|
7177
7190
|
#
|
|
@@ -7274,93 +7287,6 @@ module Google
|
|
|
7274
7287
|
raise ::Google::Cloud::Error.from_error(e)
|
|
7275
7288
|
end
|
|
7276
7289
|
|
|
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
7290
|
##
|
|
7365
7291
|
# Lists GoldenGateDeploymentTypes in a given project and location.
|
|
7366
7292
|
#
|
|
@@ -7467,92 +7393,6 @@ module Google
|
|
|
7467
7393
|
raise ::Google::Cloud::Error.from_error(e)
|
|
7468
7394
|
end
|
|
7469
7395
|
|
|
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
7396
|
##
|
|
7557
7397
|
# Lists GoldengateDeploymentEnvironments in a given project and location.
|
|
7558
7398
|
#
|
|
@@ -7652,92 +7492,6 @@ module Google
|
|
|
7652
7492
|
raise ::Google::Cloud::Error.from_error(e)
|
|
7653
7493
|
end
|
|
7654
7494
|
|
|
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
7495
|
##
|
|
7742
7496
|
# Lists GoldengateConnectionTypes in a given project and location.
|
|
7743
7497
|
#
|
|
@@ -8771,6 +8525,11 @@ module Google
|
|
|
8771
8525
|
#
|
|
8772
8526
|
attr_reader :delete_cloud_exadata_infrastructure
|
|
8773
8527
|
##
|
|
8528
|
+
# RPC-specific configuration for `configure_exascale_cloud_exadata_infrastructure`
|
|
8529
|
+
# @return [::Gapic::Config::Method]
|
|
8530
|
+
#
|
|
8531
|
+
attr_reader :configure_exascale_cloud_exadata_infrastructure
|
|
8532
|
+
##
|
|
8774
8533
|
# RPC-specific configuration for `list_cloud_vm_clusters`
|
|
8775
8534
|
# @return [::Gapic::Config::Method]
|
|
8776
8535
|
#
|
|
@@ -9081,41 +8840,21 @@ module Google
|
|
|
9081
8840
|
#
|
|
9082
8841
|
attr_reader :delete_goldengate_connection
|
|
9083
8842
|
##
|
|
9084
|
-
# RPC-specific configuration for `get_goldengate_deployment_version`
|
|
9085
|
-
# @return [::Gapic::Config::Method]
|
|
9086
|
-
#
|
|
9087
|
-
attr_reader :get_goldengate_deployment_version
|
|
9088
|
-
##
|
|
9089
8843
|
# RPC-specific configuration for `list_goldengate_deployment_versions`
|
|
9090
8844
|
# @return [::Gapic::Config::Method]
|
|
9091
8845
|
#
|
|
9092
8846
|
attr_reader :list_goldengate_deployment_versions
|
|
9093
8847
|
##
|
|
9094
|
-
# RPC-specific configuration for `get_goldengate_deployment_type`
|
|
9095
|
-
# @return [::Gapic::Config::Method]
|
|
9096
|
-
#
|
|
9097
|
-
attr_reader :get_goldengate_deployment_type
|
|
9098
|
-
##
|
|
9099
8848
|
# RPC-specific configuration for `list_goldengate_deployment_types`
|
|
9100
8849
|
# @return [::Gapic::Config::Method]
|
|
9101
8850
|
#
|
|
9102
8851
|
attr_reader :list_goldengate_deployment_types
|
|
9103
8852
|
##
|
|
9104
|
-
# RPC-specific configuration for `get_goldengate_deployment_environment`
|
|
9105
|
-
# @return [::Gapic::Config::Method]
|
|
9106
|
-
#
|
|
9107
|
-
attr_reader :get_goldengate_deployment_environment
|
|
9108
|
-
##
|
|
9109
8853
|
# RPC-specific configuration for `list_goldengate_deployment_environments`
|
|
9110
8854
|
# @return [::Gapic::Config::Method]
|
|
9111
8855
|
#
|
|
9112
8856
|
attr_reader :list_goldengate_deployment_environments
|
|
9113
8857
|
##
|
|
9114
|
-
# RPC-specific configuration for `get_goldengate_connection_type`
|
|
9115
|
-
# @return [::Gapic::Config::Method]
|
|
9116
|
-
#
|
|
9117
|
-
attr_reader :get_goldengate_connection_type
|
|
9118
|
-
##
|
|
9119
8858
|
# RPC-specific configuration for `list_goldengate_connection_types`
|
|
9120
8859
|
# @return [::Gapic::Config::Method]
|
|
9121
8860
|
#
|
|
@@ -9166,6 +8905,8 @@ module Google
|
|
|
9166
8905
|
@create_cloud_exadata_infrastructure = ::Gapic::Config::Method.new create_cloud_exadata_infrastructure_config
|
|
9167
8906
|
delete_cloud_exadata_infrastructure_config = parent_rpcs.delete_cloud_exadata_infrastructure if parent_rpcs.respond_to? :delete_cloud_exadata_infrastructure
|
|
9168
8907
|
@delete_cloud_exadata_infrastructure = ::Gapic::Config::Method.new delete_cloud_exadata_infrastructure_config
|
|
8908
|
+
configure_exascale_cloud_exadata_infrastructure_config = parent_rpcs.configure_exascale_cloud_exadata_infrastructure if parent_rpcs.respond_to? :configure_exascale_cloud_exadata_infrastructure
|
|
8909
|
+
@configure_exascale_cloud_exadata_infrastructure = ::Gapic::Config::Method.new configure_exascale_cloud_exadata_infrastructure_config
|
|
9169
8910
|
list_cloud_vm_clusters_config = parent_rpcs.list_cloud_vm_clusters if parent_rpcs.respond_to? :list_cloud_vm_clusters
|
|
9170
8911
|
@list_cloud_vm_clusters = ::Gapic::Config::Method.new list_cloud_vm_clusters_config
|
|
9171
8912
|
get_cloud_vm_cluster_config = parent_rpcs.get_cloud_vm_cluster if parent_rpcs.respond_to? :get_cloud_vm_cluster
|
|
@@ -9290,20 +9031,12 @@ module Google
|
|
|
9290
9031
|
@create_goldengate_connection = ::Gapic::Config::Method.new create_goldengate_connection_config
|
|
9291
9032
|
delete_goldengate_connection_config = parent_rpcs.delete_goldengate_connection if parent_rpcs.respond_to? :delete_goldengate_connection
|
|
9292
9033
|
@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
9034
|
list_goldengate_deployment_versions_config = parent_rpcs.list_goldengate_deployment_versions if parent_rpcs.respond_to? :list_goldengate_deployment_versions
|
|
9296
9035
|
@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
9036
|
list_goldengate_deployment_types_config = parent_rpcs.list_goldengate_deployment_types if parent_rpcs.respond_to? :list_goldengate_deployment_types
|
|
9300
9037
|
@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
9038
|
list_goldengate_deployment_environments_config = parent_rpcs.list_goldengate_deployment_environments if parent_rpcs.respond_to? :list_goldengate_deployment_environments
|
|
9304
9039
|
@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
9040
|
list_goldengate_connection_types_config = parent_rpcs.list_goldengate_connection_types if parent_rpcs.respond_to? :list_goldengate_connection_types
|
|
9308
9041
|
@list_goldengate_connection_types = ::Gapic::Config::Method.new list_goldengate_connection_types_config
|
|
9309
9042
|
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
|
#
|