analyticsadmin

package
v0.85.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2022 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package analyticsadmin provides access to the Google Analytics Admin API.

For product documentation, see: http://code.google.com/apis/analytics/docs/mgmt/home.html

Creating a client

Usage example:

import "google.golang.org/api/analyticsadmin/v1alpha"
...
ctx := context.Background()
analyticsadminService, err := analyticsadmin.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication.

For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:

analyticsadminService, err := analyticsadmin.NewService(ctx, option.WithScopes(analyticsadmin.AnalyticsReadonlyScope))

To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:

analyticsadminService, err := analyticsadmin.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
analyticsadminService, err := analyticsadmin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index

Constants

View Source
const (
	// Edit Google Analytics management entities
	AnalyticsEditScope = "https://www.googleapis.com/auth/analytics.edit"

	// Manage Google Analytics Account users by email address
	AnalyticsManageUsersScope = "https://www.googleapis.com/auth/analytics.manage.users"

	// View Google Analytics user permissions
	AnalyticsManageUsersReadonlyScope = "https://www.googleapis.com/auth/analytics.manage.users.readonly"

	// See and download your Google Analytics data
	AnalyticsReadonlyScope = "https://www.googleapis.com/auth/analytics.readonly"
)

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountSummariesListCall

type AccountSummariesListCall struct {
	// contains filtered or unexported fields
}

func (*AccountSummariesListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountSummariesListCall) Do

Do executes the "analyticsadmin.accountSummaries.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListAccountSummariesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListAccountSummariesResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountSummariesListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountSummariesListCall) Header

func (c *AccountSummariesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountSummariesListCall) IfNoneMatch

func (c *AccountSummariesListCall) IfNoneMatch(entityTag string) *AccountSummariesListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountSummariesListCall) PageSize

PageSize sets the optional parameter "pageSize": 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)

func (*AccountSummariesListCall) PageToken

func (c *AccountSummariesListCall) PageToken(pageToken string) *AccountSummariesListCall

PageToken sets the optional parameter "pageToken": 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.

func (*AccountSummariesListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountSummariesService

type AccountSummariesService struct {
	// contains filtered or unexported fields
}

func NewAccountSummariesService

func NewAccountSummariesService(s *Service) *AccountSummariesService

func (*AccountSummariesService) List

List: Returns summaries of all accounts accessible by the caller.

type AccountsDeleteCall

type AccountsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*AccountsDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsDeleteCall) Do

Do executes the "analyticsadmin.accounts.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsDeleteCall) Header

func (c *AccountsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsGetCall

type AccountsGetCall struct {
	// contains filtered or unexported fields
}

func (*AccountsGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsGetCall) Do

Do executes the "analyticsadmin.accounts.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaAccount or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAccount.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsGetCall) Header

func (c *AccountsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsGetCall) IfNoneMatch

func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsGetDataSharingSettingsCall

type AccountsGetDataSharingSettingsCall struct {
	// contains filtered or unexported fields
}

func (*AccountsGetDataSharingSettingsCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsGetDataSharingSettingsCall) Do

Do executes the "analyticsadmin.accounts.getDataSharingSettings" call. Exactly one of *GoogleAnalyticsAdminV1alphaDataSharingSettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaDataSharingSettings.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsGetDataSharingSettingsCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsGetDataSharingSettingsCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsGetDataSharingSettingsCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsListCall

type AccountsListCall struct {
	// contains filtered or unexported fields
}

func (*AccountsListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsListCall) Do

Do executes the "analyticsadmin.accounts.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListAccountsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListAccountsResponse.ServerResponse.Header

or (if a response was returned at all) in

error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsListCall) Header

func (c *AccountsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsListCall) IfNoneMatch

func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsListCall) PageSize

func (c *AccountsListCall) PageSize(pageSize int64) *AccountsListCall

PageSize sets the optional parameter "pageSize": 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)

func (*AccountsListCall) PageToken

func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall

PageToken sets the optional parameter "pageToken": 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.

func (*AccountsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*AccountsListCall) ShowDeleted

func (c *AccountsListCall) ShowDeleted(showDeleted bool) *AccountsListCall

ShowDeleted sets the optional parameter "showDeleted": Whether to include soft-deleted (ie: "trashed") Accounts in the results. Accounts can be inspected to determine whether they are deleted or not.

type AccountsPatchCall

type AccountsPatchCall struct {
	// contains filtered or unexported fields
}

func (*AccountsPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsPatchCall) Do

Do executes the "analyticsadmin.accounts.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaAccount or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAccount.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsPatchCall) Header

func (c *AccountsPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsPatchCall) UpdateMask

func (c *AccountsPatchCall) UpdateMask(updateMask string) *AccountsPatchCall

UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

type AccountsProvisionAccountTicketCall

type AccountsProvisionAccountTicketCall struct {
	// contains filtered or unexported fields
}

func (*AccountsProvisionAccountTicketCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsProvisionAccountTicketCall) Do

Do executes the "analyticsadmin.accounts.provisionAccountTicket" call. Exactly one of *GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse.ServerRespo nse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsProvisionAccountTicketCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsProvisionAccountTicketCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsSearchChangeHistoryEventsCall added in v0.41.0

type AccountsSearchChangeHistoryEventsCall struct {
	// contains filtered or unexported fields
}

func (*AccountsSearchChangeHistoryEventsCall) Context added in v0.41.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsSearchChangeHistoryEventsCall) Do added in v0.41.0

Do executes the "analyticsadmin.accounts.searchChangeHistoryEvents" call. Exactly one of *GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse.ServerRe sponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsSearchChangeHistoryEventsCall) Fields added in v0.41.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsSearchChangeHistoryEventsCall) Header added in v0.41.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsSearchChangeHistoryEventsCall) Pages added in v0.41.0

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsService

type AccountsService struct {
	UserLinks *AccountsUserLinksService
	// contains filtered or unexported fields
}

func NewAccountsService

func NewAccountsService(s *Service) *AccountsService

func (*AccountsService) Delete

func (r *AccountsService) Delete(name string) *AccountsDeleteCall

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

  • name: The name of the Account to soft-delete. Format: accounts/{account} Example: "accounts/100".

func (*AccountsService) Get

func (r *AccountsService) Get(name string) *AccountsGetCall

Get: Lookup for a single Account.

  • name: The name of the account to lookup. Format: accounts/{account} Example: "accounts/100".

func (*AccountsService) GetDataSharingSettings

func (r *AccountsService) GetDataSharingSettings(name string) *AccountsGetDataSharingSettingsCall

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

  • name: The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings".

func (*AccountsService) List

func (r *AccountsService) List() *AccountsListCall

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

func (*AccountsService) Patch

func (r *AccountsService) Patch(name string, googleanalyticsadminv1alphaaccount *GoogleAnalyticsAdminV1alphaAccount) *AccountsPatchCall

Patch: Updates an account.

  • name: Output only. Resource name of this account. Format: accounts/{account} Example: "accounts/100".

func (*AccountsService) ProvisionAccountTicket

func (r *AccountsService) ProvisionAccountTicket(googleanalyticsadminv1alphaprovisionaccountticketrequest *GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest) *AccountsProvisionAccountTicketCall

ProvisionAccountTicket: Requests a ticket for creating an account.

func (*AccountsService) SearchChangeHistoryEvents added in v0.41.0

func (r *AccountsService) SearchChangeHistoryEvents(account string, googleanalyticsadminv1alphasearchchangehistoryeventsrequest *GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest) *AccountsSearchChangeHistoryEventsCall

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

  • account: The account resource for which to return change history resources.

type AccountsUserLinksAuditCall

type AccountsUserLinksAuditCall struct {
	// contains filtered or unexported fields
}

func (*AccountsUserLinksAuditCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserLinksAuditCall) Do

Do executes the "analyticsadmin.accounts.userLinks.audit" call. Exactly one of *GoogleAnalyticsAdminV1alphaAuditUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAuditUserLinksResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsUserLinksAuditCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsUserLinksAuditCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsUserLinksAuditCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsUserLinksBatchCreateCall

type AccountsUserLinksBatchCreateCall struct {
	// contains filtered or unexported fields
}

func (*AccountsUserLinksBatchCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserLinksBatchCreateCall) Do

Do executes the "analyticsadmin.accounts.userLinks.batchCreate" call. Exactly one of *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsUserLinksBatchCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsUserLinksBatchCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsUserLinksBatchDeleteCall

type AccountsUserLinksBatchDeleteCall struct {
	// contains filtered or unexported fields
}

func (*AccountsUserLinksBatchDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserLinksBatchDeleteCall) Do

Do executes the "analyticsadmin.accounts.userLinks.batchDelete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsUserLinksBatchDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsUserLinksBatchDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsUserLinksBatchGetCall

type AccountsUserLinksBatchGetCall struct {
	// contains filtered or unexported fields
}

func (*AccountsUserLinksBatchGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserLinksBatchGetCall) Do

Do executes the "analyticsadmin.accounts.userLinks.batchGet" call. Exactly one of *GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsUserLinksBatchGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsUserLinksBatchGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsUserLinksBatchGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsUserLinksBatchGetCall) Names

Names sets the optional parameter "names": 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 AccountsUserLinksBatchUpdateCall

type AccountsUserLinksBatchUpdateCall struct {
	// contains filtered or unexported fields
}

func (*AccountsUserLinksBatchUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserLinksBatchUpdateCall) Do

Do executes the "analyticsadmin.accounts.userLinks.batchUpdate" call. Exactly one of *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsUserLinksBatchUpdateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsUserLinksBatchUpdateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsUserLinksCreateCall

type AccountsUserLinksCreateCall struct {
	// contains filtered or unexported fields
}

func (*AccountsUserLinksCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserLinksCreateCall) Do

Do executes the "analyticsadmin.accounts.userLinks.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaUserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaUserLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsUserLinksCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsUserLinksCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsUserLinksCreateCall) NotifyNewUser

func (c *AccountsUserLinksCreateCall) NotifyNewUser(notifyNewUser bool) *AccountsUserLinksCreateCall

NotifyNewUser sets the optional parameter "notifyNewUser": If set, then email the new user notifying them that they've been granted permissions to the resource.

type AccountsUserLinksDeleteCall

type AccountsUserLinksDeleteCall struct {
	// contains filtered or unexported fields
}

func (*AccountsUserLinksDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserLinksDeleteCall) Do

Do executes the "analyticsadmin.accounts.userLinks.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsUserLinksDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsUserLinksDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsUserLinksGetCall

type AccountsUserLinksGetCall struct {
	// contains filtered or unexported fields
}

func (*AccountsUserLinksGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserLinksGetCall) Do

Do executes the "analyticsadmin.accounts.userLinks.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaUserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaUserLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsUserLinksGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsUserLinksGetCall) Header

func (c *AccountsUserLinksGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsUserLinksGetCall) IfNoneMatch

func (c *AccountsUserLinksGetCall) IfNoneMatch(entityTag string) *AccountsUserLinksGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AccountsUserLinksListCall

type AccountsUserLinksListCall struct {
	// contains filtered or unexported fields
}

func (*AccountsUserLinksListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserLinksListCall) Do

Do executes the "analyticsadmin.accounts.userLinks.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListUserLinksResponse.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsUserLinksListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsUserLinksListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsUserLinksListCall) IfNoneMatch

func (c *AccountsUserLinksListCall) IfNoneMatch(entityTag string) *AccountsUserLinksListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AccountsUserLinksListCall) PageSize

PageSize sets the optional parameter "pageSize": 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.

func (*AccountsUserLinksListCall) PageToken

PageToken sets the optional parameter "pageToken": 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.

func (*AccountsUserLinksListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsUserLinksPatchCall

type AccountsUserLinksPatchCall struct {
	// contains filtered or unexported fields
}

func (*AccountsUserLinksPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AccountsUserLinksPatchCall) Do

Do executes the "analyticsadmin.accounts.userLinks.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaUserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaUserLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsUserLinksPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsUserLinksPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsUserLinksService

type AccountsUserLinksService struct {
	// contains filtered or unexported fields
}

func NewAccountsUserLinksService

func NewAccountsUserLinksService(s *Service) *AccountsUserLinksService

func (*AccountsUserLinksService) Audit

func (r *AccountsUserLinksService) Audit(parent string, googleanalyticsadminv1alphaaudituserlinksrequest *GoogleAnalyticsAdminV1alphaAuditUserLinksRequest) *AccountsUserLinksAuditCall

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

- parent: Example format: accounts/1234.

func (*AccountsUserLinksService) BatchCreate

func (r *AccountsUserLinksService) BatchCreate(parent string, googleanalyticsadminv1alphabatchcreateuserlinksrequest *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest) *AccountsUserLinksBatchCreateCall

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

  • parent: 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.

func (*AccountsUserLinksService) BatchDelete

func (r *AccountsUserLinksService) BatchDelete(parent string, googleanalyticsadminv1alphabatchdeleteuserlinksrequest *GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest) *AccountsUserLinksBatchDeleteCall

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

  • parent: 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.

func (*AccountsUserLinksService) BatchGet

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

  • parent: 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.

func (*AccountsUserLinksService) BatchUpdate

func (r *AccountsUserLinksService) BatchUpdate(parent string, googleanalyticsadminv1alphabatchupdateuserlinksrequest *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest) *AccountsUserLinksBatchUpdateCall

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

  • parent: 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.

func (*AccountsUserLinksService) Create

func (r *AccountsUserLinksService) Create(parent string, googleanalyticsadminv1alphauserlink *GoogleAnalyticsAdminV1alphaUserLink) *AccountsUserLinksCreateCall

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

- parent: Example format: accounts/1234.

func (*AccountsUserLinksService) Delete

Delete: Deletes a user link on an account or property.

- name: Example format: accounts/1234/userLinks/5678.

func (*AccountsUserLinksService) Get

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

- name: Example format: accounts/1234/userLinks/5678.

func (*AccountsUserLinksService) List

List: Lists all user links on an account or property.

- parent: Example format: accounts/1234.

func (*AccountsUserLinksService) Patch

func (r *AccountsUserLinksService) Patch(name string, googleanalyticsadminv1alphauserlink *GoogleAnalyticsAdminV1alphaUserLink) *AccountsUserLinksPatchCall

Patch: Updates a user link on an account or property.

- name: Output only. Example format: properties/1234/userLinks/5678.

type GoogleAnalyticsAdminV1alphaAccount

type GoogleAnalyticsAdminV1alphaAccount struct {
	// CreateTime: Output only. Time when this account was originally
	// created.
	CreateTime string `json:"createTime,omitempty"`

	// Deleted: Output only. Indicates whether this Account is soft-deleted
	// or not. Deleted accounts are excluded from List results unless
	// specifically requested.
	Deleted bool `json:"deleted,omitempty"`

	// DisplayName: Required. Human-readable display name for this account.
	DisplayName string `json:"displayName,omitempty"`

	// Name: Output only. Resource name of this account. Format:
	// accounts/{account} Example: "accounts/100"
	Name string `json:"name,omitempty"`

	// RegionCode: Country of business. Must be a Unicode CLDR region code.
	RegionCode string `json:"regionCode,omitempty"`

	// UpdateTime: Output only. Time when account payload fields were last
	// updated.
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CreateTime") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaAccount: A resource message representing a Google Analytics account.

func (*GoogleAnalyticsAdminV1alphaAccount) MarshalJSON

func (s *GoogleAnalyticsAdminV1alphaAccount) MarshalJSON() ([]byte, error)

type GoogleAnalyticsAdminV1alphaAccountSummary

type GoogleAnalyticsAdminV1alphaAccountSummary struct {
	// Account: Resource name of account referred to by this account summary
	// Format: accounts/{account_id} Example: "accounts/1000"
	Account string `json:"account,omitempty"`

	// DisplayName: Display name for the account referred to in this account
	// summary.
	DisplayName string `json:"displayName,omitempty"`

	// Name: Resource name for this account summary. Format:
	// accountSummaries/{account_id} Example: "accountSummaries/1000"
	Name string `json:"name,omitempty"`

	// PropertySummaries: List of summaries for child accounts of this
	// account.
	PropertySummaries []*GoogleAnalyticsAdminV1alphaPropertySummary `json:"propertySummaries,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Account") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Account") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaAccountSummary: A virtual resource representing an overview of an account and all its child GA4 properties.

func (*GoogleAnalyticsAdminV1alphaAccountSummary) MarshalJSON

type GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest added in v0.59.0

type GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest struct {
	// Acknowledgement: Required. An acknowledgement that the caller of this
	// method understands the terms of user data collection. This field must
	// contain the exact value: "I acknowledge that I have the necessary
	// privacy disclosures and rights from my end users for the collection
	// and processing of their data, including the association of such data
	// with the visitation information Google Analytics collects from my
	// site and/or app property."
	Acknowledgement string `json:"acknowledgement,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Acknowledgement") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Acknowledgement") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest: Request message for AcknowledgeUserDataCollection RPC.

func (*GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest) MarshalJSON added in v0.59.0

type GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse added in v0.59.0

type GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse struct {
	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`
}

GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse: Response message for AcknowledgeUserDataCollection RPC.

type GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest added in v0.51.0

type GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest struct {
}

GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposa lRequest: Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.

type GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse added in v0.51.0

type GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse struct {
	// DisplayVideo360AdvertiserLink: The DisplayVideo360AdvertiserLink
	// created as a result of approving the proposal.
	DisplayVideo360AdvertiserLink *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink `json:"displayVideo360AdvertiserLink,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g.
	// "DisplayVideo360AdvertiserLink") to unconditionally include in API
	// requests. By default, fields with empty or default values are omitted
	// from API requests. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g.
	// "DisplayVideo360AdvertiserLink") to include in API requests with the
	// JSON null value. By default, fields with empty values are omitted
	// from API requests. However, any field with an empty value appearing
	// in NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposa lResponse: Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.

func (*GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse) MarshalJSON added in v0.51.0

type GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest added in v0.47.0

type GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest struct {
}

GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest: Request message for ArchiveCustomDimension RPC.

type GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest added in v0.47.0

type GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest struct {
}

GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest: Request message for ArchiveCustomMetric RPC.

type GoogleAnalyticsAdminV1alphaAttributionSettings added in v0.84.0

type GoogleAnalyticsAdminV1alphaAttributionSettings struct {
	// AcquisitionConversionEventLookbackWindow: Required. The lookback
	// window configuration for acquisition conversion events. The default
	// window size is 30 days.
	//
	// Possible values:
	//   "ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED" -
	// Lookback window size unspecified.
	//   "ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS" - 7-day
	// lookback window.
	//   "ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS" - 30-day
	// lookback window.
	AcquisitionConversionEventLookbackWindow string `json:"acquisitionConversionEventLookbackWindow,omitempty"`

	// Name: Output only. Resource name of this attribution settings
	// resource. Format: properties/{property_id}/attributionSettings
	// Example: "properties/1000/attributionSettings"
	Name string `json:"name,omitempty"`

	// OtherConversionEventLookbackWindow: Required. The lookback window for
	// all other, non-acquisition conversion events. The default window size
	// is 90 days.
	//
	// Possible values:
	//   "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED" - Lookback
	// window size unspecified.
	//   "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS" - 30-day lookback
	// window.
	//   "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS" - 60-day lookback
	// window.
	//   "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS" - 90-day lookback
	// window.
	OtherConversionEventLookbackWindow string `json:"otherConversionEventLookbackWindow,omitempty"`

	// ReportingAttributionModel: Required. The reporting attribution model
	// used to calculate conversion credit in this property's reports.
	// Changing the attribution model will apply to both historical and
	// future data. These changes will be reflected in reports with
	// conversion and revenue data. User and session data will be
	// unaffected.
	//
	// Possible values:
	//   "REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED" - Reporting attribution
	// model unspecified.
	//   "CROSS_CHANNEL_DATA_DRIVEN" - Data-driven attribution distributes
	// credit for the conversion based on data for each conversion event.
	// Each Data-driven model is specific to each advertiser and each
	// conversion event.
	//   "CROSS_CHANNEL_LAST_CLICK" - Ignores direct traffic and attributes
	// 100% of the conversion value to the last channel that the customer
	// clicked through (or engaged view through for YouTube) before
	// converting.
	//   "CROSS_CHANNEL_FIRST_CLICK" - Gives all credit for the conversion
	// to the first channel that a customer clicked (or engaged view through
	// for YouTube) before converting.
	//   "CROSS_CHANNEL_LINEAR" - Distributes the credit for the conversion
	// equally across all the channels a customer clicked (or engaged view
	// through for YouTube) before converting.
	//   "CROSS_CHANNEL_POSITION_BASED" - Attributes 40% credit to the first
	// and last interaction, and the remaining 20% credit is distributed
	// evenly to the middle interactions.
	//   "CROSS_CHANNEL_TIME_DECAY" - Gives more credit to the touchpoints
	// that happened closer in time to the conversion.
	//   "ADS_PREFERRED_LAST_CLICK" - Attributes 100% of the conversion
	// value to the last Google Ads channel that the customer clicked
	// through before converting.
	ReportingAttributionModel string `json:"reportingAttributionModel,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g.
	// "AcquisitionConversionEventLookbackWindow") to unconditionally
	// include in API requests. By default, fields with empty or default
	// values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g.
	// "AcquisitionConversionEventLookbackWindow") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaAttributionSettings: The attribution settings used for a given property. This is a singleton resource.

func (*GoogleAnalyticsAdminV1alphaAttributionSettings) MarshalJSON added in v0.84.0

type GoogleAnalyticsAdminV1alphaAuditUserLink struct {
	// DirectRoles: Roles directly assigned to this user for this entity.
	// Format: predefinedRoles/viewer Excludes roles that are inherited from
	// an account (if this is for a property), group, or organization admin
	// role.
	DirectRoles []string `json:"directRoles,omitempty"`

	// EffectiveRoles: Union of all permissions a user has at this account
	// or property (includes direct permissions, group-inherited
	// permissions, etc.). Format: predefinedRoles/viewer
	EffectiveRoles []string `json:"effectiveRoles,omitempty"`

	// EmailAddress: Email address of the linked user
	EmailAddress string `json:"emailAddress,omitempty"`

	// Name: Example format: properties/1234/userLinks/5678
	Name string `json:"name,omitempty"`

	// ForceSendFields is a list of field names (e.g. "DirectRoles") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "DirectRoles") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaAuditUserLink: Read-only resource used to summarize a principal's effective roles.

func (*GoogleAnalyticsAdminV1alphaAuditUserLink) MarshalJSON

func (s *GoogleAnalyticsAdminV1alphaAuditUserLink) MarshalJSON() ([]byte, error)

type GoogleAnalyticsAdminV1alphaAuditUserLinksRequest

type GoogleAnalyticsAdminV1alphaAuditUserLinksRequest struct {
	// PageSize: 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.
	PageSize int64 `json:"pageSize,omitempty"`

	// PageToken: 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.
	PageToken string `json:"pageToken,omitempty"`

	// ForceSendFields is a list of field names (e.g. "PageSize") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "PageSize") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaAuditUserLinksRequest: Request message for AuditUserLinks RPC.

func (*GoogleAnalyticsAdminV1alphaAuditUserLinksRequest) MarshalJSON

type GoogleAnalyticsAdminV1alphaAuditUserLinksResponse

type GoogleAnalyticsAdminV1alphaAuditUserLinksResponse struct {
	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// UserLinks: List of AuditUserLinks. These will be ordered stably, but
	// in an arbitrary order.
	UserLinks []*GoogleAnalyticsAdminV1alphaAuditUserLink `json:"userLinks,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "NextPageToken") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaAuditUserLinksResponse: Response message for AuditUserLinks RPC.

func (*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) MarshalJSON

type GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest

type GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest struct {
	// NotifyNewUsers: 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.
	NotifyNewUsers bool `json:"notifyNewUsers,omitempty"`

	// Requests: Required. The requests specifying the user links to create.
	// A maximum of 1000 user links can be created in a batch.
	Requests []*GoogleAnalyticsAdminV1alphaCreateUserLinkRequest `json:"requests,omitempty"`

	// ForceSendFields is a list of field names (e.g. "NotifyNewUsers") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "NotifyNewUsers") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest: Request message for BatchCreateUserLinks RPC.

func (*GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest) MarshalJSON

type GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse

type GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse struct {
	// UserLinks: The user links created.
	UserLinks []*GoogleAnalyticsAdminV1alphaUserLink `json:"userLinks,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "UserLinks") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "UserLinks") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse: Response message for BatchCreateUserLinks RPC.

func (*GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse) MarshalJSON

type GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest

type GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest struct {
	// Requests: Required. The requests specifying the user links to update.
	// A maximum of 1000 user links can be updated in a batch.
	Requests []*GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest `json:"requests,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Requests") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Requests") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest: Request message for BatchDeleteUserLinks RPC.

func (*GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest) MarshalJSON

type GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse

type GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse struct {
	// UserLinks: The requested user links.
	UserLinks []*GoogleAnalyticsAdminV1alphaUserLink `json:"userLinks,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "UserLinks") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "UserLinks") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse: Response message for BatchGetUserLinks RPC.

func (*GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse) MarshalJSON

type GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest

type GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest struct {
	// Requests: Required. The requests specifying the user links to update.
	// A maximum of 1000 user links can be updated in a batch.
	Requests []*GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest `json:"requests,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Requests") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Requests") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest: Request message for BatchUpdateUserLinks RPC.

func (*GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest) MarshalJSON

type GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse

type GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse struct {
	// UserLinks: The user links updated.
	UserLinks []*GoogleAnalyticsAdminV1alphaUserLink `json:"userLinks,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "UserLinks") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "UserLinks") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse: Response message for BatchUpdateUserLinks RPC.

func (*GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse) MarshalJSON

type GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest added in v0.51.0

type GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest struct {
}

GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposal Request: Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC.

type GoogleAnalyticsAdminV1alphaChangeHistoryChange added in v0.41.0

type GoogleAnalyticsAdminV1alphaChangeHistoryChange struct {
	// Action: The type of action that changed this resource.
	//
	// Possible values:
	//   "ACTION_TYPE_UNSPECIFIED" - Action type unknown or not specified.
	//   "CREATED" - Resource was created in this change.
	//   "UPDATED" - Resource was updated in this change.
	//   "DELETED" - Resource was deleted in this change.
	Action string `json:"action,omitempty"`

	// Resource: Resource name of the resource whose changes are described
	// by this entry.
	Resource string `json:"resource,omitempty"`

	// ResourceAfterChange: Resource contents from after the change was
	// made. If this resource was deleted in this change, this field will be
	// missing.
	ResourceAfterChange *GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource `json:"resourceAfterChange,omitempty"`

	// ResourceBeforeChange: Resource contents from before the change was
	// made. If this resource was created in this change, this field will be
	// missing.
	ResourceBeforeChange *GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource `json:"resourceBeforeChange,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Action") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Action") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaChangeHistoryChange: A description of a change to a single Google Analytics resource.

func (*GoogleAnalyticsAdminV1alphaChangeHistoryChange) MarshalJSON added in v0.41.0

type GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource added in v0.41.0

type GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource struct {
	// Account: A snapshot of an Account resource in change history.
	Account *GoogleAnalyticsAdminV1alphaAccount `json:"account,omitempty"`

	// AttributionSettings: A snapshot of AttributionSettings resource in
	// change history.
	AttributionSettings *GoogleAnalyticsAdminV1alphaAttributionSettings `json:"attributionSettings,omitempty"`

	// ConversionEvent: A snapshot of a ConversionEvent resource in change
	// history.
	ConversionEvent *GoogleAnalyticsAdminV1alphaConversionEvent `json:"conversionEvent,omitempty"`

	// CustomDimension: A snapshot of a CustomDimension resource in change
	// history.
	CustomDimension *GoogleAnalyticsAdminV1alphaCustomDimension `json:"customDimension,omitempty"`

	// CustomMetric: A snapshot of a CustomMetric resource in change
	// history.
	CustomMetric *GoogleAnalyticsAdminV1alphaCustomMetric `json:"customMetric,omitempty"`

	// DataRetentionSettings: A snapshot of a data retention settings
	// resource in change history.
	DataRetentionSettings *GoogleAnalyticsAdminV1alphaDataRetentionSettings `json:"dataRetentionSettings,omitempty"`

	// DataStream: A snapshot of a DataStream resource in change history.
	DataStream *GoogleAnalyticsAdminV1alphaDataStream `json:"dataStream,omitempty"`

	// DisplayVideo360AdvertiserLink: A snapshot of a
	// DisplayVideo360AdvertiserLink resource in change history.
	DisplayVideo360AdvertiserLink *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink `json:"displayVideo360AdvertiserLink,omitempty"`

	// DisplayVideo360AdvertiserLinkProposal: A snapshot of a
	// DisplayVideo360AdvertiserLinkProposal resource in change history.
	DisplayVideo360AdvertiserLinkProposal *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal `json:"displayVideo360AdvertiserLinkProposal,omitempty"`

	// FirebaseLink: A snapshot of a FirebaseLink resource in change
	// history.
	FirebaseLink *GoogleAnalyticsAdminV1alphaFirebaseLink `json:"firebaseLink,omitempty"`

	// GoogleAdsLink: A snapshot of a GoogleAdsLink resource in change
	// history.
	GoogleAdsLink *GoogleAnalyticsAdminV1alphaGoogleAdsLink `json:"googleAdsLink,omitempty"`

	// GoogleSignalsSettings: A snapshot of a GoogleSignalsSettings resource
	// in change history.
	GoogleSignalsSettings *GoogleAnalyticsAdminV1alphaGoogleSignalsSettings `json:"googleSignalsSettings,omitempty"`

	// MeasurementProtocolSecret: A snapshot of a MeasurementProtocolSecret
	// resource in change history.
	MeasurementProtocolSecret *GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret `json:"measurementProtocolSecret,omitempty"`

	// Property: A snapshot of a Property resource in change history.
	Property *GoogleAnalyticsAdminV1alphaProperty `json:"property,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Account") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Account") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource: A snapshot of a resource as before or after the result of a change in change history.

func (*GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource) MarshalJSON added in v0.41.0

type GoogleAnalyticsAdminV1alphaChangeHistoryEvent added in v0.41.0

type GoogleAnalyticsAdminV1alphaChangeHistoryEvent struct {
	// ActorType: The type of actor that made this change.
	//
	// Possible values:
	//   "ACTOR_TYPE_UNSPECIFIED" - Unknown or unspecified actor type.
	//   "USER" - Changes made by the user specified in actor_email.
	//   "SYSTEM" - Changes made by the Google Analytics system.
	//   "SUPPORT" - Changes made by Google Analytics support team staff.
	ActorType string `json:"actorType,omitempty"`

	// ChangeTime: Time when change was made.
	ChangeTime string `json:"changeTime,omitempty"`

	// Changes: A list of changes made in this change history event that fit
	// the filters specified in SearchChangeHistoryEventsRequest.
	Changes []*GoogleAnalyticsAdminV1alphaChangeHistoryChange `json:"changes,omitempty"`

	// ChangesFiltered: If true, then the list of changes returned was
	// filtered, and does not represent all changes that occurred in this
	// event.
	ChangesFiltered bool `json:"changesFiltered,omitempty"`

	// Id: ID of this change history event. This ID is unique across Google
	// Analytics.
	Id string `json:"id,omitempty"`

	// UserActorEmail: Email address of the Google account that made the
	// change. This will be a valid email address if the actor field is set
	// to USER, and empty otherwise. Google accounts that have been deleted
	// will cause an error.
	UserActorEmail string `json:"userActorEmail,omitempty"`

	// ForceSendFields is a list of field names (e.g. "ActorType") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "ActorType") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaChangeHistoryEvent: A set of changes within a Google Analytics account or its child properties that resulted from the same cause. Common causes would be updates made in the Google Analytics UI, changes from customer support, or automatic Google Analytics system changes.

func (*GoogleAnalyticsAdminV1alphaChangeHistoryEvent) MarshalJSON added in v0.41.0

type GoogleAnalyticsAdminV1alphaConversionEvent added in v0.47.0

type GoogleAnalyticsAdminV1alphaConversionEvent struct {
	// CreateTime: Output only. Time when this conversion event was created
	// in the property.
	CreateTime string `json:"createTime,omitempty"`

	// Custom: Output only. If set to true, this conversion event refers to
	// a custom event. If set to false, this conversion event refers to a
	// default event in GA. Default events typically have special meaning in
	// GA. Default events are usually created for you by the GA system, but
	// in some cases can be created by property admins. Custom events count
	// towards the maximum number of custom conversion events that may be
	// created per property.
	Custom bool `json:"custom,omitempty"`

	// Deletable: Output only. If set, this event can currently be deleted
	// via DeleteConversionEvent.
	Deletable bool `json:"deletable,omitempty"`

	// EventName: Immutable. The event name for this conversion event.
	// Examples: 'click', 'purchase'
	EventName string `json:"eventName,omitempty"`

	// Name: Output only. Resource name of this conversion event. Format:
	// properties/{property}/conversionEvents/{conversion_event}
	Name string `json:"name,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CreateTime") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaConversionEvent: A conversion event in a Google Analytics property.

func (*GoogleAnalyticsAdminV1alphaConversionEvent) MarshalJSON added in v0.47.0

type GoogleAnalyticsAdminV1alphaCreateUserLinkRequest

type GoogleAnalyticsAdminV1alphaCreateUserLinkRequest struct {
	// NotifyNewUser: Optional. If set, then email the new user notifying
	// them that they've been granted permissions to the resource.
	NotifyNewUser bool `json:"notifyNewUser,omitempty"`

	// Parent: Required. Example format: accounts/1234
	Parent string `json:"parent,omitempty"`

	// UserLink: Required. The user link to create.
	UserLink *GoogleAnalyticsAdminV1alphaUserLink `json:"userLink,omitempty"`

	// ForceSendFields is a list of field names (e.g. "NotifyNewUser") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "NotifyNewUser") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

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

func (*GoogleAnalyticsAdminV1alphaCreateUserLinkRequest) MarshalJSON

type GoogleAnalyticsAdminV1alphaCustomDimension added in v0.47.0

type GoogleAnalyticsAdminV1alphaCustomDimension struct {
	// Description: Optional. Description for this custom dimension. Max
	// length of 150 characters.
	Description string `json:"description,omitempty"`

	// DisallowAdsPersonalization: Optional. If set to true, sets this
	// dimension as NPA and excludes it from ads personalization. This is
	// currently only supported by user-scoped custom dimensions.
	DisallowAdsPersonalization bool `json:"disallowAdsPersonalization,omitempty"`

	// DisplayName: Required. Display name for this custom dimension as
	// shown in the Analytics UI. Max length of 82 characters, alphanumeric
	// plus space and underscore starting with a letter. Legacy
	// system-generated display names may contain square brackets, but
	// updates to this field will never permit square brackets.
	DisplayName string `json:"displayName,omitempty"`

	// Name: Output only. Resource name for this CustomDimension resource.
	// Format: properties/{property}/customDimensions/{customDimension}
	Name string `json:"name,omitempty"`

	// ParameterName: Required. Immutable. Tagging parameter name for this
	// custom dimension. If this is a user-scoped dimension, then this is
	// the user property name. If this is an event-scoped dimension, then
	// this is the event parameter name. May only contain alphanumeric and
	// underscore characters, starting with a letter. Max length of 24
	// characters for user-scoped dimensions, 40 characters for event-scoped
	// dimensions.
	ParameterName string `json:"parameterName,omitempty"`

	// Scope: Required. Immutable. The scope of this dimension.
	//
	// Possible values:
	//   "DIMENSION_SCOPE_UNSPECIFIED" - Scope unknown or not specified.
	//   "EVENT" - Dimension scoped to an event.
	//   "USER" - Dimension scoped to a user.
	Scope string `json:"scope,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Description") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Description") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaCustomDimension: A definition for a CustomDimension.

func (*GoogleAnalyticsAdminV1alphaCustomDimension) MarshalJSON added in v0.47.0

type GoogleAnalyticsAdminV1alphaCustomMetric added in v0.47.0

type GoogleAnalyticsAdminV1alphaCustomMetric struct {
	// Description: Optional. Description for this custom dimension. Max
	// length of 150 characters.
	Description string `json:"description,omitempty"`

	// DisplayName: Required. Display name for this custom metric as shown
	// in the Analytics UI. Max length of 82 characters, alphanumeric plus
	// space and underscore starting with a letter. Legacy system-generated
	// display names may contain square brackets, but updates to this field
	// will never permit square brackets.
	DisplayName string `json:"displayName,omitempty"`

	// MeasurementUnit: Required. The type for the custom metric's value.
	//
	// Possible values:
	//   "MEASUREMENT_UNIT_UNSPECIFIED" - MeasurementUnit unspecified or
	// missing.
	//   "STANDARD" - This metric uses default units.
	//   "CURRENCY" - This metric measures a currency.
	//   "FEET" - This metric measures feet.
	//   "METERS" - This metric measures meters.
	//   "KILOMETERS" - This metric measures kilometers.
	//   "MILES" - This metric measures miles.
	//   "MILLISECONDS" - This metric measures milliseconds.
	//   "SECONDS" - This metric measures seconds.
	//   "MINUTES" - This metric measures minutes.
	//   "HOURS" - This metric measures hours.
	MeasurementUnit string `json:"measurementUnit,omitempty"`

	// Name: Output only. Resource name for this CustomMetric resource.
	// Format: properties/{property}/customMetrics/{customMetric}
	Name string `json:"name,omitempty"`

	// ParameterName: Required. Immutable. Tagging name for this custom
	// metric. If this is an event-scoped metric, then this is the event
	// parameter name. May only contain alphanumeric and underscore
	// charactes, starting with a letter. Max length of 40 characters for
	// event-scoped metrics.
	ParameterName string `json:"parameterName,omitempty"`

	// RestrictedMetricType: Optional. Types of restricted data that this
	// metric may contain. Required for metrics with CURRENCY measurement
	// unit. Must be empty for metrics with a non-CURRENCY measurement unit.
	//
	// Possible values:
	//   "RESTRICTED_METRIC_TYPE_UNSPECIFIED" - Type unknown or unspecified.
	//   "COST_DATA" - Metric reports cost data.
	//   "REVENUE_DATA" - Metric reports revenue data.
	RestrictedMetricType []string `json:"restrictedMetricType,omitempty"`

	// Scope: Required. Immutable. The scope of this custom metric.
	//
	// Possible values:
	//   "METRIC_SCOPE_UNSPECIFIED" - Scope unknown or not specified.
	//   "EVENT" - Metric scoped to an event.
	Scope string `json:"scope,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Description") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Description") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaCustomMetric: A definition for a custom metric.

func (*GoogleAnalyticsAdminV1alphaCustomMetric) MarshalJSON added in v0.47.0

func (s *GoogleAnalyticsAdminV1alphaCustomMetric) MarshalJSON() ([]byte, error)

type GoogleAnalyticsAdminV1alphaDataRetentionSettings added in v0.55.0

type GoogleAnalyticsAdminV1alphaDataRetentionSettings struct {
	// EventDataRetention: The length of time that event-level data is
	// retained.
	//
	// Possible values:
	//   "RETENTION_DURATION_UNSPECIFIED" - Data retention time duration is
	// not specified.
	//   "TWO_MONTHS" - The data retention time duration is 2 months.
	//   "FOURTEEN_MONTHS" - The data retention time duration is 14 months.
	//   "TWENTY_SIX_MONTHS" - The data retention time duration is 26
	// months. Available to 360 properties only.
	//   "THIRTY_EIGHT_MONTHS" - The data retention time duration is 38
	// months. Available to 360 properties only.
	//   "FIFTY_MONTHS" - The data retention time duration is 50 months.
	// Available to 360 properties only.
	EventDataRetention string `json:"eventDataRetention,omitempty"`

	// Name: Output only. Resource name for this DataRetentionSetting
	// resource. Format: properties/{property}/dataRetentionSettings
	Name string `json:"name,omitempty"`

	// ResetUserDataOnNewActivity: If true, reset the retention period for
	// the user identifier with every event from that user.
	ResetUserDataOnNewActivity bool `json:"resetUserDataOnNewActivity,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "EventDataRetention")
	// to unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "EventDataRetention") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaDataRetentionSettings: Settings values for data retention. This is a singleton resource.

func (*GoogleAnalyticsAdminV1alphaDataRetentionSettings) MarshalJSON added in v0.55.0

type GoogleAnalyticsAdminV1alphaDataSharingSettings

type GoogleAnalyticsAdminV1alphaDataSharingSettings struct {
	// Name: Output only. Resource name. Format:
	// accounts/{account}/dataSharingSettings Example:
	// "accounts/1000/dataSharingSettings"
	Name string `json:"name,omitempty"`

	// SharingWithGoogleAnySalesEnabled: Allows any of Google sales to
	// access the data in order to suggest configuration changes to improve
	// results.
	SharingWithGoogleAnySalesEnabled bool `json:"sharingWithGoogleAnySalesEnabled,omitempty"`

	// SharingWithGoogleAssignedSalesEnabled: 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.
	SharingWithGoogleAssignedSalesEnabled bool `json:"sharingWithGoogleAssignedSalesEnabled,omitempty"`

	// SharingWithGoogleProductsEnabled: Allows Google to use the data to
	// improve other Google products or services.
	SharingWithGoogleProductsEnabled bool `json:"sharingWithGoogleProductsEnabled,omitempty"`

	// SharingWithGoogleSupportEnabled: Allows Google support to access the
	// data in order to help troubleshoot issues.
	SharingWithGoogleSupportEnabled bool `json:"sharingWithGoogleSupportEnabled,omitempty"`

	// SharingWithOthersEnabled: Allows Google to share the data anonymously
	// in aggregate form with others.
	SharingWithOthersEnabled bool `json:"sharingWithOthersEnabled,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Name") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Name") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaDataSharingSettings: A resource message representing data sharing settings of a Google Analytics account.

func (*GoogleAnalyticsAdminV1alphaDataSharingSettings) MarshalJSON

type GoogleAnalyticsAdminV1alphaDataStream added in v0.61.0

type GoogleAnalyticsAdminV1alphaDataStream struct {
	// AndroidAppStreamData: Data specific to Android app streams. Must be
	// populated if type is ANDROID_APP_DATA_STREAM.
	AndroidAppStreamData *GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData `json:"androidAppStreamData,omitempty"`

	// CreateTime: Output only. Time when this stream was originally
	// created.
	CreateTime string `json:"createTime,omitempty"`

	// DisplayName: Human-readable display name for the Data Stream.
	// Required for web data streams. The max allowed display name length is
	// 255 UTF-16 code units.
	DisplayName string `json:"displayName,omitempty"`

	// IosAppStreamData: Data specific to iOS app streams. Must be populated
	// if type is IOS_APP_DATA_STREAM.
	IosAppStreamData *GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData `json:"iosAppStreamData,omitempty"`

	// Name: Output only. Resource name of this Data Stream. Format:
	// properties/{property_id}/dataStreams/{stream_id} Example:
	// "properties/1000/dataStreams/2000"
	Name string `json:"name,omitempty"`

	// Type: Required. Immutable. The type of this DataStream resource.
	//
	// Possible values:
	//   "DATA_STREAM_TYPE_UNSPECIFIED" - Type unknown or not specified.
	//   "WEB_DATA_STREAM" - Web data stream.
	//   "ANDROID_APP_DATA_STREAM" - Android app data stream.
	//   "IOS_APP_DATA_STREAM" - iOS app data stream.
	Type string `json:"type,omitempty"`

	// UpdateTime: Output only. Time when stream payload fields were last
	// updated.
	UpdateTime string `json:"updateTime,omitempty"`

	// WebStreamData: Data specific to web streams. Must be populated if
	// type is WEB_DATA_STREAM.
	WebStreamData *GoogleAnalyticsAdminV1alphaDataStreamWebStreamData `json:"webStreamData,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g.
	// "AndroidAppStreamData") to unconditionally include in API requests.
	// By default, fields with empty or default values are omitted from API
	// requests. However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AndroidAppStreamData") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaDataStream: A resource message representing a data stream.

func (*GoogleAnalyticsAdminV1alphaDataStream) MarshalJSON added in v0.61.0

func (s *GoogleAnalyticsAdminV1alphaDataStream) MarshalJSON() ([]byte, error)

type GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData added in v0.61.0

type GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData struct {
	// FirebaseAppId: Output only. ID of the corresponding Android app in
	// Firebase, if any. This ID can change if the Android app is deleted
	// and recreated.
	FirebaseAppId string `json:"firebaseAppId,omitempty"`

	// PackageName: Immutable. The package name for the app being measured.
	// Example: "com.example.myandroidapp"
	PackageName string `json:"packageName,omitempty"`

	// ForceSendFields is a list of field names (e.g. "FirebaseAppId") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "FirebaseAppId") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData: Data specific to Android app streams.

func (*GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData) MarshalJSON added in v0.61.0

type GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData added in v0.61.0

type GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData struct {
	// BundleId: Required. Immutable. The Apple App Store Bundle ID for the
	// app Example: "com.example.myiosapp"
	BundleId string `json:"bundleId,omitempty"`

	// FirebaseAppId: Output only. ID of the corresponding iOS app in
	// Firebase, if any. This ID can change if the iOS app is deleted and
	// recreated.
	FirebaseAppId string `json:"firebaseAppId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "BundleId") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "BundleId") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData: Data specific to iOS app streams.

func (*GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData) MarshalJSON added in v0.61.0

type GoogleAnalyticsAdminV1alphaDataStreamWebStreamData added in v0.61.0

type GoogleAnalyticsAdminV1alphaDataStreamWebStreamData struct {
	// DefaultUri: Immutable. Domain name of the web app being measured, or
	// empty. Example: "http://www.google.com", "https://www.google.com"
	DefaultUri string `json:"defaultUri,omitempty"`

	// FirebaseAppId: Output only. ID of the corresponding web app in
	// Firebase, if any. This ID can change if the web app is deleted and
	// recreated.
	FirebaseAppId string `json:"firebaseAppId,omitempty"`

	// MeasurementId: Output only. Analytics "Measurement ID", without the
	// "G-" prefix. Example: "G-1A2BCD345E" would just be "1A2BCD345E"
	MeasurementId string `json:"measurementId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "DefaultUri") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "DefaultUri") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaDataStreamWebStreamData: Data specific to web streams.

func (*GoogleAnalyticsAdminV1alphaDataStreamWebStreamData) MarshalJSON added in v0.61.0

type GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest

type GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest struct {
	// Name: Required. Example format: accounts/1234/userLinks/5678
	Name string `json:"name,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Name") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Name") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest: Request message for DeleteUserLink RPC.

func (*GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest) MarshalJSON

type GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink struct {
	// AdsPersonalizationEnabled: Enables personalized advertising features
	// with this integration. If this field is not set on create/update, it
	// will be defaulted to true.
	AdsPersonalizationEnabled bool `json:"adsPersonalizationEnabled,omitempty"`

	// AdvertiserDisplayName: Output only. The display name of the Display &
	// Video 360 Advertiser.
	AdvertiserDisplayName string `json:"advertiserDisplayName,omitempty"`

	// AdvertiserId: Immutable. The Display & Video 360 Advertiser's
	// advertiser ID.
	AdvertiserId string `json:"advertiserId,omitempty"`

	// CampaignDataSharingEnabled: Immutable. Enables the import of campaign
	// data from Display & Video 360 into the GA4 property. After link
	// creation, this can only be updated from the Display & Video 360
	// product. If this field is not set on create, it will be defaulted to
	// true.
	CampaignDataSharingEnabled bool `json:"campaignDataSharingEnabled,omitempty"`

	// CostDataSharingEnabled: Immutable. Enables the import of cost data
	// from Display & Video 360 into the GA4 property. This can only be
	// enabled if campaign_data_sharing_enabled is enabled. After link
	// creation, this can only be updated from the Display & Video 360
	// product. If this field is not set on create, it will be defaulted to
	// true.
	CostDataSharingEnabled bool `json:"costDataSharingEnabled,omitempty"`

	// Name: Output only. The resource name for this
	// DisplayVideo360AdvertiserLink resource. Format:
	// properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note:
	// linkId is not the Display & Video 360 Advertiser ID
	Name string `json:"name,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g.
	// "AdsPersonalizationEnabled") to unconditionally include in API
	// requests. By default, fields with empty or default values are omitted
	// from API requests. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g.
	// "AdsPersonalizationEnabled") to include in API requests with the JSON
	// null value. By default, fields with empty values are omitted from API
	// requests. However, any field with an empty value appearing in
	// NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink: A link between a GA4 property and a Display & Video 360 advertiser.

func (*GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink) MarshalJSON added in v0.51.0

type GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal added in v0.51.0

type GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal struct {
	// AdsPersonalizationEnabled: Immutable. Enables personalized
	// advertising features with this integration. If this field is not set
	// on create, it will be defaulted to true.
	AdsPersonalizationEnabled bool `json:"adsPersonalizationEnabled,omitempty"`

	// AdvertiserDisplayName: Output only. The display name of the Display &
	// Video Advertiser. Only populated for proposals that originated from
	// Display & Video 360.
	AdvertiserDisplayName string `json:"advertiserDisplayName,omitempty"`

	// AdvertiserId: Immutable. The Display & Video 360 Advertiser's
	// advertiser ID.
	AdvertiserId string `json:"advertiserId,omitempty"`

	// CampaignDataSharingEnabled: Immutable. Enables the import of campaign
	// data from Display & Video 360. If this field is not set on create, it
	// will be defaulted to true.
	CampaignDataSharingEnabled bool `json:"campaignDataSharingEnabled,omitempty"`

	// CostDataSharingEnabled: Immutable. Enables the import of cost data
	// from Display & Video 360. This can only be enabled if
	// campaign_data_sharing_enabled is enabled. If this field is not set on
	// create, it will be defaulted to true.
	CostDataSharingEnabled bool `json:"costDataSharingEnabled,omitempty"`

	// LinkProposalStatusDetails: Output only. The status information for
	// this link proposal.
	LinkProposalStatusDetails *GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails `json:"linkProposalStatusDetails,omitempty"`

	// Name: Output only. The resource name for this
	// DisplayVideo360AdvertiserLinkProposal resource. Format:
	// properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{propos
	// alId} Note: proposalId is not the Display & Video 360 Advertiser ID
	Name string `json:"name,omitempty"`

	// ValidationEmail: Input only. On a proposal being sent to Display &
	// Video 360, this field must be set to the email address of an admin on
	// the target advertiser. This is used to verify that the Google
	// Analytics admin is aware of at least one admin on the Display & Video
	// 360 Advertiser. This does not restrict approval of the proposal to a
	// single user. Any admin on the Display & Video 360 Advertiser may
	// approve the proposal.
	ValidationEmail string `json:"validationEmail,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g.
	// "AdsPersonalizationEnabled") to unconditionally include in API
	// requests. By default, fields with empty or default values are omitted
	// from API requests. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g.
	// "AdsPersonalizationEnabled") to include in API requests with the JSON
	// null value. By default, fields with empty values are omitted from API
	// requests. However, any field with an empty value appearing in
	// NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal: A proposal for a link between a GA4 property and a Display & Video 360 advertiser. A proposal is converted to a DisplayVideo360AdvertiserLink once approved. Google Analytics admins approve inbound proposals while Display & Video 360 admins approve outbound proposals.

func (*GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal) MarshalJSON added in v0.51.0

type GoogleAnalyticsAdminV1alphaFirebaseLink struct {
	// CreateTime: Output only. Time when this FirebaseLink was originally
	// created.
	CreateTime string `json:"createTime,omitempty"`

	// Name: Output only. Example format: properties/1234/firebaseLinks/5678
	Name string `json:"name,omitempty"`

	// Project: 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'
	Project string `json:"project,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CreateTime") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaFirebaseLink: A link between a GA4 property and a Firebase project.

func (*GoogleAnalyticsAdminV1alphaFirebaseLink) MarshalJSON

func (s *GoogleAnalyticsAdminV1alphaFirebaseLink) MarshalJSON() ([]byte, error)

type GoogleAnalyticsAdminV1alphaGlobalSiteTag

type GoogleAnalyticsAdminV1alphaGlobalSiteTag struct {
	// Name: Output only. Resource name for this GlobalSiteTag resource.
	// Format:
	// properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
	// Example: "properties/123/dataStreams/456/globalSiteTag"
	Name string `json:"name,omitempty"`

	// Snippet: Immutable. JavaScript code snippet to be pasted as the first
	// item into the head tag of every webpage to measure.
	Snippet string `json:"snippet,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Name") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Name") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaGlobalSiteTag: Read-only resource with the tag for sending data from a website to a DataStream. Only present for web DataStream resources.

func (*GoogleAnalyticsAdminV1alphaGlobalSiteTag) MarshalJSON

func (s *GoogleAnalyticsAdminV1alphaGlobalSiteTag) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaGoogleAdsLink struct {
	// AdsPersonalizationEnabled: 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.
	AdsPersonalizationEnabled bool `json:"adsPersonalizationEnabled,omitempty"`

	// CanManageClients: Output only. If true, this link is for a Google Ads
	// manager account.
	CanManageClients bool `json:"canManageClients,omitempty"`

	// CreateTime: Output only. Time when this link was originally created.
	CreateTime string `json:"createTime,omitempty"`

	// CreatorEmailAddress: 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.
	CreatorEmailAddress string `json:"creatorEmailAddress,omitempty"`

	// CustomerId: Immutable. Google Ads customer ID.
	CustomerId string `json:"customerId,omitempty"`

	// Name: Output only. Format:
	// properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note:
	// googleAdsLinkId is not the Google Ads customer ID.
	Name string `json:"name,omitempty"`

	// UpdateTime: Output only. Time when this link was last updated.
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g.
	// "AdsPersonalizationEnabled") to unconditionally include in API
	// requests. By default, fields with empty or default values are omitted
	// from API requests. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g.
	// "AdsPersonalizationEnabled") to include in API requests with the JSON
	// null value. By default, fields with empty values are omitted from API
	// requests. However, any field with an empty value appearing in
	// NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaGoogleAdsLink: A link between a GA4 property and a Google Ads account.

func (*GoogleAnalyticsAdminV1alphaGoogleAdsLink) MarshalJSON

func (s *GoogleAnalyticsAdminV1alphaGoogleAdsLink) MarshalJSON() ([]byte, error)

type GoogleAnalyticsAdminV1alphaGoogleSignalsSettings added in v0.47.0

type GoogleAnalyticsAdminV1alphaGoogleSignalsSettings struct {
	// Consent: Output only. Terms of Service acceptance.
	//
	// Possible values:
	//   "GOOGLE_SIGNALS_CONSENT_UNSPECIFIED" - Google Signals consent value
	// defaults to GOOGLE_SIGNALS_CONSENT_UNSPECIFIED. This will be treated
	// as GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED.
	//   "GOOGLE_SIGNALS_CONSENT_CONSENTED" - Terms of service have been
	// accepted
	//   "GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED" - Terms of service have not
	// been accepted
	Consent string `json:"consent,omitempty"`

	// Name: Output only. Resource name of this setting. Format:
	// properties/{property_id}/googleSignalsSettings Example:
	// "properties/1000/googleSignalsSettings"
	Name string `json:"name,omitempty"`

	// State: Status of this setting.
	//
	// Possible values:
	//   "GOOGLE_SIGNALS_STATE_UNSPECIFIED" - Google Signals status defaults
	// to GOOGLE_SIGNALS_STATE_UNSPECIFIED to represent that the user has
	// not made an explicit choice.
	//   "GOOGLE_SIGNALS_ENABLED" - Google Signals is enabled.
	//   "GOOGLE_SIGNALS_DISABLED" - Google Signals is disabled.
	State string `json:"state,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Consent") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Consent") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaGoogleSignalsSettings: Settings values for Google Signals. This is a singleton resource.

func (*GoogleAnalyticsAdminV1alphaGoogleSignalsSettings) MarshalJSON added in v0.47.0

type GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails added in v0.51.0

type GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails struct {
	// LinkProposalInitiatingProduct: Output only. The source of this
	// proposal.
	//
	// Possible values:
	//   "LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED" - Unspecified
	// product.
	//   "GOOGLE_ANALYTICS" - This proposal was created by a user from
	// Google Analytics.
	//   "LINKED_PRODUCT" - This proposal was created by a user from a
	// linked product (not Google Analytics).
	LinkProposalInitiatingProduct string `json:"linkProposalInitiatingProduct,omitempty"`

	// LinkProposalState: Output only. The state of this proposal.
	//
	// Possible values:
	//   "LINK_PROPOSAL_STATE_UNSPECIFIED" - Unspecified state
	//   "AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS" - This proposal is awaiting
	// review from a Google Analytics user. This proposal will automatically
	// expire after some time.
	//   "AWAITING_REVIEW_FROM_LINKED_PRODUCT" - This proposal is awaiting
	// review from a user of a linked product. This proposal will
	// automatically expire after some time.
	//   "WITHDRAWN" - This proposal has been withdrawn by an admin on the
	// initiating product. This proposal will be automatically deleted after
	// some time.
	//   "DECLINED" - This proposal has been declined by an admin on the
	// receiving product. This proposal will be automatically deleted after
	// some time.
	//   "EXPIRED" - This proposal expired due to lack of response from an
	// admin on the receiving product. This proposal will be automatically
	// deleted after some time.
	//   "OBSOLETE" - This proposal has become obsolete because a link was
	// directly created to the same external product resource that this
	// proposal specifies. This proposal will be automatically deleted after
	// some time.
	LinkProposalState string `json:"linkProposalState,omitempty"`

	// RequestorEmail: Output only. The email address of the user that
	// proposed this linkage.
	RequestorEmail string `json:"requestorEmail,omitempty"`

	// ForceSendFields is a list of field names (e.g.
	// "LinkProposalInitiatingProduct") to unconditionally include in API
	// requests. By default, fields with empty or default values are omitted
	// from API requests. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g.
	// "LinkProposalInitiatingProduct") to include in API requests with the
	// JSON null value. By default, fields with empty values are omitted
	// from API requests. However, any field with an empty value appearing
	// in NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails: Status information for a link proposal.

func (*GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails) MarshalJSON added in v0.51.0

type GoogleAnalyticsAdminV1alphaListAccountSummariesResponse

type GoogleAnalyticsAdminV1alphaListAccountSummariesResponse struct {
	// AccountSummaries: Account summaries of all accounts the caller has
	// access to.
	AccountSummaries []*GoogleAnalyticsAdminV1alphaAccountSummary `json:"accountSummaries,omitempty"`

	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "AccountSummaries") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AccountSummaries") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaListAccountSummariesResponse: Response message for ListAccountSummaries RPC.

func (*GoogleAnalyticsAdminV1alphaListAccountSummariesResponse) MarshalJSON

type GoogleAnalyticsAdminV1alphaListAccountsResponse

type GoogleAnalyticsAdminV1alphaListAccountsResponse struct {
	// Accounts: Results that were accessible to the caller.
	Accounts []*GoogleAnalyticsAdminV1alphaAccount `json:"accounts,omitempty"`

	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Accounts") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Accounts") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaListAccountsResponse: Request message for ListAccounts RPC.

func (*GoogleAnalyticsAdminV1alphaListAccountsResponse) MarshalJSON

type GoogleAnalyticsAdminV1alphaListConversionEventsResponse added in v0.47.0

type GoogleAnalyticsAdminV1alphaListConversionEventsResponse struct {
	// ConversionEvents: The requested conversion events
	ConversionEvents []*GoogleAnalyticsAdminV1alphaConversionEvent `json:"conversionEvents,omitempty"`

	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "ConversionEvents") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "ConversionEvents") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaListConversionEventsResponse: Response message for ListConversionEvents RPC.

func (*GoogleAnalyticsAdminV1alphaListConversionEventsResponse) MarshalJSON added in v0.47.0

type GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse added in v0.47.0

type GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse struct {
	// CustomDimensions: List of CustomDimensions.
	CustomDimensions []*GoogleAnalyticsAdminV1alphaCustomDimension `json:"customDimensions,omitempty"`

	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "CustomDimensions") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CustomDimensions") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse: Response message for ListCustomDimensions RPC.

func (*GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse) MarshalJSON added in v0.47.0

type GoogleAnalyticsAdminV1alphaListCustomMetricsResponse added in v0.47.0

type GoogleAnalyticsAdminV1alphaListCustomMetricsResponse struct {
	// CustomMetrics: List of CustomMetrics.
	CustomMetrics []*GoogleAnalyticsAdminV1alphaCustomMetric `json:"customMetrics,omitempty"`

	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "CustomMetrics") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "CustomMetrics") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaListCustomMetricsResponse: Response message for ListCustomMetrics RPC.

func (*GoogleAnalyticsAdminV1alphaListCustomMetricsResponse) MarshalJSON added in v0.47.0

type GoogleAnalyticsAdminV1alphaListDataStreamsResponse added in v0.61.0

type GoogleAnalyticsAdminV1alphaListDataStreamsResponse struct {
	// DataStreams: List of DataStreams.
	DataStreams []*GoogleAnalyticsAdminV1alphaDataStream `json:"dataStreams,omitempty"`

	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "DataStreams") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "DataStreams") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaListDataStreamsResponse: Response message for ListDataStreams RPC.

func (*GoogleAnalyticsAdminV1alphaListDataStreamsResponse) MarshalJSON added in v0.61.0

type GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse added in v0.51.0

type GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse struct {
	// DisplayVideo360AdvertiserLinkProposals: List of
	// DisplayVideo360AdvertiserLinkProposals.
	DisplayVideo360AdvertiserLinkProposals []*GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal `json:"displayVideo360AdvertiserLinkProposals,omitempty"`

	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g.
	// "DisplayVideo360AdvertiserLinkProposals") to unconditionally include
	// in API requests. By default, fields with empty or default values are
	// omitted from API requests. However, any non-pointer, non-interface
	// field appearing in ForceSendFields will be sent to the server
	// regardless of whether the field is empty or not. This may be used to
	// include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g.
	// "DisplayVideo360AdvertiserLinkProposals") to include in API requests
	// with the JSON null value. By default, fields with empty values are
	// omitted from API requests. However, any field with an empty value
	// appearing in NullFields will be sent to the server as null. It is an
	// error if a field in this list has a non-empty value. This may be used
	// to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsR esponse: Response message for ListDisplayVideo360AdvertiserLinkProposals RPC.

func (*GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse) MarshalJSON added in v0.51.0

type GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse added in v0.51.0

type GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse struct {
	// DisplayVideo360AdvertiserLinks: List of
	// DisplayVideo360AdvertiserLinks.
	DisplayVideo360AdvertiserLinks []*GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink `json:"displayVideo360AdvertiserLinks,omitempty"`

	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g.
	// "DisplayVideo360AdvertiserLinks") to unconditionally include in API
	// requests. By default, fields with empty or default values are omitted
	// from API requests. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g.
	// "DisplayVideo360AdvertiserLinks") to include in API requests with the
	// JSON null value. By default, fields with empty values are omitted
	// from API requests. However, any field with an empty value appearing
	// in NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse:

Response message for ListDisplayVideo360AdvertiserLinks RPC.

func (*GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse) MarshalJSON added in v0.51.0

type GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse

type GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse struct {
	// FirebaseLinks: List of FirebaseLinks. This will have at most one
	// value.
	FirebaseLinks []*GoogleAnalyticsAdminV1alphaFirebaseLink `json:"firebaseLinks,omitempty"`

	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages. Currently, Google Analytics supports only one FirebaseLink per
	// property, so this will never be populated.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "FirebaseLinks") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "FirebaseLinks") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse: Response message for ListFirebaseLinks RPC

func (*GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse) MarshalJSON

type GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse

type GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse struct {
	// GoogleAdsLinks: List of GoogleAdsLinks.
	GoogleAdsLinks []*GoogleAnalyticsAdminV1alphaGoogleAdsLink `json:"googleAdsLinks,omitempty"`

	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "GoogleAdsLinks") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "GoogleAdsLinks") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse: Response message for ListGoogleAdsLinks RPC.

func (*GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse) MarshalJSON

type GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse added in v0.47.0

type GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse struct {
	// MeasurementProtocolSecrets: A list of secrets for the parent stream
	// specified in the request.
	MeasurementProtocolSecrets []*GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret `json:"measurementProtocolSecrets,omitempty"`

	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g.
	// "MeasurementProtocolSecrets") to unconditionally include in API
	// requests. By default, fields with empty or default values are omitted
	// from API requests. However, any non-pointer, non-interface field
	// appearing in ForceSendFields will be sent to the server regardless of
	// whether the field is empty or not. This may be used to include empty
	// fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g.
	// "MeasurementProtocolSecrets") to include in API requests with the
	// JSON null value. By default, fields with empty values are omitted
	// from API requests. However, any field with an empty value appearing
	// in NullFields will be sent to the server as null. It is an error if a
	// field in this list has a non-empty value. This may be used to include
	// null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse: Response message for ListMeasurementProtocolSecret RPC

func (*GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse) MarshalJSON added in v0.47.0

type GoogleAnalyticsAdminV1alphaListPropertiesResponse

type GoogleAnalyticsAdminV1alphaListPropertiesResponse struct {
	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Properties: Results that matched the filter criteria and were
	// accessible to the caller.
	Properties []*GoogleAnalyticsAdminV1alphaProperty `json:"properties,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "NextPageToken") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaListPropertiesResponse: Response message for ListProperties RPC.

func (*GoogleAnalyticsAdminV1alphaListPropertiesResponse) MarshalJSON

type GoogleAnalyticsAdminV1alphaListUserLinksResponse

type GoogleAnalyticsAdminV1alphaListUserLinksResponse struct {
	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// UserLinks: List of UserLinks. These will be ordered stably, but in an
	// arbitrary order.
	UserLinks []*GoogleAnalyticsAdminV1alphaUserLink `json:"userLinks,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "NextPageToken") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaListUserLinksResponse: Response message for ListUserLinks RPC.

func (*GoogleAnalyticsAdminV1alphaListUserLinksResponse) MarshalJSON

type GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret added in v0.47.0

type GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret struct {
	// DisplayName: Required. Human-readable display name for this secret.
	DisplayName string `json:"displayName,omitempty"`

	// Name: Output only. Resource name of this secret. This secret may be a
	// child of any type of stream. Format:
	// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecr
	// ets/{measurementProtocolSecret}
	Name string `json:"name,omitempty"`

	// SecretValue: Output only. The measurement protocol secret value. Pass
	// this value to the api_secret field of the Measurement Protocol API
	// when sending hits to this secret's parent property.
	SecretValue string `json:"secretValue,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "DisplayName") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "DisplayName") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret: A secret value used for sending hits to Measurement Protocol.

func (*GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret) MarshalJSON added in v0.47.0

type GoogleAnalyticsAdminV1alphaProperty

type GoogleAnalyticsAdminV1alphaProperty struct {
	// Account: Immutable. The resource name of the parent account Format:
	// accounts/{account_id} Example: "accounts/123"
	Account string `json:"account,omitempty"`

	// CreateTime: Output only. Time when the entity was originally created.
	CreateTime string `json:"createTime,omitempty"`

	// CurrencyCode: The currency type used in reports involving monetary
	// values. Format: https://en.wikipedia.org/wiki/ISO_4217 Examples:
	// "USD", "EUR", "JPY"
	CurrencyCode string `json:"currencyCode,omitempty"`

	// DeleteTime: Output only. If set, the time at which this property was
	// trashed. If not set, then this property is not currently in the trash
	// can.
	DeleteTime string `json:"deleteTime,omitempty"`

	// DisplayName: Required. Human-readable display name for this property.
	// The max allowed display name length is 100 UTF-16 code units.
	DisplayName string `json:"displayName,omitempty"`

	// ExpireTime: Output only. If set, the time at which this trashed
	// property will be permanently deleted. If not set, then this property
	// is not currently in the trash can and is not slated to be deleted.
	ExpireTime string `json:"expireTime,omitempty"`

	// IndustryCategory: Industry associated with this property Example:
	// AUTOMOTIVE, FOOD_AND_DRINK
	//
	// Possible values:
	//   "INDUSTRY_CATEGORY_UNSPECIFIED" - Industry category unspecified
	//   "AUTOMOTIVE" - Automotive
	//   "BUSINESS_AND_INDUSTRIAL_MARKETS" - Business and industrial markets
	//   "FINANCE" - Finance
	//   "HEALTHCARE" - Healthcare
	//   "TECHNOLOGY" - Technology
	//   "TRAVEL" - Travel
	//   "OTHER" - Other
	//   "ARTS_AND_ENTERTAINMENT" - Arts and entertainment
	//   "BEAUTY_AND_FITNESS" - Beauty and fitness
	//   "BOOKS_AND_LITERATURE" - Books and literature
	//   "FOOD_AND_DRINK" - Food and drink
	//   "GAMES" - Games
	//   "HOBBIES_AND_LEISURE" - Hobbies and leisure
	//   "HOME_AND_GARDEN" - Home and garden
	//   "INTERNET_AND_TELECOM" - Internet and telecom
	//   "LAW_AND_GOVERNMENT" - Law and government
	//   "NEWS" - News
	//   "ONLINE_COMMUNITIES" - Online communities
	//   "PEOPLE_AND_SOCIETY" - People and society
	//   "PETS_AND_ANIMALS" - Pets and animals
	//   "REAL_ESTATE" - Real estate
	//   "REFERENCE" - Reference
	//   "SCIENCE" - Science
	//   "SPORTS" - Sports
	//   "JOBS_AND_EDUCATION" - Jobs and education
	//   "SHOPPING" - Shopping
	IndustryCategory string `json:"industryCategory,omitempty"`

	// Name: Output only. Resource name of this property. Format:
	// properties/{property_id} Example: "properties/1000"
	Name string `json:"name,omitempty"`

	// Parent: Immutable. Resource name of this property's logical parent.
	// Note: The Property-Moving UI can be used to change the parent.
	// Format: accounts/{account}, properties/{property} Example:
	// "accounts/100", "properties/101"
	Parent string `json:"parent,omitempty"`

	// PropertyType: Immutable. The property type for this Property
	// resource. When creating a property, if the type is
	// "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
	// implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be
	// created via Google Analytics Admin API.
	//
	// Possible values:
	//   "PROPERTY_TYPE_UNSPECIFIED" - Unknown or unspecified property type
	//   "PROPERTY_TYPE_ORDINARY" - Ordinary GA4 property
	//   "PROPERTY_TYPE_SUBPROPERTY" - GA4 subproperty
	//   "PROPERTY_TYPE_ROLLUP" - GA4 rollup property
	PropertyType string `json:"propertyType,omitempty"`

	// ServiceLevel: Output only. The Google Analytics service level that
	// applies to this property.
	//
	// Possible values:
	//   "SERVICE_LEVEL_UNSPECIFIED" - Service level not specified or
	// invalid.
	//   "GOOGLE_ANALYTICS_STANDARD" - The standard version of Google
	// Analytics.
	//   "GOOGLE_ANALYTICS_360" - The paid, premium version of Google
	// Analytics.
	ServiceLevel string `json:"serviceLevel,omitempty"`

	// TimeZone: Required. 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"
	TimeZone string `json:"timeZone,omitempty"`

	// UpdateTime: Output only. Time when entity payload fields were last
	// updated.
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Account") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Account") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaProperty: A resource message representing a Google Analytics GA4 property.

func (*GoogleAnalyticsAdminV1alphaProperty) MarshalJSON

func (s *GoogleAnalyticsAdminV1alphaProperty) MarshalJSON() ([]byte, error)

type GoogleAnalyticsAdminV1alphaPropertySummary

type GoogleAnalyticsAdminV1alphaPropertySummary struct {
	// DisplayName: Display name for the property referred to in this
	// property summary.
	DisplayName string `json:"displayName,omitempty"`

	// Parent: Resource name of this property's logical parent. Note: The
	// Property-Moving UI can be used to change the parent. Format:
	// accounts/{account}, properties/{property} Example: "accounts/100",
	// "properties/200"
	Parent string `json:"parent,omitempty"`

	// Property: Resource name of property referred to by this property
	// summary Format: properties/{property_id} Example: "properties/1000"
	Property string `json:"property,omitempty"`

	// PropertyType: The property's property type.
	//
	// Possible values:
	//   "PROPERTY_TYPE_UNSPECIFIED" - Unknown or unspecified property type
	//   "PROPERTY_TYPE_ORDINARY" - Ordinary GA4 property
	//   "PROPERTY_TYPE_SUBPROPERTY" - GA4 subproperty
	//   "PROPERTY_TYPE_ROLLUP" - GA4 rollup property
	PropertyType string `json:"propertyType,omitempty"`

	// ForceSendFields is a list of field names (e.g. "DisplayName") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "DisplayName") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaPropertySummary: A virtual resource representing metadata for a GA4 property.

func (*GoogleAnalyticsAdminV1alphaPropertySummary) MarshalJSON

type GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest

type GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest struct {
	// Account: The account to create.
	Account *GoogleAnalyticsAdminV1alphaAccount `json:"account,omitempty"`

	// RedirectUri: Redirect URI where the user will be sent after accepting
	// Terms of Service. Must be configured in Developers Console as a
	// Redirect URI
	RedirectUri string `json:"redirectUri,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Account") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Account") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest: Request message for ProvisionAccountTicket RPC.

func (*GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest) MarshalJSON

type GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse

type GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse struct {
	// AccountTicketId: The param to be passed in the ToS link.
	AccountTicketId string `json:"accountTicketId,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "AccountTicketId") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AccountTicketId") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse: Response message for ProvisionAccountTicket RPC.

func (*GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse) MarshalJSON

type GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest added in v0.41.0

type GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest struct {
	// Action: Optional. If set, only return changes that match one or more
	// of these types of actions.
	//
	// Possible values:
	//   "ACTION_TYPE_UNSPECIFIED" - Action type unknown or not specified.
	//   "CREATED" - Resource was created in this change.
	//   "UPDATED" - Resource was updated in this change.
	//   "DELETED" - Resource was deleted in this change.
	Action []string `json:"action,omitempty"`

	// ActorEmail: Optional. If set, only return changes if they are made by
	// a user in this list.
	ActorEmail []string `json:"actorEmail,omitempty"`

	// EarliestChangeTime: Optional. If set, only return changes made after
	// this time (inclusive).
	EarliestChangeTime string `json:"earliestChangeTime,omitempty"`

	// LatestChangeTime: Optional. If set, only return changes made before
	// this time (inclusive).
	LatestChangeTime string `json:"latestChangeTime,omitempty"`

	// PageSize: Optional. The maximum number of ChangeHistoryEvent items to
	// return. The service may return fewer than this value, even if there
	// are additional pages. If unspecified, at most 50 items will be
	// returned. The maximum value is 200 (higher values will be coerced to
	// the maximum).
	PageSize int64 `json:"pageSize,omitempty"`

	// PageToken: Optional. A page token, received from a previous
	// `SearchChangeHistoryEvents` call. Provide this to retrieve the
	// subsequent page. When paginating, all other parameters provided to
	// `SearchChangeHistoryEvents` must match the call that provided the
	// page token.
	PageToken string `json:"pageToken,omitempty"`

	// Property: Optional. Resource name for a child property. If set, only
	// return changes made to this property or its child resources.
	Property string `json:"property,omitempty"`

	// ResourceType: Optional. If set, only return changes if they are for a
	// resource that matches at least one of these types.
	//
	// Possible values:
	//   "CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED" - Resource type unknown
	// or not specified.
	//   "ACCOUNT" - Account resource
	//   "PROPERTY" - Property resource
	//   "FIREBASE_LINK" - FirebaseLink resource
	//   "GOOGLE_ADS_LINK" - GoogleAdsLink resource
	//   "GOOGLE_SIGNALS_SETTINGS" - GoogleSignalsSettings resource
	//   "CONVERSION_EVENT" - ConversionEvent resource
	//   "MEASUREMENT_PROTOCOL_SECRET" - MeasurementProtocolSecret resource
	//   "CUSTOM_DIMENSION" - CustomDimension resource
	//   "CUSTOM_METRIC" - CustomMetric resource
	//   "DATA_RETENTION_SETTINGS" - DataRetentionSettings resource
	//   "DISPLAY_VIDEO_360_ADVERTISER_LINK" - DisplayVideo360AdvertiserLink
	// resource
	//   "DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL" -
	// DisplayVideo360AdvertiserLinkProposal resource
	//   "DATA_STREAM" - DataStream resource
	//   "ATTRIBUTION_SETTINGS" - AttributionSettings resource
	ResourceType []string `json:"resourceType,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Action") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Action") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest: Request message for SearchChangeHistoryEvents RPC.

func (*GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest) MarshalJSON added in v0.41.0

type GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse added in v0.41.0

type GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse struct {
	// ChangeHistoryEvents: Results that were accessible to the caller.
	ChangeHistoryEvents []*GoogleAnalyticsAdminV1alphaChangeHistoryEvent `json:"changeHistoryEvents,omitempty"`

	// NextPageToken: A token, which can be sent as `page_token` to retrieve
	// the next page. If this field is omitted, there are no subsequent
	// pages.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "ChangeHistoryEvents")
	// to unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "ChangeHistoryEvents") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse: Response message for SearchAccounts RPC.

func (*GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse) MarshalJSON added in v0.41.0

type GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest

type GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest struct {
	// UserLink: Required. The user link to update.
	UserLink *GoogleAnalyticsAdminV1alphaUserLink `json:"userLink,omitempty"`

	// ForceSendFields is a list of field names (e.g. "UserLink") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "UserLink") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest: Request message for UpdateUserLink RPC.

func (*GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest) MarshalJSON

type GoogleAnalyticsAdminV1alphaUserLink struct {
	// DirectRoles: Roles directly assigned to this user for this account or
	// property. Valid values: predefinedRoles/viewer
	// predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin
	// predefinedRoles/no-cost-data predefinedRoles/no-revenue-data 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.
	DirectRoles []string `json:"directRoles,omitempty"`

	// EmailAddress: Immutable. Email address of the user to link
	EmailAddress string `json:"emailAddress,omitempty"`

	// Name: Output only. Example format: properties/1234/userLinks/5678
	Name string `json:"name,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "DirectRoles") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are omitted from API requests. However, any
	// non-pointer, non-interface field appearing in ForceSendFields will be
	// sent to the server regardless of whether the field is empty or not.
	// This may be used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "DirectRoles") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

GoogleAnalyticsAdminV1alphaUserLink: A resource message representing a user's permissions on an Account or Property resource.

func (*GoogleAnalyticsAdminV1alphaUserLink) MarshalJSON

func (s *GoogleAnalyticsAdminV1alphaUserLink) MarshalJSON() ([]byte, error)

type GoogleProtobufEmpty

type GoogleProtobufEmpty struct {
	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`
}

GoogleProtobufEmpty: 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); }

type PropertiesAcknowledgeUserDataCollectionCall added in v0.59.0

type PropertiesAcknowledgeUserDataCollectionCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesAcknowledgeUserDataCollectionCall) Context added in v0.59.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesAcknowledgeUserDataCollectionCall) Do added in v0.59.0

Do executes the "analyticsadmin.properties.acknowledgeUserDataCollection" call. Exactly one of *GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse.Serv erResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesAcknowledgeUserDataCollectionCall) Fields added in v0.59.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesAcknowledgeUserDataCollectionCall) Header added in v0.59.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesConversionEventsCreateCall added in v0.47.0

type PropertiesConversionEventsCreateCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesConversionEventsCreateCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesConversionEventsCreateCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.conversionEvents.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaConversionEvent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaConversionEvent.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesConversionEventsCreateCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesConversionEventsCreateCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesConversionEventsDeleteCall added in v0.47.0

type PropertiesConversionEventsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesConversionEventsDeleteCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesConversionEventsDeleteCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.conversionEvents.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesConversionEventsDeleteCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesConversionEventsDeleteCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesConversionEventsGetCall added in v0.47.0

type PropertiesConversionEventsGetCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesConversionEventsGetCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesConversionEventsGetCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.conversionEvents.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaConversionEvent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaConversionEvent.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesConversionEventsGetCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesConversionEventsGetCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesConversionEventsGetCall) IfNoneMatch added in v0.47.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type PropertiesConversionEventsListCall added in v0.47.0

type PropertiesConversionEventsListCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesConversionEventsListCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesConversionEventsListCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.conversionEvents.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListConversionEventsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListConversionEventsResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesConversionEventsListCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesConversionEventsListCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesConversionEventsListCall) IfNoneMatch added in v0.47.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*PropertiesConversionEventsListCall) PageSize added in v0.47.0

PageSize sets the optional parameter "pageSize": 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)

func (*PropertiesConversionEventsListCall) PageToken added in v0.47.0

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListConversionEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConversionEvents` must match the call that provided the page token.

func (*PropertiesConversionEventsListCall) Pages added in v0.47.0

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type PropertiesConversionEventsService added in v0.47.0

type PropertiesConversionEventsService struct {
	// contains filtered or unexported fields
}

func NewPropertiesConversionEventsService added in v0.47.0

func NewPropertiesConversionEventsService(s *Service) *PropertiesConversionEventsService

func (*PropertiesConversionEventsService) Create added in v0.47.0

Create: Creates a conversion event with the specified attributes.

  • parent: The resource name of the parent property where this conversion event will be created. Format: properties/123.

func (*PropertiesConversionEventsService) Delete added in v0.47.0

Delete: Deletes a conversion event in a property.

  • name: The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456".

func (*PropertiesConversionEventsService) Get added in v0.47.0

Get: Retrieve a single conversion event.

  • name: The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: "properties/123/conversionEvents/456".

func (*PropertiesConversionEventsService) List added in v0.47.0

List: Returns a list of conversion events in the specified parent property. Returns an empty list if no conversion events are found.

  • parent: The resource name of the parent property. Example: 'properties/123'.

type PropertiesCreateCall

type PropertiesCreateCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesCreateCall) Do

Do executes the "analyticsadmin.properties.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaProperty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaProperty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesCreateCall) Header

func (c *PropertiesCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesCustomDimensionsArchiveCall added in v0.47.0

type PropertiesCustomDimensionsArchiveCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesCustomDimensionsArchiveCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesCustomDimensionsArchiveCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.customDimensions.archive" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesCustomDimensionsArchiveCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesCustomDimensionsArchiveCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesCustomDimensionsCreateCall added in v0.47.0

type PropertiesCustomDimensionsCreateCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesCustomDimensionsCreateCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesCustomDimensionsCreateCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.customDimensions.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaCustomDimension or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaCustomDimension.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesCustomDimensionsCreateCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesCustomDimensionsCreateCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesCustomDimensionsGetCall added in v0.47.0

type PropertiesCustomDimensionsGetCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesCustomDimensionsGetCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesCustomDimensionsGetCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.customDimensions.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaCustomDimension or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaCustomDimension.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesCustomDimensionsGetCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesCustomDimensionsGetCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesCustomDimensionsGetCall) IfNoneMatch added in v0.47.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type PropertiesCustomDimensionsListCall added in v0.47.0

type PropertiesCustomDimensionsListCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesCustomDimensionsListCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesCustomDimensionsListCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.customDimensions.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesCustomDimensionsListCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesCustomDimensionsListCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesCustomDimensionsListCall) IfNoneMatch added in v0.47.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*PropertiesCustomDimensionsListCall) PageSize added in v0.47.0

PageSize sets the optional parameter "pageSize": 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).

func (*PropertiesCustomDimensionsListCall) PageToken added in v0.47.0

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListCustomDimensions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCustomDimensions` must match the call that provided the page token.

func (*PropertiesCustomDimensionsListCall) Pages added in v0.47.0

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type PropertiesCustomDimensionsPatchCall added in v0.47.0

type PropertiesCustomDimensionsPatchCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesCustomDimensionsPatchCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesCustomDimensionsPatchCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.customDimensions.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaCustomDimension or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaCustomDimension.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesCustomDimensionsPatchCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesCustomDimensionsPatchCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesCustomDimensionsPatchCall) UpdateMask added in v0.47.0

UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

type PropertiesCustomDimensionsService added in v0.47.0

type PropertiesCustomDimensionsService struct {
	// contains filtered or unexported fields
}

func NewPropertiesCustomDimensionsService added in v0.47.0

func NewPropertiesCustomDimensionsService(s *Service) *PropertiesCustomDimensionsService

func (*PropertiesCustomDimensionsService) Archive added in v0.47.0

func (r *PropertiesCustomDimensionsService) Archive(name string, googleanalyticsadminv1alphaarchivecustomdimensionrequest *GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest) *PropertiesCustomDimensionsArchiveCall

Archive: Archives a CustomDimension on a property.

  • name: The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678.

func (*PropertiesCustomDimensionsService) Create added in v0.47.0

Create: Creates a CustomDimension.

- parent: Example format: properties/1234.

func (*PropertiesCustomDimensionsService) Get added in v0.47.0

Get: Lookup for a single CustomDimension.

  • name: The name of the CustomDimension to get. Example format: properties/1234/customDimensions/5678.

func (*PropertiesCustomDimensionsService) List added in v0.47.0

List: Lists CustomDimensions on a property.

- parent: Example format: properties/1234.

func (*PropertiesCustomDimensionsService) Patch added in v0.47.0

Patch: Updates a CustomDimension on a property.

  • name: Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension}.

type PropertiesCustomMetricsArchiveCall added in v0.47.0

type PropertiesCustomMetricsArchiveCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesCustomMetricsArchiveCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesCustomMetricsArchiveCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.customMetrics.archive" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesCustomMetricsArchiveCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesCustomMetricsArchiveCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesCustomMetricsCreateCall added in v0.47.0

type PropertiesCustomMetricsCreateCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesCustomMetricsCreateCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesCustomMetricsCreateCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.customMetrics.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaCustomMetric or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaCustomMetric.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesCustomMetricsCreateCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesCustomMetricsCreateCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesCustomMetricsGetCall added in v0.47.0

type PropertiesCustomMetricsGetCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesCustomMetricsGetCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesCustomMetricsGetCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.customMetrics.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaCustomMetric or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaCustomMetric.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesCustomMetricsGetCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesCustomMetricsGetCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesCustomMetricsGetCall) IfNoneMatch added in v0.47.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type PropertiesCustomMetricsListCall added in v0.47.0

type PropertiesCustomMetricsListCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesCustomMetricsListCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesCustomMetricsListCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.customMetrics.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListCustomMetricsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListCustomMetricsResponse.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesCustomMetricsListCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesCustomMetricsListCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesCustomMetricsListCall) IfNoneMatch added in v0.47.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*PropertiesCustomMetricsListCall) PageSize added in v0.47.0

PageSize sets the optional parameter "pageSize": 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).

func (*PropertiesCustomMetricsListCall) PageToken added in v0.47.0

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListCustomMetrics` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCustomMetrics` must match the call that provided the page token.

func (*PropertiesCustomMetricsListCall) Pages added in v0.47.0

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type PropertiesCustomMetricsPatchCall added in v0.47.0

type PropertiesCustomMetricsPatchCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesCustomMetricsPatchCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesCustomMetricsPatchCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.customMetrics.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaCustomMetric or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaCustomMetric.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesCustomMetricsPatchCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesCustomMetricsPatchCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesCustomMetricsPatchCall) UpdateMask added in v0.47.0

UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

type PropertiesCustomMetricsService added in v0.47.0

type PropertiesCustomMetricsService struct {
	// contains filtered or unexported fields
}

func NewPropertiesCustomMetricsService added in v0.47.0

func NewPropertiesCustomMetricsService(s *Service) *PropertiesCustomMetricsService

func (*PropertiesCustomMetricsService) Archive added in v0.47.0

func (r *PropertiesCustomMetricsService) Archive(name string, googleanalyticsadminv1alphaarchivecustommetricrequest *GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest) *PropertiesCustomMetricsArchiveCall

Archive: Archives a CustomMetric on a property.

  • name: The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678.

func (*PropertiesCustomMetricsService) Create added in v0.47.0

func (r *PropertiesCustomMetricsService) Create(parent string, googleanalyticsadminv1alphacustommetric *GoogleAnalyticsAdminV1alphaCustomMetric) *PropertiesCustomMetricsCreateCall

Create: Creates a CustomMetric.

- parent: Example format: properties/1234.

func (*PropertiesCustomMetricsService) Get added in v0.47.0

Get: Lookup for a single CustomMetric.

  • name: The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678.

func (*PropertiesCustomMetricsService) List added in v0.47.0

List: Lists CustomMetrics on a property.

- parent: Example format: properties/1234.

func (*PropertiesCustomMetricsService) Patch added in v0.47.0

Patch: Updates a CustomMetric on a property.

  • name: Output only. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric}.

type PropertiesDataStreamsCreateCall added in v0.61.0

type PropertiesDataStreamsCreateCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDataStreamsCreateCall) Context added in v0.61.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDataStreamsCreateCall) Do added in v0.61.0

Do executes the "analyticsadmin.properties.dataStreams.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaDataStream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaDataStream.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDataStreamsCreateCall) Fields added in v0.61.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDataStreamsCreateCall) Header added in v0.61.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesDataStreamsDeleteCall added in v0.61.0

type PropertiesDataStreamsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDataStreamsDeleteCall) Context added in v0.61.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDataStreamsDeleteCall) Do added in v0.61.0

Do executes the "analyticsadmin.properties.dataStreams.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDataStreamsDeleteCall) Fields added in v0.61.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDataStreamsDeleteCall) Header added in v0.61.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesDataStreamsGetCall added in v0.61.0

type PropertiesDataStreamsGetCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDataStreamsGetCall) Context added in v0.61.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDataStreamsGetCall) Do added in v0.61.0

Do executes the "analyticsadmin.properties.dataStreams.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaDataStream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaDataStream.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDataStreamsGetCall) Fields added in v0.61.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDataStreamsGetCall) Header added in v0.61.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesDataStreamsGetCall) IfNoneMatch added in v0.61.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type PropertiesDataStreamsGetGlobalSiteTagCall added in v0.67.0

type PropertiesDataStreamsGetGlobalSiteTagCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDataStreamsGetGlobalSiteTagCall) Context added in v0.67.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDataStreamsGetGlobalSiteTagCall) Do added in v0.67.0

Do executes the "analyticsadmin.properties.dataStreams.getGlobalSiteTag" call. Exactly one of *GoogleAnalyticsAdminV1alphaGlobalSiteTag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaGlobalSiteTag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDataStreamsGetGlobalSiteTagCall) Fields added in v0.67.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDataStreamsGetGlobalSiteTagCall) Header added in v0.67.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesDataStreamsGetGlobalSiteTagCall) IfNoneMatch added in v0.67.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type PropertiesDataStreamsListCall added in v0.61.0

type PropertiesDataStreamsListCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDataStreamsListCall) Context added in v0.61.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDataStreamsListCall) Do added in v0.61.0

Do executes the "analyticsadmin.properties.dataStreams.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListDataStreamsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListDataStreamsResponse.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDataStreamsListCall) Fields added in v0.61.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDataStreamsListCall) Header added in v0.61.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesDataStreamsListCall) IfNoneMatch added in v0.61.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*PropertiesDataStreamsListCall) PageSize added in v0.61.0

PageSize sets the optional parameter "pageSize": 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).

func (*PropertiesDataStreamsListCall) PageToken added in v0.61.0

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListDataStreams` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDataStreams` must match the call that provided the page token.

func (*PropertiesDataStreamsListCall) Pages added in v0.61.0

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type PropertiesDataStreamsMeasurementProtocolSecretsCreateCall added in v0.66.0

type PropertiesDataStreamsMeasurementProtocolSecretsCreateCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDataStreamsMeasurementProtocolSecretsCreateCall) Context added in v0.66.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDataStreamsMeasurementProtocolSecretsCreateCall) Do added in v0.66.0

Do executes the "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDataStreamsMeasurementProtocolSecretsCreateCall) Fields added in v0.66.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDataStreamsMeasurementProtocolSecretsCreateCall) Header added in v0.66.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesDataStreamsMeasurementProtocolSecretsDeleteCall added in v0.66.0

type PropertiesDataStreamsMeasurementProtocolSecretsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDataStreamsMeasurementProtocolSecretsDeleteCall) Context added in v0.66.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDataStreamsMeasurementProtocolSecretsDeleteCall) Do added in v0.66.0

Do executes the "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDataStreamsMeasurementProtocolSecretsDeleteCall) Fields added in v0.66.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDataStreamsMeasurementProtocolSecretsDeleteCall) Header added in v0.66.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesDataStreamsMeasurementProtocolSecretsGetCall added in v0.66.0

type PropertiesDataStreamsMeasurementProtocolSecretsGetCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDataStreamsMeasurementProtocolSecretsGetCall) Context added in v0.66.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDataStreamsMeasurementProtocolSecretsGetCall) Do added in v0.66.0

Do executes the "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDataStreamsMeasurementProtocolSecretsGetCall) Fields added in v0.66.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDataStreamsMeasurementProtocolSecretsGetCall) Header added in v0.66.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesDataStreamsMeasurementProtocolSecretsGetCall) IfNoneMatch added in v0.66.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type PropertiesDataStreamsMeasurementProtocolSecretsListCall added in v0.66.0

type PropertiesDataStreamsMeasurementProtocolSecretsListCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall) Context added in v0.66.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall) Do added in v0.66.0

Do executes the "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse.Ser verResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall) Fields added in v0.66.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall) Header added in v0.66.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall) IfNoneMatch added in v0.66.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall) PageSize added in v0.66.0

PageSize sets the optional parameter "pageSize": The maximum number of resources to return. If unspecified, at most 10 resources will be returned. The maximum value is 10. Higher values will be coerced to the maximum.

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall) PageToken added in v0.66.0

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListMeasurementProtocolSecrets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMeasurementProtocolSecrets` must match the call that provided the page token.

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall) Pages added in v0.66.0

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type PropertiesDataStreamsMeasurementProtocolSecretsPatchCall added in v0.66.0

type PropertiesDataStreamsMeasurementProtocolSecretsPatchCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDataStreamsMeasurementProtocolSecretsPatchCall) Context added in v0.66.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDataStreamsMeasurementProtocolSecretsPatchCall) Do added in v0.66.0

Do executes the "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDataStreamsMeasurementProtocolSecretsPatchCall) Fields added in v0.66.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDataStreamsMeasurementProtocolSecretsPatchCall) Header added in v0.66.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesDataStreamsMeasurementProtocolSecretsPatchCall) UpdateMask added in v0.66.0

UpdateMask sets the optional parameter "updateMask": The list of fields to be updated. Omitted fields will not be updated.

type PropertiesDataStreamsMeasurementProtocolSecretsService added in v0.66.0

type PropertiesDataStreamsMeasurementProtocolSecretsService struct {
	// contains filtered or unexported fields
}

func NewPropertiesDataStreamsMeasurementProtocolSecretsService added in v0.66.0

func NewPropertiesDataStreamsMeasurementProtocolSecretsService(s *Service) *PropertiesDataStreamsMeasurementProtocolSecretsService

func (*PropertiesDataStreamsMeasurementProtocolSecretsService) Create added in v0.66.0

Create: Creates a measurement protocol secret.

  • parent: The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream}.

func (*PropertiesDataStreamsMeasurementProtocolSecretsService) Delete added in v0.66.0

Delete: Deletes target MeasurementProtocolSecret.

  • name: The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSe crets/{measurementProtocolSecret}.

func (*PropertiesDataStreamsMeasurementProtocolSecretsService) Get added in v0.66.0

Get: Lookup for a single "GA4" MeasurementProtocolSecret.

  • name: The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSe crets/{measurementProtocolSecret}.

func (*PropertiesDataStreamsMeasurementProtocolSecretsService) List added in v0.66.0

List: Returns child MeasurementProtocolSecrets under the specified parent Property.

  • parent: The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSe crets.

func (*PropertiesDataStreamsMeasurementProtocolSecretsService) Patch added in v0.66.0

Patch: Updates a measurement protocol secret.

  • name: Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSe crets/{measurementProtocolSecret}.

type PropertiesDataStreamsPatchCall added in v0.61.0

type PropertiesDataStreamsPatchCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDataStreamsPatchCall) Context added in v0.61.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDataStreamsPatchCall) Do added in v0.61.0

Do executes the "analyticsadmin.properties.dataStreams.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaDataStream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaDataStream.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDataStreamsPatchCall) Fields added in v0.61.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDataStreamsPatchCall) Header added in v0.61.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesDataStreamsPatchCall) UpdateMask added in v0.61.0

UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

type PropertiesDataStreamsService added in v0.61.0

type PropertiesDataStreamsService struct {
	MeasurementProtocolSecrets *PropertiesDataStreamsMeasurementProtocolSecretsService
	// contains filtered or unexported fields
}

func NewPropertiesDataStreamsService added in v0.61.0

func NewPropertiesDataStreamsService(s *Service) *PropertiesDataStreamsService

func (*PropertiesDataStreamsService) Create added in v0.61.0

func (r *PropertiesDataStreamsService) Create(parent string, googleanalyticsadminv1alphadatastream *GoogleAnalyticsAdminV1alphaDataStream) *PropertiesDataStreamsCreateCall

Create: Creates a DataStream.

- parent: Example format: properties/1234.

func (*PropertiesDataStreamsService) Delete added in v0.61.0

Delete: Deletes a DataStream on a property.

  • name: The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678.

func (*PropertiesDataStreamsService) Get added in v0.61.0

Get: Lookup for a single DataStream.

  • name: The name of the DataStream to get. Example format: properties/1234/dataStreams/5678.

func (*PropertiesDataStreamsService) GetGlobalSiteTag added in v0.67.0

GetGlobalSiteTag: Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.

  • name: The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag".

func (*PropertiesDataStreamsService) List added in v0.61.0

List: Lists DataStreams on a property.

- parent: Example format: properties/1234.

func (*PropertiesDataStreamsService) Patch added in v0.61.0

func (r *PropertiesDataStreamsService) Patch(name string, googleanalyticsadminv1alphadatastream *GoogleAnalyticsAdminV1alphaDataStream) *PropertiesDataStreamsPatchCall

Patch: Updates a DataStream on a property.

  • name: Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000".

type PropertiesDeleteCall

type PropertiesDeleteCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDeleteCall) Do

Do executes the "analyticsadmin.properties.delete" call. Exactly one of *GoogleAnalyticsAdminV1alphaProperty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaProperty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDeleteCall) Header

func (c *PropertiesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesDisplayVideo360AdvertiserLinkProposalsApproveCall added in v0.51.0

type PropertiesDisplayVideo360AdvertiserLinkProposalsApproveCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsApproveCall) Context added in v0.51.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsApproveCall) Do added in v0.51.0

Do executes the "analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.approve" call. Exactly one of *GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkPropos alResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkPropos alResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsApproveCall) Fields added in v0.51.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsApproveCall) Header added in v0.51.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesDisplayVideo360AdvertiserLinkProposalsCancelCall added in v0.51.0

type PropertiesDisplayVideo360AdvertiserLinkProposalsCancelCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsCancelCall) Context added in v0.51.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsCancelCall) Do added in v0.51.0

Do executes the "analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.cancel" call. Exactly one of *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal.Serv erResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsCancelCall) Fields added in v0.51.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsCancelCall) Header added in v0.51.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesDisplayVideo360AdvertiserLinkProposalsCreateCall added in v0.51.0

type PropertiesDisplayVideo360AdvertiserLinkProposalsCreateCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsCreateCall) Context added in v0.51.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsCreateCall) Do added in v0.51.0

Do executes the "analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal.Serv erResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsCreateCall) Fields added in v0.51.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsCreateCall) Header added in v0.51.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesDisplayVideo360AdvertiserLinkProposalsDeleteCall added in v0.51.0

type PropertiesDisplayVideo360AdvertiserLinkProposalsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsDeleteCall) Context added in v0.51.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsDeleteCall) Do added in v0.51.0

Do executes the "analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsDeleteCall) Fields added in v0.51.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsDeleteCall) Header added in v0.51.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesDisplayVideo360AdvertiserLinkProposalsGetCall added in v0.51.0

type PropertiesDisplayVideo360AdvertiserLinkProposalsGetCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsGetCall) Context added in v0.51.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsGetCall) Do added in v0.51.0

Do executes the "analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal.Serv erResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsGetCall) Fields added in v0.51.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsGetCall) Header added in v0.51.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsGetCall) IfNoneMatch added in v0.51.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type PropertiesDisplayVideo360AdvertiserLinkProposalsListCall added in v0.51.0

type PropertiesDisplayVideo360AdvertiserLinkProposalsListCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsListCall) Context added in v0.51.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsListCall) Do added in v0.51.0

Do executes the "analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposals Response or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposals Response.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsListCall) Fields added in v0.51.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsListCall) Header added in v0.51.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsListCall) IfNoneMatch added in v0.51.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsListCall) PageSize added in v0.51.0

PageSize sets the optional parameter "pageSize": 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).

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsListCall) PageToken added in v0.51.0

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDisplayVideo360AdvertiserLinkProposals` must match the call that provided the page token.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsListCall) Pages added in v0.51.0

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type PropertiesDisplayVideo360AdvertiserLinkProposalsService added in v0.51.0

type PropertiesDisplayVideo360AdvertiserLinkProposalsService struct {
	// contains filtered or unexported fields
}

func NewPropertiesDisplayVideo360AdvertiserLinkProposalsService added in v0.51.0

func NewPropertiesDisplayVideo360AdvertiserLinkProposalsService(s *Service) *PropertiesDisplayVideo360AdvertiserLinkProposalsService

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsService) Approve added in v0.51.0

Approve: Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.

  • name: The name of the DisplayVideo360AdvertiserLinkProposal to approve. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsService) Cancel added in v0.51.0

Cancel: Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either: - Declining a proposal initiated from Display & Video 360 - Withdrawing a proposal initiated from Google Analytics After being cancelled, a proposal will eventually be deleted automatically.

  • name: The name of the DisplayVideo360AdvertiserLinkProposal to cancel. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsService) Create added in v0.51.0

Create: Creates a DisplayVideo360AdvertiserLinkProposal.

- parent: Example format: properties/1234.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsService) Delete added in v0.51.0

Delete: Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.

  • name: The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsService) Get added in v0.51.0

Get: Lookup for a single DisplayVideo360AdvertiserLinkProposal.

  • name: The name of the DisplayVideo360AdvertiserLinkProposal to get. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678.

func (*PropertiesDisplayVideo360AdvertiserLinkProposalsService) List added in v0.51.0

List: Lists DisplayVideo360AdvertiserLinkProposals on a property.

- parent: Example format: properties/1234.

type PropertiesDisplayVideo360AdvertiserLinksCreateCall added in v0.51.0

type PropertiesDisplayVideo360AdvertiserLinksCreateCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDisplayVideo360AdvertiserLinksCreateCall) Context added in v0.51.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDisplayVideo360AdvertiserLinksCreateCall) Do added in v0.51.0

Do executes the "analyticsadmin.properties.displayVideo360AdvertiserLinks.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink.ServerRespon se.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDisplayVideo360AdvertiserLinksCreateCall) Fields added in v0.51.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDisplayVideo360AdvertiserLinksCreateCall) Header added in v0.51.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesDisplayVideo360AdvertiserLinksDeleteCall added in v0.51.0

type PropertiesDisplayVideo360AdvertiserLinksDeleteCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDisplayVideo360AdvertiserLinksDeleteCall) Context added in v0.51.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDisplayVideo360AdvertiserLinksDeleteCall) Do added in v0.51.0

Do executes the "analyticsadmin.properties.displayVideo360AdvertiserLinks.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDisplayVideo360AdvertiserLinksDeleteCall) Fields added in v0.51.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDisplayVideo360AdvertiserLinksDeleteCall) Header added in v0.51.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesDisplayVideo360AdvertiserLinksGetCall added in v0.51.0

type PropertiesDisplayVideo360AdvertiserLinksGetCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDisplayVideo360AdvertiserLinksGetCall) Context added in v0.51.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDisplayVideo360AdvertiserLinksGetCall) Do added in v0.51.0

Do executes the "analyticsadmin.properties.displayVideo360AdvertiserLinks.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink.ServerRespon se.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDisplayVideo360AdvertiserLinksGetCall) Fields added in v0.51.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDisplayVideo360AdvertiserLinksGetCall) Header added in v0.51.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesDisplayVideo360AdvertiserLinksGetCall) IfNoneMatch added in v0.51.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type PropertiesDisplayVideo360AdvertiserLinksListCall added in v0.51.0

type PropertiesDisplayVideo360AdvertiserLinksListCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDisplayVideo360AdvertiserLinksListCall) Context added in v0.51.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDisplayVideo360AdvertiserLinksListCall) Do added in v0.51.0

Do executes the "analyticsadmin.properties.displayVideo360AdvertiserLinks.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse

or error will be non-nil. Any non-2xx status code is an error.

Response headers are in either *GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse .ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDisplayVideo360AdvertiserLinksListCall) Fields added in v0.51.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDisplayVideo360AdvertiserLinksListCall) Header added in v0.51.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesDisplayVideo360AdvertiserLinksListCall) IfNoneMatch added in v0.51.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*PropertiesDisplayVideo360AdvertiserLinksListCall) PageSize added in v0.51.0

PageSize sets the optional parameter "pageSize": 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).

func (*PropertiesDisplayVideo360AdvertiserLinksListCall) PageToken added in v0.51.0

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListDisplayVideo360AdvertiserLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDisplayVideo360AdvertiserLinks` must match the call that provided the page token.

func (*PropertiesDisplayVideo360AdvertiserLinksListCall) Pages added in v0.51.0

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type PropertiesDisplayVideo360AdvertiserLinksPatchCall added in v0.51.0

type PropertiesDisplayVideo360AdvertiserLinksPatchCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesDisplayVideo360AdvertiserLinksPatchCall) Context added in v0.51.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesDisplayVideo360AdvertiserLinksPatchCall) Do added in v0.51.0

Do executes the "analyticsadmin.properties.displayVideo360AdvertiserLinks.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink.ServerRespon se.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDisplayVideo360AdvertiserLinksPatchCall) Fields added in v0.51.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesDisplayVideo360AdvertiserLinksPatchCall) Header added in v0.51.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesDisplayVideo360AdvertiserLinksPatchCall) UpdateMask added in v0.51.0

UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

type PropertiesDisplayVideo360AdvertiserLinksService added in v0.51.0

type PropertiesDisplayVideo360AdvertiserLinksService struct {
	// contains filtered or unexported fields
}

func NewPropertiesDisplayVideo360AdvertiserLinksService added in v0.51.0

func NewPropertiesDisplayVideo360AdvertiserLinksService(s *Service) *PropertiesDisplayVideo360AdvertiserLinksService

func (*PropertiesDisplayVideo360AdvertiserLinksService) Create added in v0.51.0

Create: Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.

- parent: Example format: properties/1234.

func (*PropertiesDisplayVideo360AdvertiserLinksService) Delete added in v0.51.0

Delete: Deletes a DisplayVideo360AdvertiserLink on a property.

  • name: The name of the DisplayVideo360AdvertiserLink to delete. Example format: properties/1234/displayVideo360AdvertiserLinks/5678.

func (*PropertiesDisplayVideo360AdvertiserLinksService) Get added in v0.51.0

Get: Look up a single DisplayVideo360AdvertiserLink

  • name: The name of the DisplayVideo360AdvertiserLink to get. Example format: properties/1234/displayVideo360AdvertiserLink/5678.

func (*PropertiesDisplayVideo360AdvertiserLinksService) List added in v0.51.0

List: Lists all DisplayVideo360AdvertiserLinks on a property.

- parent: Example format: properties/1234.

func (*PropertiesDisplayVideo360AdvertiserLinksService) Patch added in v0.51.0

Patch: Updates a DisplayVideo360AdvertiserLink on a property.

  • name: Output only. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: linkId is not the Display & Video 360 Advertiser ID.

type PropertiesFirebaseLinksCreateCall

type PropertiesFirebaseLinksCreateCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesFirebaseLinksCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesFirebaseLinksCreateCall) Do

Do executes the "analyticsadmin.properties.firebaseLinks.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaFirebaseLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaFirebaseLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesFirebaseLinksCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesFirebaseLinksCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesFirebaseLinksDeleteCall

type PropertiesFirebaseLinksDeleteCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesFirebaseLinksDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesFirebaseLinksDeleteCall) Do

Do executes the "analyticsadmin.properties.firebaseLinks.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesFirebaseLinksDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesFirebaseLinksDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesFirebaseLinksListCall

type PropertiesFirebaseLinksListCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesFirebaseLinksListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesFirebaseLinksListCall) Do

Do executes the "analyticsadmin.properties.firebaseLinks.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesFirebaseLinksListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesFirebaseLinksListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesFirebaseLinksListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*PropertiesFirebaseLinksListCall) PageSize added in v0.37.0

PageSize sets the optional parameter "pageSize": 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)

func (*PropertiesFirebaseLinksListCall) PageToken added in v0.37.0

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListFirebaseLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token.

func (*PropertiesFirebaseLinksListCall) Pages added in v0.37.0

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type PropertiesFirebaseLinksService

type PropertiesFirebaseLinksService struct {
	// contains filtered or unexported fields
}

func NewPropertiesFirebaseLinksService

func NewPropertiesFirebaseLinksService(s *Service) *PropertiesFirebaseLinksService

func (*PropertiesFirebaseLinksService) Create

func (r *PropertiesFirebaseLinksService) Create(parent string, googleanalyticsadminv1alphafirebaselink *GoogleAnalyticsAdminV1alphaFirebaseLink) *PropertiesFirebaseLinksCreateCall

Create: Creates a FirebaseLink. Properties can have at most one FirebaseLink.

- parent: Format: properties/{property_id} Example: properties/1234.

func (*PropertiesFirebaseLinksService) Delete

Delete: Deletes a FirebaseLink on a property

  • name: Format: properties/{property_id}/firebaseLinks/{firebase_link_id} Example: properties/1234/firebaseLinks/5678.

func (*PropertiesFirebaseLinksService) List

List: Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.

- parent: Format: properties/{property_id} Example: properties/1234.

type PropertiesGetAttributionSettingsCall added in v0.84.0

type PropertiesGetAttributionSettingsCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesGetAttributionSettingsCall) Context added in v0.84.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesGetAttributionSettingsCall) Do added in v0.84.0

Do executes the "analyticsadmin.properties.getAttributionSettings" call. Exactly one of *GoogleAnalyticsAdminV1alphaAttributionSettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAttributionSettings.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesGetAttributionSettingsCall) Fields added in v0.84.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesGetAttributionSettingsCall) Header added in v0.84.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesGetAttributionSettingsCall) IfNoneMatch added in v0.84.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type PropertiesGetCall

type PropertiesGetCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesGetCall) Do

Do executes the "analyticsadmin.properties.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaProperty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaProperty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesGetCall) Header

func (c *PropertiesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesGetCall) IfNoneMatch

func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type PropertiesGetDataRetentionSettingsCall added in v0.55.0

type PropertiesGetDataRetentionSettingsCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesGetDataRetentionSettingsCall) Context added in v0.55.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesGetDataRetentionSettingsCall) Do added in v0.55.0

Do executes the "analyticsadmin.properties.getDataRetentionSettings" call. Exactly one of *GoogleAnalyticsAdminV1alphaDataRetentionSettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaDataRetentionSettings.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesGetDataRetentionSettingsCall) Fields added in v0.55.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesGetDataRetentionSettingsCall) Header added in v0.55.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesGetDataRetentionSettingsCall) IfNoneMatch added in v0.55.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type PropertiesGetGoogleSignalsSettingsCall added in v0.47.0

type PropertiesGetGoogleSignalsSettingsCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesGetGoogleSignalsSettingsCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesGetGoogleSignalsSettingsCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.getGoogleSignalsSettings" call. Exactly one of *GoogleAnalyticsAdminV1alphaGoogleSignalsSettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaGoogleSignalsSettings.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesGetGoogleSignalsSettingsCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesGetGoogleSignalsSettingsCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesGetGoogleSignalsSettingsCall) IfNoneMatch added in v0.47.0

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type PropertiesGoogleAdsLinksCreateCall

type PropertiesGoogleAdsLinksCreateCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesGoogleAdsLinksCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesGoogleAdsLinksCreateCall) Do

Do executes the "analyticsadmin.properties.googleAdsLinks.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaGoogleAdsLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaGoogleAdsLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesGoogleAdsLinksCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesGoogleAdsLinksCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesGoogleAdsLinksDeleteCall

type PropertiesGoogleAdsLinksDeleteCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesGoogleAdsLinksDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesGoogleAdsLinksDeleteCall) Do

Do executes the "analyticsadmin.properties.googleAdsLinks.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesGoogleAdsLinksDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesGoogleAdsLinksDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesGoogleAdsLinksListCall

type PropertiesGoogleAdsLinksListCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesGoogleAdsLinksListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesGoogleAdsLinksListCall) Do

Do executes the "analyticsadmin.properties.googleAdsLinks.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse.ServerResponse. Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesGoogleAdsLinksListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesGoogleAdsLinksListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesGoogleAdsLinksListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*PropertiesGoogleAdsLinksListCall) PageSize

PageSize sets the optional parameter "pageSize": 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).

func (*PropertiesGoogleAdsLinksListCall) PageToken

PageToken sets the optional parameter "pageToken": 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.

func (*PropertiesGoogleAdsLinksListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type PropertiesGoogleAdsLinksPatchCall

type PropertiesGoogleAdsLinksPatchCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesGoogleAdsLinksPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesGoogleAdsLinksPatchCall) Do

Do executes the "analyticsadmin.properties.googleAdsLinks.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaGoogleAdsLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaGoogleAdsLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesGoogleAdsLinksPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesGoogleAdsLinksPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesGoogleAdsLinksPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

type PropertiesGoogleAdsLinksService

type PropertiesGoogleAdsLinksService struct {
	// contains filtered or unexported fields
}

func NewPropertiesGoogleAdsLinksService

func NewPropertiesGoogleAdsLinksService(s *Service) *PropertiesGoogleAdsLinksService

func (*PropertiesGoogleAdsLinksService) Create

func (r *PropertiesGoogleAdsLinksService) Create(parent string, googleanalyticsadminv1alphagoogleadslink *GoogleAnalyticsAdminV1alphaGoogleAdsLink) *PropertiesGoogleAdsLinksCreateCall

Create: Creates a GoogleAdsLink.

- parent: Example format: properties/1234.

func (*PropertiesGoogleAdsLinksService) Delete

Delete: Deletes a GoogleAdsLink on a property

- name: Example format: properties/1234/googleAdsLinks/5678.

func (*PropertiesGoogleAdsLinksService) List

List: Lists GoogleAdsLinks on a property.

- parent: Example format: properties/1234.

func (*PropertiesGoogleAdsLinksService) Patch

Patch: Updates a GoogleAdsLink on a property

  • name: Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID.

type PropertiesListCall

type PropertiesListCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesListCall) Do

Do executes the "analyticsadmin.properties.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListPropertiesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListPropertiesResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesListCall) Filter

func (c *PropertiesListCall) Filter(filter string) *PropertiesListCall

Filter sets the optional parameter "filter": Required. An expression for filtering the results of the request. Fields eligible for filtering are: `parent:`(The resource name of the parent account/property) or `ancestor:`(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. | | parent:properties/123 | The property with property id: 123. | | ancestor: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. | ```

func (*PropertiesListCall) Header

func (c *PropertiesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesListCall) IfNoneMatch

func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*PropertiesListCall) PageSize

func (c *PropertiesListCall) PageSize(pageSize int64) *PropertiesListCall

PageSize sets the optional parameter "pageSize": 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)

func (*PropertiesListCall) PageToken

func (c *PropertiesListCall) PageToken(pageToken string) *PropertiesListCall

PageToken sets the optional parameter "pageToken": 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.

func (*PropertiesListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*PropertiesListCall) ShowDeleted

func (c *PropertiesListCall) ShowDeleted(showDeleted bool) *PropertiesListCall

ShowDeleted sets the optional parameter "showDeleted": Whether to include soft-deleted (ie: "trashed") Properties in the results. Properties can be inspected to determine whether they are deleted or not.

type PropertiesPatchCall

type PropertiesPatchCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesPatchCall) Do

Do executes the "analyticsadmin.properties.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaProperty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaProperty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesPatchCall) Header

func (c *PropertiesPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesPatchCall) UpdateMask

func (c *PropertiesPatchCall) UpdateMask(updateMask string) *PropertiesPatchCall

UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

type PropertiesService

type PropertiesService struct {
	ConversionEvents *PropertiesConversionEventsService

	CustomDimensions *PropertiesCustomDimensionsService

	CustomMetrics *PropertiesCustomMetricsService

	DataStreams *PropertiesDataStreamsService

	DisplayVideo360AdvertiserLinkProposals *PropertiesDisplayVideo360AdvertiserLinkProposalsService

	DisplayVideo360AdvertiserLinks *PropertiesDisplayVideo360AdvertiserLinksService

	FirebaseLinks *PropertiesFirebaseLinksService

	GoogleAdsLinks *PropertiesGoogleAdsLinksService

	UserLinks *PropertiesUserLinksService
	// contains filtered or unexported fields
}

func NewPropertiesService

func NewPropertiesService(s *Service) *PropertiesService

func (*PropertiesService) AcknowledgeUserDataCollection added in v0.59.0

func (r *PropertiesService) AcknowledgeUserDataCollection(property string, googleanalyticsadminv1alphaacknowledgeuserdatacollectionrequest *GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest) *PropertiesAcknowledgeUserDataCollectionCall

AcknowledgeUserDataCollection: Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or via this API) before MeasurementProtocolSecret resources may be created.

  • property: The property for which to acknowledge user data collection.

func (*PropertiesService) Create

func (r *PropertiesService) Create(googleanalyticsadminv1alphaproperty *GoogleAnalyticsAdminV1alphaProperty) *PropertiesCreateCall

Create: Creates an "GA4" property with the specified location and attributes.

func (*PropertiesService) Delete

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

  • name: The name of the Property to soft-delete. Format: properties/{property_id} Example: "properties/1000".

func (*PropertiesService) Get

Get: Lookup for a single "GA4" Property.

  • name: The name of the property to lookup. Format: properties/{property_id} Example: "properties/1000".

func (*PropertiesService) GetAttributionSettings added in v0.84.0

func (r *PropertiesService) GetAttributionSettings(name string) *PropertiesGetAttributionSettingsCall

GetAttributionSettings: Lookup for a AttributionSettings singleton.

  • name: The name of the attribution settings to retrieve. Format: properties/{property}/attributionSettings.

func (*PropertiesService) GetDataRetentionSettings added in v0.55.0

func (r *PropertiesService) GetDataRetentionSettings(name string) *PropertiesGetDataRetentionSettingsCall

GetDataRetentionSettings: Returns the singleton data retention settings for this property.

  • name: The name of the settings to lookup. Format: properties/{property}/dataRetentionSettings Example: "properties/1000/dataRetentionSettings".

func (*PropertiesService) GetGoogleSignalsSettings added in v0.47.0

func (r *PropertiesService) GetGoogleSignalsSettings(name string) *PropertiesGetGoogleSignalsSettingsCall

GetGoogleSignalsSettings: Lookup for Google Signals settings for a property.

  • name: The name of the google signals settings to retrieve. Format: properties/{property}/googleSignalsSettings.

func (*PropertiesService) List

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

func (*PropertiesService) Patch

func (r *PropertiesService) Patch(name string, googleanalyticsadminv1alphaproperty *GoogleAnalyticsAdminV1alphaProperty) *PropertiesPatchCall

Patch: Updates a property.

  • name: Output only. Resource name of this property. Format: properties/{property_id} Example: "properties/1000".

func (*PropertiesService) UpdateAttributionSettings added in v0.84.0

func (r *PropertiesService) UpdateAttributionSettings(name string, googleanalyticsadminv1alphaattributionsettings *GoogleAnalyticsAdminV1alphaAttributionSettings) *PropertiesUpdateAttributionSettingsCall

UpdateAttributionSettings: Updates attribution settings on a property.

  • name: Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings".

func (*PropertiesService) UpdateDataRetentionSettings added in v0.55.0

func (r *PropertiesService) UpdateDataRetentionSettings(name string, googleanalyticsadminv1alphadataretentionsettings *GoogleAnalyticsAdminV1alphaDataRetentionSettings) *PropertiesUpdateDataRetentionSettingsCall

UpdateDataRetentionSettings: Updates the singleton data retention settings for this property.

  • name: Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings.

func (*PropertiesService) UpdateGoogleSignalsSettings added in v0.47.0

func (r *PropertiesService) UpdateGoogleSignalsSettings(name string, googleanalyticsadminv1alphagooglesignalssettings *GoogleAnalyticsAdminV1alphaGoogleSignalsSettings) *PropertiesUpdateGoogleSignalsSettingsCall

UpdateGoogleSignalsSettings: Updates Google Signals settings for a property.

  • name: Output only. Resource name of this setting. Format: properties/{property_id}/googleSignalsSettings Example: "properties/1000/googleSignalsSettings".

type PropertiesUpdateAttributionSettingsCall added in v0.84.0

type PropertiesUpdateAttributionSettingsCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesUpdateAttributionSettingsCall) Context added in v0.84.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesUpdateAttributionSettingsCall) Do added in v0.84.0

Do executes the "analyticsadmin.properties.updateAttributionSettings" call. Exactly one of *GoogleAnalyticsAdminV1alphaAttributionSettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAttributionSettings.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesUpdateAttributionSettingsCall) Fields added in v0.84.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesUpdateAttributionSettingsCall) Header added in v0.84.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesUpdateAttributionSettingsCall) UpdateMask added in v0.84.0

UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

type PropertiesUpdateDataRetentionSettingsCall added in v0.55.0

type PropertiesUpdateDataRetentionSettingsCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesUpdateDataRetentionSettingsCall) Context added in v0.55.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesUpdateDataRetentionSettingsCall) Do added in v0.55.0

Do executes the "analyticsadmin.properties.updateDataRetentionSettings" call. Exactly one of *GoogleAnalyticsAdminV1alphaDataRetentionSettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaDataRetentionSettings.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesUpdateDataRetentionSettingsCall) Fields added in v0.55.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesUpdateDataRetentionSettingsCall) Header added in v0.55.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesUpdateDataRetentionSettingsCall) UpdateMask added in v0.55.0

UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

type PropertiesUpdateGoogleSignalsSettingsCall added in v0.47.0

type PropertiesUpdateGoogleSignalsSettingsCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesUpdateGoogleSignalsSettingsCall) Context added in v0.47.0

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesUpdateGoogleSignalsSettingsCall) Do added in v0.47.0

Do executes the "analyticsadmin.properties.updateGoogleSignalsSettings" call. Exactly one of *GoogleAnalyticsAdminV1alphaGoogleSignalsSettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaGoogleSignalsSettings.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesUpdateGoogleSignalsSettingsCall) Fields added in v0.47.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesUpdateGoogleSignalsSettingsCall) Header added in v0.47.0

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesUpdateGoogleSignalsSettingsCall) UpdateMask added in v0.47.0

UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

type PropertiesUserLinksAuditCall

type PropertiesUserLinksAuditCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesUserLinksAuditCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesUserLinksAuditCall) Do

Do executes the "analyticsadmin.properties.userLinks.audit" call. Exactly one of *GoogleAnalyticsAdminV1alphaAuditUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAuditUserLinksResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesUserLinksAuditCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesUserLinksAuditCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesUserLinksAuditCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type PropertiesUserLinksBatchCreateCall

type PropertiesUserLinksBatchCreateCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesUserLinksBatchCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesUserLinksBatchCreateCall) Do

Do executes the "analyticsadmin.properties.userLinks.batchCreate" call. Exactly one of *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesUserLinksBatchCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesUserLinksBatchCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesUserLinksBatchDeleteCall

type PropertiesUserLinksBatchDeleteCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesUserLinksBatchDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesUserLinksBatchDeleteCall) Do

Do executes the "analyticsadmin.properties.userLinks.batchDelete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesUserLinksBatchDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesUserLinksBatchDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesUserLinksBatchGetCall

type PropertiesUserLinksBatchGetCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesUserLinksBatchGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesUserLinksBatchGetCall) Do

Do executes the "analyticsadmin.properties.userLinks.batchGet" call. Exactly one of *GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesUserLinksBatchGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesUserLinksBatchGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesUserLinksBatchGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*PropertiesUserLinksBatchGetCall) Names

Names sets the optional parameter "names": 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 PropertiesUserLinksBatchUpdateCall

type PropertiesUserLinksBatchUpdateCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesUserLinksBatchUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesUserLinksBatchUpdateCall) Do

Do executes the "analyticsadmin.properties.userLinks.batchUpdate" call. Exactly one of *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesUserLinksBatchUpdateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesUserLinksBatchUpdateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesUserLinksCreateCall

type PropertiesUserLinksCreateCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesUserLinksCreateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesUserLinksCreateCall) Do

Do executes the "analyticsadmin.properties.userLinks.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaUserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaUserLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesUserLinksCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesUserLinksCreateCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesUserLinksCreateCall) NotifyNewUser

func (c *PropertiesUserLinksCreateCall) NotifyNewUser(notifyNewUser bool) *PropertiesUserLinksCreateCall

NotifyNewUser sets the optional parameter "notifyNewUser": If set, then email the new user notifying them that they've been granted permissions to the resource.

type PropertiesUserLinksDeleteCall

type PropertiesUserLinksDeleteCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesUserLinksDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesUserLinksDeleteCall) Do

Do executes the "analyticsadmin.properties.userLinks.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesUserLinksDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesUserLinksDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesUserLinksGetCall

type PropertiesUserLinksGetCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesUserLinksGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesUserLinksGetCall) Do

Do executes the "analyticsadmin.properties.userLinks.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaUserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaUserLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesUserLinksGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesUserLinksGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesUserLinksGetCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type PropertiesUserLinksListCall

type PropertiesUserLinksListCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesUserLinksListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesUserLinksListCall) Do

Do executes the "analyticsadmin.properties.userLinks.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListUserLinksResponse.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesUserLinksListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesUserLinksListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*PropertiesUserLinksListCall) IfNoneMatch

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*PropertiesUserLinksListCall) PageSize

PageSize sets the optional parameter "pageSize": 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.

func (*PropertiesUserLinksListCall) PageToken

PageToken sets the optional parameter "pageToken": 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.

func (*PropertiesUserLinksListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type PropertiesUserLinksPatchCall

type PropertiesUserLinksPatchCall struct {
	// contains filtered or unexported fields
}

func (*PropertiesUserLinksPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*PropertiesUserLinksPatchCall) Do

Do executes the "analyticsadmin.properties.userLinks.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaUserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaUserLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PropertiesUserLinksPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*PropertiesUserLinksPatchCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PropertiesUserLinksService

type PropertiesUserLinksService struct {
	// contains filtered or unexported fields
}

func NewPropertiesUserLinksService

func NewPropertiesUserLinksService(s *Service) *PropertiesUserLinksService

func (*PropertiesUserLinksService) Audit

func (r *PropertiesUserLinksService) Audit(parent string, googleanalyticsadminv1alphaaudituserlinksrequest *GoogleAnalyticsAdminV1alphaAuditUserLinksRequest) *PropertiesUserLinksAuditCall

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

- parent: Example format: accounts/1234.

func (*PropertiesUserLinksService) BatchCreate

func (r *PropertiesUserLinksService) BatchCreate(parent string, googleanalyticsadminv1alphabatchcreateuserlinksrequest *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest) *PropertiesUserLinksBatchCreateCall

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

  • parent: 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.

func (*PropertiesUserLinksService) BatchDelete

func (r *PropertiesUserLinksService) BatchDelete(parent string, googleanalyticsadminv1alphabatchdeleteuserlinksrequest *GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest) *PropertiesUserLinksBatchDeleteCall

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

  • parent: 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.

func (*PropertiesUserLinksService) BatchGet

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

  • parent: 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.

func (*PropertiesUserLinksService) BatchUpdate

func (r *PropertiesUserLinksService) BatchUpdate(parent string, googleanalyticsadminv1alphabatchupdateuserlinksrequest *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest) *PropertiesUserLinksBatchUpdateCall

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

  • parent: 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.

func (*PropertiesUserLinksService) Create

func (r *PropertiesUserLinksService) Create(parent string, googleanalyticsadminv1alphauserlink *GoogleAnalyticsAdminV1alphaUserLink) *PropertiesUserLinksCreateCall

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

- parent: Example format: accounts/1234.

func (*PropertiesUserLinksService) Delete

Delete: Deletes a user link on an account or property.

- name: Example format: accounts/1234/userLinks/5678.

func (*PropertiesUserLinksService) Get

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

- name: Example format: accounts/1234/userLinks/5678.

func (*PropertiesUserLinksService) List

List: Lists all user links on an account or property.

- parent: Example format: accounts/1234.

func (*PropertiesUserLinksService) Patch

func (r *PropertiesUserLinksService) Patch(name string, googleanalyticsadminv1alphauserlink *GoogleAnalyticsAdminV1alphaUserLink) *PropertiesUserLinksPatchCall

Patch: Updates a user link on an account or property.

- name: Output only. Example format: properties/1234/userLinks/5678.

type Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	AccountSummaries *AccountSummariesService

	Accounts *AccountsService

	Properties *PropertiesService
	// contains filtered or unexported fields
}

func New deprecated

func New(client *http.Client) (*Service, error)

New creates a new Service. It uses the provided http.Client for requests.

Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

func NewService

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL