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.
sourceraw 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.
sourceraw 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.
sourceraw 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: showDeleted, pageSize, 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: showDeleted, pageSize, 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.
sourceraw 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:

{:deleted boolean, :name string, :createTime string, :updateTime string, :displayName string, :regionCode 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: 

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

Updates an account.
sourceraw 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 {:deleted boolean, :name string, :createTime string, :updateTime string, :displayName string, :regionCode 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 {:deleted boolean,
           :name string,
           :createTime string,
           :updateTime string,
           :displayName string,
           :regionCode string},
 :redirectUri string}

Requests a ticket for creating an account.
sourceraw 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], :property string, :latestChangeTime string, :pageSize integer, :pageToken string, :earliestChangeTime string, :actorEmail [string], :resourceType [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],
 :property string,
 :latestChangeTime string,
 :pageSize integer,
 :pageToken string,
 :earliestChangeTime string,
 :actorEmail [string],
 :resourceType [string]}

Searches through all changes to an account or its children given the specified set of filters.
sourceraw 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:

{:pageSize integer, :pageToken string}

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: 

{:pageSize integer, :pageToken string}

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.
sourceraw 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 [{:notifyNewUser boolean, :userLink GoogleAnalyticsAdminV1alphaUserLink, :parent string}]}

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 [{:notifyNewUser boolean,
             :userLink GoogleAnalyticsAdminV1alphaUserLink,
             :parent string}]}

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.
sourceraw 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.
sourceraw 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.
sourceraw 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.
sourceraw 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:

{:directRoles [string], :emailAddress 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: 

{:directRoles [string], :emailAddress 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.
sourceraw 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.
sourceraw 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.
sourceraw 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.
sourceraw 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:

{:directRoles [string], :emailAddress 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: 

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

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

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

× close