Policy Simulator V1 API - Class Google::Cloud::PolicySimulator::V1::OrgPolicyViolationsPreviewService::Rest::ServiceStub (v1.4.0)

Reference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::PolicySimulator::V1::OrgPolicyViolationsPreviewService::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_org_policy_violations_preview

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

Baseline implementation for the create_org_policy_violations_preview REST call

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

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_org_policy_violations_preview

def get_org_policy_violations_preview(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PolicySimulator::V1::OrgPolicyViolationsPreview

Baseline implementation for the get_org_policy_violations_preview REST call

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

#list_org_policy_violations

def list_org_policy_violations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PolicySimulator::V1::ListOrgPolicyViolationsResponse

Baseline implementation for the list_org_policy_violations REST call

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

#list_org_policy_violations_previews

def list_org_policy_violations_previews(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PolicySimulator::V1::ListOrgPolicyViolationsPreviewsResponse

Baseline implementation for the list_org_policy_violations_previews REST call

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

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)