- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.5
- 1.3.1
- 1.2.10
public static final class AccessPolicy.Builder extends GeneratedMessageV3.Builder<AccessPolicy.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AccessPolicy.BuilderImplements
AccessPolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AccessPolicy.Builder |
build()
public AccessPolicy build()
Type | Description |
AccessPolicy |
buildPartial()
public AccessPolicy buildPartial()
Type | Description |
AccessPolicy |
clear()
public AccessPolicy.Builder clear()
Type | Description |
AccessPolicy.Builder |
clearCreateTime()
public AccessPolicy.Builder clearCreateTime()
Output only. Time the AccessPolicy
was created in UTC.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
AccessPolicy.Builder |
clearEtag()
public AccessPolicy.Builder clearEtag()
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;
Type | Description |
AccessPolicy.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AccessPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AccessPolicy.Builder |
clearName()
public AccessPolicy.Builder clearName()
Output only. Resource name of the AccessPolicy
. Format:
accessPolicies/{access_policy}
string name = 1;
Type | Description |
AccessPolicy.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AccessPolicy.Builder |
clearParent()
public AccessPolicy.Builder clearParent()
Required. The parent of this AccessPolicy
in the Cloud Resource
Hierarchy. Currently immutable once created. Format:
organizations/{organization_id}
string parent = 2;
Type | Description |
AccessPolicy.Builder | This builder for chaining. |
clearTitle()
public AccessPolicy.Builder clearTitle()
Required. Human readable title. Does not affect behavior.
string title = 3;
Type | Description |
AccessPolicy.Builder | This builder for chaining. |
clearUpdateTime()
public AccessPolicy.Builder clearUpdateTime()
Output only. Time the AccessPolicy
was updated in UTC.
.google.protobuf.Timestamp update_time = 5;
Type | Description |
AccessPolicy.Builder |
clone()
public AccessPolicy.Builder clone()
Type | Description |
AccessPolicy.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time the AccessPolicy
was created in UTC.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time the AccessPolicy
was created in UTC.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the AccessPolicy
was created in UTC.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public AccessPolicy getDefaultInstanceForType()
Type | Description |
AccessPolicy |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEtag()
public 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;
Type | Description |
String | The etag. |
getEtagBytes()
public 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;
Type | Description |
ByteString | The bytes for etag. |
getName()
public String getName()
Output only. Resource name of the AccessPolicy
. Format:
accessPolicies/{access_policy}
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. Resource name of the AccessPolicy
. Format:
accessPolicies/{access_policy}
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getParent()
public String getParent()
Required. The parent of this AccessPolicy
in the Cloud Resource
Hierarchy. Currently immutable once created. Format:
organizations/{organization_id}
string parent = 2;
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent of this AccessPolicy
in the Cloud Resource
Hierarchy. Currently immutable once created. Format:
organizations/{organization_id}
string parent = 2;
Type | Description |
ByteString | The bytes for parent. |
getTitle()
public String getTitle()
Required. Human readable title. Does not affect behavior.
string title = 3;
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
Required. Human readable title. Does not affect behavior.
string title = 3;
Type | Description |
ByteString | The bytes for title. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Time the AccessPolicy
was updated in UTC.
.google.protobuf.Timestamp update_time = 5;
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Time the AccessPolicy
was updated in UTC.
.google.protobuf.Timestamp update_time = 5;
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time the AccessPolicy
was updated in UTC.
.google.protobuf.Timestamp update_time = 5;
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Time the AccessPolicy
was created in UTC.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Time the AccessPolicy
was updated in UTC.
.google.protobuf.Timestamp update_time = 5;
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public AccessPolicy.Builder mergeCreateTime(Timestamp value)
Output only. Time the AccessPolicy
was created in UTC.
.google.protobuf.Timestamp create_time = 4;
Name | Description |
value | Timestamp |
Type | Description |
AccessPolicy.Builder |
mergeFrom(AccessPolicy other)
public AccessPolicy.Builder mergeFrom(AccessPolicy other)
Name | Description |
other | AccessPolicy |
Type | Description |
AccessPolicy.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AccessPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AccessPolicy.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AccessPolicy.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AccessPolicy.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AccessPolicy.Builder |
mergeUpdateTime(Timestamp value)
public AccessPolicy.Builder mergeUpdateTime(Timestamp value)
Output only. Time the AccessPolicy
was updated in UTC.
.google.protobuf.Timestamp update_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
AccessPolicy.Builder |
setCreateTime(Timestamp value)
public AccessPolicy.Builder setCreateTime(Timestamp value)
Output only. Time the AccessPolicy
was created in UTC.
.google.protobuf.Timestamp create_time = 4;
Name | Description |
value | Timestamp |
Type | Description |
AccessPolicy.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public AccessPolicy.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time the AccessPolicy
was created in UTC.
.google.protobuf.Timestamp create_time = 4;
Name | Description |
builderForValue | Builder |
Type | Description |
AccessPolicy.Builder |
setEtag(String value)
public AccessPolicy.Builder setEtag(String value)
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;
Name | Description |
value | String The etag to set. |
Type | Description |
AccessPolicy.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public AccessPolicy.Builder setEtagBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
AccessPolicy.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AccessPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AccessPolicy.Builder |
setName(String value)
public AccessPolicy.Builder setName(String value)
Output only. Resource name of the AccessPolicy
. Format:
accessPolicies/{access_policy}
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
AccessPolicy.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public AccessPolicy.Builder setNameBytes(ByteString value)
Output only. Resource name of the AccessPolicy
. Format:
accessPolicies/{access_policy}
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
AccessPolicy.Builder | This builder for chaining. |
setParent(String value)
public AccessPolicy.Builder setParent(String value)
Required. The parent of this AccessPolicy
in the Cloud Resource
Hierarchy. Currently immutable once created. Format:
organizations/{organization_id}
string parent = 2;
Name | Description |
value | String The parent to set. |
Type | Description |
AccessPolicy.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public AccessPolicy.Builder setParentBytes(ByteString value)
Required. The parent of this AccessPolicy
in the Cloud Resource
Hierarchy. Currently immutable once created. Format:
organizations/{organization_id}
string parent = 2;
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
AccessPolicy.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AccessPolicy.Builder |
setTitle(String value)
public AccessPolicy.Builder setTitle(String value)
Required. Human readable title. Does not affect behavior.
string title = 3;
Name | Description |
value | String The title to set. |
Type | Description |
AccessPolicy.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public AccessPolicy.Builder setTitleBytes(ByteString value)
Required. Human readable title. Does not affect behavior.
string title = 3;
Name | Description |
value | ByteString The bytes for title to set. |
Type | Description |
AccessPolicy.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AccessPolicy.Builder |
setUpdateTime(Timestamp value)
public AccessPolicy.Builder setUpdateTime(Timestamp value)
Output only. Time the AccessPolicy
was updated in UTC.
.google.protobuf.Timestamp update_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
AccessPolicy.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public AccessPolicy.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Time the AccessPolicy
was updated in UTC.
.google.protobuf.Timestamp update_time = 5;
Name | Description |
builderForValue | Builder |
Type | Description |
AccessPolicy.Builder |