Google Analytics Admin V1alpha Client - Class UpdateReportingDataAnnotationRequest (0.29.0)

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

Request message for UpdateReportingDataAnnotation RPC.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ reporting_data_annotation ReportingDataAnnotation

Required. The Reporting Data Annotation to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

getReportingDataAnnotation

Required. The Reporting Data Annotation to update.

Returns
Type Description
ReportingDataAnnotation|null

hasReportingDataAnnotation

clearReportingDataAnnotation

setReportingDataAnnotation

Required. The Reporting Data Annotation to update.

Parameter
Name Description
var ReportingDataAnnotation
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
reportingDataAnnotation ReportingDataAnnotation

Required. The Reporting Data Annotation to update.

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

Returns
Type Description
UpdateReportingDataAnnotationRequest