Reference documentation and code samples for the Google Ads Ad Manager V1 Client class GetRoleRequest.
Request object for GetRole method.
Generated from protobuf message google.ads.admanager.v1.GetRoleRequest
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ name | stringRequired. The resource name of the Role. Format:  | 
getName
Required. The resource name of the Role.
Format: networks/{network_code}/roles/{role_id}
| Returns | |
|---|---|
| Type | Description | 
| string | |
setName
Required. The resource name of the Role.
Format: networks/{network_code}/roles/{role_id}
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
static::build
| Parameter | |
|---|---|
| Name | Description | 
| name | stringRequired. The resource name of the Role.
Format:  | 
| Returns | |
|---|---|
| Type | Description | 
| Google\Ads\AdManager\V1\GetRoleRequest | |