Skip to content

Commit 6a1cb77

Browse files
feat(analyticsadmin): update the API
#### analyticsadmin:v1alpha The following keys were added: - resources.properties.resources.reportingDataAnnotations.methods.create.description - resources.properties.resources.reportingDataAnnotations.methods.create.flatPath - resources.properties.resources.reportingDataAnnotations.methods.create.httpMethod - resources.properties.resources.reportingDataAnnotations.methods.create.id - resources.properties.resources.reportingDataAnnotations.methods.create.parameterOrder - resources.properties.resources.reportingDataAnnotations.methods.create.parameters.parent.description - resources.properties.resources.reportingDataAnnotations.methods.create.parameters.parent.location - resources.properties.resources.reportingDataAnnotations.methods.create.parameters.parent.pattern - resources.properties.resources.reportingDataAnnotations.methods.create.parameters.parent.required - resources.properties.resources.reportingDataAnnotations.methods.create.parameters.parent.type - resources.properties.resources.reportingDataAnnotations.methods.create.path - resources.properties.resources.reportingDataAnnotations.methods.create.request.$ref - resources.properties.resources.reportingDataAnnotations.methods.create.response.$ref - resources.properties.resources.reportingDataAnnotations.methods.create.scopes - resources.properties.resources.reportingDataAnnotations.methods.delete.description - resources.properties.resources.reportingDataAnnotations.methods.delete.flatPath - resources.properties.resources.reportingDataAnnotations.methods.delete.httpMethod - resources.properties.resources.reportingDataAnnotations.methods.delete.id - resources.properties.resources.reportingDataAnnotations.methods.delete.parameterOrder - resources.properties.resources.reportingDataAnnotations.methods.delete.parameters.name.description - resources.properties.resources.reportingDataAnnotations.methods.delete.parameters.name.location - resources.properties.resources.reportingDataAnnotations.methods.delete.parameters.name.pattern - resources.properties.resources.reportingDataAnnotations.methods.delete.parameters.name.required - resources.properties.resources.reportingDataAnnotations.methods.delete.parameters.name.type - resources.properties.resources.reportingDataAnnotations.methods.delete.path - resources.properties.resources.reportingDataAnnotations.methods.delete.response.$ref - resources.properties.resources.reportingDataAnnotations.methods.delete.scopes - resources.properties.resources.reportingDataAnnotations.methods.get.description - resources.properties.resources.reportingDataAnnotations.methods.get.flatPath - resources.properties.resources.reportingDataAnnotations.methods.get.httpMethod - resources.properties.resources.reportingDataAnnotations.methods.get.id - resources.properties.resources.reportingDataAnnotations.methods.get.parameterOrder - resources.properties.resources.reportingDataAnnotations.methods.get.parameters.name.description - resources.properties.resources.reportingDataAnnotations.methods.get.parameters.name.location - resources.properties.resources.reportingDataAnnotations.methods.get.parameters.name.pattern - resources.properties.resources.reportingDataAnnotations.methods.get.parameters.name.required - resources.properties.resources.reportingDataAnnotations.methods.get.parameters.name.type - resources.properties.resources.reportingDataAnnotations.methods.get.path - resources.properties.resources.reportingDataAnnotations.methods.get.response.$ref - resources.properties.resources.reportingDataAnnotations.methods.get.scopes - resources.properties.resources.reportingDataAnnotations.methods.list.description - resources.properties.resources.reportingDataAnnotations.methods.list.flatPath - resources.properties.resources.reportingDataAnnotations.methods.list.httpMethod - resources.properties.resources.reportingDataAnnotations.methods.list.id - resources.properties.resources.reportingDataAnnotations.methods.list.parameterOrder - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.filter.description - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.filter.location - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.filter.type - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.pageSize.description - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.pageSize.format - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.pageSize.location - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.pageSize.type - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.pageToken.description - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.pageToken.location - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.pageToken.type - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.parent.description - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.parent.location - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.parent.pattern - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.parent.required - resources.properties.resources.reportingDataAnnotations.methods.list.parameters.parent.type - resources.properties.resources.reportingDataAnnotations.methods.list.path - resources.properties.resources.reportingDataAnnotations.methods.list.response.$ref - resources.properties.resources.reportingDataAnnotations.methods.list.scopes - resources.properties.resources.reportingDataAnnotations.methods.patch.description - resources.properties.resources.reportingDataAnnotations.methods.patch.flatPath - resources.properties.resources.reportingDataAnnotations.methods.patch.httpMethod - resources.properties.resources.reportingDataAnnotations.methods.patch.id - resources.properties.resources.reportingDataAnnotations.methods.patch.parameterOrder - resources.properties.resources.reportingDataAnnotations.methods.patch.parameters.name.description - resources.properties.resources.reportingDataAnnotations.methods.patch.parameters.name.location - resources.properties.resources.reportingDataAnnotations.methods.patch.parameters.name.pattern - resources.properties.resources.reportingDataAnnotations.methods.patch.parameters.name.required - resources.properties.resources.reportingDataAnnotations.methods.patch.parameters.name.type - resources.properties.resources.reportingDataAnnotations.methods.patch.parameters.updateMask.description - resources.properties.resources.reportingDataAnnotations.methods.patch.parameters.updateMask.format - resources.properties.resources.reportingDataAnnotations.methods.patch.parameters.updateMask.location - resources.properties.resources.reportingDataAnnotations.methods.patch.parameters.updateMask.type - resources.properties.resources.reportingDataAnnotations.methods.patch.path - resources.properties.resources.reportingDataAnnotations.methods.patch.request.$ref - resources.properties.resources.reportingDataAnnotations.methods.patch.response.$ref - resources.properties.resources.reportingDataAnnotations.methods.patch.scopes - schemas.GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource.properties.reportingDataAnnotation.$ref - schemas.GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource.properties.reportingDataAnnotation.description - schemas.GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse.description - schemas.GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse.id - schemas.GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse.properties.nextPageToken.description - schemas.GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse.properties.nextPageToken.type - schemas.GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse.properties.reportingDataAnnotations.description - schemas.GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse.properties.reportingDataAnnotations.items.$ref - schemas.GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse.properties.reportingDataAnnotations.type - schemas.GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse.type - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.description - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.id - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.annotationDate.$ref - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.annotationDate.description - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.annotationDateRange.$ref - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.annotationDateRange.description - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.color.description - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.color.enum - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.color.enumDescriptions - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.color.type - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.description.description - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.description.type - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.name.description - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.name.type - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.systemGenerated.description - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.systemGenerated.readOnly - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.systemGenerated.type - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.title.description - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.properties.title.type - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotation.type - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange.description - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange.id - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange.properties.endDate.$ref - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange.properties.endDate.description - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange.properties.startDate.$ref - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange.properties.startDate.description - schemas.GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange.type - schemas.GoogleTypeDate.description - schemas.GoogleTypeDate.id - schemas.GoogleTypeDate.properties.day.description - schemas.GoogleTypeDate.properties.day.format - schemas.GoogleTypeDate.properties.day.type - schemas.GoogleTypeDate.properties.month.description - schemas.GoogleTypeDate.properties.month.format - schemas.GoogleTypeDate.properties.month.type - schemas.GoogleTypeDate.properties.year.description - schemas.GoogleTypeDate.properties.year.format - schemas.GoogleTypeDate.properties.year.type - schemas.GoogleTypeDate.type The following keys were changed: - schemas.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest.properties.resourceType.items.enum - schemas.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest.properties.resourceType.items.enumDescriptions
1 parent fe65184 commit 6a1cb77

File tree

2 files changed

+907
-3
lines changed

2 files changed

+907
-3
lines changed

‎discovery/analyticsadmin-v1alpha.json

Lines changed: 279 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4455,6 +4455,165 @@
44554455
}
44564456
}
44574457
},
4458+
"reportingDataAnnotations": {
4459+
"methods": {
4460+
"create": {
4461+
"description": "Creates a Reporting Data Annotation.",
4462+
"flatPath": "v1alpha/properties/{propertiesId}/reportingDataAnnotations",
4463+
"httpMethod": "POST",
4464+
"id": "analyticsadmin.properties.reportingDataAnnotations.create",
4465+
"parameterOrder": [
4466+
"parent"
4467+
],
4468+
"parameters": {
4469+
"parent": {
4470+
"description": "Required. The property for which to create a Reporting Data Annotation. Format: properties/property_id Example: properties/123",
4471+
"location": "path",
4472+
"pattern": "^properties/[^/]+$",
4473+
"required": true,
4474+
"type": "string"
4475+
}
4476+
},
4477+
"path": "v1alpha/{+parent}/reportingDataAnnotations",
4478+
"request": {
4479+
"$ref": "GoogleAnalyticsAdminV1alphaReportingDataAnnotation"
4480+
},
4481+
"response": {
4482+
"$ref": "GoogleAnalyticsAdminV1alphaReportingDataAnnotation"
4483+
},
4484+
"scopes": [
4485+
"https://www.googleapis.com/auth/analytics.edit"
4486+
]
4487+
},
4488+
"delete": {
4489+
"description": "Deletes a Reporting Data Annotation.",
4490+
"flatPath": "v1alpha/properties/{propertiesId}/reportingDataAnnotations/{reportingDataAnnotationsId}",
4491+
"httpMethod": "DELETE",
4492+
"id": "analyticsadmin.properties.reportingDataAnnotations.delete",
4493+
"parameterOrder": [
4494+
"name"
4495+
],
4496+
"parameters": {
4497+
"name": {
4498+
"description": "Required. Resource name of the Reporting Data Annotation to delete. Format: properties/property_id/reportingDataAnnotations/reporting_data_annotation Example: properties/123/reportingDataAnnotations/456",
4499+
"location": "path",
4500+
"pattern": "^properties/[^/]+/reportingDataAnnotations/[^/]+$",
4501+
"required": true,
4502+
"type": "string"
4503+
}
4504+
},
4505+
"path": "v1alpha/{+name}",
4506+
"response": {
4507+
"$ref": "GoogleProtobufEmpty"
4508+
},
4509+
"scopes": [
4510+
"https://www.googleapis.com/auth/analytics.edit"
4511+
]
4512+
},
4513+
"get": {
4514+
"description": "Lookup a single Reporting Data Annotation.",
4515+
"flatPath": "v1alpha/properties/{propertiesId}/reportingDataAnnotations/{reportingDataAnnotationsId}",
4516+
"httpMethod": "GET",
4517+
"id": "analyticsadmin.properties.reportingDataAnnotations.get",
4518+
"parameterOrder": [
4519+
"name"
4520+
],
4521+
"parameters": {
4522+
"name": {
4523+
"description": "Required. Resource name of the Reporting Data Annotation to lookup. Format: properties/property_id/reportingDataAnnotations/reportingDataAnnotation Example: properties/123/reportingDataAnnotations/456",
4524+
"location": "path",
4525+
"pattern": "^properties/[^/]+/reportingDataAnnotations/[^/]+$",
4526+
"required": true,
4527+
"type": "string"
4528+
}
4529+
},
4530+
"path": "v1alpha/{+name}",
4531+
"response": {
4532+
"$ref": "GoogleAnalyticsAdminV1alphaReportingDataAnnotation"
4533+
},
4534+
"scopes": [
4535+
"https://www.googleapis.com/auth/analytics.edit",
4536+
"https://www.googleapis.com/auth/analytics.readonly"
4537+
]
4538+
},
4539+
"list": {
4540+
"description": "List all Reporting Data Annotations on a property.",
4541+
"flatPath": "v1alpha/properties/{propertiesId}/reportingDataAnnotations",
4542+
"httpMethod": "GET",
4543+
"id": "analyticsadmin.properties.reportingDataAnnotations.list",
4544+
"parameterOrder": [
4545+
"parent"
4546+
],
4547+
"parameters": {
4548+
"filter": {
4549+
"description": "Optional. Filter that restricts which reporting data annotations under the parent property are listed. Supported fields are: * 'name' * `title` * `description` * `annotation_date` * `annotation_date_range` * `color` Additionally, this API provides the following helper functions: * annotation_duration() : the duration that this annotation marks, [durations](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/duration.proto). expect a numeric representation of seconds followed by an `s` suffix. * is_annotation_in_range(start_date, end_date) : if the annotation is in the range specified by the `start_date` and `end_date`. The dates are in ISO-8601 format, for example `2031-06-28`. Supported operations: * `=` : equals * `!=` : not equals * `<` : less than * `>` : greater than * `<=` : less than or equals * `>=` : greater than or equals * `:` : has operator * `=~` : [regular expression](https://github.com/google/re2/wiki/Syntax) match * `!~` : [regular expression](https://github.com/google/re2/wiki/Syntax) does not match * `NOT` : Logical not * `AND` : Logical and * `OR` : Logical or Examples: 1. `title=\"Holiday Sale\"` 2. `description=~\"[Bb]ig [Gg]ame.*[Ss]ale\"` 3. `is_annotation_in_range(\"2025-12-25\", \"2026-01-16\") = true` 4. `annotation_duration() >= 172800s AND title:BOGO`",
4550+
"location": "query",
4551+
"type": "string"
4552+
},
4553+
"pageSize": {
4554+
"description": "Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)",
4555+
"format": "int32",
4556+
"location": "query",
4557+
"type": "integer"
4558+
},
4559+
"pageToken": {
4560+
"description": "Optional. A page token, received from a previous `ListReportingDataAnnotations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReportingDataAnnotations` must match the call that provided the page token.",
4561+
"location": "query",
4562+
"type": "string"
4563+
},
4564+
"parent": {
4565+
"description": "Required. Resource name of the property. Format: properties/property_id Example: properties/123",
4566+
"location": "path",
4567+
"pattern": "^properties/[^/]+$",
4568+
"required": true,
4569+
"type": "string"
4570+
}
4571+
},
4572+
"path": "v1alpha/{+parent}/reportingDataAnnotations",
4573+
"response": {
4574+
"$ref": "GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse"
4575+
},
4576+
"scopes": [
4577+
"https://www.googleapis.com/auth/analytics.edit",
4578+
"https://www.googleapis.com/auth/analytics.readonly"
4579+
]
4580+
},
4581+
"patch": {
4582+
"description": "Updates a Reporting Data Annotation.",
4583+
"flatPath": "v1alpha/properties/{propertiesId}/reportingDataAnnotations/{reportingDataAnnotationsId}",
4584+
"httpMethod": "PATCH",
4585+
"id": "analyticsadmin.properties.reportingDataAnnotations.patch",
4586+
"parameterOrder": [
4587+
"name"
4588+
],
4589+
"parameters": {
4590+
"name": {
4591+
"description": "Required. Identifier. Resource name of this Reporting Data Annotation. Format: 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' Format: 'properties/123/reportingDataAnnotations/456'",
4592+
"location": "path",
4593+
"pattern": "^properties/[^/]+/reportingDataAnnotations/[^/]+$",
4594+
"required": true,
4595+
"type": "string"
4596+
},
4597+
"updateMask": {
4598+
"description": "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.",
4599+
"format": "google-fieldmask",
4600+
"location": "query",
4601+
"type": "string"
4602+
}
4603+
},
4604+
"path": "v1alpha/{+name}",
4605+
"request": {
4606+
"$ref": "GoogleAnalyticsAdminV1alphaReportingDataAnnotation"
4607+
},
4608+
"response": {
4609+
"$ref": "GoogleAnalyticsAdminV1alphaReportingDataAnnotation"
4610+
},
4611+
"scopes": [
4612+
"https://www.googleapis.com/auth/analytics.edit"
4613+
]
4614+
}
4615+
}
4616+
},
44584617
"rollupPropertySourceLinks": {
44594618
"methods": {
44604619
"create": {
@@ -4886,7 +5045,7 @@
48865045
}
48875046
}
48885047
},
4889-
"revision": "20250307",
5048+
"revision": "20250329",
48905049
"rootUrl": "https://analyticsadmin.googleapis.com/",
48915050
"schemas": {
48925051
"GoogleAnalyticsAdminV1alphaAccessBetweenFilter": {
@@ -6270,6 +6429,10 @@
62706429
"$ref": "GoogleAnalyticsAdminV1alphaProperty",
62716430
"description": "A snapshot of a Property resource in change history."
62726431
},
6432+
"reportingDataAnnotation": {
6433+
"$ref": "GoogleAnalyticsAdminV1alphaReportingDataAnnotation",
6434+
"description": "A snapshot of a ReportingDataAnnotation resource in change history."
6435+
},
62736436
"searchAds360Link": {
62746437
"$ref": "GoogleAnalyticsAdminV1alphaSearchAds360Link",
62756438
"description": "A snapshot of a SearchAds360Link resource in change history."
@@ -8117,6 +8280,24 @@
81178280
},
81188281
"type": "object"
81198282
},
8283+
"GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse": {
8284+
"description": "Response message for ListReportingDataAnnotation RPC.",
8285+
"id": "GoogleAnalyticsAdminV1alphaListReportingDataAnnotationsResponse",
8286+
"properties": {
8287+
"nextPageToken": {
8288+
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
8289+
"type": "string"
8290+
},
8291+
"reportingDataAnnotations": {
8292+
"description": "List of Reporting Data Annotations.",
8293+
"items": {
8294+
"$ref": "GoogleAnalyticsAdminV1alphaReportingDataAnnotation"
8295+
},
8296+
"type": "array"
8297+
}
8298+
},
8299+
"type": "object"
8300+
},
81208301
"GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse": {
81218302
"description": "Response message for ListRollupPropertySourceLinks RPC.",
81228303
"id": "GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse",
@@ -8571,6 +8752,77 @@
85718752
},
85728753
"type": "object"
85738754
},
8755+
"GoogleAnalyticsAdminV1alphaReportingDataAnnotation": {
8756+
"description": "A Reporting Data Annotation is a comment connected to certain dates for reporting data.",
8757+
"id": "GoogleAnalyticsAdminV1alphaReportingDataAnnotation",
8758+
"properties": {
8759+
"annotationDate": {
8760+
"$ref": "GoogleTypeDate",
8761+
"description": "If set, the Reporting Data Annotation is for a specific date represented by this field. The date must be a valid date with year, month and day set. The date may be in the past, present, or future."
8762+
},
8763+
"annotationDateRange": {
8764+
"$ref": "GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange",
8765+
"description": "If set, the Reporting Data Annotation is for a range of dates represented by this field."
8766+
},
8767+
"color": {
8768+
"description": "Required. The color used for display of this Reporting Data Annotation.",
8769+
"enum": [
8770+
"COLOR_UNSPECIFIED",
8771+
"PURPLE",
8772+
"BROWN",
8773+
"BLUE",
8774+
"GREEN",
8775+
"RED",
8776+
"CYAN",
8777+
"ORANGE"
8778+
],
8779+
"enumDescriptions": [
8780+
"Color unknown or not specified.",
8781+
"Purple color.",
8782+
"Brown color.",
8783+
"Blue color.",
8784+
"Green color.",
8785+
"Red color.",
8786+
"Cyan color.",
8787+
"Orange color. (Only used for system-generated annotations)"
8788+
],
8789+
"type": "string"
8790+
},
8791+
"description": {
8792+
"description": "Optional. Description for this Reporting Data Annotation.",
8793+
"type": "string"
8794+
},
8795+
"name": {
8796+
"description": "Required. Identifier. Resource name of this Reporting Data Annotation. Format: 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' Format: 'properties/123/reportingDataAnnotations/456'",
8797+
"type": "string"
8798+
},
8799+
"systemGenerated": {
8800+
"description": "Output only. If true, this annotation was generated by the Google Analytics system. System-generated annotations cannot be updated or deleted.",
8801+
"readOnly": true,
8802+
"type": "boolean"
8803+
},
8804+
"title": {
8805+
"description": "Required. Human-readable title for this Reporting Data Annotation.",
8806+
"type": "string"
8807+
}
8808+
},
8809+
"type": "object"
8810+
},
8811+
"GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange": {
8812+
"description": "Represents a Reporting Data Annotation's date range, both start and end dates are inclusive. Time zones are based on the parent property.",
8813+
"id": "GoogleAnalyticsAdminV1alphaReportingDataAnnotationDateRange",
8814+
"properties": {
8815+
"endDate": {
8816+
"$ref": "GoogleTypeDate",
8817+
"description": "Required. The end date for this range. Must be a valid date with year, month, and day set. This date must be greater than or equal to the start date."
8818+
},
8819+
"startDate": {
8820+
"$ref": "GoogleTypeDate",
8821+
"description": "Required. The start date for this range. Must be a valid date with year, month, and day set. The date may be in the past, present, or future."
8822+
}
8823+
},
8824+
"type": "object"
8825+
},
85748826
"GoogleAnalyticsAdminV1alphaRollupPropertySourceLink": {
85758827
"description": "A link that references a source property under the parent rollup property.",
85768828
"id": "GoogleAnalyticsAdminV1alphaRollupPropertySourceLink",
@@ -8841,7 +9093,8 @@
88419093
"AUDIENCE",
88429094
"EVENT_CREATE_RULE",
88439095
"KEY_EVENT",
8844-
"CALCULATED_METRIC"
9096+
"CALCULATED_METRIC",
9097+
"REPORTING_DATA_ANNOTATION"
88459098
],
88469099
"enumDescriptions": [
88479100
"Resource type unknown or not specified.",
@@ -8870,7 +9123,8 @@
88709123
"Audience resource",
88719124
"EventCreateRule resource",
88729125
"KeyEvent resource",
8873-
"CalculatedMetric resource"
9126+
"CalculatedMetric resource",
9127+
"ReportingDataAnnotation resource"
88749128
],
88759129
"type": "string"
88769130
},
@@ -9071,6 +9325,28 @@
90719325
"id": "GoogleProtobufEmpty",
90729326
"properties": {},
90739327
"type": "object"
9328+
},
9329+
"GoogleTypeDate": {
9330+
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
9331+
"id": "GoogleTypeDate",
9332+
"properties": {
9333+
"day": {
9334+
"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
9335+
"format": "int32",
9336+
"type": "integer"
9337+
},
9338+
"month": {
9339+
"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
9340+
"format": "int32",
9341+
"type": "integer"
9342+
},
9343+
"year": {
9344+
"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
9345+
"format": "int32",
9346+
"type": "integer"
9347+
}
9348+
},
9349+
"type": "object"
90749350
}
90759351
},
90769352
"servicePath": "",

0 commit comments

Comments
 (0)