Show / Hide Table of Contents

Class PropertiesResource.KeyEventsResource

The "keyEvents" collection of methods.

Inheritance
object
PropertiesResource.KeyEventsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1beta
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1beta.dll
Syntax
public class PropertiesResource.KeyEventsResource

Constructors

KeyEventsResource(IClientService)

Constructs a new resource.

Declaration
public KeyEventsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(GoogleAnalyticsAdminV1betaKeyEvent, string)

Creates a Key Event.

Declaration
public virtual PropertiesResource.KeyEventsResource.CreateRequest Create(GoogleAnalyticsAdminV1betaKeyEvent body, string parent)
Parameters
Type Name Description
GoogleAnalyticsAdminV1betaKeyEvent body

The body of the request.

string parent

Required. The resource name of the parent property where this Key Event will be created. Format: properties/123

Returns
Type Description
PropertiesResource.KeyEventsResource.CreateRequest

Delete(string)

Deletes a Key Event.

Declaration
public virtual PropertiesResource.KeyEventsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

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

Returns
Type Description
PropertiesResource.KeyEventsResource.DeleteRequest

Get(string)

Retrieve a single Key Event.

Declaration
public virtual PropertiesResource.KeyEventsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

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

Returns
Type Description
PropertiesResource.KeyEventsResource.GetRequest

List(string)

Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.

Declaration
public virtual PropertiesResource.KeyEventsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The resource name of the parent property. Example: 'properties/123'

Returns
Type Description
PropertiesResource.KeyEventsResource.ListRequest

Patch(GoogleAnalyticsAdminV1betaKeyEvent, string)

Updates a Key Event.

Declaration
public virtual PropertiesResource.KeyEventsResource.PatchRequest Patch(GoogleAnalyticsAdminV1betaKeyEvent body, string name)
Parameters
Type Name Description
GoogleAnalyticsAdminV1betaKeyEvent body

The body of the request.

string name

Output only. Resource name of this key event. Format: properties/{property}/keyEvents/{key_event}

Returns
Type Description
PropertiesResource.KeyEventsResource.PatchRequest
In this article
Back to top Generated by DocFX