Google Analytics Admin V1alpha Client - Class BatchCreateAccessBindingsRequest (0.24.1)

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

Request message for BatchCreateAccessBindings RPC.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The account or property that owns the access bindings. The parent field in the CreateAccessBindingRequest messages must either be empty or match this field. Formats: - accounts/{account} - properties/{property}

↳ requests array<CreateAccessBindingRequest>

Required. The requests specifying the access bindings to create. A maximum of 1000 access bindings can be created in a batch.

getParent

Required. The account or property that owns the access bindings. The parent field in the CreateAccessBindingRequest messages must either be empty or match this field. Formats:

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

setParent

Required. The account or property that owns the access bindings. The parent field in the CreateAccessBindingRequest messages must either be empty or match this field. Formats:

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

getRequests

Required. The requests specifying the access bindings to create.

A maximum of 1000 access bindings can be created in a batch.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRequests

Required. The requests specifying the access bindings to create.

A maximum of 1000 access bindings can be created in a batch.

Parameter
Name Description
var array<CreateAccessBindingRequest>
Returns
Type Description
$this