Google Analytics Admin V1alpha Client - Class CreateReportingDataAnnotationRequest (0.29.0)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class CreateReportingDataAnnotationRequest.

Request message for CreateReportingDataAnnotation RPC.

Generated from protobuf message google.analytics.admin.v1alpha.CreateReportingDataAnnotationRequest

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The property for which to create a Reporting Data Annotation. Format: properties/property_id Example: properties/123

↳ reporting_data_annotation ReportingDataAnnotation

Required. The Reporting Data Annotation to create.

getParent

Required. The property for which to create a Reporting Data Annotation.

Format: properties/property_id Example: properties/123

Returns
Type Description
string

setParent

Required. The property for which to create a Reporting Data Annotation.

Format: properties/property_id Example: properties/123

Parameter
Name Description
var string
Returns
Type Description
$this

getReportingDataAnnotation

Required. The Reporting Data Annotation to create.

Returns
Type Description
ReportingDataAnnotation|null

hasReportingDataAnnotation

clearReportingDataAnnotation

setReportingDataAnnotation

Required. The Reporting Data Annotation to create.

Parameter
Name Description
var ReportingDataAnnotation
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The property for which to create a Reporting Data Annotation. Format: properties/property_id Example: properties/123 Please see AnalyticsAdminServiceClient::propertyName() for help formatting this field.

reportingDataAnnotation ReportingDataAnnotation

Required. The Reporting Data Annotation to create.

Returns
Type Description
CreateReportingDataAnnotationRequest