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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::CreateDataExchangeRequest) — 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::Bigquery::AnalyticsHub::V1::DataExchange)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::DataExchange) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::CreateListingRequest) — 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::Bigquery::AnalyticsHub::V1::Listing)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::DeleteDataExchangeRequest) — 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_listing
def delete_listing(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_listing REST call
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::DeleteListingRequest) — 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_subscription
def delete_subscription(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_subscription REST call
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::DeleteSubscriptionRequest) — 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)
#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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::GetDataExchangeRequest) — 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::Bigquery::AnalyticsHub::V1::DataExchange)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::DataExchange) — A result object deserialized from the server's reply
- (::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
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Iam::V1::Policy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Iam::V1::Policy) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::GetListingRequest) — 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::Bigquery::AnalyticsHub::V1::Listing)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::GetSubscriptionRequest) — 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::Bigquery::AnalyticsHub::V1::Subscription)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::ListDataExchangesRequest) — 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::Bigquery::AnalyticsHub::V1::ListDataExchangesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::ListDataExchangesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::ListListingsRequest) — 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::Bigquery::AnalyticsHub::V1::ListListingsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::ListListingsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::ListOrgDataExchangesRequest) — 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::Bigquery::AnalyticsHub::V1::ListOrgDataExchangesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::ListOrgDataExchangesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::ListSharedResourceSubscriptionsRequest) — 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::Bigquery::AnalyticsHub::V1::ListSharedResourceSubscriptionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::ListSharedResourceSubscriptionsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::ListSubscriptionsRequest) — 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::Bigquery::AnalyticsHub::V1::ListSubscriptionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::ListSubscriptionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#refresh_subscription
def refresh_subscription(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the refresh_subscription REST call
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::RefreshSubscriptionRequest) — 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)
#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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::RevokeSubscriptionRequest) — 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::Bigquery::AnalyticsHub::V1::RevokeSubscriptionResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::RevokeSubscriptionResponse) — A result object deserialized from the server's reply
- (::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
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Iam::V1::Policy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Iam::V1::Policy) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::SubscribeDataExchangeRequest) — 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)
#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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::SubscribeListingRequest) — 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::Bigquery::AnalyticsHub::V1::SubscribeListingResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::SubscribeListingResponse) — A result object deserialized from the server's reply
- (::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
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Iam::V1::TestIamPermissionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Iam::V1::TestIamPermissionsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::UpdateDataExchangeRequest) — 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::Bigquery::AnalyticsHub::V1::DataExchange)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::DataExchange) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Bigquery::AnalyticsHub::V1::UpdateListingRequest) — 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::Bigquery::AnalyticsHub::V1::Listing)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing) — A result object deserialized from the server's reply
- (::ArgumentError)