Reference documentation and code samples for the Google Cloud Privileged Access Manager V1 Client class 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.
Generated from protobuf message google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess
Namespace
Google \ Cloud \ PrivilegedAccessManager \ V1 \ PrivilegedAccessMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ resource_type |
string
Required. The type of this resource. |
↳ resource |
string
Required. Name of the resource. |
↳ role_bindings |
array<GcpIamAccess\RoleBinding>
Required. Role bindings that are created on successful grant. |
getResourceType
Required. The type of this resource.
Returns | |
---|---|
Type | Description |
string |
setResourceType
Required. The type of this resource.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getResource
Required. Name of the resource.
Returns | |
---|---|
Type | Description |
string |
setResource
Required. Name of the resource.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRoleBindings
Required. Role bindings that are created on successful grant.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRoleBindings
Required. Role bindings that are created on successful grant.
Parameter | |
---|---|
Name | Description |
var |
array<GcpIamAccess\RoleBinding>
|
Returns | |
---|---|
Type | Description |
$this |