- 1.56.0 (latest)
- 1.55.0
- 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 interface AccessPolicyOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. Time the AccessPolicy
was created in UTC.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the AccessPolicy
was created in UTC.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getEtag()
public abstract 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;
Returns | |
---|---|
Type | Description |
String | The etag. |
getEtagBytes()
public abstract 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for etag. |
getName()
public abstract String getName()
Output only. Resource name of the AccessPolicy
. Format:
accessPolicies/{access_policy}
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Output only. Resource name of the AccessPolicy
. Format:
accessPolicies/{access_policy}
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getParent()
public abstract String getParent()
Required. The parent of this AccessPolicy
in the Cloud Resource
Hierarchy. Currently immutable once created. Format:
organizations/{organization_id}
string parent = 2;
Returns | |
---|---|
Type | Description |
String | The parent. |
getParentBytes()
public abstract ByteString getParentBytes()
Required. The parent of this AccessPolicy
in the Cloud Resource
Hierarchy. Currently immutable once created. Format:
organizations/{organization_id}
string parent = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
getScopes(int index)
public abstract String getScopes(int index)
The scopes of a policy define which resources an ACM policy can restrict, and where ACM resources can be referenced. For example, a policy with scopes=["folders/123"] has the following behavior:
- vpcsc perimeters can only restrict projects within folders/123
- access levels can only be referenced by resources within folders/123.
If empty, there are no limitations on which resources can be restricted by
an ACM policy, and there are no limitations on where ACM resources can be
referenced.
Only one policy can include a given scope (attempting to create a second
policy which includes "folders/123" will result in an error).
Currently, scopes cannot be modified after a policy is created.
Currently, policies can only have a single scope.
Format: list of
folders/{folder_number}
orprojects/{project_number}
repeated string scopes = 7;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The scopes at the given index. |
getScopesBytes(int index)
public abstract ByteString getScopesBytes(int index)
The scopes of a policy define which resources an ACM policy can restrict, and where ACM resources can be referenced. For example, a policy with scopes=["folders/123"] has the following behavior:
- vpcsc perimeters can only restrict projects within folders/123
- access levels can only be referenced by resources within folders/123.
If empty, there are no limitations on which resources can be restricted by
an ACM policy, and there are no limitations on where ACM resources can be
referenced.
Only one policy can include a given scope (attempting to create a second
policy which includes "folders/123" will result in an error).
Currently, scopes cannot be modified after a policy is created.
Currently, policies can only have a single scope.
Format: list of
folders/{folder_number}
orprojects/{project_number}
repeated string scopes = 7;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the scopes at the given index. |
getScopesCount()
public abstract int getScopesCount()
The scopes of a policy define which resources an ACM policy can restrict, and where ACM resources can be referenced. For example, a policy with scopes=["folders/123"] has the following behavior:
- vpcsc perimeters can only restrict projects within folders/123
- access levels can only be referenced by resources within folders/123.
If empty, there are no limitations on which resources can be restricted by
an ACM policy, and there are no limitations on where ACM resources can be
referenced.
Only one policy can include a given scope (attempting to create a second
policy which includes "folders/123" will result in an error).
Currently, scopes cannot be modified after a policy is created.
Currently, policies can only have a single scope.
Format: list of
folders/{folder_number}
orprojects/{project_number}
repeated string scopes = 7;
Returns | |
---|---|
Type | Description |
int | The count of scopes. |
getScopesList()
public abstract List<String> getScopesList()
The scopes of a policy define which resources an ACM policy can restrict, and where ACM resources can be referenced. For example, a policy with scopes=["folders/123"] has the following behavior:
- vpcsc perimeters can only restrict projects within folders/123
- access levels can only be referenced by resources within folders/123.
If empty, there are no limitations on which resources can be restricted by
an ACM policy, and there are no limitations on where ACM resources can be
referenced.
Only one policy can include a given scope (attempting to create a second
policy which includes "folders/123" will result in an error).
Currently, scopes cannot be modified after a policy is created.
Currently, policies can only have a single scope.
Format: list of
folders/{folder_number}
orprojects/{project_number}
repeated string scopes = 7;
Returns | |
---|---|
Type | Description |
List<String> | A list containing the scopes. |
getTitle()
public abstract String getTitle()
Required. Human readable title. Does not affect behavior.
string title = 3;
Returns | |
---|---|
Type | Description |
String | The title. |
getTitleBytes()
public abstract ByteString getTitleBytes()
Required. Human readable title. Does not affect behavior.
string title = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for title. |
getUpdateTime()
public abstract Timestamp getUpdateTime()
Output only. Time the AccessPolicy
was updated in UTC.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time the AccessPolicy
was updated in UTC.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. Time the AccessPolicy
was created in UTC.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
Output only. Time the AccessPolicy
was updated in UTC.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |