| { |
| "protocol": "rest", |
| "mtlsRootUrl": "https://analyticsadmin.mtls.googleapis.com/", |
| "basePath": "", |
| "description": "", |
| "id": "analyticsadmin:v1alpha", |
| "version": "v1alpha", |
| "fullyEncodeReservedExpansion": true, |
| "version_module": true, |
| "baseUrl": "https://analyticsadmin.googleapis.com/", |
| "servicePath": "", |
| "ownerName": "Google", |
| "icons": { |
| "x32": "http://www.google.com/images/icons/product/search-32.gif", |
| "x16": "http://www.google.com/images/icons/product/search-16.gif" |
| }, |
| "batchPath": "batch", |
| "name": "analyticsadmin", |
| "rootUrl": "https://analyticsadmin.googleapis.com/", |
| "kind": "discovery#restDescription", |
| "ownerDomain": "google.com", |
| "canonicalName": "Google Analytics Admin", |
| "title": "Google Analytics Admin API", |
| "resources": { |
| "accounts": { |
| "resources": { |
| "userLinks": { |
| "methods": { |
| "batchDelete": { |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users" |
| ], |
| "id": "analyticsadmin.accounts.userLinks.batchDelete", |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest" |
| }, |
| "httpMethod": "POST", |
| "path": "v1alpha/{+parent}/userLinks:batchDelete", |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "location": "path", |
| "description": "Required. The account or property that all user links in the request are for. The parent of all values for user link names to delete must match this field. Example format: accounts/1234", |
| "pattern": "^accounts/[^/]+$", |
| "required": true |
| } |
| }, |
| "flatPath": "v1alpha/accounts/{accountsId}/userLinks:batchDelete", |
| "description": "Deletes information about multiple users' links to an account or property.", |
| "parameterOrder": [ |
| "parent" |
| ] |
| }, |
| "batchGet": { |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "location": "path", |
| "description": "Required. The account or property that all user links in the request are for. The parent of all provided values for the 'names' field must match this field. Example format: accounts/1234", |
| "required": true, |
| "pattern": "^accounts/[^/]+$" |
| }, |
| "names": { |
| "location": "query", |
| "description": "Required. The names of the user links to retrieve. A maximum of 1000 user links can be retrieved in a batch. Format: accounts/{accountId}/userLinks/{userLinkId}", |
| "type": "string", |
| "repeated": true |
| } |
| }, |
| "flatPath": "v1alpha/accounts/{accountsId}/userLinks:batchGet", |
| "path": "v1alpha/{+parent}/userLinks:batchGet", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users.readonly" |
| ], |
| "id": "analyticsadmin.accounts.userLinks.batchGet", |
| "description": "Gets information about multiple users' links to an account or property.", |
| "httpMethod": "GET", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse" |
| } |
| }, |
| "list": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users.readonly" |
| ], |
| "path": "v1alpha/{+parent}/userLinks", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "flatPath": "v1alpha/accounts/{accountsId}/userLinks", |
| "id": "analyticsadmin.accounts.userLinks.list", |
| "httpMethod": "GET", |
| "parameters": { |
| "parent": { |
| "pattern": "^accounts/[^/]+$", |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "description": "Required. Example format: accounts/1234" |
| }, |
| "pageSize": { |
| "location": "query", |
| "format": "int32", |
| "description": "The maximum number of user links to return. The service may return fewer than this value. If unspecified, at most 200 user links will be returned. The maximum value is 500; values above 500 will be coerced to 500.", |
| "type": "integer" |
| }, |
| "pageToken": { |
| "location": "query", |
| "type": "string", |
| "description": "A page token, received from a previous `ListUserLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLinks` must match the call that provided the page token." |
| } |
| }, |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaListUserLinksResponse" |
| }, |
| "description": "Lists all user links on an account or property." |
| }, |
| "create": { |
| "id": "analyticsadmin.accounts.userLinks.create", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users" |
| ], |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| }, |
| "path": "v1alpha/{+parent}/userLinks", |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| }, |
| "httpMethod": "POST", |
| "flatPath": "v1alpha/accounts/{accountsId}/userLinks", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "parameters": { |
| "parent": { |
| "description": "Required. Example format: accounts/1234", |
| "pattern": "^accounts/[^/]+$", |
| "location": "path", |
| "type": "string", |
| "required": true |
| }, |
| "notifyNewUser": { |
| "type": "boolean", |
| "location": "query", |
| "description": "Optional. If set, then email the new user notifying them that they've been granted permissions to the resource." |
| } |
| }, |
| "description": "Creates a user link on an account or property. If the user with the specified email already has permissions on the account or property, then the user's existing permissions will be unioned with the permissions specified in the new UserLink." |
| }, |
| "audit": { |
| "path": "v1alpha/{+parent}/userLinks:audit", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "flatPath": "v1alpha/accounts/{accountsId}/userLinks:audit", |
| "httpMethod": "POST", |
| "description": "Lists all user links on an account or property, including implicit ones that come from effective permissions granted by groups or organization admin roles. If a returned user link does not have direct permissions, they cannot be removed from the account or property directly with the DeleteUserLink command. They have to be removed from the group/etc that gives them permissions, which is currently only usable/discoverable in the GA or GMP UIs.", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAuditUserLinksResponse" |
| }, |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAuditUserLinksRequest" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users.readonly" |
| ], |
| "parameters": { |
| "parent": { |
| "pattern": "^accounts/[^/]+$", |
| "type": "string", |
| "description": "Required. Example format: accounts/1234", |
| "required": true, |
| "location": "path" |
| } |
| }, |
| "id": "analyticsadmin.accounts.userLinks.audit" |
| }, |
| "patch": { |
| "parameters": { |
| "name": { |
| "description": "Example format: properties/1234/userLinks/5678", |
| "required": true, |
| "pattern": "^accounts/[^/]+/userLinks/[^/]+$", |
| "location": "path", |
| "type": "string" |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v1alpha/{+name}", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| }, |
| "id": "analyticsadmin.accounts.userLinks.patch", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users" |
| ], |
| "httpMethod": "PATCH", |
| "description": "Updates a user link on an account or property.", |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| }, |
| "flatPath": "v1alpha/accounts/{accountsId}/userLinks/{userLinksId}" |
| }, |
| "batchCreate": { |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest" |
| }, |
| "description": "Creates information about multiple users' links to an account or property. This method is transactional. If any UserLink cannot be created, none of the UserLinks will be created.", |
| "httpMethod": "POST", |
| "flatPath": "v1alpha/accounts/{accountsId}/userLinks:batchCreate", |
| "path": "v1alpha/{+parent}/userLinks:batchCreate", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse" |
| }, |
| "id": "analyticsadmin.accounts.userLinks.batchCreate", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "parameters": { |
| "parent": { |
| "description": "Required. The account or property that all user links in the request are for. This field is required. The parent field in the CreateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234", |
| "type": "string", |
| "pattern": "^accounts/[^/]+$", |
| "required": true, |
| "location": "path" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users" |
| ] |
| }, |
| "batchUpdate": { |
| "path": "v1alpha/{+parent}/userLinks:batchUpdate", |
| "description": "Updates information about multiple users' links to an account or property.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users" |
| ], |
| "parameterOrder": [ |
| "parent" |
| ], |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse" |
| }, |
| "id": "analyticsadmin.accounts.userLinks.batchUpdate", |
| "flatPath": "v1alpha/accounts/{accountsId}/userLinks:batchUpdate", |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest" |
| }, |
| "parameters": { |
| "parent": { |
| "location": "path", |
| "required": true, |
| "description": "Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234", |
| "type": "string", |
| "pattern": "^accounts/[^/]+$" |
| } |
| }, |
| "httpMethod": "POST" |
| }, |
| "delete": { |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "flatPath": "v1alpha/accounts/{accountsId}/userLinks/{userLinksId}", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "pattern": "^accounts/[^/]+/userLinks/[^/]+$", |
| "location": "path", |
| "required": true, |
| "description": "Required. Example format: accounts/1234/userLinks/5678" |
| } |
| }, |
| "path": "v1alpha/{+name}", |
| "id": "analyticsadmin.accounts.userLinks.delete", |
| "description": "Deletes a user link on an account or property.", |
| "httpMethod": "DELETE", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users" |
| ] |
| }, |
| "get": { |
| "id": "analyticsadmin.accounts.userLinks.get", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| }, |
| "flatPath": "v1alpha/accounts/{accountsId}/userLinks/{userLinksId}", |
| "description": "Gets information about a user's link to an account or property.", |
| "parameters": { |
| "name": { |
| "required": true, |
| "pattern": "^accounts/[^/]+/userLinks/[^/]+$", |
| "type": "string", |
| "location": "path", |
| "description": "Required. Example format: accounts/1234/userLinks/5678" |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v1alpha/{+name}", |
| "httpMethod": "GET", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users.readonly" |
| ] |
| } |
| } |
| } |
| }, |
| "methods": { |
| "getDataSharingSettings": { |
| "path": "v1alpha/{+name}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "flatPath": "v1alpha/accounts/{accountsId}/dataSharingSettings", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaDataSharingSettings" |
| }, |
| "id": "analyticsadmin.accounts.getDataSharingSettings", |
| "parameters": { |
| "name": { |
| "required": true, |
| "description": "Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: \"accounts/1000/dataSharingSettings\"", |
| "type": "string", |
| "location": "path", |
| "pattern": "^accounts/[^/]+/dataSharingSettings$" |
| } |
| }, |
| "httpMethod": "GET", |
| "description": "Get data sharing settings on an account. Data sharing settings are singletons.", |
| "parameterOrder": [ |
| "name" |
| ] |
| }, |
| "patch": { |
| "parameterOrder": [ |
| "name" |
| ], |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAccount" |
| }, |
| "httpMethod": "PATCH", |
| "flatPath": "v1alpha/accounts/{accountsId}", |
| "description": "Updates an account.", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "description": "Output only. Resource name of this account. Format: accounts/{account} Example: \"accounts/100\"", |
| "required": true, |
| "location": "path", |
| "pattern": "^accounts/[^/]+$" |
| }, |
| "updateMask": { |
| "format": "google-fieldmask", |
| "description": "The list of fields to be updated. Omitted fields will not be updated.", |
| "location": "query", |
| "type": "string" |
| } |
| }, |
| "path": "v1alpha/{+name}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "id": "analyticsadmin.accounts.patch", |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAccount" |
| } |
| }, |
| "delete": { |
| "flatPath": "v1alpha/accounts/{accountsId}", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "httpMethod": "DELETE", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "id": "analyticsadmin.accounts.delete", |
| "description": "Marks target Account as soft-deleted (ie: \"trashed\") and returns it. This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI. If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found.", |
| "path": "v1alpha/{+name}", |
| "parameters": { |
| "name": { |
| "location": "path", |
| "type": "string", |
| "pattern": "^accounts/[^/]+$", |
| "required": true, |
| "description": "Required. The name of the Account to soft-delete. Format: accounts/{account} Example: \"accounts/100\"" |
| } |
| } |
| }, |
| "list": { |
| "description": "Returns all accounts accessible by the caller. Note that these accounts might not currently have GA4 properties. Soft-deleted (ie: \"trashed\") accounts are excluded by default. Returns an empty list if no relevant accounts are found.", |
| "parameterOrder": [], |
| "id": "analyticsadmin.accounts.list", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaListAccountsResponse" |
| }, |
| "flatPath": "v1alpha/accounts", |
| "httpMethod": "GET", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "parameters": { |
| "showDeleted": { |
| "description": "Whether to include soft-deleted (ie: \"trashed\") Accounts in the results. Accounts can be inspected to determine whether they are deleted or not.", |
| "type": "boolean", |
| "location": "query" |
| }, |
| "pageSize": { |
| "type": "integer", |
| "format": "int32", |
| "location": "query", |
| "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)" |
| }, |
| "pageToken": { |
| "description": "A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token.", |
| "location": "query", |
| "type": "string" |
| } |
| }, |
| "path": "v1alpha/accounts" |
| }, |
| "provisionAccountTicket": { |
| "description": "Requests a ticket for creating an account.", |
| "parameters": {}, |
| "httpMethod": "POST", |
| "flatPath": "v1alpha/accounts:provisionAccountTicket", |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "path": "v1alpha/accounts:provisionAccountTicket", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse" |
| }, |
| "parameterOrder": [], |
| "id": "analyticsadmin.accounts.provisionAccountTicket" |
| }, |
| "get": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "id": "analyticsadmin.accounts.get", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAccount" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "httpMethod": "GET", |
| "description": "Lookup for a single Account. Throws \"Target not found\" if no such account found, or if caller does not have permissions to access it.", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "location": "path", |
| "required": true, |
| "description": "Required. The name of the account to lookup. Format: accounts/{account} Example: \"accounts/100\"", |
| "pattern": "^accounts/[^/]+$" |
| } |
| }, |
| "flatPath": "v1alpha/accounts/{accountsId}", |
| "path": "v1alpha/{+name}" |
| } |
| } |
| }, |
| "accountSummaries": { |
| "methods": { |
| "list": { |
| "parameters": { |
| "pageToken": { |
| "type": "string", |
| "description": "A page token, received from a previous `ListAccountSummaries` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountSummaries` must match the call that provided the page token.", |
| "location": "query" |
| }, |
| "pageSize": { |
| "location": "query", |
| "description": "The maximum number of AccountSummary 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)", |
| "format": "int32", |
| "type": "integer" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "path": "v1alpha/accountSummaries", |
| "parameterOrder": [], |
| "description": "Returns summaries of all accounts accessible by the caller.", |
| "id": "analyticsadmin.accountSummaries.list", |
| "httpMethod": "GET", |
| "flatPath": "v1alpha/accountSummaries", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaListAccountSummariesResponse" |
| } |
| } |
| } |
| }, |
| "properties": { |
| "resources": { |
| "webDataStreams": { |
| "methods": { |
| "get": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaWebDataStream" |
| }, |
| "httpMethod": "GET", |
| "description": "Lookup for a single WebDataStream Throws \"Target not found\" if no such web data stream found, or if the caller does not have permissions to access it.", |
| "path": "v1alpha/{+name}", |
| "parameters": { |
| "name": { |
| "location": "path", |
| "description": "Required. The name of the web data stream to lookup. Format: properties/{property_id}/webDataStreams/{stream_id} Example: \"properties/123/webDataStreams/456\"", |
| "type": "string", |
| "pattern": "^properties/[^/]+/webDataStreams/[^/]+$", |
| "required": true |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v1alpha/properties/{propertiesId}/webDataStreams/{webDataStreamsId}", |
| "id": "analyticsadmin.properties.webDataStreams.get" |
| }, |
| "updateEnhancedMeasurementSettings": { |
| "httpMethod": "PATCH", |
| "flatPath": "v1alpha/properties/{propertiesId}/webDataStreams/{webDataStreamsId}/enhancedMeasurementSettings", |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings" |
| }, |
| "description": "Updates the singleton enhanced measurement settings for this web stream. Note that the stream must enable enhanced measurement for these settings to take effect.", |
| "id": "analyticsadmin.properties.webDataStreams.updateEnhancedMeasurementSettings", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "required": true, |
| "description": "Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings Example: \"properties/1000/webDataStreams/2000/enhancedMeasurementSettings\"", |
| "location": "path", |
| "pattern": "^properties/[^/]+/webDataStreams/[^/]+/enhancedMeasurementSettings$" |
| }, |
| "updateMask": { |
| "format": "google-fieldmask", |
| "type": "string", |
| "description": "The list of fields to be updated. Omitted fields will not be updated.", |
| "location": "query" |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings" |
| }, |
| "path": "v1alpha/{+name}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ] |
| }, |
| "getEnhancedMeasurementSettings": { |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "flatPath": "v1alpha/properties/{propertiesId}/webDataStreams/{webDataStreamsId}/enhancedMeasurementSettings", |
| "path": "v1alpha/{+name}", |
| "id": "analyticsadmin.properties.webDataStreams.getEnhancedMeasurementSettings", |
| "parameterOrder": [ |
| "name" |
| ], |
| "httpMethod": "GET", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "description": "Required. The name of the settings to lookup. Format: properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings Example: \"properties/1000/webDataStreams/2000/enhancedMeasurementSettings\"", |
| "location": "path", |
| "required": true, |
| "pattern": "^properties/[^/]+/webDataStreams/[^/]+/enhancedMeasurementSettings$" |
| } |
| }, |
| "description": "Returns the singleton enhanced measurement settings for this web stream. Note that the stream must enable enhanced measurement for these settings to take effect." |
| }, |
| "getGlobalSiteTag": { |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaGlobalSiteTag" |
| }, |
| "description": "Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.", |
| "id": "analyticsadmin.properties.webDataStreams.getGlobalSiteTag", |
| "parameters": { |
| "name": { |
| "required": true, |
| "description": "Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/webDataStreams/{stream_id}/globalSiteTag Example: \"properties/123/webDataStreams/456/globalSiteTag\"", |
| "location": "path", |
| "type": "string", |
| "pattern": "^properties/[^/]+/webDataStreams/[^/]+/globalSiteTag$" |
| } |
| }, |
| "flatPath": "v1alpha/properties/{propertiesId}/webDataStreams/{webDataStreamsId}/globalSiteTag", |
| "httpMethod": "GET", |
| "path": "v1alpha/{+name}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ] |
| }, |
| "patch": { |
| "parameters": { |
| "name": { |
| "pattern": "^properties/[^/]+/webDataStreams/[^/]+$", |
| "location": "path", |
| "type": "string", |
| "required": true, |
| "description": "Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id} Example: \"properties/1000/webDataStreams/2000\"" |
| }, |
| "updateMask": { |
| "description": "The list of fields to be updated. Omitted fields will not be updated.", |
| "location": "query", |
| "format": "google-fieldmask", |
| "type": "string" |
| } |
| }, |
| "httpMethod": "PATCH", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v1alpha/properties/{propertiesId}/webDataStreams/{webDataStreamsId}", |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaWebDataStream" |
| }, |
| "id": "analyticsadmin.properties.webDataStreams.patch", |
| "description": "Updates a web stream on a property.", |
| "path": "v1alpha/{+name}", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaWebDataStream" |
| } |
| }, |
| "delete": { |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v1alpha/{+name}", |
| "description": "Deletes a web stream on a property.", |
| "flatPath": "v1alpha/properties/{propertiesId}/webDataStreams/{webDataStreamsId}", |
| "httpMethod": "DELETE", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "parameters": { |
| "name": { |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "pattern": "^properties/[^/]+/webDataStreams/[^/]+$", |
| "description": "Required. The name of the web data stream to delete. Format: properties/{property_id}/webDataStreams/{stream_id} Example: \"properties/123/webDataStreams/456\"" |
| } |
| }, |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "id": "analyticsadmin.properties.webDataStreams.delete" |
| }, |
| "create": { |
| "description": "Creates a web stream with the specified location and attributes.", |
| "path": "v1alpha/{+parent}/webDataStreams", |
| "parameters": { |
| "parent": { |
| "description": "Required. The parent resource where this web data stream will be created. Format: properties/123", |
| "required": true, |
| "type": "string", |
| "location": "path", |
| "pattern": "^properties/[^/]+$" |
| } |
| }, |
| "id": "analyticsadmin.properties.webDataStreams.create", |
| "flatPath": "v1alpha/properties/{propertiesId}/webDataStreams", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaWebDataStream" |
| }, |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaWebDataStream" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "httpMethod": "POST" |
| }, |
| "list": { |
| "httpMethod": "GET", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "parameters": { |
| "parent": { |
| "required": true, |
| "location": "path", |
| "pattern": "^properties/[^/]+$", |
| "type": "string", |
| "description": "Required. The name of the parent property. For example, to list results of web streams under the property with Id 123: \"properties/123\"" |
| }, |
| "pageToken": { |
| "type": "string", |
| "location": "query", |
| "description": "A page token, received from a previous `ListWebDataStreams` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWebDataStreams` must match the call that provided the page token." |
| }, |
| "pageSize": { |
| "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)", |
| "type": "integer", |
| "format": "int32", |
| "location": "query" |
| } |
| }, |
| "path": "v1alpha/{+parent}/webDataStreams", |
| "description": "Returns child web data streams under the specified parent property. Web data streams will be excluded if the caller does not have access. Returns an empty list if no relevant web data streams are found.", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse" |
| }, |
| "id": "analyticsadmin.properties.webDataStreams.list", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "flatPath": "v1alpha/properties/{propertiesId}/webDataStreams" |
| } |
| } |
| }, |
| "iosAppDataStreams": { |
| "methods": { |
| "patch": { |
| "httpMethod": "PATCH", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaIosAppDataStream" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "description": "Updates an iOS app stream on a property.", |
| "flatPath": "v1alpha/properties/{propertiesId}/iosAppDataStreams/{iosAppDataStreamsId}", |
| "path": "v1alpha/{+name}", |
| "id": "analyticsadmin.properties.iosAppDataStreams.patch", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaIosAppDataStream" |
| }, |
| "parameters": { |
| "name": { |
| "type": "string", |
| "location": "path", |
| "description": "Output only. Resource name of this Data Stream. Format: properties/{property_id}/iosAppDataStreams/{stream_id} Example: \"properties/1000/iosAppDataStreams/2000\"", |
| "required": true, |
| "pattern": "^properties/[^/]+/iosAppDataStreams/[^/]+$" |
| }, |
| "updateMask": { |
| "description": "The list of fields to be updated. Omitted fields will not be updated.", |
| "format": "google-fieldmask", |
| "type": "string", |
| "location": "query" |
| } |
| } |
| }, |
| "create": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "id": "analyticsadmin.properties.iosAppDataStreams.create", |
| "parameters": { |
| "parent": { |
| "required": true, |
| "pattern": "^properties/[^/]+$", |
| "type": "string", |
| "description": "Required. The parent resource where this ios app data stream will be created. Format: properties/123", |
| "location": "path" |
| } |
| }, |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaIosAppDataStream" |
| }, |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaIosAppDataStream" |
| }, |
| "description": "Creates an iOS app data stream with the specified location and attributes.", |
| "httpMethod": "POST", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "path": "v1alpha/{+parent}/iosAppDataStreams", |
| "flatPath": "v1alpha/properties/{propertiesId}/iosAppDataStreams" |
| }, |
| "get": { |
| "parameterOrder": [ |
| "name" |
| ], |
| "description": "Lookup for a single IosAppDataStream Throws \"Target not found\" if no such iOS app data stream found, or if the caller does not have permissions to access it.", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaIosAppDataStream" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "parameters": { |
| "name": { |
| "description": "Required. The name of the iOS app data stream to lookup. Format: properties/{property_id}/iosAppDataStreams/{stream_id} Example: \"properties/123/iosAppDataStreams/456\"", |
| "type": "string", |
| "required": true, |
| "location": "path", |
| "pattern": "^properties/[^/]+/iosAppDataStreams/[^/]+$" |
| } |
| }, |
| "path": "v1alpha/{+name}", |
| "flatPath": "v1alpha/properties/{propertiesId}/iosAppDataStreams/{iosAppDataStreamsId}", |
| "httpMethod": "GET", |
| "id": "analyticsadmin.properties.iosAppDataStreams.get" |
| }, |
| "delete": { |
| "path": "v1alpha/{+name}", |
| "id": "analyticsadmin.properties.iosAppDataStreams.delete", |
| "parameterOrder": [ |
| "name" |
| ], |
| "httpMethod": "DELETE", |
| "flatPath": "v1alpha/properties/{propertiesId}/iosAppDataStreams/{iosAppDataStreamsId}", |
| "description": "Deletes an iOS app stream on a property.", |
| "parameters": { |
| "name": { |
| "required": true, |
| "location": "path", |
| "description": "Required. The name of the iOS app data stream to delete. Format: properties/{property_id}/iosAppDataStreams/{stream_id} Example: \"properties/123/iosAppDataStreams/456\"", |
| "type": "string", |
| "pattern": "^properties/[^/]+/iosAppDataStreams/[^/]+$" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| } |
| }, |
| "list": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "parameters": { |
| "pageSize": { |
| "type": "integer", |
| "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)", |
| "location": "query", |
| "format": "int32" |
| }, |
| "pageToken": { |
| "location": "query", |
| "description": "A page token, received from a previous `ListIosAppDataStreams` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIosAppDataStreams` must match the call that provided the page token.", |
| "type": "string" |
| }, |
| "parent": { |
| "location": "path", |
| "pattern": "^properties/[^/]+$", |
| "description": "Required. The name of the parent property. For example, to list results of app streams under the property with Id 123: \"properties/123\"", |
| "type": "string", |
| "required": true |
| } |
| }, |
| "id": "analyticsadmin.properties.iosAppDataStreams.list", |
| "flatPath": "v1alpha/properties/{propertiesId}/iosAppDataStreams", |
| "httpMethod": "GET", |
| "description": "Returns child iOS app data streams under the specified parent property. iOS app data streams will be excluded if the caller does not have access. Returns an empty list if no relevant iOS app data streams are found.", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse" |
| }, |
| "path": "v1alpha/{+parent}/iosAppDataStreams", |
| "parameterOrder": [ |
| "parent" |
| ] |
| } |
| } |
| }, |
| "userLinks": { |
| "methods": { |
| "patch": { |
| "id": "analyticsadmin.properties.userLinks.patch", |
| "description": "Updates a user link on an account or property.", |
| "flatPath": "v1alpha/properties/{propertiesId}/userLinks/{userLinksId}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v1alpha/{+name}", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| }, |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users" |
| ], |
| "parameters": { |
| "name": { |
| "pattern": "^properties/[^/]+/userLinks/[^/]+$", |
| "location": "path", |
| "type": "string", |
| "description": "Example format: properties/1234/userLinks/5678", |
| "required": true |
| } |
| }, |
| "httpMethod": "PATCH" |
| }, |
| "audit": { |
| "parameterOrder": [ |
| "parent" |
| ], |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAuditUserLinksRequest" |
| }, |
| "description": "Lists all user links on an account or property, including implicit ones that come from effective permissions granted by groups or organization admin roles. If a returned user link does not have direct permissions, they cannot be removed from the account or property directly with the DeleteUserLink command. They have to be removed from the group/etc that gives them permissions, which is currently only usable/discoverable in the GA or GMP UIs.", |
| "flatPath": "v1alpha/properties/{propertiesId}/userLinks:audit", |
| "httpMethod": "POST", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAuditUserLinksResponse" |
| }, |
| "parameters": { |
| "parent": { |
| "location": "path", |
| "description": "Required. Example format: accounts/1234", |
| "required": true, |
| "pattern": "^properties/[^/]+$", |
| "type": "string" |
| } |
| }, |
| "id": "analyticsadmin.properties.userLinks.audit", |
| "path": "v1alpha/{+parent}/userLinks:audit", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users.readonly" |
| ] |
| }, |
| "create": { |
| "id": "analyticsadmin.properties.userLinks.create", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "parameters": { |
| "parent": { |
| "pattern": "^properties/[^/]+$", |
| "description": "Required. Example format: accounts/1234", |
| "location": "path", |
| "type": "string", |
| "required": true |
| }, |
| "notifyNewUser": { |
| "description": "Optional. If set, then email the new user notifying them that they've been granted permissions to the resource.", |
| "location": "query", |
| "type": "boolean" |
| } |
| }, |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users" |
| ], |
| "path": "v1alpha/{+parent}/userLinks", |
| "description": "Creates a user link on an account or property. If the user with the specified email already has permissions on the account or property, then the user's existing permissions will be unioned with the permissions specified in the new UserLink.", |
| "httpMethod": "POST", |
| "flatPath": "v1alpha/properties/{propertiesId}/userLinks", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| } |
| }, |
| "delete": { |
| "id": "analyticsadmin.properties.userLinks.delete", |
| "flatPath": "v1alpha/properties/{propertiesId}/userLinks/{userLinksId}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users" |
| ], |
| "httpMethod": "DELETE", |
| "description": "Deletes a user link on an account or property.", |
| "path": "v1alpha/{+name}", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "description": "Required. Example format: accounts/1234/userLinks/5678", |
| "location": "path", |
| "required": true, |
| "pattern": "^properties/[^/]+/userLinks/[^/]+$" |
| } |
| }, |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| } |
| }, |
| "batchCreate": { |
| "id": "analyticsadmin.properties.userLinks.batchCreate", |
| "flatPath": "v1alpha/properties/{propertiesId}/userLinks:batchCreate", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "parameters": { |
| "parent": { |
| "required": true, |
| "type": "string", |
| "pattern": "^properties/[^/]+$", |
| "description": "Required. The account or property that all user links in the request are for. This field is required. The parent field in the CreateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234", |
| "location": "path" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users" |
| ], |
| "httpMethod": "POST", |
| "path": "v1alpha/{+parent}/userLinks:batchCreate", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse" |
| }, |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest" |
| }, |
| "description": "Creates information about multiple users' links to an account or property. This method is transactional. If any UserLink cannot be created, none of the UserLinks will be created." |
| }, |
| "batchUpdate": { |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest" |
| }, |
| "description": "Updates information about multiple users' links to an account or property.", |
| "path": "v1alpha/{+parent}/userLinks:batchUpdate", |
| "httpMethod": "POST", |
| "parameters": { |
| "parent": { |
| "required": true, |
| "description": "Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234", |
| "location": "path", |
| "pattern": "^properties/[^/]+$", |
| "type": "string" |
| } |
| }, |
| "flatPath": "v1alpha/properties/{propertiesId}/userLinks:batchUpdate", |
| "id": "analyticsadmin.properties.userLinks.batchUpdate", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users" |
| ], |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse" |
| }, |
| "parameterOrder": [ |
| "parent" |
| ] |
| }, |
| "get": { |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v1alpha/properties/{propertiesId}/userLinks/{userLinksId}", |
| "id": "analyticsadmin.properties.userLinks.get", |
| "description": "Gets information about a user's link to an account or property.", |
| "path": "v1alpha/{+name}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users.readonly" |
| ], |
| "httpMethod": "GET", |
| "parameters": { |
| "name": { |
| "location": "path", |
| "required": true, |
| "description": "Required. Example format: accounts/1234/userLinks/5678", |
| "pattern": "^properties/[^/]+/userLinks/[^/]+$", |
| "type": "string" |
| } |
| }, |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| } |
| }, |
| "batchDelete": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users" |
| ], |
| "id": "analyticsadmin.properties.userLinks.batchDelete", |
| "path": "v1alpha/{+parent}/userLinks:batchDelete", |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest" |
| }, |
| "description": "Deletes information about multiple users' links to an account or property.", |
| "parameters": { |
| "parent": { |
| "pattern": "^properties/[^/]+$", |
| "description": "Required. The account or property that all user links in the request are for. The parent of all values for user link names to delete must match this field. Example format: accounts/1234", |
| "type": "string", |
| "location": "path", |
| "required": true |
| } |
| }, |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "flatPath": "v1alpha/properties/{propertiesId}/userLinks:batchDelete", |
| "httpMethod": "POST" |
| }, |
| "batchGet": { |
| "id": "analyticsadmin.properties.userLinks.batchGet", |
| "httpMethod": "GET", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users.readonly" |
| ], |
| "path": "v1alpha/{+parent}/userLinks:batchGet", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse" |
| }, |
| "flatPath": "v1alpha/properties/{propertiesId}/userLinks:batchGet", |
| "parameters": { |
| "parent": { |
| "pattern": "^properties/[^/]+$", |
| "type": "string", |
| "required": true, |
| "description": "Required. The account or property that all user links in the request are for. The parent of all provided values for the 'names' field must match this field. Example format: accounts/1234", |
| "location": "path" |
| }, |
| "names": { |
| "location": "query", |
| "type": "string", |
| "repeated": true, |
| "description": "Required. The names of the user links to retrieve. A maximum of 1000 user links can be retrieved in a batch. Format: accounts/{accountId}/userLinks/{userLinkId}" |
| } |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "description": "Gets information about multiple users' links to an account or property." |
| }, |
| "list": { |
| "httpMethod": "GET", |
| "flatPath": "v1alpha/properties/{propertiesId}/userLinks", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.manage.users.readonly" |
| ], |
| "description": "Lists all user links on an account or property.", |
| "path": "v1alpha/{+parent}/userLinks", |
| "parameters": { |
| "pageToken": { |
| "location": "query", |
| "description": "A page token, received from a previous `ListUserLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLinks` must match the call that provided the page token.", |
| "type": "string" |
| }, |
| "parent": { |
| "required": true, |
| "pattern": "^properties/[^/]+$", |
| "location": "path", |
| "type": "string", |
| "description": "Required. Example format: accounts/1234" |
| }, |
| "pageSize": { |
| "format": "int32", |
| "location": "query", |
| "description": "The maximum number of user links to return. The service may return fewer than this value. If unspecified, at most 200 user links will be returned. The maximum value is 500; values above 500 will be coerced to 500.", |
| "type": "integer" |
| } |
| }, |
| "id": "analyticsadmin.properties.userLinks.list", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaListUserLinksResponse" |
| }, |
| "parameterOrder": [ |
| "parent" |
| ] |
| } |
| } |
| }, |
| "googleAdsLinks": { |
| "methods": { |
| "list": { |
| "flatPath": "v1alpha/properties/{propertiesId}/googleAdsLinks", |
| "path": "v1alpha/{+parent}/googleAdsLinks", |
| "httpMethod": "GET", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "parameters": { |
| "pageToken": { |
| "description": "A page token, received from a previous `ListGoogleAdsLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGoogleAdsLinks` must match the call that provided the page token.", |
| "location": "query", |
| "type": "string" |
| }, |
| "pageSize": { |
| "location": "query", |
| "format": "int32", |
| "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", |
| "type": "integer" |
| }, |
| "parent": { |
| "pattern": "^properties/[^/]+$", |
| "location": "path", |
| "type": "string", |
| "description": "Required. Example format: properties/1234", |
| "required": true |
| } |
| }, |
| "id": "analyticsadmin.properties.googleAdsLinks.list", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "description": "Lists GoogleAdsLinks on a property." |
| }, |
| "create": { |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaGoogleAdsLink" |
| }, |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "required": true, |
| "description": "Required. Example format: properties/1234", |
| "pattern": "^properties/[^/]+$", |
| "location": "path" |
| } |
| }, |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaGoogleAdsLink" |
| }, |
| "id": "analyticsadmin.properties.googleAdsLinks.create", |
| "path": "v1alpha/{+parent}/googleAdsLinks", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "description": "Creates a GoogleAdsLink.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "httpMethod": "POST", |
| "flatPath": "v1alpha/properties/{propertiesId}/googleAdsLinks" |
| }, |
| "patch": { |
| "path": "v1alpha/{+name}", |
| "description": "Updates a GoogleAdsLink on a property", |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaGoogleAdsLink" |
| }, |
| "parameters": { |
| "updateMask": { |
| "description": "The list of fields to be updated. Omitted fields will not be updated.", |
| "format": "google-fieldmask", |
| "location": "query", |
| "type": "string" |
| }, |
| "name": { |
| "location": "path", |
| "pattern": "^properties/[^/]+/googleAdsLinks/[^/]+$", |
| "type": "string", |
| "required": true, |
| "description": "Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID." |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "analyticsadmin.properties.googleAdsLinks.patch", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaGoogleAdsLink" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "flatPath": "v1alpha/properties/{propertiesId}/googleAdsLinks/{googleAdsLinksId}", |
| "httpMethod": "PATCH" |
| }, |
| "delete": { |
| "description": "Deletes a GoogleAdsLink on a property", |
| "id": "analyticsadmin.properties.googleAdsLinks.delete", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "flatPath": "v1alpha/properties/{propertiesId}/googleAdsLinks/{googleAdsLinksId}", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "path": "v1alpha/{+name}", |
| "httpMethod": "DELETE", |
| "parameters": { |
| "name": { |
| "required": true, |
| "description": "Required. Example format: properties/1234/googleAdsLinks/5678", |
| "type": "string", |
| "pattern": "^properties/[^/]+/googleAdsLinks/[^/]+$", |
| "location": "path" |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ] |
| } |
| } |
| }, |
| "firebaseLinks": { |
| "methods": { |
| "list": { |
| "description": "Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.", |
| "parameters": { |
| "parent": { |
| "required": true, |
| "location": "path", |
| "type": "string", |
| "description": "Required. Format: properties/{property_id} Example: properties/1234", |
| "pattern": "^properties/[^/]+$" |
| } |
| }, |
| "httpMethod": "GET", |
| "flatPath": "v1alpha/properties/{propertiesId}/firebaseLinks", |
| "id": "analyticsadmin.properties.firebaseLinks.list", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "path": "v1alpha/{+parent}/firebaseLinks", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse" |
| } |
| }, |
| "patch": { |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaFirebaseLink" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "flatPath": "v1alpha/properties/{propertiesId}/firebaseLinks/{firebaseLinksId}", |
| "path": "v1alpha/{+name}", |
| "httpMethod": "PATCH", |
| "parameters": { |
| "updateMask": { |
| "location": "query", |
| "type": "string", |
| "format": "google-fieldmask", |
| "description": "The list of fields to be updated. Omitted fields will not be updated." |
| }, |
| "name": { |
| "location": "path", |
| "type": "string", |
| "pattern": "^properties/[^/]+/firebaseLinks/[^/]+$", |
| "description": "Output only. Example format: properties/1234/firebaseLinks/5678", |
| "required": true |
| } |
| }, |
| "description": "Updates a FirebaseLink on a property", |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaFirebaseLink" |
| }, |
| "id": "analyticsadmin.properties.firebaseLinks.patch", |
| "parameterOrder": [ |
| "name" |
| ] |
| }, |
| "create": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "httpMethod": "POST", |
| "id": "analyticsadmin.properties.firebaseLinks.create", |
| "path": "v1alpha/{+parent}/firebaseLinks", |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaFirebaseLink" |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "description": "Creates a FirebaseLink. Properties can have at most one FirebaseLink.", |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "description": "Required. Format: properties/{property_id} Example: properties/1234", |
| "required": true, |
| "location": "path", |
| "pattern": "^properties/[^/]+$" |
| } |
| }, |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaFirebaseLink" |
| }, |
| "flatPath": "v1alpha/properties/{propertiesId}/firebaseLinks" |
| }, |
| "delete": { |
| "path": "v1alpha/{+name}", |
| "description": "Deletes a FirebaseLink on a property", |
| "httpMethod": "DELETE", |
| "flatPath": "v1alpha/properties/{propertiesId}/firebaseLinks/{firebaseLinksId}", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "location": "path", |
| "description": "Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} Example: properties/1234/firebaseLinks/5678", |
| "required": true, |
| "pattern": "^properties/[^/]+/firebaseLinks/[^/]+$" |
| } |
| }, |
| "id": "analyticsadmin.properties.firebaseLinks.delete", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "parameterOrder": [ |
| "name" |
| ] |
| } |
| } |
| }, |
| "androidAppDataStreams": { |
| "methods": { |
| "get": { |
| "id": "analyticsadmin.properties.androidAppDataStreams.get", |
| "description": "Lookup for a single AndroidAppDataStream Throws \"Target not found\" if no such android app data stream found, or if the caller does not have permissions to access it.", |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v1alpha/properties/{propertiesId}/androidAppDataStreams/{androidAppDataStreamsId}", |
| "path": "v1alpha/{+name}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "httpMethod": "GET", |
| "parameters": { |
| "name": { |
| "description": "Required. The name of the android app data stream to lookup. Format: properties/{property_id}/androidAppDataStreams/{stream_id} Example: \"properties/123/androidAppDataStreams/456\"", |
| "required": true, |
| "type": "string", |
| "pattern": "^properties/[^/]+/androidAppDataStreams/[^/]+$", |
| "location": "path" |
| } |
| }, |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAndroidAppDataStream" |
| } |
| }, |
| "create": { |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAndroidAppDataStream" |
| }, |
| "id": "analyticsadmin.properties.androidAppDataStreams.create", |
| "httpMethod": "POST", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "flatPath": "v1alpha/properties/{propertiesId}/androidAppDataStreams", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "parameters": { |
| "parent": { |
| "location": "path", |
| "required": true, |
| "description": "Required. The parent resource where this android app data stream will be created. Format: properties/123", |
| "pattern": "^properties/[^/]+$", |
| "type": "string" |
| } |
| }, |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAndroidAppDataStream" |
| }, |
| "description": "Creates an android app stream with the specified location and attributes.", |
| "path": "v1alpha/{+parent}/androidAppDataStreams" |
| }, |
| "delete": { |
| "httpMethod": "DELETE", |
| "flatPath": "v1alpha/properties/{propertiesId}/androidAppDataStreams/{androidAppDataStreamsId}", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "id": "analyticsadmin.properties.androidAppDataStreams.delete", |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v1alpha/{+name}", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "description": "Required. The name of the android app data stream to delete. Format: properties/{property_id}/androidAppDataStreams/{stream_id} Example: \"properties/123/androidAppDataStreams/456\"", |
| "location": "path", |
| "pattern": "^properties/[^/]+/androidAppDataStreams/[^/]+$", |
| "required": true |
| } |
| }, |
| "description": "Deletes an android app stream on a property.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ] |
| }, |
| "list": { |
| "path": "v1alpha/{+parent}/androidAppDataStreams", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse" |
| }, |
| "description": "Returns child android app streams under the specified parent property. Android app streams will be excluded if the caller does not have access. Returns an empty list if no relevant android app streams are found.", |
| "parameters": { |
| "pageSize": { |
| "location": "query", |
| "type": "integer", |
| "format": "int32", |
| "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)" |
| }, |
| "pageToken": { |
| "location": "query", |
| "description": "A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAndroidAppDataStreams` must match the call that provided the page token.", |
| "type": "string" |
| }, |
| "parent": { |
| "required": true, |
| "description": "Required. The name of the parent property. For example, to limit results to app streams under the property with Id 123: \"properties/123\"", |
| "pattern": "^properties/[^/]+$", |
| "location": "path", |
| "type": "string" |
| } |
| }, |
| "id": "analyticsadmin.properties.androidAppDataStreams.list", |
| "httpMethod": "GET", |
| "flatPath": "v1alpha/properties/{propertiesId}/androidAppDataStreams", |
| "parameterOrder": [ |
| "parent" |
| ] |
| }, |
| "patch": { |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAndroidAppDataStream" |
| }, |
| "id": "analyticsadmin.properties.androidAppDataStreams.patch", |
| "parameterOrder": [ |
| "name" |
| ], |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAndroidAppDataStream" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "httpMethod": "PATCH", |
| "flatPath": "v1alpha/properties/{propertiesId}/androidAppDataStreams/{androidAppDataStreamsId}", |
| "path": "v1alpha/{+name}", |
| "parameters": { |
| "updateMask": { |
| "format": "google-fieldmask", |
| "type": "string", |
| "description": "The list of fields to be updated. Omitted fields will not be updated.", |
| "location": "query" |
| }, |
| "name": { |
| "description": "Output only. Resource name of this Data Stream. Format: properties/{property_id}/androidAppDataStreams/{stream_id} Example: \"properties/1000/androidAppDataStreams/2000\"", |
| "location": "path", |
| "type": "string", |
| "pattern": "^properties/[^/]+/androidAppDataStreams/[^/]+$", |
| "required": true |
| } |
| }, |
| "description": "Updates an android app stream on a property." |
| } |
| } |
| } |
| }, |
| "methods": { |
| "create": { |
| "parameterOrder": [], |
| "description": "Creates an \"GA4\" property with the specified location and attributes.", |
| "httpMethod": "POST", |
| "parameters": {}, |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaProperty" |
| }, |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaProperty" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "flatPath": "v1alpha/properties", |
| "path": "v1alpha/properties", |
| "id": "analyticsadmin.properties.create" |
| }, |
| "patch": { |
| "path": "v1alpha/{+name}", |
| "flatPath": "v1alpha/properties/{propertiesId}", |
| "httpMethod": "PATCH", |
| "parameterOrder": [ |
| "name" |
| ], |
| "description": "Updates a property.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "id": "analyticsadmin.properties.patch", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaProperty" |
| }, |
| "request": { |
| "$ref": "GoogleAnalyticsAdminV1alphaProperty" |
| }, |
| "parameters": { |
| "updateMask": { |
| "type": "string", |
| "format": "google-fieldmask", |
| "location": "query", |
| "description": "The list of fields to be updated. Omitted fields will not be updated." |
| }, |
| "name": { |
| "required": true, |
| "location": "path", |
| "description": "Output only. Resource name of this property. Format: properties/{property_id} Example: \"properties/1000\"", |
| "type": "string", |
| "pattern": "^properties/[^/]+$" |
| } |
| } |
| }, |
| "delete": { |
| "httpMethod": "DELETE", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "description": "Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: \"properties/1000\"", |
| "required": true, |
| "pattern": "^properties/[^/]+$", |
| "location": "path" |
| } |
| }, |
| "flatPath": "v1alpha/properties/{propertiesId}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.edit" |
| ], |
| "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.", |
| "id": "analyticsadmin.properties.delete", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "path": "v1alpha/{+name}" |
| }, |
| "get": { |
| "path": "v1alpha/{+name}", |
| "description": "Lookup for a single \"GA4\" Property. Throws \"Target not found\" if no such property found, if property is not of the type \"GA4\", or if caller does not have permissions to access it.", |
| "httpMethod": "GET", |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "parameters": { |
| "name": { |
| "description": "Required. The name of the property to lookup. Format: properties/{property_id} Example: \"properties/1000\"", |
| "required": true, |
| "type": "string", |
| "location": "path", |
| "pattern": "^properties/[^/]+$" |
| } |
| }, |
| "flatPath": "v1alpha/properties/{propertiesId}", |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaProperty" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "analyticsadmin.properties.get" |
| }, |
| "list": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/analytics.readonly" |
| ], |
| "response": { |
| "$ref": "GoogleAnalyticsAdminV1alphaListPropertiesResponse" |
| }, |
| "path": "v1alpha/properties", |
| "parameterOrder": [], |
| "id": "analyticsadmin.properties.list", |
| "flatPath": "v1alpha/properties", |
| "description": "Returns child Properties under the specified parent Account. Only \"GA4\" properties will be returned. Properties will be excluded if the caller does not have access. Soft-deleted (ie: \"trashed\") properties are excluded by default. Returns an empty list if no relevant properties are found.", |
| "parameters": { |
| "pageToken": { |
| "type": "string", |
| "location": "query", |
| "description": "A page token, received from a previous `ListProperties` 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." |
| }, |
| "pageSize": { |
| "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)", |
| "format": "int32", |
| "type": "integer", |
| "location": "query" |
| }, |
| "showDeleted": { |
| "type": "boolean", |
| "location": "query", |
| "description": "Whether to include soft-deleted (ie: \"trashed\") Properties in the results. Properties can be inspected to determine whether they are deleted or not." |
| }, |
| "filter": { |
| "description": "Required. An expression for filtering the results of the request. Fields eligible for filtering are: `parent:`(The resource name of the parent account) or `firebase_project:`(The id or number of the linked firebase project). Some examples of filters: | Filter | Description | |-----------------------------|-------------------------------------------| | parent:accounts/123 | The account with account id: 123. | | firebase_project:project-id | The firebase project with id: project-id. | | firebase_project:123 | The firebase project with number: 123. |", |
| "type": "string", |
| "location": "query" |
| } |
| }, |
| "httpMethod": "GET" |
| } |
| } |
| } |
| }, |
| "schemas": { |
| "GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest": { |
| "id": "GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest", |
| "type": "object", |
| "description": "Request message for UpdateUserLink RPC.", |
| "properties": { |
| "userLink": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink", |
| "description": "Required. The user link to update." |
| } |
| } |
| }, |
| "GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse": { |
| "description": "Response message for ListGoogleAdsLinks RPC.", |
| "properties": { |
| "googleAdsLinks": { |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaGoogleAdsLink" |
| }, |
| "description": "List of GoogleAdsLinks.", |
| "type": "array" |
| }, |
| "nextPageToken": { |
| "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.", |
| "type": "string" |
| } |
| }, |
| "id": "GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse", |
| "type": "object" |
| }, |
| "GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest": { |
| "description": "Request message for ProvisionAccountTicket RPC.", |
| "properties": { |
| "redirectUri": { |
| "type": "string", |
| "description": "Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in Developers Console as a Redirect URI" |
| }, |
| "account": { |
| "description": "The account to create.", |
| "$ref": "GoogleAnalyticsAdminV1alphaAccount" |
| } |
| }, |
| "type": "object", |
| "id": "GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest" |
| }, |
| "GoogleAnalyticsAdminV1alphaListPropertiesResponse": { |
| "id": "GoogleAnalyticsAdminV1alphaListPropertiesResponse", |
| "description": "Response message for ListProperties RPC.", |
| "properties": { |
| "nextPageToken": { |
| "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.", |
| "type": "string" |
| }, |
| "properties": { |
| "description": "Results that matched the filter criteria and were accessible to the caller.", |
| "type": "array", |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaProperty" |
| } |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest": { |
| "id": "GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest", |
| "properties": { |
| "requests": { |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest" |
| }, |
| "type": "array", |
| "description": "Required. The requests specifying the user links to update. A maximum of 1000 user links can be updated in a batch." |
| } |
| }, |
| "type": "object", |
| "description": "Request message for BatchUpdateUserLinks RPC." |
| }, |
| "GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest": { |
| "type": "object", |
| "properties": { |
| "requests": { |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest" |
| }, |
| "type": "array", |
| "description": "Required. The requests specifying the user links to update. A maximum of 1000 user links can be updated in a batch." |
| } |
| }, |
| "id": "GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest", |
| "description": "Request message for BatchDeleteUserLinks RPC." |
| }, |
| "GoogleAnalyticsAdminV1alphaGoogleAdsLink": { |
| "description": "A link between an GA4 property and a Google Ads account.", |
| "id": "GoogleAnalyticsAdminV1alphaGoogleAdsLink", |
| "properties": { |
| "name": { |
| "readOnly": true, |
| "description": "Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID.", |
| "type": "string" |
| }, |
| "parent": { |
| "type": "string", |
| "description": "Immutable. Format: properties/{propertyId}" |
| }, |
| "emailAddress": { |
| "readOnly": true, |
| "type": "string", |
| "description": "Output only. Email address of the user that created the link. An empty string will be returned if the email address can't be retrieved." |
| }, |
| "adsPersonalizationEnabled": { |
| "type": "boolean", |
| "description": "Enable personalized advertising features with this integration. Automatically publish my Google Analytics audience lists and Google Analytics remarketing events/parameters to the linked Google Ads account. If this field is not set on create/update it will be defaulted to true." |
| }, |
| "updateTime": { |
| "description": "Output only. Time when this link was last updated.", |
| "readOnly": true, |
| "type": "string", |
| "format": "google-datetime" |
| }, |
| "customerId": { |
| "description": "Immutable. Google Ads customer ID.", |
| "type": "string" |
| }, |
| "createTime": { |
| "format": "google-datetime", |
| "type": "string", |
| "readOnly": true, |
| "description": "Output only. Time when this link was originally created." |
| }, |
| "canManageClients": { |
| "description": "Output only. If true, this link is for a Google Ads manager account.", |
| "readOnly": true, |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse": { |
| "properties": { |
| "firebaseLinks": { |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaFirebaseLink" |
| }, |
| "type": "array", |
| "description": "List of FirebaseLinks. This will have at most one value." |
| } |
| }, |
| "type": "object", |
| "description": "Response message for ListFirebaseLinks RPC", |
| "id": "GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse" |
| }, |
| "GoogleProtobufEmpty": { |
| "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", |
| "type": "object", |
| "properties": {}, |
| "id": "GoogleProtobufEmpty" |
| }, |
| "GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings": { |
| "properties": { |
| "siteSearchEnabled": { |
| "type": "boolean", |
| "description": "If enabled, capture a view search results event each time a visitor performs a search on your site (based on a query parameter)." |
| }, |
| "fileDownloadsEnabled": { |
| "type": "boolean", |
| "description": "If enabled, capture a file download event each time a link is clicked with a common document, compressed file, application, video, or audio extension." |
| }, |
| "videoEngagementEnabled": { |
| "description": "If enabled, capture video play, progress, and complete events as visitors view embedded videos on your site.", |
| "type": "boolean" |
| }, |
| "pageLoadsEnabled": { |
| "type": "boolean", |
| "description": "If enabled, capture a page view event each time a page loads." |
| }, |
| "name": { |
| "type": "string", |
| "description": "Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings Example: \"properties/1000/webDataStreams/2000/enhancedMeasurementSettings\"", |
| "readOnly": true |
| }, |
| "formInteractionsEnabled": { |
| "description": "If enabled, capture a view search results event each time a visitor interacts with a form on your site.", |
| "type": "boolean" |
| }, |
| "searchQueryParameter": { |
| "description": "Required. URL query parameters to interpret as site search parameters. Max length is 1024 characters. Must not be empty.", |
| "type": "string" |
| }, |
| "articlesAndBlogsEnabled": { |
| "description": "Capture events when your visitors view content on your site that has articles or blog posts.", |
| "type": "boolean" |
| }, |
| "dataTaggedElementClicksEnabled": { |
| "description": "If enabled, capture a click event each time a visitor clicks a link or element that has data attributes beginning with \"data-ga\".", |
| "type": "boolean" |
| }, |
| "pageChangesEnabled": { |
| "description": "If enabled, capture a page view event each time the website changes the browser history state.", |
| "type": "boolean" |
| }, |
| "scrollsEnabled": { |
| "type": "boolean", |
| "description": "If enabled, capture scroll events each time a visitor gets to the bottom of a page." |
| }, |
| "urlQueryParameter": { |
| "type": "string", |
| "description": "Additional URL query parameters. Max length is 1024 characters." |
| }, |
| "productsAndEcommerceEnabled": { |
| "description": "Capture events when your visitors view content on your site that has product details screens, etc.", |
| "type": "boolean" |
| }, |
| "excludedDomains": { |
| "type": "string", |
| "description": "Domains to exclude from measurement. Max length is 1024 characters." |
| }, |
| "outboundClicksEnabled": { |
| "type": "boolean", |
| "description": "If enabled, capture an outbound click event each time a visitor clicks a link that leads them away from your domain." |
| }, |
| "contentViewsEnabled": { |
| "type": "boolean", |
| "description": "Capture events when your visitors view content on your site that has structured data (eg, articles, blog posts, product details screens, etc.)." |
| }, |
| "streamEnabled": { |
| "type": "boolean", |
| "description": "Indicates whether Enhanced Measurement Settings will be used to automatically measure interactions and content on this web stream. Changing this value does not affect the settings themselves, but determines whether they are respected." |
| }, |
| "pageViewsEnabled": { |
| "type": "boolean", |
| "readOnly": true, |
| "description": "Output only. If enabled, capture a page view event each time a page loads or the website changes the browser history state." |
| } |
| }, |
| "id": "GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings", |
| "type": "object", |
| "description": "Singleton resource under a WebDataStream, configuring measurement of additional site interactions and content." |
| }, |
| "GoogleAnalyticsAdminV1alphaGlobalSiteTag": { |
| "description": "Read-only resource with the tag for sending data from a website to a WebDataStream.", |
| "properties": { |
| "snippet": { |
| "type": "string", |
| "description": "Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure." |
| } |
| }, |
| "type": "object", |
| "id": "GoogleAnalyticsAdminV1alphaGlobalSiteTag" |
| }, |
| "GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse": { |
| "description": "Response message for BatchGetUserLinks RPC.", |
| "type": "object", |
| "properties": { |
| "userLinks": { |
| "description": "The requested user links.", |
| "type": "array", |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| } |
| } |
| }, |
| "id": "GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse" |
| }, |
| "GoogleAnalyticsAdminV1alphaAuditUserLinksResponse": { |
| "id": "GoogleAnalyticsAdminV1alphaAuditUserLinksResponse", |
| "description": "Response message for AuditUserLinks RPC.", |
| "properties": { |
| "userLinks": { |
| "description": "List of AuditUserLinks. These will be ordered stably, but in an arbitrary order.", |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAuditUserLink" |
| }, |
| "type": "array" |
| }, |
| "nextPageToken": { |
| "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.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse": { |
| "id": "GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse", |
| "properties": { |
| "accountTicketId": { |
| "type": "string", |
| "description": "The param to be passed in the ToS link." |
| } |
| }, |
| "type": "object", |
| "description": "Response message for ProvisionAccountTicket RPC." |
| }, |
| "GoogleAnalyticsAdminV1alphaListUserLinksResponse": { |
| "properties": { |
| "userLinks": { |
| "type": "array", |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| }, |
| "description": "List of UserLinks. These will be ordered stably, but in an arbitrary order." |
| }, |
| "nextPageToken": { |
| "type": "string", |
| "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." |
| } |
| }, |
| "description": "Response message for ListUserLinks RPC.", |
| "id": "GoogleAnalyticsAdminV1alphaListUserLinksResponse", |
| "type": "object" |
| }, |
| "GoogleAnalyticsAdminV1alphaAuditUserLinksRequest": { |
| "description": "Request message for AuditUserLinks RPC.", |
| "id": "GoogleAnalyticsAdminV1alphaAuditUserLinksRequest", |
| "properties": { |
| "pageSize": { |
| "description": "The maximum number of user links to return. The service may return fewer than this value. If unspecified, at most 1000 user links will be returned. The maximum value is 5000; values above 5000 will be coerced to 5000.", |
| "type": "integer", |
| "format": "int32" |
| }, |
| "pageToken": { |
| "type": "string", |
| "description": "A page token, received from a previous `AuditUserLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `AuditUserLinks` must match the call that provided the page token." |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleAnalyticsAdminV1alphaListAccountsResponse": { |
| "type": "object", |
| "properties": { |
| "accounts": { |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAccount" |
| }, |
| "description": "Results that were accessible to the caller.", |
| "type": "array" |
| }, |
| "nextPageToken": { |
| "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.", |
| "type": "string" |
| } |
| }, |
| "id": "GoogleAnalyticsAdminV1alphaListAccountsResponse", |
| "description": "Request message for ListAccounts RPC." |
| }, |
| "GoogleAnalyticsAdminV1alphaWebDataStream": { |
| "properties": { |
| "createTime": { |
| "description": "Output only. Time when this stream was originally created.", |
| "type": "string", |
| "format": "google-datetime", |
| "readOnly": true |
| }, |
| "displayName": { |
| "type": "string", |
| "description": "Required. Human-readable display name for the Data Stream. The max allowed display name length is 100 UTF-16 code units." |
| }, |
| "name": { |
| "description": "Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id} Example: \"properties/1000/webDataStreams/2000\"", |
| "type": "string", |
| "readOnly": true |
| }, |
| "measurementId": { |
| "readOnly": true, |
| "type": "string", |
| "description": "Output only. Analytics \"Measurement ID\", without the \"G-\" prefix. Example: \"G-1A2BCD345E\" would just be \"1A2BCD345E\"" |
| }, |
| "defaultUri": { |
| "type": "string", |
| "description": "Immutable. Domain name of the web app being measured, or empty. Example: \"http://www.google.com\", \"https://www.google.com\"" |
| }, |
| "updateTime": { |
| "type": "string", |
| "readOnly": true, |
| "description": "Output only. Time when stream payload fields were last updated.", |
| "format": "google-datetime" |
| }, |
| "firebaseAppId": { |
| "readOnly": true, |
| "type": "string", |
| "description": "Output only. ID of the corresponding web app in Firebase, if any. This ID can change if the web app is deleted and recreated." |
| } |
| }, |
| "type": "object", |
| "description": "A resource message representing a Google Analytics web stream.", |
| "id": "GoogleAnalyticsAdminV1alphaWebDataStream" |
| }, |
| "GoogleAnalyticsAdminV1alphaCreateUserLinkRequest": { |
| "type": "object", |
| "description": "Request message for CreateUserLink RPC. Users can have multiple email addresses associated with their Google account, and one of these email addresses is the \"primary\" email address. Any of the email addresses associated with a Google account may be used for a new UserLink, but the returned UserLink will always contain the \"primary\" email address. As a result, the input and output email address for this request may differ.", |
| "id": "GoogleAnalyticsAdminV1alphaCreateUserLinkRequest", |
| "properties": { |
| "parent": { |
| "type": "string", |
| "description": "Required. Example format: accounts/1234" |
| }, |
| "notifyNewUser": { |
| "type": "boolean", |
| "description": "Optional. If set, then email the new user notifying them that they've been granted permissions to the resource." |
| }, |
| "userLink": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink", |
| "description": "Required. The user link to create." |
| } |
| } |
| }, |
| "GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest": { |
| "type": "object", |
| "properties": { |
| "name": { |
| "description": "Required. Example format: accounts/1234/userLinks/5678", |
| "type": "string" |
| } |
| }, |
| "id": "GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest", |
| "description": "Request message for DeleteUserLink RPC." |
| }, |
| "GoogleAnalyticsAdminV1alphaAccount": { |
| "type": "object", |
| "properties": { |
| "name": { |
| "description": "Output only. Resource name of this account. Format: accounts/{account} Example: \"accounts/100\"", |
| "readOnly": true, |
| "type": "string" |
| }, |
| "displayName": { |
| "description": "Required. Human-readable display name for this account.", |
| "type": "string" |
| }, |
| "updateTime": { |
| "description": "Output only. Time when account payload fields were last updated.", |
| "readOnly": true, |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "countryCode": { |
| "description": "Country of business. Must be a non-deprecated code for a UN M.49 region. https: //unicode.org/cldr/charts/latest/supplem // ental/territory_containment_un_m_49.html", |
| "type": "string" |
| }, |
| "deleted": { |
| "type": "boolean", |
| "readOnly": true, |
| "description": "Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested." |
| }, |
| "createTime": { |
| "description": "Output only. Time when this account was originally created.", |
| "type": "string", |
| "format": "google-datetime", |
| "readOnly": true |
| } |
| }, |
| "description": "A resource message representing a Google Analytics account.", |
| "id": "GoogleAnalyticsAdminV1alphaAccount" |
| }, |
| "GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse": { |
| "type": "object", |
| "properties": { |
| "androidAppDataStreams": { |
| "type": "array", |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAndroidAppDataStream" |
| }, |
| "description": "Results that matched the filter criteria and were accessible to the caller." |
| }, |
| "nextPageToken": { |
| "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.", |
| "type": "string" |
| } |
| }, |
| "description": "Request message for ListAndroidDataStreams RPC.", |
| "id": "GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse" |
| }, |
| "GoogleAnalyticsAdminV1alphaIosAppDataStream": { |
| "type": "object", |
| "description": "A resource message representing a Google Analytics IOS app stream.", |
| "properties": { |
| "name": { |
| "description": "Output only. Resource name of this Data Stream. Format: properties/{property_id}/iosAppDataStreams/{stream_id} Example: \"properties/1000/iosAppDataStreams/2000\"", |
| "type": "string", |
| "readOnly": true |
| }, |
| "firebaseAppId": { |
| "type": "string", |
| "description": "Output only. ID of the corresponding iOS app in Firebase, if any. This ID can change if the iOS app is deleted and recreated.", |
| "readOnly": true |
| }, |
| "displayName": { |
| "description": "Human-readable display name for the Data Stream. The max allowed display name length is 255 UTF-16 code units.", |
| "type": "string" |
| }, |
| "createTime": { |
| "description": "Output only. Time when this stream was originally created.", |
| "type": "string", |
| "format": "google-datetime", |
| "readOnly": true |
| }, |
| "bundleId": { |
| "description": "Required. Immutable. The Apple App Store Bundle ID for the app Example: \"com.example.myiosapp\"", |
| "type": "string" |
| }, |
| "updateTime": { |
| "format": "google-datetime", |
| "type": "string", |
| "readOnly": true, |
| "description": "Output only. Time when stream payload fields were last updated." |
| } |
| }, |
| "id": "GoogleAnalyticsAdminV1alphaIosAppDataStream" |
| }, |
| "GoogleAnalyticsAdminV1alphaDataSharingSettings": { |
| "properties": { |
| "sharingWithGoogleProductsEnabled": { |
| "description": "Allows Google to use the data to improve other Google products or services.", |
| "type": "boolean" |
| }, |
| "sharingWithGoogleAssignedSalesEnabled": { |
| "description": "Allows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results. Sales team restrictions still apply when enabled.", |
| "type": "boolean" |
| }, |
| "sharingWithGoogleSupportEnabled": { |
| "type": "boolean", |
| "description": "Allows Google support to access the data in order to help troubleshoot issues." |
| }, |
| "sharingWithGoogleAnySalesEnabled": { |
| "type": "boolean", |
| "description": "Allows any of Google sales to access the data in order to suggest configuration changes to improve results." |
| }, |
| "sharingWithOthersEnabled": { |
| "description": "Allows Google to share the data anonymously in aggregate form with others.", |
| "type": "boolean" |
| }, |
| "name": { |
| "type": "string", |
| "description": "Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: \"accounts/1000/dataSharingSettings\"", |
| "readOnly": true |
| } |
| }, |
| "type": "object", |
| "id": "GoogleAnalyticsAdminV1alphaDataSharingSettings", |
| "description": "A resource message representing data sharing settings of a Google Analytics account." |
| }, |
| "GoogleAnalyticsAdminV1alphaAndroidAppDataStream": { |
| "properties": { |
| "displayName": { |
| "description": "Human-readable display name for the Data Stream. The max allowed display name length is 255 UTF-16 code units.", |
| "type": "string" |
| }, |
| "updateTime": { |
| "description": "Output only. Time when stream payload fields were last updated.", |
| "format": "google-datetime", |
| "readOnly": true, |
| "type": "string" |
| }, |
| "packageName": { |
| "type": "string", |
| "description": "Immutable. The package name for the app being measured. Example: \"com.example.myandroidapp\"" |
| }, |
| "name": { |
| "type": "string", |
| "description": "Output only. Resource name of this Data Stream. Format: properties/{property_id}/androidAppDataStreams/{stream_id} Example: \"properties/1000/androidAppDataStreams/2000\"", |
| "readOnly": true |
| }, |
| "firebaseAppId": { |
| "type": "string", |
| "description": "Output only. ID of the corresponding Android app in Firebase, if any. This ID can change if the Android app is deleted and recreated.", |
| "readOnly": true |
| }, |
| "createTime": { |
| "format": "google-datetime", |
| "readOnly": true, |
| "description": "Output only. Time when this stream was originally created.", |
| "type": "string" |
| } |
| }, |
| "type": "object", |
| "description": "A resource message representing a Google Analytics Android app stream.", |
| "id": "GoogleAnalyticsAdminV1alphaAndroidAppDataStream" |
| }, |
| "GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse": { |
| "description": "Response message for BatchUpdateUserLinks RPC.", |
| "type": "object", |
| "properties": { |
| "userLinks": { |
| "type": "array", |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| }, |
| "description": "The user links updated." |
| } |
| }, |
| "id": "GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse" |
| }, |
| "GoogleAnalyticsAdminV1alphaAccountSummary": { |
| "id": "GoogleAnalyticsAdminV1alphaAccountSummary", |
| "description": "A virtual resource representing an overview of an account and all its child GA4 properties.", |
| "type": "object", |
| "properties": { |
| "displayName": { |
| "description": "Display name for the account referred to in this account summary.", |
| "type": "string" |
| }, |
| "name": { |
| "type": "string", |
| "description": "Resource name for this account summary. Format: accountSummaries/{account_id} Example: \"accountSummaries/1000\"" |
| }, |
| "account": { |
| "description": "Resource name of account referred to by this account summary Format: accounts/{account_id} Example: \"accounts/1000\"", |
| "type": "string" |
| }, |
| "propertySummaries": { |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaPropertySummary" |
| }, |
| "type": "array", |
| "description": "List of summaries for child accounts of this account." |
| } |
| } |
| }, |
| "GoogleAnalyticsAdminV1alphaAuditUserLink": { |
| "properties": { |
| "name": { |
| "type": "string", |
| "description": "Example format: properties/1234/userLinks/5678" |
| }, |
| "directRoles": { |
| "description": "Roles directly assigned to this user for this entity. Format: predefinedRoles/read Excludes roles that are inherited from an account (if this is for a property), group, or organization admin role.", |
| "items": { |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "effectiveRoles": { |
| "description": "Union of all permissions a user has at this account or property (includes direct permissions, group-inherited permissions, etc.). Format: predefinedRoles/read", |
| "type": "array", |
| "items": { |
| "type": "string" |
| } |
| }, |
| "emailAddress": { |
| "description": "Email address of the linked user", |
| "type": "string" |
| } |
| }, |
| "description": "Read-only resource used to summarize a principal's effective roles.", |
| "type": "object", |
| "id": "GoogleAnalyticsAdminV1alphaAuditUserLink" |
| }, |
| "GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest": { |
| "properties": { |
| "notifyNewUsers": { |
| "type": "boolean", |
| "description": "Optional. If set, then email the new users notifying them that they've been granted permissions to the resource. Regardless of whether this is set or not, notify_new_user field inside each individual request is ignored." |
| }, |
| "requests": { |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaCreateUserLinkRequest" |
| }, |
| "description": "Required. The requests specifying the user links to create. A maximum of 1000 user links can be created in a batch.", |
| "type": "array" |
| } |
| }, |
| "description": "Request message for BatchCreateUserLinks RPC.", |
| "id": "GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest", |
| "type": "object" |
| }, |
| "GoogleAnalyticsAdminV1alphaProperty": { |
| "description": "A resource message representing a Google Analytics GA4 property.", |
| "properties": { |
| "deleted": { |
| "type": "boolean", |
| "readOnly": true, |
| "description": "Output only. Indicates whether this Property is soft-deleted or not. Deleted properties are excluded from List results unless specifically requested." |
| }, |
| "currencyCode": { |
| "type": "string", |
| "description": "The currency type used in reports involving monetary values. Format: https://en.wikipedia.org/wiki/ISO_4217 Examples: \"USD\", \"EUR\", \"JPY\"" |
| }, |
| "timeZone": { |
| "type": "string", |
| "description": "Reporting Time Zone, used as the day boundary for reports, regardless of where the data originates. If the time zone honors DST, Analytics will automatically adjust for the changes. NOTE: Changing the time zone only affects data going forward, and is not applied retroactively. Format: https://www.iana.org/time-zones Example: \"America/Los_Angeles\"" |
| }, |
| "displayName": { |
| "type": "string", |
| "description": "Required. Human-readable display name for this property. The max allowed display name length is 100 UTF-16 code units." |
| }, |
| "name": { |
| "type": "string", |
| "description": "Output only. Resource name of this property. Format: properties/{property_id} Example: \"properties/1000\"", |
| "readOnly": true |
| }, |
| "createTime": { |
| "format": "google-datetime", |
| "readOnly": true, |
| "description": "Output only. Time when the entity was originally created.", |
| "type": "string" |
| }, |
| "updateTime": { |
| "readOnly": true, |
| "format": "google-datetime", |
| "description": "Output only. Time when entity payload fields were last updated.", |
| "type": "string" |
| }, |
| "parent": { |
| "type": "string", |
| "description": "Immutable. Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account} Example: \"accounts/100\"" |
| }, |
| "industryCategory": { |
| "description": "Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK", |
| "enumDescriptions": [ |
| "Industry category unspecified", |
| "Automotive", |
| "Business and industrial markets", |
| "Finance", |
| "Healthcare", |
| "Technology", |
| "Travel", |
| "Other", |
| "Arts and entertainment", |
| "Beauty and fitness", |
| "Books and literature", |
| "Food and drink", |
| "Games", |
| "Hobbies and leisure", |
| "Home and garden", |
| "Internet and telecom", |
| "Law and government", |
| "News", |
| "Online communities", |
| "People and society", |
| "Pets and animals", |
| "Real estate", |
| "Reference", |
| "Science", |
| "Sports", |
| "Jobs and education", |
| "Shopping" |
| ], |
| "type": "string", |
| "enum": [ |
| "INDUSTRY_CATEGORY_UNSPECIFIED", |
| "AUTOMOTIVE", |
| "BUSINESS_AND_INDUSTRIAL_MARKETS", |
| "FINANCE", |
| "HEALTHCARE", |
| "TECHNOLOGY", |
| "TRAVEL", |
| "OTHER", |
| "ARTS_AND_ENTERTAINMENT", |
| "BEAUTY_AND_FITNESS", |
| "BOOKS_AND_LITERATURE", |
| "FOOD_AND_DRINK", |
| "GAMES", |
| "HOBBIES_AND_LEISURE", |
| "HOME_AND_GARDEN", |
| "INTERNET_AND_TELECOM", |
| "LAW_AND_GOVERNMENT", |
| "NEWS", |
| "ONLINE_COMMUNITIES", |
| "PEOPLE_AND_SOCIETY", |
| "PETS_AND_ANIMALS", |
| "REAL_ESTATE", |
| "REFERENCE", |
| "SCIENCE", |
| "SPORTS", |
| "JOBS_AND_EDUCATION", |
| "SHOPPING" |
| ] |
| } |
| }, |
| "type": "object", |
| "id": "GoogleAnalyticsAdminV1alphaProperty" |
| }, |
| "GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse": { |
| "type": "object", |
| "id": "GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse", |
| "properties": { |
| "webDataStreams": { |
| "description": "Results that matched the filter criteria and were accessible to the caller.", |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaWebDataStream" |
| }, |
| "type": "array" |
| }, |
| "nextPageToken": { |
| "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.", |
| "type": "string" |
| } |
| }, |
| "description": "Request message for ListWebDataStreams RPC." |
| }, |
| "GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse": { |
| "id": "GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse", |
| "properties": { |
| "userLinks": { |
| "description": "The user links created.", |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaUserLink" |
| }, |
| "type": "array" |
| } |
| }, |
| "description": "Response message for BatchCreateUserLinks RPC.", |
| "type": "object" |
| }, |
| "GoogleAnalyticsAdminV1alphaListAccountSummariesResponse": { |
| "id": "GoogleAnalyticsAdminV1alphaListAccountSummariesResponse", |
| "description": "Response message for ListAccountSummaries RPC.", |
| "properties": { |
| "accountSummaries": { |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaAccountSummary" |
| }, |
| "type": "array", |
| "description": "Account summaries of all accounts the caller has access to." |
| }, |
| "nextPageToken": { |
| "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.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse": { |
| "description": "Request message for ListIosAppDataStreams RPC.", |
| "properties": { |
| "iosAppDataStreams": { |
| "type": "array", |
| "items": { |
| "$ref": "GoogleAnalyticsAdminV1alphaIosAppDataStream" |
| }, |
| "description": "Results that matched the filter criteria and were accessible to the caller." |
| }, |
| "nextPageToken": { |
| "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.", |
| "type": "string" |
| } |
| }, |
| "type": "object", |
| "id": "GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse" |
| }, |
| "GoogleAnalyticsAdminV1alphaFirebaseLink": { |
| "type": "object", |
| "description": "A link between an GA4 property and a Firebase project.", |
| "properties": { |
| "name": { |
| "readOnly": true, |
| "description": "Output only. Example format: properties/1234/firebaseLinks/5678", |
| "type": "string" |
| }, |
| "project": { |
| "type": "string", |
| "description": "Immutable. Firebase project resource name. When creating a FirebaseLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, returned FirebaseLinks will always have a project_name that contains a project number. Format: 'projects/{project number}' Example: 'projects/1234'" |
| }, |
| "createTime": { |
| "type": "string", |
| "format": "google-datetime", |
| "readOnly": true, |
| "description": "Output only. Time when this FirebaseLink was originally created." |
| }, |
| "maximumUserAccess": { |
| "enumDescriptions": [ |
| "Unspecified maximum user access.", |
| "Firebase users have no access to the Analytics property.", |
| "Firebase users have Read & Analyze access to the Analytics property.", |
| "Firebase users have edit access to the Analytics property, but may not manage the Firebase link.", |
| "Firebase users have edit access to the Analytics property and may manage the Firebase link." |
| ], |
| "description": "Maximum user access to the GA4 property allowed to admins of the linked Firebase project.", |
| "type": "string", |
| "enum": [ |
| "MAXIMUM_USER_ACCESS_UNSPECIFIED", |
| "NO_ACCESS", |
| "READ_AND_ANALYZE", |
| "EDITOR_WITHOUT_LINK_MANAGEMENT", |
| "EDITOR_INCLUDING_LINK_MANAGEMENT" |
| ] |
| } |
| }, |
| "id": "GoogleAnalyticsAdminV1alphaFirebaseLink" |
| }, |
| "GoogleAnalyticsAdminV1alphaUserLink": { |
| "properties": { |
| "emailAddress": { |
| "type": "string", |
| "description": "Email address of the user to link" |
| }, |
| "name": { |
| "description": "Example format: properties/1234/userLinks/5678", |
| "type": "string" |
| }, |
| "directRoles": { |
| "type": "array", |
| "description": "Roles directly assigned to this user for this account or property. Valid values: predefinedRoles/read predefinedRoles/collaborate predefinedRoles/edit predefinedRoles/manage-users Excludes roles that are inherited from a higher-level entity, group, or organization admin role. A UserLink that is updated to have an empty list of direct_roles will be deleted.", |
| "items": { |
| "type": "string" |
| } |
| } |
| }, |
| "type": "object", |
| "id": "GoogleAnalyticsAdminV1alphaUserLink", |
| "description": "A resource message representing a user's permissions on an Account or Property resource." |
| }, |
| "GoogleAnalyticsAdminV1alphaPropertySummary": { |
| "properties": { |
| "displayName": { |
| "description": "Display name for the property referred to in this account summary.", |
| "type": "string" |
| }, |
| "property": { |
| "type": "string", |
| "description": "Resource name of property referred to by this property summary Format: properties/{property_id} Example: \"properties/1000\"" |
| } |
| }, |
| "description": "A virtual resource representing metadata for an GA4 property.", |
| "type": "object", |
| "id": "GoogleAnalyticsAdminV1alphaPropertySummary" |
| } |
| }, |
| "auth": { |
| "oauth2": { |
| "scopes": { |
| "https://www.googleapis.com/auth/analytics.readonly": { |
| "description": "View your Google Analytics data" |
| }, |
| "https://www.googleapis.com/auth/analytics.manage.users": { |
| "description": "Manage Google Analytics Account users by email address" |
| }, |
| "https://www.googleapis.com/auth/analytics.edit": { |
| "description": "Edit Google Analytics management entities" |
| }, |
| "https://www.googleapis.com/auth/analytics.manage.users.readonly": { |
| "description": "View Google Analytics user permissions" |
| } |
| } |
| } |
| }, |
| "documentationLink": "http://code.google.com/apis/analytics/docs/mgmt/home.html", |
| "revision": "20201031", |
| "parameters": { |
| "access_token": { |
| "description": "OAuth access token.", |
| "location": "query", |
| "type": "string" |
| }, |
| "fields": { |
| "location": "query", |
| "description": "Selector specifying which fields to include in a partial response.", |
| "type": "string" |
| }, |
| "$.xgafv": { |
| "description": "V1 error format.", |
| "location": "query", |
| "enumDescriptions": [ |
| "v1 error format", |
| "v2 error format" |
| ], |
| "enum": [ |
| "1", |
| "2" |
| ], |
| "type": "string" |
| }, |
| "callback": { |
| "location": "query", |
| "type": "string", |
| "description": "JSONP" |
| }, |
| "uploadType": { |
| "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| "type": "string", |
| "location": "query" |
| }, |
| "quotaUser": { |
| "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
| "location": "query", |
| "type": "string" |
| }, |
| "oauth_token": { |
| "location": "query", |
| "type": "string", |
| "description": "OAuth 2.0 token for the current user." |
| }, |
| "prettyPrint": { |
| "description": "Returns response with indentations and line breaks.", |
| "default": "true", |
| "type": "boolean", |
| "location": "query" |
| }, |
| "key": { |
| "type": "string", |
| "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
| "location": "query" |
| }, |
| "upload_protocol": { |
| "type": "string", |
| "location": "query", |
| "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." |
| }, |
| "alt": { |
| "type": "string", |
| "default": "json", |
| "description": "Data format for response.", |
| "location": "query", |
| "enum": [ |
| "json", |
| "media", |
| "proto" |
| ], |
| "enumDescriptions": [ |
| "Responses with Content-Type of application/json", |
| "Media download with context-dependent Content-Type", |
| "Responses with Content-Type of application/x-protobuf" |
| ] |
| } |
| }, |
| "discoveryVersion": "v1" |
| } |