Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1574)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Jun 8, 2022
1 parent fc50588 commit 0d1c9e8
Show file tree
Hide file tree
Showing 59 changed files with 3,520 additions and 767 deletions.
138 changes: 135 additions & 3 deletions analyticsadmin/v1alpha/analyticsadmin-api.json
Expand Up @@ -739,6 +739,32 @@
"https://www.googleapis.com/auth/analytics.readonly"
]
},
"getAttributionSettings": {
"description": "Lookup for a AttributionSettings singleton.",
"flatPath": "v1alpha/properties/{propertiesId}/attributionSettings",
"httpMethod": "GET",
"id": "analyticsadmin.properties.getAttributionSettings",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the attribution settings to retrieve. Format: properties/{property}/attributionSettings",
"location": "path",
"pattern": "^properties/[^/]+/attributionSettings$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+name}",
"response": {
"$ref": "GoogleAnalyticsAdminV1alphaAttributionSettings"
},
"scopes": [
"https://www.googleapis.com/auth/analytics.edit",
"https://www.googleapis.com/auth/analytics.readonly"
]
},
"getDataRetentionSettings": {
"description": "Returns the singleton data retention settings for this property.",
"flatPath": "v1alpha/properties/{propertiesId}/dataRetentionSettings",
Expand Down Expand Up @@ -863,6 +889,40 @@
"https://www.googleapis.com/auth/analytics.edit"
]
},
"updateAttributionSettings": {
"description": "Updates attribution settings on a property.",
"flatPath": "v1alpha/properties/{propertiesId}/attributionSettings",
"httpMethod": "PATCH",
"id": "analyticsadmin.properties.updateAttributionSettings",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: \"properties/1000/attributionSettings\"",
"location": "path",
"pattern": "^properties/[^/]+/attributionSettings$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1alpha/{+name}",
"request": {
"$ref": "GoogleAnalyticsAdminV1alphaAttributionSettings"
},
"response": {
"$ref": "GoogleAnalyticsAdminV1alphaAttributionSettings"
},
"scopes": [
"https://www.googleapis.com/auth/analytics.edit"
]
},
"updateDataRetentionSettings": {
"description": "Updates the singleton data retention settings for this property.",
"flatPath": "v1alpha/properties/{propertiesId}/dataRetentionSettings",
Expand Down Expand Up @@ -2556,7 +2616,7 @@
}
}
},
"revision": "20220322",
"revision": "20220606",
"rootUrl": "https://analyticsadmin.googleapis.com/",
"schemas": {
"GoogleAnalyticsAdminV1alphaAccount": {
Expand Down Expand Up @@ -2668,6 +2728,72 @@
"properties": {},
"type": "object"
},
"GoogleAnalyticsAdminV1alphaAttributionSettings": {
"description": "The attribution settings used for a given property. This is a singleton resource.",
"id": "GoogleAnalyticsAdminV1alphaAttributionSettings",
"properties": {
"acquisitionConversionEventLookbackWindow": {
"description": "Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days.",
"enum": [
"ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED",
"ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS",
"ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS"
],
"enumDescriptions": [
"Lookback window size unspecified.",
"7-day lookback window.",
"30-day lookback window."
],
"type": "string"
},
"name": {
"description": "Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: \"properties/1000/attributionSettings\"",
"readOnly": true,
"type": "string"
},
"otherConversionEventLookbackWindow": {
"description": "Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days.",
"enum": [
"OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED",
"OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS",
"OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS",
"OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS"
],
"enumDescriptions": [
"Lookback window size unspecified.",
"30-day lookback window.",
"60-day lookback window.",
"90-day lookback window."
],
"type": "string"
},
"reportingAttributionModel": {
"description": "Required. The reporting attribution model used to calculate conversion credit in this property's reports. Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected.",
"enum": [
"REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED",
"CROSS_CHANNEL_DATA_DRIVEN",
"CROSS_CHANNEL_LAST_CLICK",
"CROSS_CHANNEL_FIRST_CLICK",
"CROSS_CHANNEL_LINEAR",
"CROSS_CHANNEL_POSITION_BASED",
"CROSS_CHANNEL_TIME_DECAY",
"ADS_PREFERRED_LAST_CLICK"
],
"enumDescriptions": [
"Reporting attribution model unspecified.",
"Data-driven attribution distributes credit for the conversion based on data for each conversion event. Each Data-driven model is specific to each advertiser and each conversion event.",
"Ignores direct traffic and attributes 100% of the conversion value to the last channel that the customer clicked through (or engaged view through for YouTube) before converting.",
"Gives all credit for the conversion to the first channel that a customer clicked (or engaged view through for YouTube) before converting.",
"Distributes the credit for the conversion equally across all the channels a customer clicked (or engaged view through for YouTube) before converting.",
"Attributes 40% credit to the first and last interaction, and the remaining 20% credit is distributed evenly to the middle interactions.",
"Gives more credit to the touchpoints that happened closer in time to the conversion.",
"Attributes 100% of the conversion value to the last Google Ads channel that the customer clicked through before converting."
],
"type": "string"
}
},
"type": "object"
},
"GoogleAnalyticsAdminV1alphaAuditUserLink": {
"description": "Read-only resource used to summarize a principal's effective roles.",
"id": "GoogleAnalyticsAdminV1alphaAuditUserLink",
Expand Down Expand Up @@ -2868,6 +2994,10 @@
"$ref": "GoogleAnalyticsAdminV1alphaAccount",
"description": "A snapshot of an Account resource in change history."
},
"attributionSettings": {
"$ref": "GoogleAnalyticsAdminV1alphaAttributionSettings",
"description": "A snapshot of AttributionSettings resource in change history."
},
"conversionEvent": {
"$ref": "GoogleAnalyticsAdminV1alphaConversionEvent",
"description": "A snapshot of a ConversionEvent resource in change history."
Expand Down Expand Up @@ -4111,7 +4241,8 @@
"DATA_RETENTION_SETTINGS",
"DISPLAY_VIDEO_360_ADVERTISER_LINK",
"DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL",
"DATA_STREAM"
"DATA_STREAM",
"ATTRIBUTION_SETTINGS"
],
"enumDescriptions": [
"Resource type unknown or not specified.",
Expand All @@ -4127,7 +4258,8 @@
"DataRetentionSettings resource",
"DisplayVideo360AdvertiserLink resource",
"DisplayVideo360AdvertiserLinkProposal resource",
"DataStream resource"
"DataStream resource",
"AttributionSettings resource"
],
"type": "string"
},
Expand Down

0 comments on commit 0d1c9e8

Please sign in to comment.