Dataplex V1 API - Class Google::Cloud::Dataplex::V1::DataProductService::Rest::ServiceStub (v2.10.0)

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

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

Inherits

  • Object

Methods

#create_data_asset

def create_data_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_data_asset REST call

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

#create_data_product

def create_data_product(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_data_product REST call

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

#delete_data_asset

def delete_data_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_data_asset REST call

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

#delete_data_product

def delete_data_product(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_data_product 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_data_asset

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

Baseline implementation for the get_data_asset REST call

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

#get_data_product

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

Baseline implementation for the get_data_product REST call

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

#list_data_assets

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

Baseline implementation for the list_data_assets REST call

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

#list_data_products

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

Baseline implementation for the list_data_products REST call

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

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#request_data_product_access

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

Baseline implementation for the request_data_product_access 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_data_asset

def update_data_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_data_asset REST call

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

#update_data_product

def update_data_product(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_data_product REST call

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