Interface AlternatePolicySpecOrBuilder (2.19.0)

public interface AlternatePolicySpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLaunch()

public abstract String getLaunch()

Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.

string launch = 1;

Returns
TypeDescription
String

The launch.

getLaunchBytes()

public abstract ByteString getLaunchBytes()

Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.

string launch = 1;

Returns
TypeDescription
ByteString

The bytes for launch.

getSpec()

public abstract PolicySpec getSpec()

Specify Constraint for configurations of Cloud Platform resources.

.google.cloud.orgpolicy.v2.PolicySpec spec = 2;

Returns
TypeDescription
PolicySpec

The spec.

getSpecOrBuilder()

public abstract PolicySpecOrBuilder getSpecOrBuilder()

Specify Constraint for configurations of Cloud Platform resources.

.google.cloud.orgpolicy.v2.PolicySpec spec = 2;

Returns
TypeDescription
PolicySpecOrBuilder

hasSpec()

public abstract boolean hasSpec()

Specify Constraint for configurations of Cloud Platform resources.

.google.cloud.orgpolicy.v2.PolicySpec spec = 2;

Returns
TypeDescription
boolean

Whether the spec field is set.