Analytics Hub V1 API - Class Google::Cloud::Bigquery::AnalyticsHub::V1::AnalyticsHubService::Rest::ServiceStub (v0.4.0)

Reference documentation and code samples for the Analytics Hub V1 API class Google::Cloud::Bigquery::AnalyticsHub::V1::AnalyticsHubService::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_data_exchange

def create_data_exchange(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::DataExchange

Baseline implementation for the create_data_exchange REST call

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

#create_listing

def create_listing(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing

Baseline implementation for the create_listing REST call

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

#delete_data_exchange

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

Baseline implementation for the delete_data_exchange REST call

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

#delete_listing

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

Baseline implementation for the delete_listing REST call

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

#delete_subscription

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

Baseline implementation for the delete_subscription REST call

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

#get_data_exchange

def get_data_exchange(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::DataExchange

Baseline implementation for the get_data_exchange REST call

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

#get_iam_policy

def get_iam_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V1::Policy

Baseline implementation for the get_iam_policy REST call

Parameters
  • request_pb (::Google::Iam::V1::GetIamPolicyRequest) — 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_listing

def get_listing(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing

Baseline implementation for the get_listing REST call

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

#get_subscription

def get_subscription(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription

Baseline implementation for the get_subscription REST call

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

#initialize

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

#list_data_exchanges

def list_data_exchanges(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::ListDataExchangesResponse

Baseline implementation for the list_data_exchanges REST call

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

#list_listings

def list_listings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::ListListingsResponse

Baseline implementation for the list_listings REST call

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

#list_org_data_exchanges

def list_org_data_exchanges(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::ListOrgDataExchangesResponse

Baseline implementation for the list_org_data_exchanges REST call

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

#list_shared_resource_subscriptions

def list_shared_resource_subscriptions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::ListSharedResourceSubscriptionsResponse

Baseline implementation for the list_shared_resource_subscriptions REST call

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

#list_subscriptions

def list_subscriptions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::ListSubscriptionsResponse

Baseline implementation for the list_subscriptions REST call

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

#refresh_subscription

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

Baseline implementation for the refresh_subscription REST call

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

#revoke_subscription

def revoke_subscription(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::RevokeSubscriptionResponse

Baseline implementation for the revoke_subscription REST call

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

#set_iam_policy

def set_iam_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V1::Policy

Baseline implementation for the set_iam_policy REST call

Parameters
  • request_pb (::Google::Iam::V1::SetIamPolicyRequest) — 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)

#subscribe_data_exchange

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

Baseline implementation for the subscribe_data_exchange REST call

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

#subscribe_listing

def subscribe_listing(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::SubscribeListingResponse

Baseline implementation for the subscribe_listing REST call

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

#test_iam_permissions

def test_iam_permissions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V1::TestIamPermissionsResponse

Baseline implementation for the test_iam_permissions REST call

Parameters
  • request_pb (::Google::Iam::V1::TestIamPermissionsRequest) — 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)

#update_data_exchange

def update_data_exchange(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::DataExchange

Baseline implementation for the update_data_exchange REST call

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

#update_listing

def update_listing(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing

Baseline implementation for the update_listing REST call

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