Class PropertiesResource.KeyEventsResource
The "keyEvents" collection of methods.
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.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(GoogleAnalyticsAdminV1alphaKeyEvent, string)
Creates a Key Event.
Declaration
public virtual PropertiesResource.KeyEventsResource.CreateRequest Create(GoogleAnalyticsAdminV1alphaKeyEvent body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleAnalyticsAdminV1alphaKeyEvent | 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(GoogleAnalyticsAdminV1alphaKeyEvent, string)
Updates a Key Event.
Declaration
public virtual PropertiesResource.KeyEventsResource.PatchRequest Patch(GoogleAnalyticsAdminV1alphaKeyEvent body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleAnalyticsAdminV1alphaKeyEvent | 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 |