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 Summary
Modifier and TypeMethodDescriptionRequired.Optional.com.google.protobuf.ByteStringOptional.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.
-