Google Analytics Admin V1alpha Client - Class CreateMeasurementProtocolSecretRequest (0.24.0)

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

Request message for CreateMeasurementProtocolSecret RPC

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream}

↳ measurement_protocol_secret Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret

Required. The measurement protocol secret to create.

getParent

Required. The parent resource where this secret will be created.

Format: properties/{property}/dataStreams/{dataStream}

Returns
Type Description
string

setParent

Required. The parent resource where this secret will be created.

Format: properties/{property}/dataStreams/{dataStream}

Parameter
Name Description
var string
Returns
Type Description
$this

getMeasurementProtocolSecret

Required. The measurement protocol secret to create.

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

hasMeasurementProtocolSecret

clearMeasurementProtocolSecret

setMeasurementProtocolSecret

Required. The measurement protocol secret to create.

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

static::build

Parameters
Name Description
parent string

Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream} Please see Google\Analytics\Admin\V1alpha\AnalyticsAdminServiceClient::dataStreamName() for help formatting this field.

measurementProtocolSecret Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret

Required. The measurement protocol secret to create.

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