Skip to content

Commit 1746746

Browse files
yoshi-automationBenjamin E. Coe
authored andcommitted
feat(analyticsadmin): update the API
#### analyticsadmin:v1alpha The following keys were added: - resources.properties.resources.bigQueryLinks.methods.get.description - resources.properties.resources.bigQueryLinks.methods.get.flatPath - resources.properties.resources.bigQueryLinks.methods.get.httpMethod - resources.properties.resources.bigQueryLinks.methods.get.id - resources.properties.resources.bigQueryLinks.methods.get.parameterOrder - resources.properties.resources.bigQueryLinks.methods.get.parameters.name.description - resources.properties.resources.bigQueryLinks.methods.get.parameters.name.location - resources.properties.resources.bigQueryLinks.methods.get.parameters.name.pattern - resources.properties.resources.bigQueryLinks.methods.get.parameters.name.required - resources.properties.resources.bigQueryLinks.methods.get.parameters.name.type - resources.properties.resources.bigQueryLinks.methods.get.path - resources.properties.resources.bigQueryLinks.methods.get.response.$ref - resources.properties.resources.bigQueryLinks.methods.get.scopes - resources.properties.resources.bigQueryLinks.methods.list.description - resources.properties.resources.bigQueryLinks.methods.list.flatPath - resources.properties.resources.bigQueryLinks.methods.list.httpMethod - resources.properties.resources.bigQueryLinks.methods.list.id - resources.properties.resources.bigQueryLinks.methods.list.parameterOrder - resources.properties.resources.bigQueryLinks.methods.list.parameters.pageSize.description - resources.properties.resources.bigQueryLinks.methods.list.parameters.pageSize.format - resources.properties.resources.bigQueryLinks.methods.list.parameters.pageSize.location - resources.properties.resources.bigQueryLinks.methods.list.parameters.pageSize.type - resources.properties.resources.bigQueryLinks.methods.list.parameters.pageToken.description - resources.properties.resources.bigQueryLinks.methods.list.parameters.pageToken.location - resources.properties.resources.bigQueryLinks.methods.list.parameters.pageToken.type - resources.properties.resources.bigQueryLinks.methods.list.parameters.parent.description - resources.properties.resources.bigQueryLinks.methods.list.parameters.parent.location - resources.properties.resources.bigQueryLinks.methods.list.parameters.parent.pattern - resources.properties.resources.bigQueryLinks.methods.list.parameters.parent.required - resources.properties.resources.bigQueryLinks.methods.list.parameters.parent.type - resources.properties.resources.bigQueryLinks.methods.list.path - resources.properties.resources.bigQueryLinks.methods.list.response.$ref - resources.properties.resources.bigQueryLinks.methods.list.scopes - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.description - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.id - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.createTime.description - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.createTime.format - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.createTime.readOnly - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.createTime.type - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.dailyExportEnabled.description - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.dailyExportEnabled.type - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.excludedEvents.description - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.excludedEvents.items.type - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.excludedEvents.type - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.exportStreams.description - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.exportStreams.items.type - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.exportStreams.type - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.includeAdvertisingId.description - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.includeAdvertisingId.type - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.name.description - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.name.readOnly - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.name.type - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.project.description - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.project.type - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.streamingExportEnabled.description - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.properties.streamingExportEnabled.type - schemas.GoogleAnalyticsAdminV1alphaBigQueryLink.type - schemas.GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource.properties.bigqueryLink.$ref - schemas.GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource.properties.bigqueryLink.description - schemas.GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse.description - schemas.GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse.id - schemas.GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse.properties.bigqueryLinks.description - schemas.GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse.properties.bigqueryLinks.items.$ref - schemas.GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse.properties.bigqueryLinks.type - schemas.GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse.properties.nextPageToken.description - schemas.GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse.properties.nextPageToken.type - schemas.GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse.type The following keys were changed: - resources.properties.methods.delete.description - resources.properties.resources.firebaseLinks.methods.list.parameters.pageToken.description - schemas.GoogleAnalyticsAdminV1alphaAudience.properties.filterClauses.description - schemas.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest.properties.resourceType.items.enum - schemas.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest.properties.resourceType.items.enumDescriptions
1 parent 13e1418 commit 1746746

File tree

5 files changed

+11643
-12
lines changed

5 files changed

+11643
-12
lines changed

discovery/analyticsadmin-v1alpha.json

Lines changed: 143 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@
689689
]
690690
},
691691
"delete": {
692-
"description": "Marks target Property as soft-deleted (ie: \"trashed\") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found, or is not an GA4 Property.",
692+
"description": "Marks target Property as soft-deleted (ie: \"trashed\") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found, or is not a GA4 Property.",
693693
"flatPath": "v1alpha/properties/{propertiesId}",
694694
"httpMethod": "DELETE",
695695
"id": "analyticsadmin.properties.delete",
@@ -1179,6 +1179,73 @@
11791179
}
11801180
}
11811181
},
1182+
"bigQueryLinks": {
1183+
"methods": {
1184+
"get": {
1185+
"description": "Lookup for a single BigQuery Link.",
1186+
"flatPath": "v1alpha/properties/{propertiesId}/bigQueryLinks/{bigQueryLinksId}",
1187+
"httpMethod": "GET",
1188+
"id": "analyticsadmin.properties.bigQueryLinks.get",
1189+
"parameterOrder": [
1190+
"name"
1191+
],
1192+
"parameters": {
1193+
"name": {
1194+
"description": "Required. The name of the BigQuery link to lookup. Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: properties/123/bigQueryLinks/456",
1195+
"location": "path",
1196+
"pattern": "^properties/[^/]+/bigQueryLinks/[^/]+$",
1197+
"required": true,
1198+
"type": "string"
1199+
}
1200+
},
1201+
"path": "v1alpha/{+name}",
1202+
"response": {
1203+
"$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink"
1204+
},
1205+
"scopes": [
1206+
"https://www.googleapis.com/auth/analytics.edit",
1207+
"https://www.googleapis.com/auth/analytics.readonly"
1208+
]
1209+
},
1210+
"list": {
1211+
"description": "Lists BigQuery Links on a property.",
1212+
"flatPath": "v1alpha/properties/{propertiesId}/bigQueryLinks",
1213+
"httpMethod": "GET",
1214+
"id": "analyticsadmin.properties.bigQueryLinks.list",
1215+
"parameterOrder": [
1216+
"parent"
1217+
],
1218+
"parameters": {
1219+
"pageSize": {
1220+
"description": "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)",
1221+
"format": "int32",
1222+
"location": "query",
1223+
"type": "integer"
1224+
},
1225+
"pageToken": {
1226+
"description": "A page token, received from a previous `ListBigQueryLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBigQueryLinks` must match the call that provided the page token.",
1227+
"location": "query",
1228+
"type": "string"
1229+
},
1230+
"parent": {
1231+
"description": "Required. The name of the property to list BigQuery links under. Format: properties/{property_id} Example: properties/1234",
1232+
"location": "path",
1233+
"pattern": "^properties/[^/]+$",
1234+
"required": true,
1235+
"type": "string"
1236+
}
1237+
},
1238+
"path": "v1alpha/{+parent}/bigQueryLinks",
1239+
"response": {
1240+
"$ref": "GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse"
1241+
},
1242+
"scopes": [
1243+
"https://www.googleapis.com/auth/analytics.edit",
1244+
"https://www.googleapis.com/auth/analytics.readonly"
1245+
]
1246+
}
1247+
}
1248+
},
11821249
"conversionEvents": {
11831250
"methods": {
11841251
"create": {
@@ -2350,7 +2417,7 @@
23502417
"type": "integer"
23512418
},
23522419
"pageToken": {
2353-
"description": "A page token, received from a previous `ListFirebaseLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token.",
2420+
"description": "A page token, received from a previous `ListFirebaseLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFirebaseLinks` must match the call that provided the page token.",
23542421
"location": "query",
23552422
"type": "string"
23562423
},
@@ -2956,7 +3023,7 @@
29563023
}
29573024
}
29583025
},
2959-
"revision": "20221027",
3026+
"revision": "20221214",
29603027
"rootUrl": "https://analyticsadmin.googleapis.com/",
29613028
"schemas": {
29623029
"GoogleAnalyticsAdminV1alphaAccessBetweenFilter": {
@@ -3544,7 +3611,7 @@
35443611
"type": "string"
35453612
},
35463613
"filterClauses": {
3547-
"description": "Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed together.",
3614+
"description": "Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.",
35483615
"items": {
35493616
"$ref": "GoogleAnalyticsAdminV1alphaAudienceFilterClause"
35503617
},
@@ -4070,6 +4137,54 @@
40704137
},
40714138
"type": "object"
40724139
},
4140+
"GoogleAnalyticsAdminV1alphaBigQueryLink": {
4141+
"description": "A link between a GA4 Property and BigQuery project.",
4142+
"id": "GoogleAnalyticsAdminV1alphaBigQueryLink",
4143+
"properties": {
4144+
"createTime": {
4145+
"description": "Output only. Time when the link was created.",
4146+
"format": "google-datetime",
4147+
"readOnly": true,
4148+
"type": "string"
4149+
},
4150+
"dailyExportEnabled": {
4151+
"description": "If set true, enables daily data export to the linked Google Cloud project.",
4152+
"type": "boolean"
4153+
},
4154+
"excludedEvents": {
4155+
"description": "The list of event names that will be excluded from exports.",
4156+
"items": {
4157+
"type": "string"
4158+
},
4159+
"type": "array"
4160+
},
4161+
"exportStreams": {
4162+
"description": "The list of streams under the parent property for which data will be exported. Format: properties/{property_id}/dataStreams/{stream_id} Example: ['properties/1000/dataStreams/2000']",
4163+
"items": {
4164+
"type": "string"
4165+
},
4166+
"type": "array"
4167+
},
4168+
"includeAdvertisingId": {
4169+
"description": "If set true, exported data will include advertising identifiers for mobile app streams.",
4170+
"type": "boolean"
4171+
},
4172+
"name": {
4173+
"description": "Output only. Resource name of this BigQuery link. Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}' Format: 'properties/1234/bigQueryLinks/abc567'",
4174+
"readOnly": true,
4175+
"type": "string"
4176+
},
4177+
"project": {
4178+
"description": "Immutable. The linked Google Cloud project. When creating a BigQueryLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, the returned project will always have a project that contains a project number. Format: 'projects/{project number}' Example: 'projects/1234'",
4179+
"type": "string"
4180+
},
4181+
"streamingExportEnabled": {
4182+
"description": "If set true, enables streaming export to the linked Google Cloud project.",
4183+
"type": "boolean"
4184+
}
4185+
},
4186+
"type": "object"
4187+
},
40734188
"GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest": {
40744189
"description": "Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC.",
40754190
"id": "GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest",
@@ -4123,6 +4238,10 @@
41234238
"$ref": "GoogleAnalyticsAdminV1alphaAttributionSettings",
41244239
"description": "A snapshot of AttributionSettings resource in change history."
41254240
},
4241+
"bigqueryLink": {
4242+
"$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink",
4243+
"description": "A snapshot of a BigQuery link resource in change history."
4244+
},
41264245
"conversionEvent": {
41274246
"$ref": "GoogleAnalyticsAdminV1alphaConversionEvent",
41284247
"description": "A snapshot of a ConversionEvent resource in change history."
@@ -5036,6 +5155,24 @@
50365155
},
50375156
"type": "object"
50385157
},
5158+
"GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse": {
5159+
"description": "Response message for ListBigQueryLinks RPC",
5160+
"id": "GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse",
5161+
"properties": {
5162+
"bigqueryLinks": {
5163+
"description": "List of BigQueryLinks.",
5164+
"items": {
5165+
"$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink"
5166+
},
5167+
"type": "array"
5168+
},
5169+
"nextPageToken": {
5170+
"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.",
5171+
"type": "string"
5172+
}
5173+
},
5174+
"type": "object"
5175+
},
50395176
"GoogleAnalyticsAdminV1alphaListConversionEventsResponse": {
50405177
"description": "Response message for ListConversionEvents RPC.",
50415178
"id": "GoogleAnalyticsAdminV1alphaListConversionEventsResponse",
@@ -5709,7 +5846,7 @@
57095846
"DATA_STREAM",
57105847
"ATTRIBUTION_SETTINGS",
57115848
"EXPANDED_DATA_SET",
5712-
"CHANNEL_GROUPING"
5849+
"CHANNEL_GROUP"
57135850
],
57145851
"enumDescriptions": [
57155852
"Resource type unknown or not specified.",
@@ -5729,7 +5866,7 @@
57295866
"DataStream resource",
57305867
"AttributionSettings resource",
57315868
"ExpandedDataSet resource",
5732-
"ChannelGrouping resource"
5869+
"ChannelGroup resource"
57335870
],
57345871
"type": "string"
57355872
},

0 commit comments

Comments
 (0)