Class PropertiesResource.ReportingDataAnnotationsResource
The "reportingDataAnnotations" collection of methods.
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.dll
Syntax
public class PropertiesResource.ReportingDataAnnotationsResource
Constructors
ReportingDataAnnotationsResource(IClientService)
Constructs a new resource.
Declaration
public ReportingDataAnnotationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleAnalyticsAdminV1alphaReportingDataAnnotation, string)
Creates a Reporting Data Annotation.
Declaration
public virtual PropertiesResource.ReportingDataAnnotationsResource.CreateRequest Create(GoogleAnalyticsAdminV1alphaReportingDataAnnotation body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleAnalyticsAdminV1alphaReportingDataAnnotation | body | The body of the request. |
string | parent | Required. The property for which to create a Reporting Data Annotation. Format: properties/property_id Example: properties/123 |
Returns
Type | Description |
---|---|
PropertiesResource.ReportingDataAnnotationsResource.CreateRequest |
Delete(string)
Deletes a Reporting Data Annotation.
Declaration
public virtual PropertiesResource.ReportingDataAnnotationsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the Reporting Data Annotation to delete. Format: properties/property_id/reportingDataAnnotations/reporting_data_annotation Example: properties/123/reportingDataAnnotations/456 |
Returns
Type | Description |
---|---|
PropertiesResource.ReportingDataAnnotationsResource.DeleteRequest |
Get(string)
Lookup a single Reporting Data Annotation.
Declaration
public virtual PropertiesResource.ReportingDataAnnotationsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Resource name of the Reporting Data Annotation to lookup. Format: properties/property_id/reportingDataAnnotations/reportingDataAnnotation Example: properties/123/reportingDataAnnotations/456 |
Returns
Type | Description |
---|---|
PropertiesResource.ReportingDataAnnotationsResource.GetRequest |
List(string)
List all Reporting Data Annotations on a property.
Declaration
public virtual PropertiesResource.ReportingDataAnnotationsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Resource name of the property. Format: properties/property_id Example: properties/123 |
Returns
Type | Description |
---|---|
PropertiesResource.ReportingDataAnnotationsResource.ListRequest |
Patch(GoogleAnalyticsAdminV1alphaReportingDataAnnotation, string)
Updates a Reporting Data Annotation.
Declaration
public virtual PropertiesResource.ReportingDataAnnotationsResource.PatchRequest Patch(GoogleAnalyticsAdminV1alphaReportingDataAnnotation body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleAnalyticsAdminV1alphaReportingDataAnnotation | body | The body of the request. |
string | name | Required. Identifier. Resource name of this Reporting Data Annotation. Format: 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' Format: 'properties/123/reportingDataAnnotations/456' |
Returns
Type | Description |
---|---|
PropertiesResource.ReportingDataAnnotationsResource.PatchRequest |