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
|
@@ -800,6 +800,99 @@ module Google
|
|
|
800
800
|
raise ::Google::Cloud::Error.from_error(e)
|
|
801
801
|
end
|
|
802
802
|
|
|
803
|
+
##
|
|
804
|
+
# Configures Exascale for a single Exadata Infrastructure.
|
|
805
|
+
#
|
|
806
|
+
# @overload configure_exascale_cloud_exadata_infrastructure(request, options = nil)
|
|
807
|
+
# Pass arguments to `configure_exascale_cloud_exadata_infrastructure` via a request object, either of type
|
|
808
|
+
# {::Google::Cloud::OracleDatabase::V1::ConfigureExascaleCloudExadataInfrastructureRequest} or an equivalent Hash.
|
|
809
|
+
#
|
|
810
|
+
# @param request [::Google::Cloud::OracleDatabase::V1::ConfigureExascaleCloudExadataInfrastructureRequest, ::Hash]
|
|
811
|
+
# A request object representing the call parameters. Required. To specify no
|
|
812
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
813
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
814
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
815
|
+
#
|
|
816
|
+
# @overload configure_exascale_cloud_exadata_infrastructure(name: nil, total_storage_size_gb: nil, request_id: nil)
|
|
817
|
+
# Pass arguments to `configure_exascale_cloud_exadata_infrastructure` via keyword arguments. Note that at
|
|
818
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
819
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
820
|
+
#
|
|
821
|
+
# @param name [::String]
|
|
822
|
+
# Required. The name of the Cloud Exadata Infrastructure in the following
|
|
823
|
+
# format:
|
|
824
|
+
# projects/\\{project}/locations/\\{location}/cloudExadataInfrastructures/\\{cloud_exadata_infrastructure}.
|
|
825
|
+
# @param total_storage_size_gb [::Integer]
|
|
826
|
+
# Required. The total storage to be allocated to Exascale in GBs.
|
|
827
|
+
# @param request_id [::String]
|
|
828
|
+
# Optional. An optional ID to identify the request.
|
|
829
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
830
|
+
# @yieldparam result [::Gapic::Operation]
|
|
831
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
832
|
+
#
|
|
833
|
+
# @return [::Gapic::Operation]
|
|
834
|
+
#
|
|
835
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
836
|
+
#
|
|
837
|
+
# @example Basic example
|
|
838
|
+
# require "google/cloud/oracle_database/v1"
|
|
839
|
+
#
|
|
840
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
841
|
+
# client = Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new
|
|
842
|
+
#
|
|
843
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
844
|
+
# request = Google::Cloud::OracleDatabase::V1::ConfigureExascaleCloudExadataInfrastructureRequest.new
|
|
845
|
+
#
|
|
846
|
+
# # Call the configure_exascale_cloud_exadata_infrastructure method.
|
|
847
|
+
# result = client.configure_exascale_cloud_exadata_infrastructure request
|
|
848
|
+
#
|
|
849
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
|
850
|
+
# # check the status of an operation, cancel it, or wait for results.
|
|
851
|
+
# # Here is how to wait for a response.
|
|
852
|
+
# result.wait_until_done! timeout: 60
|
|
853
|
+
# if result.response?
|
|
854
|
+
# p result.response
|
|
855
|
+
# else
|
|
856
|
+
# puts "No response received."
|
|
857
|
+
# end
|
|
858
|
+
#
|
|
859
|
+
def configure_exascale_cloud_exadata_infrastructure request, options = nil
|
|
860
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
861
|
+
|
|
862
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::OracleDatabase::V1::ConfigureExascaleCloudExadataInfrastructureRequest
|
|
863
|
+
|
|
864
|
+
# Converts hash and nil to an options object
|
|
865
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
866
|
+
|
|
867
|
+
# Customize the options with defaults
|
|
868
|
+
call_metadata = @config.rpcs.configure_exascale_cloud_exadata_infrastructure.metadata.to_h
|
|
869
|
+
|
|
870
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
871
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
872
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
873
|
+
gapic_version: ::Google::Cloud::OracleDatabase::V1::VERSION,
|
|
874
|
+
transports_version_send: [:rest]
|
|
875
|
+
|
|
876
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
877
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
878
|
+
|
|
879
|
+
options.apply_defaults timeout: @config.rpcs.configure_exascale_cloud_exadata_infrastructure.timeout,
|
|
880
|
+
metadata: call_metadata,
|
|
881
|
+
retry_policy: @config.rpcs.configure_exascale_cloud_exadata_infrastructure.retry_policy
|
|
882
|
+
|
|
883
|
+
options.apply_defaults timeout: @config.timeout,
|
|
884
|
+
metadata: @config.metadata,
|
|
885
|
+
retry_policy: @config.retry_policy
|
|
886
|
+
|
|
887
|
+
@oracle_database_stub.configure_exascale_cloud_exadata_infrastructure request, options do |result, operation|
|
|
888
|
+
result = ::Gapic::Operation.new result, @operations_client, options: options
|
|
889
|
+
yield result, operation if block_given?
|
|
890
|
+
throw :response, result
|
|
891
|
+
end
|
|
892
|
+
rescue ::Gapic::Rest::Error => e
|
|
893
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
894
|
+
end
|
|
895
|
+
|
|
803
896
|
##
|
|
804
897
|
# Lists the VM Clusters in a given project and location.
|
|
805
898
|
#
|
|
@@ -6617,86 +6710,6 @@ module Google
|
|
|
6617
6710
|
raise ::Google::Cloud::Error.from_error(e)
|
|
6618
6711
|
end
|
|
6619
6712
|
|
|
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
6713
|
##
|
|
6701
6714
|
# Lists GoldengateDeploymentVersions in a given project and location.
|
|
6702
6715
|
#
|
|
@@ -6792,86 +6805,6 @@ module Google
|
|
|
6792
6805
|
raise ::Google::Cloud::Error.from_error(e)
|
|
6793
6806
|
end
|
|
6794
6807
|
|
|
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
6808
|
##
|
|
6876
6809
|
# Lists GoldenGateDeploymentTypes in a given project and location.
|
|
6877
6810
|
#
|
|
@@ -6971,85 +6904,6 @@ module Google
|
|
|
6971
6904
|
raise ::Google::Cloud::Error.from_error(e)
|
|
6972
6905
|
end
|
|
6973
6906
|
|
|
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
6907
|
##
|
|
7054
6908
|
# Lists GoldengateDeploymentEnvironments in a given project and location.
|
|
7055
6909
|
#
|
|
@@ -7142,85 +6996,6 @@ module Google
|
|
|
7142
6996
|
raise ::Google::Cloud::Error.from_error(e)
|
|
7143
6997
|
end
|
|
7144
6998
|
|
|
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
6999
|
##
|
|
7225
7000
|
# Lists GoldengateConnectionTypes in a given project and location.
|
|
7226
7001
|
#
|
|
@@ -8168,6 +7943,11 @@ module Google
|
|
|
8168
7943
|
#
|
|
8169
7944
|
attr_reader :delete_cloud_exadata_infrastructure
|
|
8170
7945
|
##
|
|
7946
|
+
# RPC-specific configuration for `configure_exascale_cloud_exadata_infrastructure`
|
|
7947
|
+
# @return [::Gapic::Config::Method]
|
|
7948
|
+
#
|
|
7949
|
+
attr_reader :configure_exascale_cloud_exadata_infrastructure
|
|
7950
|
+
##
|
|
8171
7951
|
# RPC-specific configuration for `list_cloud_vm_clusters`
|
|
8172
7952
|
# @return [::Gapic::Config::Method]
|
|
8173
7953
|
#
|
|
@@ -8478,41 +8258,21 @@ module Google
|
|
|
8478
8258
|
#
|
|
8479
8259
|
attr_reader :delete_goldengate_connection
|
|
8480
8260
|
##
|
|
8481
|
-
# RPC-specific configuration for `get_goldengate_deployment_version`
|
|
8482
|
-
# @return [::Gapic::Config::Method]
|
|
8483
|
-
#
|
|
8484
|
-
attr_reader :get_goldengate_deployment_version
|
|
8485
|
-
##
|
|
8486
8261
|
# RPC-specific configuration for `list_goldengate_deployment_versions`
|
|
8487
8262
|
# @return [::Gapic::Config::Method]
|
|
8488
8263
|
#
|
|
8489
8264
|
attr_reader :list_goldengate_deployment_versions
|
|
8490
8265
|
##
|
|
8491
|
-
# RPC-specific configuration for `get_goldengate_deployment_type`
|
|
8492
|
-
# @return [::Gapic::Config::Method]
|
|
8493
|
-
#
|
|
8494
|
-
attr_reader :get_goldengate_deployment_type
|
|
8495
|
-
##
|
|
8496
8266
|
# RPC-specific configuration for `list_goldengate_deployment_types`
|
|
8497
8267
|
# @return [::Gapic::Config::Method]
|
|
8498
8268
|
#
|
|
8499
8269
|
attr_reader :list_goldengate_deployment_types
|
|
8500
8270
|
##
|
|
8501
|
-
# RPC-specific configuration for `get_goldengate_deployment_environment`
|
|
8502
|
-
# @return [::Gapic::Config::Method]
|
|
8503
|
-
#
|
|
8504
|
-
attr_reader :get_goldengate_deployment_environment
|
|
8505
|
-
##
|
|
8506
8271
|
# RPC-specific configuration for `list_goldengate_deployment_environments`
|
|
8507
8272
|
# @return [::Gapic::Config::Method]
|
|
8508
8273
|
#
|
|
8509
8274
|
attr_reader :list_goldengate_deployment_environments
|
|
8510
8275
|
##
|
|
8511
|
-
# RPC-specific configuration for `get_goldengate_connection_type`
|
|
8512
|
-
# @return [::Gapic::Config::Method]
|
|
8513
|
-
#
|
|
8514
|
-
attr_reader :get_goldengate_connection_type
|
|
8515
|
-
##
|
|
8516
8276
|
# RPC-specific configuration for `list_goldengate_connection_types`
|
|
8517
8277
|
# @return [::Gapic::Config::Method]
|
|
8518
8278
|
#
|
|
@@ -8563,6 +8323,8 @@ module Google
|
|
|
8563
8323
|
@create_cloud_exadata_infrastructure = ::Gapic::Config::Method.new create_cloud_exadata_infrastructure_config
|
|
8564
8324
|
delete_cloud_exadata_infrastructure_config = parent_rpcs.delete_cloud_exadata_infrastructure if parent_rpcs.respond_to? :delete_cloud_exadata_infrastructure
|
|
8565
8325
|
@delete_cloud_exadata_infrastructure = ::Gapic::Config::Method.new delete_cloud_exadata_infrastructure_config
|
|
8326
|
+
configure_exascale_cloud_exadata_infrastructure_config = parent_rpcs.configure_exascale_cloud_exadata_infrastructure if parent_rpcs.respond_to? :configure_exascale_cloud_exadata_infrastructure
|
|
8327
|
+
@configure_exascale_cloud_exadata_infrastructure = ::Gapic::Config::Method.new configure_exascale_cloud_exadata_infrastructure_config
|
|
8566
8328
|
list_cloud_vm_clusters_config = parent_rpcs.list_cloud_vm_clusters if parent_rpcs.respond_to? :list_cloud_vm_clusters
|
|
8567
8329
|
@list_cloud_vm_clusters = ::Gapic::Config::Method.new list_cloud_vm_clusters_config
|
|
8568
8330
|
get_cloud_vm_cluster_config = parent_rpcs.get_cloud_vm_cluster if parent_rpcs.respond_to? :get_cloud_vm_cluster
|
|
@@ -8687,20 +8449,12 @@ module Google
|
|
|
8687
8449
|
@create_goldengate_connection = ::Gapic::Config::Method.new create_goldengate_connection_config
|
|
8688
8450
|
delete_goldengate_connection_config = parent_rpcs.delete_goldengate_connection if parent_rpcs.respond_to? :delete_goldengate_connection
|
|
8689
8451
|
@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
8452
|
list_goldengate_deployment_versions_config = parent_rpcs.list_goldengate_deployment_versions if parent_rpcs.respond_to? :list_goldengate_deployment_versions
|
|
8693
8453
|
@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
8454
|
list_goldengate_deployment_types_config = parent_rpcs.list_goldengate_deployment_types if parent_rpcs.respond_to? :list_goldengate_deployment_types
|
|
8697
8455
|
@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
8456
|
list_goldengate_deployment_environments_config = parent_rpcs.list_goldengate_deployment_environments if parent_rpcs.respond_to? :list_goldengate_deployment_environments
|
|
8701
8457
|
@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
8458
|
list_goldengate_connection_types_config = parent_rpcs.list_goldengate_connection_types if parent_rpcs.respond_to? :list_goldengate_connection_types
|
|
8705
8459
|
@list_goldengate_connection_types = ::Gapic::Config::Method.new list_goldengate_connection_types_config
|
|
8706
8460
|
list_db_versions_config = parent_rpcs.list_db_versions if parent_rpcs.respond_to? :list_db_versions
|