Reference documentation and code samples for the Google Ads Marketing Platform Admin V1alpha Client class AdminAccessBinding.
A resource message representing a binding to a set of roles.
Generated from protobuf message google.marketingplatform.admin.v1alpha.AdminAccessBinding
Namespace
Google \ Ads \ MarketingPlatform \ Admin \ V1alphaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ user_email |
string
Email address of the user. |
↳ user_group |
string
Resource name of the user group. |
↳ name |
string
Identifier. The resource name of this AdminAccessBinding. Format: organizations/{org_id}/adminAccessBindings/{admin_access_binding_id} Example: "organizations/123abc/adminAccessBindings/456def" |
↳ organization_roles |
int[]
Optional. A list of roles granted to the parent organization. USER_ADMIN_ROLE and BILLING_ADMIN_ROLE will be automatically added if ORG_ADMIN_ROLE is assigned. No roles will be assigned if no roles are specified. |
getUserEmail
Email address of the user.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasUserEmail
setUserEmail
Email address of the user.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUserGroup
Resource name of the user group.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasUserGroup
setUserGroup
Resource name of the user group.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
Identifier. The resource name of this AdminAccessBinding.
Format: organizations/{org_id}/adminAccessBindings/{admin_access_binding_id} Example: "organizations/123abc/adminAccessBindings/456def"
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The resource name of this AdminAccessBinding.
Format: organizations/{org_id}/adminAccessBindings/{admin_access_binding_id} Example: "organizations/123abc/adminAccessBindings/456def"
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOrganizationRoles
Optional. A list of roles granted to the parent organization.
USER_ADMIN_ROLE and BILLING_ADMIN_ROLE will be automatically added if ORG_ADMIN_ROLE is assigned. No roles will be assigned if no roles are specified.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<int> |
|
setOrganizationRoles
Optional. A list of roles granted to the parent organization.
USER_ADMIN_ROLE and BILLING_ADMIN_ROLE will be automatically added if ORG_ADMIN_ROLE is assigned. No roles will be assigned if no roles are specified.
| Parameter | |
|---|---|
| Name | Description |
var |
int[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAccessTarget
| Returns | |
|---|---|
| Type | Description |
string |
|