Google Analytics Admin V1alpha Client - Class GetMeasurementProtocolSecretRequest (0.22.5)

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

Request message for GetMeasurementProtocolSecret RPC.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}

getName

Required. The name of the measurement protocol secret to lookup.

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

Returns
Type Description
string

setName

Required. The name of the measurement protocol secret to lookup.

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} Please see Google\Analytics\Admin\V1alpha\AnalyticsAdminServiceClient::measurementProtocolSecretName() for help formatting this field.

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