Google Analytics Admin V1beta Client - Class GetMeasurementProtocolSecretRequest (0.13.0)

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

Request message for GetMeasurementProtocolSecret RPC.

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

Methods

build

Parameter
NameDescription
name string

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

Returns
TypeDescription
Google\Analytics\Admin\V1beta\GetMeasurementProtocolSecretRequest

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setName

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

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this