Google Analytics Admin V1alpha Client - Class GetKeyEventRequest (0.24.1)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

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
Type Description
string

setName

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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
Type Description
GetKeyEventRequest