# Generated by the protocol buffer compiler. DO NOT EDIT! # Source: google/cloud/bigquery/dataexchange/v1beta1/dataexchange.proto for package 'Google.Cloud.Bigquery.DataExchange.V1beta1' # Original file comments: # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # require 'grpc' require 'google/cloud/bigquery/dataexchange/v1beta1/dataexchange_pb' module Google module Cloud module Bigquery module DataExchange module V1beta1 module AnalyticsHubService # The AnalyticsHubService API facilitates data sharing within and across # organizations. It allows data providers to publish Listings --- a # discoverable and searchable SKU representing a dataset. Data consumers can # subscribe to Listings. Upon subscription, AnalyticsHub provisions a "Linked # Datasets" surfacing the data in the consumer's project. class Service include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = 'google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService' # Lists DataExchanges in a given project and location. rpc :ListDataExchanges, ::Google::Cloud::Bigquery::DataExchange::V1beta1::ListDataExchangesRequest, ::Google::Cloud::Bigquery::DataExchange::V1beta1::ListDataExchangesResponse # Lists DataExchanges from projects in a given organization and location. rpc :ListOrgDataExchanges, ::Google::Cloud::Bigquery::DataExchange::V1beta1::ListOrgDataExchangesRequest, ::Google::Cloud::Bigquery::DataExchange::V1beta1::ListOrgDataExchangesResponse # Gets details of a single DataExchange. rpc :GetDataExchange, ::Google::Cloud::Bigquery::DataExchange::V1beta1::GetDataExchangeRequest, ::Google::Cloud::Bigquery::DataExchange::V1beta1::DataExchange # Creates a new DataExchange in a given project and location. rpc :CreateDataExchange, ::Google::Cloud::Bigquery::DataExchange::V1beta1::CreateDataExchangeRequest, ::Google::Cloud::Bigquery::DataExchange::V1beta1::DataExchange # Updates the parameters of a single DataExchange. rpc :UpdateDataExchange, ::Google::Cloud::Bigquery::DataExchange::V1beta1::UpdateDataExchangeRequest, ::Google::Cloud::Bigquery::DataExchange::V1beta1::DataExchange # Deletes a single DataExchange. rpc :DeleteDataExchange, ::Google::Cloud::Bigquery::DataExchange::V1beta1::DeleteDataExchangeRequest, ::Google::Protobuf::Empty # Lists Listings in a given project and location. rpc :ListListings, ::Google::Cloud::Bigquery::DataExchange::V1beta1::ListListingsRequest, ::Google::Cloud::Bigquery::DataExchange::V1beta1::ListListingsResponse # Gets details of a single Listing. rpc :GetListing, ::Google::Cloud::Bigquery::DataExchange::V1beta1::GetListingRequest, ::Google::Cloud::Bigquery::DataExchange::V1beta1::Listing # Creates a new Listing in a given project and location. rpc :CreateListing, ::Google::Cloud::Bigquery::DataExchange::V1beta1::CreateListingRequest, ::Google::Cloud::Bigquery::DataExchange::V1beta1::Listing # Updates the parameters of a single Listing. rpc :UpdateListing, ::Google::Cloud::Bigquery::DataExchange::V1beta1::UpdateListingRequest, ::Google::Cloud::Bigquery::DataExchange::V1beta1::Listing # Deletes a single Listing, as long as there are no subscriptions # associated with the source of this Listing. rpc :DeleteListing, ::Google::Cloud::Bigquery::DataExchange::V1beta1::DeleteListingRequest, ::Google::Protobuf::Empty # Subscribes to a single Listing. # # Data Exchange currently supports one type of Listing: a BigQuery dataset. # Upon subscription to a Listing for a BigQuery dataset, Data Exchange # creates a linked dataset in the subscriber's project. rpc :SubscribeListing, ::Google::Cloud::Bigquery::DataExchange::V1beta1::SubscribeListingRequest, ::Google::Cloud::Bigquery::DataExchange::V1beta1::SubscribeListingResponse # Gets the IAM policy for a dataExchange or a listing. rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy # Sets the IAM policy for a dataExchange or a listing. rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy # Returns the permissions that a caller has on a specified dataExchange or # listing. rpc :TestIamPermissions, ::Google::Iam::V1::TestIamPermissionsRequest, ::Google::Iam::V1::TestIamPermissionsResponse end Stub = Service.rpc_stub_class end end end end end end