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
@Generated
public interface AlternatePolicySpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionReference to the launch that will be used while audit logging and to control the launch.com.google.protobuf.ByteStringReference to the launch that will be used while audit logging and to control the launch.getSpec()Specify constraint for configurations of Google Cloud resources.Specify constraint for configurations of Google Cloud resources.booleanhasSpec()Specify constraint for configurations of Google Cloud resources.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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 Google Cloud resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;- Returns:
- Whether the spec field is set.
-
getSpec
PolicySpec getSpec()Specify constraint for configurations of Google Cloud resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;- Returns:
- The spec.
-
getSpecOrBuilder
PolicySpecOrBuilder getSpecOrBuilder()Specify constraint for configurations of Google Cloud resources.
.google.cloud.orgpolicy.v2.PolicySpec spec = 2;
-