Class PropertiesResource.ConversionEventsResource
The "conversionEvents" collection of methods.
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.dll
Syntax
public class PropertiesResource.ConversionEventsResource
Constructors
ConversionEventsResource(IClientService)
Constructs a new resource.
Declaration
public ConversionEventsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleAnalyticsAdminV1alphaConversionEvent, string)
Deprecated: Use CreateKeyEvent
instead. Creates a conversion event with the specified attributes.
Declaration
public virtual PropertiesResource.ConversionEventsResource.CreateRequest Create(GoogleAnalyticsAdminV1alphaConversionEvent body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleAnalyticsAdminV1alphaConversionEvent | body | The body of the request. |
string | parent | Required. The resource name of the parent property where this conversion event will be created. Format: properties/123 |
Returns
Type | Description |
---|---|
PropertiesResource.ConversionEventsResource.CreateRequest |
Delete(string)
Deprecated: Use DeleteKeyEvent
instead. Deletes a conversion event in a property.
Declaration
public virtual PropertiesResource.ConversionEventsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
Returns
Type | Description |
---|---|
PropertiesResource.ConversionEventsResource.DeleteRequest |
Get(string)
Deprecated: Use GetKeyEvent
instead. Retrieve a single conversion event.
Declaration
public virtual PropertiesResource.ConversionEventsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456" |
Returns
Type | Description |
---|---|
PropertiesResource.ConversionEventsResource.GetRequest |
List(string)
Deprecated: Use ListKeyEvents
instead. Returns a list of conversion events in the specified parent
property. Returns an empty list if no conversion events are found.
Declaration
public virtual PropertiesResource.ConversionEventsResource.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.ConversionEventsResource.ListRequest |
Patch(GoogleAnalyticsAdminV1alphaConversionEvent, string)
Deprecated: Use UpdateKeyEvent
instead. Updates a conversion event with the specified attributes.
Declaration
public virtual PropertiesResource.ConversionEventsResource.PatchRequest Patch(GoogleAnalyticsAdminV1alphaConversionEvent body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleAnalyticsAdminV1alphaConversionEvent | body | The body of the request. |
string | name | Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} |
Returns
Type | Description |
---|---|
PropertiesResource.ConversionEventsResource.PatchRequest |