Interface CreateOrgPolicyViolationsPreviewRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateOrgPolicyViolationsPreviewRequest, CreateOrgPolicyViolationsPreviewRequest.Builder

@Generated public interface CreateOrgPolicyViolationsPreviewRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      String getParent()
       Required. The organization under which this
       [OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview]
       will be created.
      
       Example: `organizations/my-example-org/locations/global`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The organization under which this
       [OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview]
       will be created.
      
       Example: `organizations/my-example-org/locations/global`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasOrgPolicyViolationsPreview

      boolean hasOrgPolicyViolationsPreview()
       Required. The
       [OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview]
       to generate.
       
      .google.cloud.policysimulator.v1.OrgPolicyViolationsPreview org_policy_violations_preview = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the orgPolicyViolationsPreview field is set.
    • getOrgPolicyViolationsPreview

      OrgPolicyViolationsPreview getOrgPolicyViolationsPreview()
       Required. The
       [OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview]
       to generate.
       
      .google.cloud.policysimulator.v1.OrgPolicyViolationsPreview org_policy_violations_preview = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The orgPolicyViolationsPreview.
    • getOrgPolicyViolationsPreviewOrBuilder

      OrgPolicyViolationsPreviewOrBuilder getOrgPolicyViolationsPreviewOrBuilder()
       Required. The
       [OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview]
       to generate.
       
      .google.cloud.policysimulator.v1.OrgPolicyViolationsPreview org_policy_violations_preview = 2 [(.google.api.field_behavior) = REQUIRED];
    • getOrgPolicyViolationsPreviewId

      String getOrgPolicyViolationsPreviewId()
       Optional. An optional user-specified ID for the
       [OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview].
       If not provided, a random ID will be generated.
       
      string org_policy_violations_preview_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The orgPolicyViolationsPreviewId.
    • getOrgPolicyViolationsPreviewIdBytes

      com.google.protobuf.ByteString getOrgPolicyViolationsPreviewIdBytes()
       Optional. An optional user-specified ID for the
       [OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview].
       If not provided, a random ID will be generated.
       
      string org_policy_violations_preview_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for orgPolicyViolationsPreviewId.