public interface CreateOrgPolicyViolationsPreviewRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getOrgPolicyViolationsPreview()
public abstract OrgPolicyViolationsPreview getOrgPolicyViolationsPreview()Required. The OrgPolicyViolationsPreview to generate.
.google.cloud.policysimulator.v1.OrgPolicyViolationsPreview org_policy_violations_preview = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreview |
The orgPolicyViolationsPreview. |
getOrgPolicyViolationsPreviewId()
public abstract String getOrgPolicyViolationsPreviewId()Optional. An optional user-specified ID for the OrgPolicyViolationsPreview. If not provided, a random ID will be generated.
string org_policy_violations_preview_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The orgPolicyViolationsPreviewId. |
getOrgPolicyViolationsPreviewIdBytes()
public abstract ByteString getOrgPolicyViolationsPreviewIdBytes()Optional. An optional user-specified ID for the OrgPolicyViolationsPreview. If not provided, a random ID will be generated.
string org_policy_violations_preview_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for orgPolicyViolationsPreviewId. |
getOrgPolicyViolationsPreviewOrBuilder()
public abstract OrgPolicyViolationsPreviewOrBuilder getOrgPolicyViolationsPreviewOrBuilder()Required. The OrgPolicyViolationsPreview to generate.
.google.cloud.policysimulator.v1.OrgPolicyViolationsPreview org_policy_violations_preview = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OrgPolicyViolationsPreviewOrBuilder |
|
getParent()
public abstract String getParent()Required. The organization under which this OrgPolicyViolationsPreview will be created.
Example: organizations/my-example-org/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes()Required. The organization under which this OrgPolicyViolationsPreview will be created.
Example: organizations/my-example-org/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasOrgPolicyViolationsPreview()
public abstract boolean hasOrgPolicyViolationsPreview()Required. The OrgPolicyViolationsPreview to generate.
.google.cloud.policysimulator.v1.OrgPolicyViolationsPreview org_policy_violations_preview = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the orgPolicyViolationsPreview field is set. |