Reference documentation and code samples for the BigQuery Connection V1 API class Google::Cloud::Bigquery::Connection::V1::ConnectionService::Rest::ServiceStub.
REST service stub for the ConnectionService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_connection
def create_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Connection::V1::Connection
Baseline implementation for the create_connection REST call
- request_pb (::Google::Cloud::Bigquery::Connection::V1::CreateConnectionRequest) — 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::Connection::V1::Connection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Connection::V1::Connection) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_connection
def delete_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_connection REST call
- request_pb (::Google::Cloud::Bigquery::Connection::V1::DeleteConnectionRequest) — 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)
#get_connection
def get_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Connection::V1::Connection
Baseline implementation for the get_connection REST call
- request_pb (::Google::Cloud::Bigquery::Connection::V1::GetConnectionRequest) — 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::Connection::V1::Connection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Connection::V1::Connection) — 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)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_connections
def list_connections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Connection::V1::ListConnectionsResponse
Baseline implementation for the list_connections REST call
- request_pb (::Google::Cloud::Bigquery::Connection::V1::ListConnectionsRequest) — 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::Connection::V1::ListConnectionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Connection::V1::ListConnectionsResponse) — 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)
#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_connection
def update_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::Connection::V1::Connection
Baseline implementation for the update_connection REST call
- request_pb (::Google::Cloud::Bigquery::Connection::V1::UpdateConnectionRequest) — 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::Connection::V1::Connection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::Connection::V1::Connection) — A result object deserialized from the server's reply
- (::ArgumentError)