Reference documentation and code samples for the Identity and Access Management (IAM) V3BETA API class Google::Iam::V3beta::AccessPolicy.
An IAM access policy resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User defined annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. User defined annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User defined annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the access policy was created.
#details
def details() -> ::Google::Iam::V3beta::AccessPolicyDetails
Returns
- (::Google::Iam::V3beta::AccessPolicyDetails) — Optional. The details for the access policy.
#details=
def details=(value) -> ::Google::Iam::V3beta::AccessPolicyDetails
Parameter
- value (::Google::Iam::V3beta::AccessPolicyDetails) — Optional. The details for the access policy.
Returns
- (::Google::Iam::V3beta::AccessPolicyDetails) — Optional. The details for the access policy.
#display_name
def display_name() -> ::String
Returns
- (::String) — Optional. The description of the access policy. Must be less than or equal to 63 characters.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Optional. The description of the access policy. Must be less than or equal to 63 characters.
Returns
- (::String) — Optional. The description of the access policy. Must be less than or equal to 63 characters.
#etag
def etag() -> ::String
Returns
- (::String) — Optional. The etag for the access policy. If this is provided on update, it must match the server's etag.
#etag=
def etag=(value) -> ::String
Parameter
- value (::String) — Optional. The etag for the access policy. If this is provided on update, it must match the server's etag.
Returns
- (::String) — Optional. The etag for the access policy. If this is provided on update, it must match the server's etag.
#name
def name() -> ::String
Returns
-
(::String) —
Identifier. The resource name of the access policy.
The following formats are supported:
projects/{project_id}/locations/{location}/accessPolicies/{policy_id}projects/{project_number}/locations/{location}/accessPolicies/{policy_id}folders/{folder_id}/locations/{location}/accessPolicies/{policy_id}organizations/{organization_id}/locations/{location}/accessPolicies/{policy_id}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) —
Identifier. The resource name of the access policy.
The following formats are supported:
projects/{project_id}/locations/{location}/accessPolicies/{policy_id}projects/{project_number}/locations/{location}/accessPolicies/{policy_id}folders/{folder_id}/locations/{location}/accessPolicies/{policy_id}organizations/{organization_id}/locations/{location}/accessPolicies/{policy_id}
Returns
-
(::String) —
Identifier. The resource name of the access policy.
The following formats are supported:
projects/{project_id}/locations/{location}/accessPolicies/{policy_id}projects/{project_number}/locations/{location}/accessPolicies/{policy_id}folders/{folder_id}/locations/{location}/accessPolicies/{policy_id}organizations/{organization_id}/locations/{location}/accessPolicies/{policy_id}
#uid
def uid() -> ::String
Returns
- (::String) — Output only. The globally unique ID of the access policy.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the access policy was most recently updated.