public final class AccessPolicy extends GeneratedMessageV3 implements AccessPolicyOrBuilder
`AccessPolicy` is a container for `AccessLevels` (which define the necessary attributes to use Google Cloud services) and `ServicePerimeters` (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.Protobuf type
google.identity.accesscontextmanager.v1.AccessPolicy| Modifier and Type | Class and Description |
|---|---|
static class |
AccessPolicy.Builder
`AccessPolicy` is a container for `AccessLevels` (which define the necessary
attributes to use Google Cloud services) and `ServicePerimeters` (which
define regions of services able to freely pass data within a perimeter).
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public String getName()
Output only. Resource name of the `AccessPolicy`. Format:
`accessPolicies/{access_policy}`
string name = 1;getName in interface AccessPolicyOrBuilderpublic ByteString getNameBytes()
Output only. Resource name of the `AccessPolicy`. Format:
`accessPolicies/{access_policy}`
string name = 1;getNameBytes in interface AccessPolicyOrBuilderpublic String getParent()
Required. The parent of this `AccessPolicy` in the Cloud Resource
Hierarchy. Currently immutable once created. Format:
`organizations/{organization_id}`
string parent = 2;getParent in interface AccessPolicyOrBuilderpublic ByteString getParentBytes()
Required. The parent of this `AccessPolicy` in the Cloud Resource
Hierarchy. Currently immutable once created. Format:
`organizations/{organization_id}`
string parent = 2;getParentBytes in interface AccessPolicyOrBuilderpublic String getTitle()
Required. Human readable title. Does not affect behavior.
string title = 3;getTitle in interface AccessPolicyOrBuilderpublic ByteString getTitleBytes()
Required. Human readable title. Does not affect behavior.
string title = 3;getTitleBytes in interface AccessPolicyOrBuilderpublic boolean hasCreateTime()
Output only. Time the `AccessPolicy` was created in UTC.
.google.protobuf.Timestamp create_time = 4;hasCreateTime in interface AccessPolicyOrBuilderpublic Timestamp getCreateTime()
Output only. Time the `AccessPolicy` was created in UTC.
.google.protobuf.Timestamp create_time = 4;getCreateTime in interface AccessPolicyOrBuilderpublic TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the `AccessPolicy` was created in UTC.
.google.protobuf.Timestamp create_time = 4;getCreateTimeOrBuilder in interface AccessPolicyOrBuilderpublic boolean hasUpdateTime()
Output only. Time the `AccessPolicy` was updated in UTC.
.google.protobuf.Timestamp update_time = 5;hasUpdateTime in interface AccessPolicyOrBuilderpublic Timestamp getUpdateTime()
Output only. Time the `AccessPolicy` was updated in UTC.
.google.protobuf.Timestamp update_time = 5;getUpdateTime in interface AccessPolicyOrBuilderpublic TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time the `AccessPolicy` was updated in UTC.
.google.protobuf.Timestamp update_time = 5;getUpdateTimeOrBuilder in interface AccessPolicyOrBuilderpublic String getEtag()
Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Polices will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.
string etag = 6;getEtag in interface AccessPolicyOrBuilderpublic ByteString getEtagBytes()
Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Polices will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.
string etag = 6;getEtagBytes in interface AccessPolicyOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static AccessPolicy parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AccessPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AccessPolicy parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AccessPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AccessPolicy parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AccessPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AccessPolicy parseFrom(InputStream input) throws IOException
IOExceptionpublic static AccessPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AccessPolicy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AccessPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AccessPolicy parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static AccessPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AccessPolicy.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static AccessPolicy.Builder newBuilder()
public static AccessPolicy.Builder newBuilder(AccessPolicy prototype)
public AccessPolicy.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected AccessPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static AccessPolicy getDefaultInstance()
public static Parser<AccessPolicy> parser()
public Parser<AccessPolicy> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public AccessPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2021 Google LLC. All rights reserved.