Interface AlternatePolicySpecOrBuilder (2.51.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
Type Description
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
Type Description
ByteString

The bytes for launch.

getSpec()

public abstract PolicySpec getSpec()

Specify constraint for configurations of Google Cloud resources.

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

Returns
Type Description
PolicySpec

The spec.

getSpecOrBuilder()

public abstract PolicySpecOrBuilder getSpecOrBuilder()

Specify constraint for configurations of Google Cloud resources.

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

Returns
Type Description
PolicySpecOrBuilder

hasSpec()

public abstract boolean hasSpec()

Specify constraint for configurations of Google Cloud resources.

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

Returns
Type Description
boolean

Whether the spec field is set.