Reference documentation and code samples for the Google Ads Ad Manager V1 Client class Role.
The Role
resource.
Generated from protobuf message google.ads.admanager.v1.Role
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the Role
. Format: networks/{network_code}/roles/{role_id}
↳ role_id
int|string
Output only. Role
ID.
↳ display_name
string
Required. The display name of the Role
.
↳ description
string
Optional. The description of the Role
.
↳ built_in
bool
Output only. Whether the Role
is a built-in or custom user role.
↳ status
int
Output only. The status of the Role
.
getName
Identifier. The resource name of the Role
.
Format: networks/{network_code}/roles/{role_id}
string
setName
Identifier. The resource name of the Role
.
Format: networks/{network_code}/roles/{role_id}
var
string
$this
getRoleId
Output only. Role
ID.
int|string
setRoleId
Output only. Role
ID.
var
int|string
$this
getDisplayName
Required. The display name of the Role
.
string
setDisplayName
Required. The display name of the Role
.
var
string
$this
getDescription
Optional. The description of the Role
.
string
setDescription
Optional. The description of the Role
.
var
string
$this
getBuiltIn
Output only. Whether the Role
is a built-in or custom user role.
bool
setBuiltIn
Output only. Whether the Role
is a built-in or custom user role.
var
bool
$this
getStatus
Output only. The status of the Role
.
int
setStatus
Output only. The status of the Role
.
var
int
$this