Interface CreatePolicyRequestOrBuilder (0.3.0)

public interface CreatePolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The parent resource in which to create the policy in the following format: projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate

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 parent resource in which to create the policy in the following format: projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getPolicy()

public abstract Policy getPolicy()

Required. The policy to create.

.google.cloud.designcenter.v1.Policy policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Policy

The policy.

getPolicyId()

public abstract String getPolicyId()

Required. The ID of the policy to create.

string policy_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The policyId.

getPolicyIdBytes()

public abstract ByteString getPolicyIdBytes()

Required. The ID of the policy to create.

string policy_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for policyId.

getPolicyOrBuilder()

public abstract PolicyOrBuilder getPolicyOrBuilder()

Required. The policy to create.

.google.cloud.designcenter.v1.Policy policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PolicyOrBuilder

hasPolicy()

public abstract boolean hasPolicy()

Required. The policy to create.

.google.cloud.designcenter.v1.Policy policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the policy field is set.