Reference documentation and code samples for the Dataproc Metastore V1 API class Google::Cloud::Metastore::V1::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::V1::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::V1::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)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_federation
def get_federation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Metastore::V1::Federation
Baseline implementation for the get_federation REST call
- request_pb (::Google::Cloud::Metastore::V1::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::V1::Federation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Metastore::V1::Federation) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_federations
def list_federations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Metastore::V1::ListFederationsResponse
Baseline implementation for the list_federations REST call
- request_pb (::Google::Cloud::Metastore::V1::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::V1::ListFederationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Metastore::V1::ListFederationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#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::V1::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)