Policy Simulator V1 API - Class Google::Cloud::PolicySimulator::V1::CreateOrgPolicyViolationsPreviewRequest (v1.4.0)

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

CreateOrgPolicyViolationsPreviewRequest is the request message for OrgPolicyViolationsPreviewService.CreateOrgPolicyViolationsPreview.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#org_policy_violations_preview

def org_policy_violations_preview() -> ::Google::Cloud::PolicySimulator::V1::OrgPolicyViolationsPreview

#org_policy_violations_preview=

def org_policy_violations_preview=(value) -> ::Google::Cloud::PolicySimulator::V1::OrgPolicyViolationsPreview

#org_policy_violations_preview_id

def org_policy_violations_preview_id() -> ::String
Returns
  • (::String) — Optional. An optional user-specified ID for the OrgPolicyViolationsPreview. If not provided, a random ID will be generated.

#org_policy_violations_preview_id=

def org_policy_violations_preview_id=(value) -> ::String
Parameter
  • value (::String) — Optional. An optional user-specified ID for the OrgPolicyViolationsPreview. If not provided, a random ID will be generated.
Returns
  • (::String) — Optional. An optional user-specified ID for the OrgPolicyViolationsPreview. If not provided, a random ID will be generated.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The organization under which this OrgPolicyViolationsPreview will be created.

    Example: organizations/my-example-org/locations/global

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The organization under which this OrgPolicyViolationsPreview will be created.

    Example: organizations/my-example-org/locations/global

Returns
  • (::String) — Required. The organization under which this OrgPolicyViolationsPreview will be created.

    Example: organizations/my-example-org/locations/global