Liking cljdoc? Tell your friends :D

happygapi.analyticsadmin.accounts

Google Analytics Admin API: accounts.

See: http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts
raw docstring

delete$clj

(delete$ auth parameters)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/delete

Required parameters: name

Optional parameters: none

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.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/delete

Required parameters: name

Optional parameters: none

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.
raw docstring

get$clj

(get$ auth parameters)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/get

Required parameters: name

Optional parameters: none

Lookup for a single Account.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/get

Required parameters: name

Optional parameters: none

Lookup for a single Account.
raw docstring

getDataSharingSettings$clj

(getDataSharingSettings$ auth parameters)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/getDataSharingSettings

Required parameters: name

Optional parameters: none

Get data sharing settings on an account. Data sharing settings are singletons.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/getDataSharingSettings

Required parameters: name

Optional parameters: none

Get data sharing settings on an account. Data sharing settings are singletons.
raw docstring

list$clj

(list$ auth parameters)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/list

Required parameters: none

Optional parameters: pageSize, showDeleted, pageToken

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.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/list

Required parameters: none

Optional parameters: pageSize, showDeleted, pageToken

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.
raw docstring

patch$clj

(patch$ auth parameters body)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/patch

Required parameters: name

Optional parameters: updateMask

Body:

{:createTime string, :regionCode string, :deleted boolean, :updateTime string, :name string, :displayName string}

Updates an account.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/patch

Required parameters: name

Optional parameters: updateMask

Body: 

{:createTime string,
 :regionCode string,
 :deleted boolean,
 :updateTime string,
 :name string,
 :displayName string}

Updates an account.
raw docstring

provisionAccountTicket$clj

(provisionAccountTicket$ auth parameters body)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/provisionAccountTicket

Required parameters: none

Optional parameters: none

Body:

{:account {:createTime string, :regionCode string, :deleted boolean, :updateTime string, :name string, :displayName string}, :redirectUri string}

Requests a ticket for creating an account.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/provisionAccountTicket

Required parameters: none

Optional parameters: none

Body: 

{:account {:createTime string,
           :regionCode string,
           :deleted boolean,
           :updateTime string,
           :name string,
           :displayName string},
 :redirectUri string}

Requests a ticket for creating an account.
raw docstring

searchChangeHistoryEvents$clj

(searchChangeHistoryEvents$ auth parameters body)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/searchChangeHistoryEvents

Required parameters: account

Optional parameters: none

Body:

{:action [string], :earliestChangeTime string, :actorEmail [string], :pageSize integer, :pageToken string, :resourceType [string], :property string, :latestChangeTime string}

Searches through all changes to an account or its children given the specified set of filters.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/searchChangeHistoryEvents

Required parameters: account

Optional parameters: none

Body: 

{:action [string],
 :earliestChangeTime string,
 :actorEmail [string],
 :pageSize integer,
 :pageToken string,
 :resourceType [string],
 :property string,
 :latestChangeTime string}

Searches through all changes to an account or its children given the specified set of filters.
raw docstring

(userLinks-audit$ auth parameters body)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/audit

Required parameters: parent

Optional parameters: none

Body:

{:pageToken string, :pageSize integer}

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.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/audit

Required parameters: parent

Optional parameters: none

Body: 

{:pageToken string, :pageSize integer}

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.
raw docstring

(userLinks-batchCreate$ auth parameters body)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/batchCreate

Required parameters: parent

Optional parameters: none

Body:

{:notifyNewUsers boolean, :requests [{:userLink GoogleAnalyticsAdminV1alphaUserLink, :parent string, :notifyNewUser boolean}]}

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.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/batchCreate

Required parameters: parent

Optional parameters: none

Body: 

{:notifyNewUsers boolean,
 :requests [{:userLink GoogleAnalyticsAdminV1alphaUserLink,
             :parent string,
             :notifyNewUser boolean}]}

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.
raw docstring

(userLinks-batchDelete$ auth parameters body)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/batchDelete

Required parameters: parent

Optional parameters: none

Body:

{:requests [{:name string}]}

Deletes information about multiple users' links to an account or property.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/batchDelete

Required parameters: parent

Optional parameters: none

Body: 

{:requests [{:name string}]}

Deletes information about multiple users' links to an account or property.
raw docstring

(userLinks-batchGet$ auth parameters)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/batchGet

Required parameters: parent

Optional parameters: names

Gets information about multiple users' links to an account or property.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/batchGet

Required parameters: parent

Optional parameters: names

Gets information about multiple users' links to an account or property.
raw docstring

(userLinks-batchUpdate$ auth parameters body)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/batchUpdate

Required parameters: parent

Optional parameters: none

Body:

{:requests [{:userLink GoogleAnalyticsAdminV1alphaUserLink}]}

Updates information about multiple users' links to an account or property.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/batchUpdate

Required parameters: parent

Optional parameters: none

Body: 

{:requests [{:userLink GoogleAnalyticsAdminV1alphaUserLink}]}

Updates information about multiple users' links to an account or property.
raw docstring

(userLinks-create$ auth parameters body)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/create

Required parameters: parent

Optional parameters: notifyNewUser

Body:

{:emailAddress string, :directRoles [string], :name string}

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.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/create

Required parameters: parent

Optional parameters: notifyNewUser

Body: 

{:emailAddress string, :directRoles [string], :name string}

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.
raw docstring

(userLinks-delete$ auth parameters)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/delete

Required parameters: name

Optional parameters: none

Deletes a user link on an account or property.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/delete

Required parameters: name

Optional parameters: none

Deletes a user link on an account or property.
raw docstring

(userLinks-get$ auth parameters)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/get

Required parameters: name

Optional parameters: none

Gets information about a user's link to an account or property.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/get

Required parameters: name

Optional parameters: none

Gets information about a user's link to an account or property.
raw docstring

(userLinks-list$ auth parameters)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists all user links on an account or property.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists all user links on an account or property.
raw docstring

(userLinks-patch$ auth parameters body)

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/patch

Required parameters: name

Optional parameters: none

Body:

{:emailAddress string, :directRoles [string], :name string}

Updates a user link on an account or property.

http://code.google.com/apis/analytics/docs/mgmt/home.htmlapi/reference/rest/v1alpha/accounts/userLinks/patch

Required parameters: name

Optional parameters: none

Body: 

{:emailAddress string, :directRoles [string], :name string}

Updates a user link on an account or property.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close