Dataplex V1 API - Class Google::Cloud::Dataplex::V1::MetadataService::Rest::ServiceStub (v0.21.1)

Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::MetadataService::Rest::ServiceStub.

REST service stub for the MetadataService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_entity

def create_entity(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::Entity

Baseline implementation for the create_entity REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_partition

def create_partition(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::Partition

Baseline implementation for the create_partition REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_entity

def delete_entity(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_entity REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_partition

def delete_partition(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_partition REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_entity

def get_entity(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::Entity

Baseline implementation for the get_entity REST call

Parameters
  • request_pb (::Google::Cloud::Dataplex::V1::GetEntityRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_partition

def get_partition(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::Partition

Baseline implementation for the get_partition REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_entities

def list_entities(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::ListEntitiesResponse

Baseline implementation for the list_entities REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_partitions

def list_partitions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::ListPartitionsResponse

Baseline implementation for the list_partitions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_entity

def update_entity(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::Entity

Baseline implementation for the update_entity REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)