Google Analytics Admin V1alpha Client - Class CreateAccessBindingRequest (0.24.0)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class CreateAccessBindingRequest.

Request message for CreateAccessBinding RPC.

Generated from protobuf message google.analytics.admin.v1alpha.CreateAccessBindingRequest

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Formats: - accounts/{account} - properties/{property}

↳ access_binding Google\Analytics\Admin\V1alpha\AccessBinding

Required. The access binding to create.

getParent

Required. Formats:

  • accounts/{account}
  • properties/{property}
Returns
Type Description
string

setParent

Required. Formats:

  • accounts/{account}
  • properties/{property}
Parameter
Name Description
var string
Returns
Type Description
$this

getAccessBinding

Required. The access binding to create.

Returns
Type Description
Google\Analytics\Admin\V1alpha\AccessBinding|null

hasAccessBinding

clearAccessBinding

setAccessBinding

Required. The access binding to create.

Parameter
Name Description
var Google\Analytics\Admin\V1alpha\AccessBinding
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Formats:

accessBinding Google\Analytics\Admin\V1alpha\AccessBinding

Required. The access binding to create.

Returns
Type Description
Google\Analytics\Admin\V1alpha\CreateAccessBindingRequest