Reference documentation and code samples for the Dataproc Metastore V1beta API class Google::Cloud::Metastore::V1beta::DataprocMetastoreFederation::Rest::ServiceStub.
REST service stub for the DataprocMetastoreFederation service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_federation
def create_federation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_federation REST call
- request_pb (::Google::Cloud::Metastore::V1beta::CreateFederationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_federation
def delete_federation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_federation REST call
- request_pb (::Google::Cloud::Metastore::V1beta::DeleteFederationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_federation
def get_federation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Metastore::V1beta::Federation
Baseline implementation for the get_federation REST call
- request_pb (::Google::Cloud::Metastore::V1beta::GetFederationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Metastore::V1beta::Federation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Metastore::V1beta::Federation) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_federations
def list_federations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Metastore::V1beta::ListFederationsResponse
Baseline implementation for the list_federations REST call
- request_pb (::Google::Cloud::Metastore::V1beta::ListFederationsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Metastore::V1beta::ListFederationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Metastore::V1beta::ListFederationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_federation
def update_federation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_federation REST call
- request_pb (::Google::Cloud::Metastore::V1beta::UpdateFederationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)