Reference documentation and code samples for the Google Analytics Admin V1beta Client class CreateKeyEventRequest.
Request message for CreateKeyEvent RPC
Generated from protobuf message google.analytics.admin.v1beta.CreateKeyEventRequest
Namespace
Google \ Analytics \ Admin \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key_event |
Google\Analytics\Admin\V1beta\KeyEvent
Required. The Key Event to create. |
↳ parent |
string
Required. The resource name of the parent property where this Key Event will be created. Format: properties/123 |
getKeyEvent
Required. The Key Event to create.
Returns | |
---|---|
Type | Description |
Google\Analytics\Admin\V1beta\KeyEvent|null |
hasKeyEvent
clearKeyEvent
setKeyEvent
Required. The Key Event to create.
Parameter | |
---|---|
Name | Description |
var |
Google\Analytics\Admin\V1beta\KeyEvent
|
Returns | |
---|---|
Type | Description |
$this |
getParent
Required. The resource name of the parent property where this Key Event will be created. Format: properties/123
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The resource name of the parent property where this Key Event will be created. Format: properties/123
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The resource name of the parent property where this Key Event will be created. Format: properties/123 Please see Google\Analytics\Admin\V1beta\AnalyticsAdminServiceClient::propertyName() for help formatting this field. |
keyEvent |
Google\Analytics\Admin\V1beta\KeyEvent
Required. The Key Event to create. |
Returns | |
---|---|
Type | Description |
Google\Analytics\Admin\V1beta\CreateKeyEventRequest |