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
- request_pb (::Google::Cloud::PolicySimulator::V1::CreateOrgPolicyViolationsPreviewRequest) — 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)
#endpoint
def endpoint() -> String
The effective endpoint
- (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
- request_pb (::Google::Cloud::PolicySimulator::V1::GetOrgPolicyViolationsPreviewRequest) — 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::PolicySimulator::V1::OrgPolicyViolationsPreview)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PolicySimulator::V1::OrgPolicyViolationsPreview) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::PolicySimulator::V1::ListOrgPolicyViolationsRequest) — 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::PolicySimulator::V1::ListOrgPolicyViolationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PolicySimulator::V1::ListOrgPolicyViolationsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::PolicySimulator::V1::ListOrgPolicyViolationsPreviewsRequest) — 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::PolicySimulator::V1::ListOrgPolicyViolationsPreviewsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PolicySimulator::V1::ListOrgPolicyViolationsPreviewsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)