Class PropertiesResource.CalculatedMetricsResource
The "calculatedMetrics" collection of methods.
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.dll
Syntax
public class PropertiesResource.CalculatedMetricsResource
Constructors
CalculatedMetricsResource(IClientService)
Constructs a new resource.
Declaration
public CalculatedMetricsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleAnalyticsAdminV1alphaCalculatedMetric, string)
Creates a CalculatedMetric.
Declaration
public virtual PropertiesResource.CalculatedMetricsResource.CreateRequest Create(GoogleAnalyticsAdminV1alphaCalculatedMetric body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleAnalyticsAdminV1alphaCalculatedMetric | body | The body of the request. |
string | parent | Required. Format: properties/{property_id} Example: properties/1234 |
Returns
Type | Description |
---|---|
PropertiesResource.CalculatedMetricsResource.CreateRequest |
Delete(string)
Deletes a CalculatedMetric on a property.
Declaration
public virtual PropertiesResource.CalculatedMetricsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CalculatedMetric to delete. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
Returns
Type | Description |
---|---|
PropertiesResource.CalculatedMetricsResource.DeleteRequest |
Get(string)
Lookup for a single CalculatedMetric.
Declaration
public virtual PropertiesResource.CalculatedMetricsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the CalculatedMetric to get. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 |
Returns
Type | Description |
---|---|
PropertiesResource.CalculatedMetricsResource.GetRequest |
List(string)
Lists CalculatedMetrics on a property.
Declaration
public virtual PropertiesResource.CalculatedMetricsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Example format: properties/1234 |
Returns
Type | Description |
---|---|
PropertiesResource.CalculatedMetricsResource.ListRequest |
Patch(GoogleAnalyticsAdminV1alphaCalculatedMetric, string)
Updates a CalculatedMetric on a property.
Declaration
public virtual PropertiesResource.CalculatedMetricsResource.PatchRequest Patch(GoogleAnalyticsAdminV1alphaCalculatedMetric body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleAnalyticsAdminV1alphaCalculatedMetric | body | The body of the request. |
string | name | Output only. Resource name for this CalculatedMetric. Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' |
Returns
Type | Description |
---|---|
PropertiesResource.CalculatedMetricsResource.PatchRequest |