Reference documentation and code samples for the BigQuery Data Policy Service V1 API class Google::Cloud::Bigquery::DataPolicies::V1::DataPolicyService::Rest::ServiceStub.
REST service stub for the DataPolicyService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_data_policy
def create_data_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataPolicies::V1::DataPolicy
Baseline implementation for the create_data_policy REST call
- request_pb (::Google::Cloud::Bigquery::DataPolicies::V1::CreateDataPolicyRequest) — 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::DataPolicies::V1::DataPolicy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::DataPolicies::V1::DataPolicy) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_data_policy
def delete_data_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_data_policy REST call
- request_pb (::Google::Cloud::Bigquery::DataPolicies::V1::DeleteDataPolicyRequest) — 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)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_data_policy
def get_data_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataPolicies::V1::DataPolicy
Baseline implementation for the get_data_policy REST call
- request_pb (::Google::Cloud::Bigquery::DataPolicies::V1::GetDataPolicyRequest) — 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::DataPolicies::V1::DataPolicy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::DataPolicies::V1::DataPolicy) — 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:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_data_policies
def list_data_policies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataPolicies::V1::ListDataPoliciesResponse
Baseline implementation for the list_data_policies REST call
- request_pb (::Google::Cloud::Bigquery::DataPolicies::V1::ListDataPoliciesRequest) — 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::DataPolicies::V1::ListDataPoliciesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::DataPolicies::V1::ListDataPoliciesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#rename_data_policy
def rename_data_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataPolicies::V1::DataPolicy
Baseline implementation for the rename_data_policy REST call
- request_pb (::Google::Cloud::Bigquery::DataPolicies::V1::RenameDataPolicyRequest) — 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::DataPolicies::V1::DataPolicy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::DataPolicies::V1::DataPolicy) — 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)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_data_policy
def update_data_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Bigquery::DataPolicies::V1::DataPolicy
Baseline implementation for the update_data_policy REST call
- request_pb (::Google::Cloud::Bigquery::DataPolicies::V1::UpdateDataPolicyRequest) — 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::DataPolicies::V1::DataPolicy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Bigquery::DataPolicies::V1::DataPolicy) — A result object deserialized from the server's reply
- (::ArgumentError)