Reference documentation and code samples for the Privileged Access Manager V1 API class Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccess::GcpIamAccess.
GcpIamAccess represents IAM based access control on a Google Cloud resource. Refer to https://cloud.google.com/iam/docs to understand more about IAM.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#resource
def resource() -> ::String
Returns
- (::String) — Required. Name of the resource.
#resource=
def resource=(value) -> ::String
Parameter
- value (::String) — Required. Name of the resource.
Returns
- (::String) — Required. Name of the resource.
#resource_type
def resource_type() -> ::String
Returns
- (::String) — Required. The type of this resource.
#resource_type=
def resource_type=(value) -> ::String
Parameter
- value (::String) — Required. The type of this resource.
Returns
- (::String) — Required. The type of this resource.
#role_bindings
def role_bindings() -> ::Array<::Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccess::GcpIamAccess::RoleBinding>
Returns
- (::Array<::Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccess::GcpIamAccess::RoleBinding>) — Required. Role bindings that are created on successful grant.
#role_bindings=
def role_bindings=(value) -> ::Array<::Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccess::GcpIamAccess::RoleBinding>
Parameter
- value (::Array<::Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccess::GcpIamAccess::RoleBinding>) — Required. Role bindings that are created on successful grant.
Returns
- (::Array<::Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccess::GcpIamAccess::RoleBinding>) — Required. Role bindings that are created on successful grant.