Google Analytics Admin V1alpha Client - Class GetKeyEventRequest (0.25.2)

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

Request message for GetKeyEvent RPC

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Required. The resource name of the Key Event to retrieve. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456"

getName

Required. The resource name of the Key Event to retrieve.

Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456"

Returns
TypeDescription
string

setName

Required. The resource name of the Key Event to retrieve.

Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456"

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
namestring

Required. The resource name of the Key Event to retrieve. Format: properties/{property}/keyEvents/{key_event} Example: "properties/123/keyEvents/456" Please see AnalyticsAdminServiceClient::keyEventName() for help formatting this field.

Returns
TypeDescription
GetKeyEventRequest