Google Analytics Admin V1beta Client - Class GetKeyEventRequest (0.23.0)

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

Request message for GetKeyEvent RPC

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

Namespace

Google \ Analytics \ Admin \ V1beta

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 Google\Analytics\Admin\V1beta\AnalyticsAdminServiceClient::keyEventName() for help formatting this field.

Returns
Type Description
Google\Analytics\Admin\V1beta\GetKeyEventRequest