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
- request_pb (::Google::Cloud::Dataplex::V1::CreateEntityRequest) — 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::Dataplex::V1::Entity)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataplex::V1::Entity) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Dataplex::V1::CreatePartitionRequest) — 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::Dataplex::V1::Partition)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataplex::V1::Partition) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_entity
def delete_entity(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_entity REST call
- request_pb (::Google::Cloud::Dataplex::V1::DeleteEntityRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_partition
def delete_partition(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_partition REST call
- request_pb (::Google::Cloud::Dataplex::V1::DeletePartitionRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (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
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Dataplex::V1::Entity)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataplex::V1::Entity) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Dataplex::V1::GetPartitionRequest) — 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::Dataplex::V1::Partition)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataplex::V1::Partition) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_entities
def list_entities(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataplex::V1::ListEntitiesResponse
Baseline implementation for the list_entities REST call
- request_pb (::Google::Cloud::Dataplex::V1::ListEntitiesRequest) — 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::Dataplex::V1::ListEntitiesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataplex::V1::ListEntitiesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Dataplex::V1::ListPartitionsRequest) — 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::Dataplex::V1::ListPartitionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataplex::V1::ListPartitionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (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
- request_pb (::Google::Cloud::Dataplex::V1::UpdateEntityRequest) — 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::Dataplex::V1::Entity)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataplex::V1::Entity) — A result object deserialized from the server's reply
- (::ArgumentError)