Package com.google.cloud.orgpolicy.v2
Interface AlternatePolicySpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AlternatePolicySpec,AlternatePolicySpec.Builder
public interface AlternatePolicySpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetLaunch()Reference to the launch that will be used while audit logging and to control the launch.com.google.protobuf.ByteStringgetLaunchBytes()Reference to the launch that will be used while audit logging and to control the launch.PolicySpecgetSpec()Specify `Constraint` for configurations of Cloud Platform resources.PolicySpecOrBuildergetSpecOrBuilder()Specify `Constraint` for configurations of Cloud Platform resources.booleanhasSpec()Specify `Constraint` for configurations of Cloud Platform resources.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLaunch
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:
- The launch.
-
getLaunchBytes
com.google.protobuf.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:
- The bytes for launch.
-
hasSpec
boolean hasSpec()
Specify `Constraint` for configurations of Cloud Platform resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;- Returns:
- Whether the spec field is set.
-
getSpec
PolicySpec getSpec()
Specify `Constraint` for configurations of Cloud Platform resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;- Returns:
- The spec.
-
getSpecOrBuilder
PolicySpecOrBuilder getSpecOrBuilder()
Specify `Constraint` for configurations of Cloud Platform resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
-
-