Movatterモバイル変換


[0]ホーム

URL:


analyticsadmin

package
v0.257.0Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License:BSD-3-ClauseImports:18Imported by:2

Details

Repository

github.com/googleapis/google-api-go-client

Links

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

Library status

These client libraries are officially supported by Google. However, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.

When possible, we recommend using our newer[Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)that are still actively being worked and iterated on.

Creating a client

Usage example:

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

In this example, Google Application Default Credentials are used forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://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, usegoogle.golang.org/api/option.WithScopes:

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

To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.golang.org/api/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 OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:

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

Seegoogle.golang.org/api/option.ClientOption for details on options.

Index

Constants

View Source
const (// Edit Google Analytics management entitiesAnalyticsEditScope = "https://www.googleapis.com/auth/analytics.edit"// See and download your Google Analytics dataAnalyticsReadonlyScope = "https://www.googleapis.com/auth/analytics.readonly")

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

typeAccountSummariesListCall

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

func (*AccountSummariesListCall)Context

Context sets the context to be used in this call's Do method.

func (*AccountSummariesListCall)Do

Do executes the "analyticsadmin.accountSummaries.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaListAccountSummariesResponse.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 becausehttp.StatusNotModified was returned.

func (*AccountSummariesListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AccountSummariesListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AccountSummariesListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*AccountSummariesListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofAccountSummary resources to return. The service may return fewer than thisvalue, even if there are additional pages. If unspecified, at most 50resources will be returned. The maximum value is 200; (higher values will becoerced to the maximum)

func (*AccountSummariesListCall)PageToken

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListAccountSummaries` call. Provide this to retrieve thesubsequent 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.

typeAccountSummariesService

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

funcNewAccountSummariesService

func NewAccountSummariesService(s *Service) *AccountSummariesService

func (*AccountSummariesService)List

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

typeAccountsDeleteCall

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

func (*AccountsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*AccountsDeleteCall)Do

Do executes the "analyticsadmin.accounts.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*AccountsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AccountsDeleteCall)Header

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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeAccountsGetCall

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

func (*AccountsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*AccountsGetCall)Do

Do executes the "analyticsadmin.accounts.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaAccount.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*AccountsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AccountsGetCall)Header

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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AccountsGetCall)IfNoneMatch

func (c *AccountsGetCall) IfNoneMatch(entityTagstring) *AccountsGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeAccountsGetDataSharingSettingsCall

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

func (*AccountsGetDataSharingSettingsCall)Context

Context sets the context to be used in this call's Do method.

func (*AccountsGetDataSharingSettingsCall)Do

Do executes the "analyticsadmin.accounts.getDataSharingSettings" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaDataSharingSettings.ServerResponse.Header or (ifa response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*AccountsGetDataSharingSettingsCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AccountsGetDataSharingSettingsCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AccountsGetDataSharingSettingsCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeAccountsListCall

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

func (*AccountsListCall)Context

Context sets the context to be used in this call's Do method.

func (*AccountsListCall)Do

Do executes the "analyticsadmin.accounts.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaListAccountsResponse.ServerResponse.Header or (ifa response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*AccountsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AccountsListCall)Header

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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AccountsListCall)IfNoneMatch

func (c *AccountsListCall) IfNoneMatch(entityTagstring) *AccountsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*AccountsListCall)PageSize

func (c *AccountsListCall) PageSize(pageSizeint64) *AccountsListCall

PageSize sets the optional parameter "pageSize": The maximum number ofresources to return. The service may return fewer than this value, even ifthere are additional pages. If unspecified, at most 50 resources will bereturned. The maximum value is 200; (higher values will be coerced to themaximum)

func (*AccountsListCall)PageToken

func (c *AccountsListCall) PageToken(pageTokenstring) *AccountsListCall

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListAccounts` call. Provide this to retrieve the subsequentpage. When paginating, all other parameters provided to `ListAccounts` mustmatch 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(showDeletedbool) *AccountsListCall

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

typeAccountsPatchCall

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

func (*AccountsPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*AccountsPatchCall)Do

Do executes the "analyticsadmin.accounts.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaAccount.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*AccountsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AccountsPatchCall)Header

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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AccountsPatchCall)UpdateMask

func (c *AccountsPatchCall) UpdateMask(updateMaskstring) *AccountsPatchCall

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

typeAccountsProvisionAccountTicketCall

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

func (*AccountsProvisionAccountTicketCall)Context

Context sets the context to be used in this call's Do method.

func (*AccountsProvisionAccountTicketCall)Do

Do executes the "analyticsadmin.accounts.provisionAccountTicket" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*AccountsProvisionAccountTicketCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AccountsProvisionAccountTicketCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeAccountsRunAccessReportCalladded inv0.112.0

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

func (*AccountsRunAccessReportCall)Contextadded inv0.112.0

Context sets the context to be used in this call's Do method.

func (*AccountsRunAccessReportCall)Doadded inv0.112.0

Do executes the "analyticsadmin.accounts.runAccessReport" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaRunAccessReportResponse.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*AccountsRunAccessReportCall)Fieldsadded inv0.112.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AccountsRunAccessReportCall)Headeradded inv0.112.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeAccountsSearchChangeHistoryEventsCall

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

func (*AccountsSearchChangeHistoryEventsCall)Context

Context sets the context to be used in this call's Do method.

func (*AccountsSearchChangeHistoryEventsCall)Do

Do executes the "analyticsadmin.accounts.searchChangeHistoryEvents" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*AccountsSearchChangeHistoryEventsCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AccountsSearchChangeHistoryEventsCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AccountsSearchChangeHistoryEventsCall)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.

typeAccountsService

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

funcNewAccountsService

func NewAccountsService(s *Service) *AccountsService

func (*AccountsService)Delete

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 notrestored before the expiration time, the account and all child resources(eg: Properties, GoogleAdsLinks, Streams, AccessBindings) will bepermanently purged.https://support.google.com/analytics/answer/6154772Returns 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

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(namestring) *AccountsGetDataSharingSettingsCall

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

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

func (*AccountsService)List

List: Returns all accounts accessible by the caller. Note that theseaccounts might not currently have GA properties. Soft-deleted (ie:"trashed") accounts are excluded by default. Returns an empty list if norelevant accounts are found.

func (*AccountsService)Patch

func (r *AccountsService) Patch(namestring, googleanalyticsadminv1betaaccount *GoogleAnalyticsAdminV1betaAccount) *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(googleanalyticsadminv1betaprovisionaccountticketrequest *GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest) *AccountsProvisionAccountTicketCall

ProvisionAccountTicket: Requests a ticket for creating an account.

func (*AccountsService)RunAccessReportadded inv0.112.0

func (r *AccountsService) RunAccessReport(entitystring, googleanalyticsadminv1betarunaccessreportrequest *GoogleAnalyticsAdminV1betaRunAccessReportRequest) *AccountsRunAccessReportCall

RunAccessReport: Returns a customized report of data access records. Thereport provides records of each time a user reads Google Analytics reportingdata. Access records are retained for up to 2 years. Data Access Reports canbe requested for a property. Reports may be requested for any property, butdimensions that aren't related to quota can only be requested on GoogleAnalytics 360 properties. This method is only available to Administrators.These data access records include GA UI Reporting, GA UI Explorations, GAData API, and other products like Firebase & Admob that can retrieve datafrom Google Analytics through a linkage. These records don't includeproperty configuration changes like adding a stream or changing a property'stime zone. For configuration change history, see searchChangeHistoryEvents(https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).To give your feedback on this API, complete the Google Analytics AccessReports feedback(https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform)form.

  • entity: The Data Access Report supports requesting at the property levelor account level. If requested at the account level, Data Access Reportsinclude all access for all properties under that account. To request atthe property level, entity should be for example 'properties/123' if "123"is your Google Analytics property ID. To request at the account level,entity should be for example 'accounts/1234' if "1234" is your GoogleAnalytics Account ID.

func (*AccountsService)SearchChangeHistoryEvents

func (r *AccountsService) SearchChangeHistoryEvents(accountstring, googleanalyticsadminv1betasearchchangehistoryeventsrequest *GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest) *AccountsSearchChangeHistoryEventsCall

SearchChangeHistoryEvents: Searches through all changes to an account or itschildren given the specified set of filters. Only returns the subset ofchanges supported by the API. The UI may return additional changes.

  • account: The account resource for which to return change historyresources. Format: accounts/{account} Example: `accounts/100`.

typeGoogleAnalyticsAdminV1betaAccessBetweenFilteradded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessBetweenFilter struct {// FromValue: Begins with this number.FromValue *GoogleAnalyticsAdminV1betaNumericValue `json:"fromValue,omitempty"`// ToValue: Ends with this number.ToValue *GoogleAnalyticsAdminV1betaNumericValue `json:"toValue,omitempty"`// ForceSendFields is a list of field names (e.g. "FromValue") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FromValue") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessBetweenFilter: To express that the resultneeds to be between two numbers (inclusive).

func (GoogleAnalyticsAdminV1betaAccessBetweenFilter)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessDateRangeadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessDateRange struct {// EndDate: The inclusive end date for the query in the format `YYYY-MM-DD`.// Cannot be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today`// is also accepted, and in that case, the date is inferred based on the// current time in the request's time zone.EndDatestring `json:"endDate,omitempty"`// StartDate: The inclusive start date for the query in the format// `YYYY-MM-DD`. Cannot be after `endDate`. The format `NdaysAgo`, `yesterday`,// or `today` is also accepted, and in that case, the date is inferred based on// the current time in the request's time zone.StartDatestring `json:"startDate,omitempty"`// ForceSendFields is a list of field names (e.g. "EndDate") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EndDate") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessDateRange: A contiguous range of days:startDate, startDate + 1, ..., endDate.

func (GoogleAnalyticsAdminV1betaAccessDateRange)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessDimensionadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessDimension struct {// DimensionName: The API name of the dimension. See Data Access Schema// (https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)// for the list of dimensions supported in this API. Dimensions are referenced// by name in `dimensionFilter` and `orderBys`.DimensionNamestring `json:"dimensionName,omitempty"`// ForceSendFields is a list of field names (e.g. "DimensionName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DimensionName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessDimension: Dimensions are attributes of yourdata. For example, the dimension `userEmail` indicates the email of the userthat accessed reporting data. Dimension values in report responses arestrings.

func (GoogleAnalyticsAdminV1betaAccessDimension)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessDimensionHeaderadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessDimensionHeader struct {// DimensionName: The dimension's name; for example 'userEmail'.DimensionNamestring `json:"dimensionName,omitempty"`// ForceSendFields is a list of field names (e.g. "DimensionName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DimensionName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessDimensionHeader: Describes a dimensioncolumn in the report. Dimensions requested in a report produce columnentries within rows and DimensionHeaders. However, dimensions usedexclusively within filters or expressions do not produce columns in areport; correspondingly, those dimensions do not produce headers.

func (GoogleAnalyticsAdminV1betaAccessDimensionHeader)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessDimensionValueadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessDimensionValue struct {// Value: The dimension value. For example, this value may be 'France' for the// 'country' dimension.Valuestring `json:"value,omitempty"`// ForceSendFields is a list of field names (e.g. "Value") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Value") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessDimensionValue: The value of a dimension.

func (GoogleAnalyticsAdminV1betaAccessDimensionValue)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessFilteradded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessFilter struct {// BetweenFilter: A filter for two values.BetweenFilter *GoogleAnalyticsAdminV1betaAccessBetweenFilter `json:"betweenFilter,omitempty"`// FieldName: The dimension name or metric name.FieldNamestring `json:"fieldName,omitempty"`// InListFilter: A filter for in list values.InListFilter *GoogleAnalyticsAdminV1betaAccessInListFilter `json:"inListFilter,omitempty"`// NumericFilter: A filter for numeric or date values.NumericFilter *GoogleAnalyticsAdminV1betaAccessNumericFilter `json:"numericFilter,omitempty"`// StringFilter: Strings related filter.StringFilter *GoogleAnalyticsAdminV1betaAccessStringFilter `json:"stringFilter,omitempty"`// ForceSendFields is a list of field names (e.g. "BetweenFilter") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BetweenFilter") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessFilter: An expression to filter dimension ormetric values.

func (GoogleAnalyticsAdminV1betaAccessFilter)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessFilterExpressionadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessFilterExpression struct {// AccessFilter: A primitive filter. In the same FilterExpression, all of the// filter's field names need to be either all dimensions or all metrics.AccessFilter *GoogleAnalyticsAdminV1betaAccessFilter `json:"accessFilter,omitempty"`// AndGroup: Each of the FilterExpressions in the and_group has an AND// relationship.AndGroup *GoogleAnalyticsAdminV1betaAccessFilterExpressionList `json:"andGroup,omitempty"`// NotExpression: The FilterExpression is NOT of not_expression.NotExpression *GoogleAnalyticsAdminV1betaAccessFilterExpression `json:"notExpression,omitempty"`// OrGroup: Each of the FilterExpressions in the or_group has an OR// relationship.OrGroup *GoogleAnalyticsAdminV1betaAccessFilterExpressionList `json:"orGroup,omitempty"`// ForceSendFields is a list of field names (e.g. "AccessFilter") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AccessFilter") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessFilterExpression: Expresses dimension ormetric filters. The fields in the same expression need to be either alldimensions or all metrics.

func (GoogleAnalyticsAdminV1betaAccessFilterExpression)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessFilterExpressionListadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessFilterExpressionList struct {// Expressions: A list of filter expressions.Expressions []*GoogleAnalyticsAdminV1betaAccessFilterExpression `json:"expressions,omitempty"`// ForceSendFields is a list of field names (e.g. "Expressions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Expressions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessFilterExpressionList: A list of filterexpressions.

func (GoogleAnalyticsAdminV1betaAccessFilterExpressionList)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessInListFilteradded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessInListFilter struct {// CaseSensitive: If true, the string value is case sensitive.CaseSensitivebool `json:"caseSensitive,omitempty"`// Values: The list of string values. Must be non-empty.Values []string `json:"values,omitempty"`// ForceSendFields is a list of field names (e.g. "CaseSensitive") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CaseSensitive") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessInListFilter: The result needs to be in alist of string values.

func (GoogleAnalyticsAdminV1betaAccessInListFilter)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessMetricadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessMetric struct {// MetricName: The API name of the metric. See Data Access Schema// (https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)// for the list of metrics supported in this API. Metrics are referenced by// name in `metricFilter` & `orderBys`.MetricNamestring `json:"metricName,omitempty"`// ForceSendFields is a list of field names (e.g. "MetricName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MetricName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessMetric: The quantitative measurements of areport. For example, the metric `accessCount` is the total number of dataaccess records.

func (GoogleAnalyticsAdminV1betaAccessMetric)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessMetricHeaderadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessMetricHeader struct {// MetricName: The metric's name; for example 'accessCount'.MetricNamestring `json:"metricName,omitempty"`// ForceSendFields is a list of field names (e.g. "MetricName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MetricName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessMetricHeader: Describes a metric column inthe report. Visible metrics requested in a report produce column entrieswithin rows and MetricHeaders. However, metrics used exclusively withinfilters or expressions do not produce columns in a report; correspondingly,those metrics do not produce headers.

func (GoogleAnalyticsAdminV1betaAccessMetricHeader)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessMetricValueadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessMetricValue struct {// Value: The measurement value. For example, this value may be '13'.Valuestring `json:"value,omitempty"`// ForceSendFields is a list of field names (e.g. "Value") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Value") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessMetricValue: The value of a metric.

func (GoogleAnalyticsAdminV1betaAccessMetricValue)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessNumericFilteradded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessNumericFilter struct {// Operation: The operation type for this filter.//// Possible values://   "OPERATION_UNSPECIFIED" - Unspecified.//   "EQUAL" - Equal//   "LESS_THAN" - Less than//   "LESS_THAN_OR_EQUAL" - Less than or equal//   "GREATER_THAN" - Greater than//   "GREATER_THAN_OR_EQUAL" - Greater than or equalOperationstring `json:"operation,omitempty"`// Value: A numeric value or a date value.Value *GoogleAnalyticsAdminV1betaNumericValue `json:"value,omitempty"`// ForceSendFields is a list of field names (e.g. "Operation") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Operation") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessNumericFilter: Filters for numeric or datevalues.

func (GoogleAnalyticsAdminV1betaAccessNumericFilter)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessOrderByadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessOrderBy struct {// Desc: If true, sorts by descending order. If false or unspecified, sorts in// ascending order.Descbool `json:"desc,omitempty"`// Dimension: Sorts results by a dimension's values.Dimension *GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy `json:"dimension,omitempty"`// Metric: Sorts results by a metric's values.Metric *GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy `json:"metric,omitempty"`// ForceSendFields is a list of field names (e.g. "Desc") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Desc") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessOrderBy: Order bys define how rows will besorted in the response. For example, ordering rows by descending accesscount is one ordering, and ordering rows by the country string is adifferent ordering.

func (GoogleAnalyticsAdminV1betaAccessOrderBy)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderByadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy struct {// DimensionName: A dimension name in the request to order by.DimensionNamestring `json:"dimensionName,omitempty"`// OrderType: Controls the rule for dimension value ordering.//// Possible values://   "ORDER_TYPE_UNSPECIFIED" - Unspecified.//   "ALPHANUMERIC" - Alphanumeric sort by Unicode code point. For example, "2"// < "A" < "X" < "b" < "z".//   "CASE_INSENSITIVE_ALPHANUMERIC" - Case insensitive alphanumeric sort by// lower case Unicode code point. For example, "2" < "A" < "b" < "X" < "z".//   "NUMERIC" - Dimension values are converted to numbers before sorting. For// example in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <// "25". Non-numeric dimension values all have equal ordering value below all// numeric values.OrderTypestring `json:"orderType,omitempty"`// ForceSendFields is a list of field names (e.g. "DimensionName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DimensionName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy: Sorts by dimensionvalues.

func (GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessOrderByMetricOrderByadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy struct {// MetricName: A metric name in the request to order by.MetricNamestring `json:"metricName,omitempty"`// ForceSendFields is a list of field names (e.g. "MetricName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MetricName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy: Sorts by metricvalues.

func (GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessQuotaadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessQuota struct {// ConcurrentRequests: Properties can use up to 50 concurrent requests.ConcurrentRequests *GoogleAnalyticsAdminV1betaAccessQuotaStatus `json:"concurrentRequests,omitempty"`// ServerErrorsPerProjectPerHour: Properties and cloud project pairs can have// up to 50 server errors per hour.ServerErrorsPerProjectPerHour *GoogleAnalyticsAdminV1betaAccessQuotaStatus `json:"serverErrorsPerProjectPerHour,omitempty"`// TokensPerDay: Properties can use 250,000 tokens per day. Most requests// consume fewer than 10 tokens.TokensPerDay *GoogleAnalyticsAdminV1betaAccessQuotaStatus `json:"tokensPerDay,omitempty"`// TokensPerHour: Properties can use 50,000 tokens per hour. An API request// consumes a single number of tokens, and that number is deducted from all of// the hourly, daily, and per project hourly quotas.TokensPerHour *GoogleAnalyticsAdminV1betaAccessQuotaStatus `json:"tokensPerHour,omitempty"`// TokensPerProjectPerHour: Properties can use up to 25% of their tokens per// project per hour. This amounts to Analytics 360 Properties can use 12,500// tokens per project per hour. An API request consumes a single number of// tokens, and that number is deducted from all of the hourly, daily, and per// project hourly quotas.TokensPerProjectPerHour *GoogleAnalyticsAdminV1betaAccessQuotaStatus `json:"tokensPerProjectPerHour,omitempty"`// ForceSendFields is a list of field names (e.g. "ConcurrentRequests") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ConcurrentRequests") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessQuota: Current state of all quotas for thisAnalytics property. If any quota for a property is exhausted, all requeststo that property will return Resource Exhausted errors.

func (GoogleAnalyticsAdminV1betaAccessQuota)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessQuotaStatusadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessQuotaStatus struct {// Consumed: Quota consumed by this request.Consumedint64 `json:"consumed,omitempty"`// Remaining: Quota remaining after this request.Remainingint64 `json:"remaining,omitempty"`// ForceSendFields is a list of field names (e.g. "Consumed") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Consumed") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessQuotaStatus: Current state for a particularquota group.

func (GoogleAnalyticsAdminV1betaAccessQuotaStatus)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessRowadded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessRow struct {// DimensionValues: List of dimension values. These values are in the same// order as specified in the request.DimensionValues []*GoogleAnalyticsAdminV1betaAccessDimensionValue `json:"dimensionValues,omitempty"`// MetricValues: List of metric values. These values are in the same order as// specified in the request.MetricValues []*GoogleAnalyticsAdminV1betaAccessMetricValue `json:"metricValues,omitempty"`// ForceSendFields is a list of field names (e.g. "DimensionValues") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DimensionValues") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessRow: Access report data for each row.

func (GoogleAnalyticsAdminV1betaAccessRow)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccessStringFilteradded inv0.112.0

type GoogleAnalyticsAdminV1betaAccessStringFilter struct {// CaseSensitive: If true, the string value is case sensitive.CaseSensitivebool `json:"caseSensitive,omitempty"`// MatchType: The match type for this filter.//// Possible values://   "MATCH_TYPE_UNSPECIFIED" - Unspecified//   "EXACT" - Exact match of the string value.//   "BEGINS_WITH" - Begins with the string value.//   "ENDS_WITH" - Ends with the string value.//   "CONTAINS" - Contains the string value.//   "FULL_REGEXP" - Full match for the regular expression with the string// value.//   "PARTIAL_REGEXP" - Partial match for the regular expression with the// string value.MatchTypestring `json:"matchType,omitempty"`// Value: The string value used for the matching.Valuestring `json:"value,omitempty"`// ForceSendFields is a list of field names (e.g. "CaseSensitive") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CaseSensitive") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccessStringFilter: The filter for strings.

func (GoogleAnalyticsAdminV1betaAccessStringFilter)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaAccount

type GoogleAnalyticsAdminV1betaAccount struct {// CreateTime: Output only. Time when this account was originally created.CreateTimestring `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.Deletedbool `json:"deleted,omitempty"`// DisplayName: Required. Human-readable display name for this account.DisplayNamestring `json:"displayName,omitempty"`// GmpOrganization: Output only. The URI for a Google Marketing Platform// organization resource. Only set when this account is connected to a GMP// organization. Format:// marketingplatformadmin.googleapis.com/organizations/{org_id}GmpOrganizationstring `json:"gmpOrganization,omitempty"`// Name: Output only. Resource name of this account. Format: accounts/{account}// Example: "accounts/100"Namestring `json:"name,omitempty"`// RegionCode: Country of business. Must be a Unicode CLDR region code.RegionCodestring `json:"regionCode,omitempty"`// UpdateTime: Output only. Time when account payload fields were last updated.UpdateTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccount: A resource message representing a GoogleAnalytics account.

func (GoogleAnalyticsAdminV1betaAccount)MarshalJSON

func (sGoogleAnalyticsAdminV1betaAccount) MarshalJSON() ([]byte,error)

typeGoogleAnalyticsAdminV1betaAccountSummary

type GoogleAnalyticsAdminV1betaAccountSummary struct {// Account: Resource name of account referred to by this account summary// Format: accounts/{account_id} Example: "accounts/1000"Accountstring `json:"account,omitempty"`// DisplayName: Display name for the account referred to in this account// summary.DisplayNamestring `json:"displayName,omitempty"`// Name: Resource name for this account summary. Format:// accountSummaries/{account_id} Example: "accountSummaries/1000"Namestring `json:"name,omitempty"`// PropertySummaries: List of summaries for child accounts of this account.PropertySummaries []*GoogleAnalyticsAdminV1betaPropertySummary `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAccountSummary: A virtual resource representing anoverview of an account and all its child Google Analytics properties.

func (GoogleAnalyticsAdminV1betaAccountSummary)MarshalJSON

typeGoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest

type GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest 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."Acknowledgementstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest: Requestmessage for AcknowledgeUserDataCollection RPC.

func (GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest)MarshalJSON

typeGoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionResponse

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

GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionResponse: Responsemessage for AcknowledgeUserDataCollection RPC.

typeGoogleAnalyticsAdminV1betaArchiveCustomDimensionRequest

type GoogleAnalyticsAdminV1betaArchiveCustomDimensionRequest struct {}

GoogleAnalyticsAdminV1betaArchiveCustomDimensionRequest: Request message forArchiveCustomDimension RPC.

typeGoogleAnalyticsAdminV1betaArchiveCustomMetricRequest

type GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest struct {}

GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest: Request message forArchiveCustomMetric RPC.

typeGoogleAnalyticsAdminV1betaChangeHistoryChange

type GoogleAnalyticsAdminV1betaChangeHistoryChange 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.Actionstring `json:"action,omitempty"`// Resource: Resource name of the resource whose changes are described by this// entry.Resourcestring `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 *GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource `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 *GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaChangeHistoryChange: A description of a change toa single Google Analytics resource.

func (GoogleAnalyticsAdminV1betaChangeHistoryChange)MarshalJSON

typeGoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource

type GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource struct {// Account: A snapshot of an Account resource in change history.Account *GoogleAnalyticsAdminV1betaAccount `json:"account,omitempty"`// ConversionEvent: A snapshot of a ConversionEvent resource in change history.ConversionEvent *GoogleAnalyticsAdminV1betaConversionEvent `json:"conversionEvent,omitempty"`// DataRetentionSettings: A snapshot of a data retention settings resource in// change history.DataRetentionSettings *GoogleAnalyticsAdminV1betaDataRetentionSettings `json:"dataRetentionSettings,omitempty"`// DataStream: A snapshot of a DataStream resource in change history.DataStream *GoogleAnalyticsAdminV1betaDataStream `json:"dataStream,omitempty"`// FirebaseLink: A snapshot of a FirebaseLink resource in change history.FirebaseLink *GoogleAnalyticsAdminV1betaFirebaseLink `json:"firebaseLink,omitempty"`// GoogleAdsLink: A snapshot of a GoogleAdsLink resource in change history.GoogleAdsLink *GoogleAnalyticsAdminV1betaGoogleAdsLink `json:"googleAdsLink,omitempty"`// MeasurementProtocolSecret: A snapshot of a MeasurementProtocolSecret// resource in change history.MeasurementProtocolSecret *GoogleAnalyticsAdminV1betaMeasurementProtocolSecret `json:"measurementProtocolSecret,omitempty"`// Property: A snapshot of a Property resource in change history.Property *GoogleAnalyticsAdminV1betaProperty `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource: Asnapshot of a resource as before or after the result of a change in changehistory.

func (GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource)MarshalJSON

typeGoogleAnalyticsAdminV1betaChangeHistoryEvent

type GoogleAnalyticsAdminV1betaChangeHistoryEvent 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.ActorTypestring `json:"actorType,omitempty"`// ChangeTime: Time when change was made.ChangeTimestring `json:"changeTime,omitempty"`// Changes: A list of changes made in this change history event that fit the// filters specified in SearchChangeHistoryEventsRequest.Changes []*GoogleAnalyticsAdminV1betaChangeHistoryChange `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.ChangesFilteredbool `json:"changesFiltered,omitempty"`// Id: ID of this change history event. This ID is unique across Google// Analytics.Idstring `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.UserActorEmailstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

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

func (GoogleAnalyticsAdminV1betaChangeHistoryEvent)MarshalJSON

typeGoogleAnalyticsAdminV1betaConversionEvent

type GoogleAnalyticsAdminV1betaConversionEvent struct {// CountingMethod: Optional. The method by which conversions will be counted// across multiple events within a session. If this value is not provided, it// will be set to `ONCE_PER_EVENT`.//// Possible values://   "CONVERSION_COUNTING_METHOD_UNSPECIFIED" - Counting method not specified.//   "ONCE_PER_EVENT" - Each Event instance is considered a Conversion.//   "ONCE_PER_SESSION" - An Event instance is considered a Conversion at most// once per session per user.CountingMethodstring `json:"countingMethod,omitempty"`// CreateTime: Output only. Time when this conversion event was created in the// property.CreateTimestring `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.Custombool `json:"custom,omitempty"`// DefaultConversionValue: Optional. Defines a default value/currency for a// conversion event.DefaultConversionValue *GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue `json:"defaultConversionValue,omitempty"`// Deletable: Output only. If set, this event can currently be deleted with// DeleteConversionEvent.Deletablebool `json:"deletable,omitempty"`// EventName: Immutable. The event name for this conversion event. Examples:// 'click', 'purchase'EventNamestring `json:"eventName,omitempty"`// Name: Output only. Resource name of this conversion event. Format:// properties/{property}/conversionEvents/{conversion_event}Namestring `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. "CountingMethod") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CountingMethod") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaConversionEvent: A conversion event in a GoogleAnalytics property.

func (GoogleAnalyticsAdminV1betaConversionEvent)MarshalJSON

typeGoogleAnalyticsAdminV1betaConversionEventDefaultConversionValueadded inv0.149.0

type GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue struct {// CurrencyCode: When a conversion event for this event_name has no set// currency, this currency will be applied as the default. Must be in ISO 4217// currency code format. Seehttps://en.wikipedia.org/wiki/ISO_4217 for more// information.CurrencyCodestring `json:"currencyCode,omitempty"`// Value: This value will be used to populate the value for all conversions of// the specified event_name where the event "value" parameter is unset.Valuefloat64 `json:"value,omitempty"`// ForceSendFields is a list of field names (e.g. "CurrencyCode") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CurrencyCode") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue: Defines adefault value/currency for a conversion event. Both value and currency mustbe provided.

func (GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue)MarshalJSONadded inv0.149.0

func (*GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue)UnmarshalJSONadded inv0.149.0

typeGoogleAnalyticsAdminV1betaCustomDimension

type GoogleAnalyticsAdminV1betaCustomDimension struct {// Description: Optional. Description for this custom dimension. Max length of// 150 characters.Descriptionstring `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.DisallowAdsPersonalizationbool `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.DisplayNamestring `json:"displayName,omitempty"`// Name: Output only. Resource name for this CustomDimension resource. Format:// properties/{property}/customDimensions/{customDimension}Namestring `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. If this is an item-scoped dimension, then this is the// parameter name found in the eCommerce items array. 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.ParameterNamestring `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.//   "ITEM" - Dimension scoped to eCommerce itemsScopestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaCustomDimension: A definition for aCustomDimension.

func (GoogleAnalyticsAdminV1betaCustomDimension)MarshalJSON

typeGoogleAnalyticsAdminV1betaCustomMetric

type GoogleAnalyticsAdminV1betaCustomMetric struct {// Description: Optional. Description for this custom dimension. Max length of// 150 characters.Descriptionstring `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.DisplayNamestring `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.MeasurementUnitstring `json:"measurementUnit,omitempty"`// Name: Output only. Resource name for this CustomMetric resource. Format:// properties/{property}/customMetrics/{customMetric}Namestring `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.ParameterNamestring `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.Scopestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaCustomMetric: A definition for a custom metric.

func (GoogleAnalyticsAdminV1betaCustomMetric)MarshalJSON

typeGoogleAnalyticsAdminV1betaDataRetentionSettings

type GoogleAnalyticsAdminV1betaDataRetentionSettings struct {// EventDataRetention: Required. 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. Available for event data only.//   "THIRTY_EIGHT_MONTHS" - The data retention time duration is 38 months.// Available to 360 properties only. Available for event data only.//   "FIFTY_MONTHS" - The data retention time duration is 50 months. Available// to 360 properties only. Available for event data only.EventDataRetentionstring `json:"eventDataRetention,omitempty"`// Name: Output only. Resource name for this DataRetentionSetting resource.// Format: properties/{property}/dataRetentionSettingsNamestring `json:"name,omitempty"`// ResetUserDataOnNewActivity: If true, reset the retention period for the user// identifier with every event from that user.ResetUserDataOnNewActivitybool `json:"resetUserDataOnNewActivity,omitempty"`// UserDataRetention: Required. The length of time that user-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. Available for event data only.//   "THIRTY_EIGHT_MONTHS" - The data retention time duration is 38 months.// Available to 360 properties only. Available for event data only.//   "FIFTY_MONTHS" - The data retention time duration is 50 months. Available// to 360 properties only. Available for event data only.UserDataRetentionstring `json:"userDataRetention,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaDataRetentionSettings: Settings values for dataretention. This is a singleton resource.

func (GoogleAnalyticsAdminV1betaDataRetentionSettings)MarshalJSON

typeGoogleAnalyticsAdminV1betaDataSharingSettings

type GoogleAnalyticsAdminV1betaDataSharingSettings struct {// Name: Output only. Resource name. Format:// accounts/{account}/dataSharingSettings Example:// "accounts/1000/dataSharingSettings"Namestring `json:"name,omitempty"`// SharingWithGoogleAnySalesEnabled: Deprecated. This field is no longer used// and always returns false.SharingWithGoogleAnySalesEnabledbool `json:"sharingWithGoogleAnySalesEnabled,omitempty"`// SharingWithGoogleAssignedSalesEnabled: Allows Google access to your Google// Analytics account data, including account usage and configuration data,// product spending, and users associated with your Google Analytics account,// so that Google can help you make the most of Google products, providing you// with insights, offers, recommendations, and optimization tips across Google// Analytics and other Google products for business. This field maps to the// "Recommendations for your business" field in the Google Analytics Admin UI.SharingWithGoogleAssignedSalesEnabledbool `json:"sharingWithGoogleAssignedSalesEnabled,omitempty"`// SharingWithGoogleProductsEnabled: Allows Google to use the data to improve// other Google products or services. This fields maps to the "Google products// & services" field in the Google Analytics Admin UI.SharingWithGoogleProductsEnabledbool `json:"sharingWithGoogleProductsEnabled,omitempty"`// SharingWithGoogleSupportEnabled: Allows Google technical support// representatives access to your Google Analytics data and account when// necessary to provide service and find solutions to technical issues. This// field maps to the "Technical support" field in the Google Analytics Admin// UI.SharingWithGoogleSupportEnabledbool `json:"sharingWithGoogleSupportEnabled,omitempty"`// SharingWithOthersEnabled: Enable features like predictions, modeled data,// and benchmarking that can provide you with richer business insights when you// contribute aggregated measurement data. The data you share (including// information about the property from which it is shared) is aggregated and// de-identified before being used to generate business insights. This field// maps to the "Modeling contributions & business insights" field in the Google// Analytics Admin UI.SharingWithOthersEnabledbool `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaDataSharingSettings: A resource messagerepresenting data sharing settings of a Google Analytics account.

func (GoogleAnalyticsAdminV1betaDataSharingSettings)MarshalJSON

typeGoogleAnalyticsAdminV1betaDataStream

type GoogleAnalyticsAdminV1betaDataStream struct {// AndroidAppStreamData: Data specific to Android app streams. Must be// populated if type is ANDROID_APP_DATA_STREAM.AndroidAppStreamData *GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData `json:"androidAppStreamData,omitempty"`// CreateTime: Output only. Time when this stream was originally created.CreateTimestring `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.DisplayNamestring `json:"displayName,omitempty"`// IosAppStreamData: Data specific to iOS app streams. Must be populated if// type is IOS_APP_DATA_STREAM.IosAppStreamData *GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData `json:"iosAppStreamData,omitempty"`// Name: Output only. Resource name of this Data Stream. Format:// properties/{property_id}/dataStreams/{stream_id} Example:// "properties/1000/dataStreams/2000"Namestring `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.Typestring `json:"type,omitempty"`// UpdateTime: Output only. Time when stream payload fields were last updated.UpdateTimestring `json:"updateTime,omitempty"`// WebStreamData: Data specific to web streams. Must be populated if type is// WEB_DATA_STREAM.WebStreamData *GoogleAnalyticsAdminV1betaDataStreamWebStreamData `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaDataStream: A resource message representing a datastream.

func (GoogleAnalyticsAdminV1betaDataStream)MarshalJSON

typeGoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData

type GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData 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.FirebaseAppIdstring `json:"firebaseAppId,omitempty"`// PackageName: Immutable. The package name for the app being measured.// Example: "com.example.myandroidapp"PackageNamestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData: Data specific toAndroid app streams.

func (GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData)MarshalJSON

typeGoogleAnalyticsAdminV1betaDataStreamIosAppStreamData

type GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData struct {// BundleId: Required. Immutable. The Apple App Store Bundle ID for the app// Example: "com.example.myiosapp"BundleIdstring `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.FirebaseAppIdstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData: Data specific to iOSapp streams.

func (GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData)MarshalJSON

typeGoogleAnalyticsAdminV1betaDataStreamWebStreamData

type GoogleAnalyticsAdminV1betaDataStreamWebStreamData struct {// DefaultUri: Domain name of the web app being measured, or empty. Example:// "http://www.google.com", "https://www.google.com"DefaultUristring `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.FirebaseAppIdstring `json:"firebaseAppId,omitempty"`// MeasurementId: Output only. Analytics Measurement ID. Example:// "G-1A2BCD345E"MeasurementIdstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaDataStreamWebStreamData: Data specific to webstreams.

func (GoogleAnalyticsAdminV1betaDataStreamWebStreamData)MarshalJSON

typeGoogleAnalyticsAdminV1betaFirebaseLink

type GoogleAnalyticsAdminV1betaFirebaseLink struct {// CreateTime: Output only. Time when this FirebaseLink was originally created.CreateTimestring `json:"createTime,omitempty"`// Name: Output only. Example format: properties/1234/firebaseLinks/5678Namestring `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'Projectstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaFirebaseLink: A link between a Google Analyticsproperty and a Firebase project.

func (GoogleAnalyticsAdminV1betaFirebaseLink)MarshalJSON

typeGoogleAnalyticsAdminV1betaGoogleAdsLink

type GoogleAnalyticsAdminV1betaGoogleAdsLink 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.AdsPersonalizationEnabledbool `json:"adsPersonalizationEnabled,omitempty"`// CanManageClients: Output only. If true, this link is for a Google Ads// manager account.CanManageClientsbool `json:"canManageClients,omitempty"`// CreateTime: Output only. Time when this link was originally created.CreateTimestring `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.CreatorEmailAddressstring `json:"creatorEmailAddress,omitempty"`// CustomerId: Immutable. Google Ads customer ID.CustomerIdstring `json:"customerId,omitempty"`// Name: Output only. Format:// properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note:// googleAdsLinkId is not the Google Ads customer ID.Namestring `json:"name,omitempty"`// UpdateTime: Output only. Time when this link was last updated.UpdateTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaGoogleAdsLink: A link between a Google Analyticsproperty and a Google Ads account.

func (GoogleAnalyticsAdminV1betaGoogleAdsLink)MarshalJSON

typeGoogleAnalyticsAdminV1betaKeyEventadded inv0.173.0

type GoogleAnalyticsAdminV1betaKeyEvent struct {// CountingMethod: Required. The method by which Key Events will be counted// across multiple events within a session.//// Possible values://   "COUNTING_METHOD_UNSPECIFIED" - Counting method not specified.//   "ONCE_PER_EVENT" - Each Event instance is considered a Key Event.//   "ONCE_PER_SESSION" - An Event instance is considered a Key Event at most// once per session per user.CountingMethodstring `json:"countingMethod,omitempty"`// CreateTime: Output only. Time when this key event was created in the// property.CreateTimestring `json:"createTime,omitempty"`// Custom: Output only. If set to true, this key event refers to a custom// event. If set to false, this key 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// key events that may be created per property.Custombool `json:"custom,omitempty"`// DefaultValue: Optional. Defines a default value/currency for a key event.DefaultValue *GoogleAnalyticsAdminV1betaKeyEventDefaultValue `json:"defaultValue,omitempty"`// Deletable: Output only. If set to true, this event can be deleted.Deletablebool `json:"deletable,omitempty"`// EventName: Immutable. The event name for this key event. Examples: 'click',// 'purchase'EventNamestring `json:"eventName,omitempty"`// Name: Output only. Resource name of this key event. Format:// properties/{property}/keyEvents/{key_event}Namestring `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. "CountingMethod") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CountingMethod") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaKeyEvent: A key event in a Google Analyticsproperty.

func (GoogleAnalyticsAdminV1betaKeyEvent)MarshalJSONadded inv0.173.0

typeGoogleAnalyticsAdminV1betaKeyEventDefaultValueadded inv0.173.0

type GoogleAnalyticsAdminV1betaKeyEventDefaultValue struct {// CurrencyCode: Required. When an occurrence of this Key Event (specified by// event_name) has no set currency this currency will be applied as the// default. Must be in ISO 4217 currency code format. See//https://en.wikipedia.org/wiki/ISO_4217 for more information.CurrencyCodestring `json:"currencyCode,omitempty"`// NumericValue: Required. This will be used to populate the "value" parameter// for all occurrences of this Key Event (specified by event_name) where that// parameter is unset.NumericValuefloat64 `json:"numericValue,omitempty"`// ForceSendFields is a list of field names (e.g. "CurrencyCode") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CurrencyCode") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaKeyEventDefaultValue: Defines a defaultvalue/currency for a key event.

func (GoogleAnalyticsAdminV1betaKeyEventDefaultValue)MarshalJSONadded inv0.173.0

func (*GoogleAnalyticsAdminV1betaKeyEventDefaultValue)UnmarshalJSONadded inv0.173.0

typeGoogleAnalyticsAdminV1betaListAccountSummariesResponse

type GoogleAnalyticsAdminV1betaListAccountSummariesResponse struct {// AccountSummaries: Account summaries of all accounts the caller has access// to.AccountSummaries []*GoogleAnalyticsAdminV1betaAccountSummary `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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaListAccountSummariesResponse: Response message forListAccountSummaries RPC.

func (GoogleAnalyticsAdminV1betaListAccountSummariesResponse)MarshalJSON

typeGoogleAnalyticsAdminV1betaListAccountsResponse

type GoogleAnalyticsAdminV1betaListAccountsResponse struct {// Accounts: Results that were accessible to the caller.Accounts []*GoogleAnalyticsAdminV1betaAccount `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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaListAccountsResponse: Request message forListAccounts RPC.

func (GoogleAnalyticsAdminV1betaListAccountsResponse)MarshalJSON

typeGoogleAnalyticsAdminV1betaListConversionEventsResponse

type GoogleAnalyticsAdminV1betaListConversionEventsResponse struct {// ConversionEvents: The requested conversion eventsConversionEvents []*GoogleAnalyticsAdminV1betaConversionEvent `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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaListConversionEventsResponse: Response message forListConversionEvents RPC.

func (GoogleAnalyticsAdminV1betaListConversionEventsResponse)MarshalJSON

typeGoogleAnalyticsAdminV1betaListCustomDimensionsResponse

type GoogleAnalyticsAdminV1betaListCustomDimensionsResponse struct {// CustomDimensions: List of CustomDimensions.CustomDimensions []*GoogleAnalyticsAdminV1betaCustomDimension `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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaListCustomDimensionsResponse: Response message forListCustomDimensions RPC.

func (GoogleAnalyticsAdminV1betaListCustomDimensionsResponse)MarshalJSON

typeGoogleAnalyticsAdminV1betaListCustomMetricsResponse

type GoogleAnalyticsAdminV1betaListCustomMetricsResponse struct {// CustomMetrics: List of CustomMetrics.CustomMetrics []*GoogleAnalyticsAdminV1betaCustomMetric `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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaListCustomMetricsResponse: Response message forListCustomMetrics RPC.

func (GoogleAnalyticsAdminV1betaListCustomMetricsResponse)MarshalJSON

typeGoogleAnalyticsAdminV1betaListDataStreamsResponse

type GoogleAnalyticsAdminV1betaListDataStreamsResponse struct {// DataStreams: List of DataStreams.DataStreams []*GoogleAnalyticsAdminV1betaDataStream `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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaListDataStreamsResponse: Response message forListDataStreams RPC.

func (GoogleAnalyticsAdminV1betaListDataStreamsResponse)MarshalJSON

typeGoogleAnalyticsAdminV1betaListFirebaseLinksResponse

type GoogleAnalyticsAdminV1betaListFirebaseLinksResponse struct {// FirebaseLinks: List of FirebaseLinks. This will have at most one value.FirebaseLinks []*GoogleAnalyticsAdminV1betaFirebaseLink `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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaListFirebaseLinksResponse: Response message forListFirebaseLinks RPC

func (GoogleAnalyticsAdminV1betaListFirebaseLinksResponse)MarshalJSON

typeGoogleAnalyticsAdminV1betaListGoogleAdsLinksResponse

type GoogleAnalyticsAdminV1betaListGoogleAdsLinksResponse struct {// GoogleAdsLinks: List of GoogleAdsLinks.GoogleAdsLinks []*GoogleAnalyticsAdminV1betaGoogleAdsLink `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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaListGoogleAdsLinksResponse: Response message forListGoogleAdsLinks RPC.

func (GoogleAnalyticsAdminV1betaListGoogleAdsLinksResponse)MarshalJSON

typeGoogleAnalyticsAdminV1betaListKeyEventsResponseadded inv0.173.0

type GoogleAnalyticsAdminV1betaListKeyEventsResponse struct {// KeyEvents: The requested Key EventsKeyEvents []*GoogleAnalyticsAdminV1betaKeyEvent `json:"keyEvents,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.NextPageTokenstring `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. "KeyEvents") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "KeyEvents") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaListKeyEventsResponse: Response message forListKeyEvents RPC.

func (GoogleAnalyticsAdminV1betaListKeyEventsResponse)MarshalJSONadded inv0.173.0

typeGoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse

type GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse struct {// MeasurementProtocolSecrets: A list of secrets for the parent stream// specified in the request.MeasurementProtocolSecrets []*GoogleAnalyticsAdminV1betaMeasurementProtocolSecret `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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse: Responsemessage for ListMeasurementProtocolSecret RPC

func (GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse)MarshalJSON

typeGoogleAnalyticsAdminV1betaListPropertiesResponse

type GoogleAnalyticsAdminV1betaListPropertiesResponse 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.NextPageTokenstring `json:"nextPageToken,omitempty"`// Properties: Results that matched the filter criteria and were accessible to// the caller.Properties []*GoogleAnalyticsAdminV1betaProperty `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaListPropertiesResponse: Response message forListProperties RPC.

func (GoogleAnalyticsAdminV1betaListPropertiesResponse)MarshalJSON

typeGoogleAnalyticsAdminV1betaMeasurementProtocolSecret

type GoogleAnalyticsAdminV1betaMeasurementProtocolSecret struct {// DisplayName: Required. Human-readable display name for this secret.DisplayNamestring `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}/measurementProtocolSecrets/{me// asurementProtocolSecret}Namestring `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.SecretValuestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaMeasurementProtocolSecret: A secret value used forsending hits to Measurement Protocol.

func (GoogleAnalyticsAdminV1betaMeasurementProtocolSecret)MarshalJSON

typeGoogleAnalyticsAdminV1betaNumericValueadded inv0.112.0

type GoogleAnalyticsAdminV1betaNumericValue struct {// DoubleValue: Double valueDoubleValuefloat64 `json:"doubleValue,omitempty"`// Int64Value: Integer valueInt64Valueint64 `json:"int64Value,omitempty,string"`// ForceSendFields is a list of field names (e.g. "DoubleValue") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DoubleValue") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaNumericValue: To represent a number.

func (GoogleAnalyticsAdminV1betaNumericValue)MarshalJSONadded inv0.112.0

func (*GoogleAnalyticsAdminV1betaNumericValue)UnmarshalJSONadded inv0.112.0

func (s *GoogleAnalyticsAdminV1betaNumericValue) UnmarshalJSON(data []byte)error

typeGoogleAnalyticsAdminV1betaProperty

type GoogleAnalyticsAdminV1betaProperty struct {// Account: Immutable. The resource name of the parent account Format:// accounts/{account_id} Example: "accounts/123"Accountstring `json:"account,omitempty"`// CreateTime: Output only. Time when the entity was originally created.CreateTimestring `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"CurrencyCodestring `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.DeleteTimestring `json:"deleteTime,omitempty"`// DisplayName: Required. Human-readable display name for this property. The// max allowed display name length is 100 UTF-16 code units.DisplayNamestring `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.ExpireTimestring `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" - ShoppingIndustryCategorystring `json:"industryCategory,omitempty"`// Name: Output only. Resource name of this property. Format:// properties/{property_id} Example: "properties/1000"Namestring `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"Parentstring `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.//// Possible values://   "PROPERTY_TYPE_UNSPECIFIED" - Unknown or unspecified property type//   "PROPERTY_TYPE_ORDINARY" - Ordinary Google Analytics property//   "PROPERTY_TYPE_SUBPROPERTY" - Google Analytics subproperty//   "PROPERTY_TYPE_ROLLUP" - Google Analytics rollup propertyPropertyTypestring `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.ServiceLevelstring `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"TimeZonestring `json:"timeZone,omitempty"`// UpdateTime: Output only. Time when entity payload fields were last updated.UpdateTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaProperty: A resource message representing a GoogleAnalytics property.

func (GoogleAnalyticsAdminV1betaProperty)MarshalJSON

typeGoogleAnalyticsAdminV1betaPropertySummary

type GoogleAnalyticsAdminV1betaPropertySummary struct {// DisplayName: Display name for the property referred to in this property// summary.DisplayNamestring `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"Parentstring `json:"parent,omitempty"`// Property: Resource name of property referred to by this property summary// Format: properties/{property_id} Example: "properties/1000"Propertystring `json:"property,omitempty"`// PropertyType: The property's property type.//// Possible values://   "PROPERTY_TYPE_UNSPECIFIED" - Unknown or unspecified property type//   "PROPERTY_TYPE_ORDINARY" - Ordinary Google Analytics property//   "PROPERTY_TYPE_SUBPROPERTY" - Google Analytics subproperty//   "PROPERTY_TYPE_ROLLUP" - Google Analytics rollup propertyPropertyTypestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaPropertySummary: A virtual resource representingmetadata for a Google Analytics property.

func (GoogleAnalyticsAdminV1betaPropertySummary)MarshalJSON

typeGoogleAnalyticsAdminV1betaProvisionAccountTicketRequest

type GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest struct {// Account: The account to create.Account *GoogleAnalyticsAdminV1betaAccount `json:"account,omitempty"`// RedirectUri: Redirect URI where the user will be sent after accepting Terms// of Service. Must be configured in Cloud Console as a Redirect URI.RedirectUristring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest: Request message forProvisionAccountTicket RPC.

func (GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest)MarshalJSON

typeGoogleAnalyticsAdminV1betaProvisionAccountTicketResponse

type GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse struct {// AccountTicketId: The param to be passed in the ToS link.AccountTicketIdstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse: Response messagefor ProvisionAccountTicket RPC.

func (GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse)MarshalJSON

typeGoogleAnalyticsAdminV1betaRunAccessReportRequestadded inv0.112.0

type GoogleAnalyticsAdminV1betaRunAccessReportRequest struct {// DateRanges: Date ranges of access records to read. If multiple date ranges// are requested, each response row will contain a zero based date range index.// If two date ranges overlap, the access records for the overlapping days is// included in the response rows for both date ranges. Requests are allowed up// to 2 date ranges.DateRanges []*GoogleAnalyticsAdminV1betaAccessDateRange `json:"dateRanges,omitempty"`// DimensionFilter: Dimension filters let you restrict report response to// specific dimension values which match the filter. For example, filtering on// access records of a single user. To learn more, see Fundamentals of// Dimension Filters// (https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)// for examples. Metrics cannot be used in this filter.DimensionFilter *GoogleAnalyticsAdminV1betaAccessFilterExpression `json:"dimensionFilter,omitempty"`// Dimensions: The dimensions requested and displayed in the response. Requests// are allowed up to 9 dimensions.Dimensions []*GoogleAnalyticsAdminV1betaAccessDimension `json:"dimensions,omitempty"`// ExpandGroups: Optional. Decides whether to return the users within user// groups. This field works only when include_all_users is set to true. If// true, it will return all users with access to the specified property or// account. If false, only the users with direct access will be returned.ExpandGroupsbool `json:"expandGroups,omitempty"`// IncludeAllUsers: Optional. Determines whether to include users who have// never made an API call in the response. If true, all users with access to// the specified property or account are included in the response, regardless// of whether they have made an API call or not. If false, only the users who// have made an API call will be included.IncludeAllUsersbool `json:"includeAllUsers,omitempty"`// Limit: The number of rows to return. If unspecified, 10,000 rows are// returned. The API returns a maximum of 100,000 rows per request, no matter// how many you ask for. `limit` must be positive. The API may return fewer// rows than the requested `limit`, if there aren't as many remaining rows as// the `limit`. For instance, there are fewer than 300 possible values for the// dimension `country`, so when reporting on only `country`, you can't get more// than 300 rows, even if you set `limit` to a higher value. To learn more// about this pagination parameter, see Pagination// (https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).Limitint64 `json:"limit,omitempty,string"`// MetricFilter: Metric filters allow you to restrict report response to// specific metric values which match the filter. Metric filters are applied// after aggregating the report's rows, similar to SQL having-clause.// Dimensions cannot be used in this filter.MetricFilter *GoogleAnalyticsAdminV1betaAccessFilterExpression `json:"metricFilter,omitempty"`// Metrics: The metrics requested and displayed in the response. Requests are// allowed up to 10 metrics.Metrics []*GoogleAnalyticsAdminV1betaAccessMetric `json:"metrics,omitempty"`// Offset: The row count of the start row. The first row is counted as row 0.// If offset is unspecified, it is treated as 0. If offset is zero, then this// method will return the first page of results with `limit` entries. To learn// more about this pagination parameter, see Pagination// (https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).Offsetint64 `json:"offset,omitempty,string"`// OrderBys: Specifies how rows are ordered in the response.OrderBys []*GoogleAnalyticsAdminV1betaAccessOrderBy `json:"orderBys,omitempty"`// ReturnEntityQuota: Toggles whether to return the current state of this// Analytics Property's quota. Quota is returned in AccessQuota (#AccessQuota).// For account-level requests, this field must be false.ReturnEntityQuotabool `json:"returnEntityQuota,omitempty"`// TimeZone: This request's time zone if specified. If unspecified, the// property's time zone is used. The request's time zone is used to interpret// the start & end dates of the report. Formatted as strings from the IANA Time// Zone database (https://www.iana.org/time-zones); for example// "America/New_York" or "Asia/Tokyo".TimeZonestring `json:"timeZone,omitempty"`// ForceSendFields is a list of field names (e.g. "DateRanges") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DateRanges") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaRunAccessReportRequest: The request for a DataAccess Record Report.

func (GoogleAnalyticsAdminV1betaRunAccessReportRequest)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaRunAccessReportResponseadded inv0.112.0

type GoogleAnalyticsAdminV1betaRunAccessReportResponse struct {// DimensionHeaders: The header for a column in the report that corresponds to// a specific dimension. The number of DimensionHeaders and ordering of// DimensionHeaders matches the dimensions present in rows.DimensionHeaders []*GoogleAnalyticsAdminV1betaAccessDimensionHeader `json:"dimensionHeaders,omitempty"`// MetricHeaders: The header for a column in the report that corresponds to a// specific metric. The number of MetricHeaders and ordering of MetricHeaders// matches the metrics present in rows.MetricHeaders []*GoogleAnalyticsAdminV1betaAccessMetricHeader `json:"metricHeaders,omitempty"`// Quota: The quota state for this Analytics property including this request.// This field doesn't work with account-level requests.Quota *GoogleAnalyticsAdminV1betaAccessQuota `json:"quota,omitempty"`// RowCount: The total number of rows in the query result. `rowCount` is// independent of the number of rows returned in the response, the `limit`// request parameter, and the `offset` request parameter. For example if a// query returns 175 rows and includes `limit` of 50 in the API request, the// response will contain `rowCount` of 175 but only 50 rows. To learn more// about this pagination parameter, see Pagination// (https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).RowCountint64 `json:"rowCount,omitempty"`// Rows: Rows of dimension value combinations and metric values in the report.Rows []*GoogleAnalyticsAdminV1betaAccessRow `json:"rows,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DimensionHeaders") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DimensionHeaders") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaRunAccessReportResponse: The customized DataAccess Record Report response.

func (GoogleAnalyticsAdminV1betaRunAccessReportResponse)MarshalJSONadded inv0.112.0

typeGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest

type GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest 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).EarliestChangeTimestring `json:"earliestChangeTime,omitempty"`// LatestChangeTime: Optional. If set, only return changes made before this// time (inclusive).LatestChangeTimestring `json:"latestChangeTime,omitempty"`// PageSize: Optional. The maximum number of ChangeHistoryEvent items to// return. If unspecified, at most 50 items will be returned. The maximum value// is 200 (higher values will be coerced to the maximum). Note that the service// may return a page with fewer items than this value specifies (potentially// even zero), and that there still may be additional pages. If you want a// particular number of items, you'll need to continue requesting additional// pages using `page_token` until you get the needed number.PageSizeint64 `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.PageTokenstring `json:"pageToken,omitempty"`// Property: Optional. Resource name for a child property. If set, only return// changes made to this property or its child resources. Format:// properties/{propertyId} Example: `properties/100`Propertystring `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 resourceResourceType []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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest: Request messagefor SearchChangeHistoryEvents RPC.

func (GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest)MarshalJSON

typeGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse

type GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse struct {// ChangeHistoryEvents: Results that were accessible to the caller.ChangeHistoryEvents []*GoogleAnalyticsAdminV1betaChangeHistoryEvent `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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse: Responsemessage for SearchAccounts RPC.

func (GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse)MarshalJSON

typeGoogleProtobufEmpty

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 avoiddefining duplicated empty messages in your APIs. A typical example is to useit as the request or the response type of an API method. For instance:service Foo { rpc Bar(google.protobuf.Empty) returns(google.protobuf.Empty); }

typePropertiesAcknowledgeUserDataCollectionCall

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

func (*PropertiesAcknowledgeUserDataCollectionCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesAcknowledgeUserDataCollectionCall)Do

Do executes the "analyticsadmin.properties.acknowledgeUserDataCollection" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*PropertiesAcknowledgeUserDataCollectionCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesAcknowledgeUserDataCollectionCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesConversionEventsCreateCall

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

func (*PropertiesConversionEventsCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesConversionEventsCreateCall)Do

Do executes the "analyticsadmin.properties.conversionEvents.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaConversionEvent.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesConversionEventsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesConversionEventsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesConversionEventsDeleteCall

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

func (*PropertiesConversionEventsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesConversionEventsDeleteCall)Do

Do executes the "analyticsadmin.properties.conversionEvents.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*PropertiesConversionEventsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesConversionEventsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesConversionEventsGetCall

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

func (*PropertiesConversionEventsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesConversionEventsGetCall)Do

Do executes the "analyticsadmin.properties.conversionEvents.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaConversionEvent.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesConversionEventsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesConversionEventsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesConversionEventsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typePropertiesConversionEventsListCall

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

func (*PropertiesConversionEventsListCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesConversionEventsListCall)Do

Do executes the "analyticsadmin.properties.conversionEvents.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaListConversionEventsResponse.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 becausehttp.StatusNotModified was returned.

func (*PropertiesConversionEventsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesConversionEventsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesConversionEventsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*PropertiesConversionEventsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofresources 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

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

func (*PropertiesConversionEventsListCall)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.

typePropertiesConversionEventsPatchCalladded inv0.137.0

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

func (*PropertiesConversionEventsPatchCall)Contextadded inv0.137.0

Context sets the context to be used in this call's Do method.

func (*PropertiesConversionEventsPatchCall)Doadded inv0.137.0

Do executes the "analyticsadmin.properties.conversionEvents.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaConversionEvent.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesConversionEventsPatchCall)Fieldsadded inv0.137.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesConversionEventsPatchCall)Headeradded inv0.137.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesConversionEventsPatchCall)UpdateMaskadded inv0.137.0

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

typePropertiesConversionEventsService

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

funcNewPropertiesConversionEventsService

func NewPropertiesConversionEventsService(s *Service) *PropertiesConversionEventsService

func (*PropertiesConversionEventsService)Create

Create: Deprecated: Use `CreateKeyEvent` instead. Creates a conversion eventwith the specified attributes.

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

func (*PropertiesConversionEventsService)Delete

Delete: Deprecated: Use `DeleteKeyEvent` instead. Deletes a conversion eventin 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

Get: Deprecated: Use `GetKeyEvent` instead. Retrieve a single conversionevent.

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

func (*PropertiesConversionEventsService)List

List: Deprecated: Use `ListKeyEvents` instead. Returns a list of conversionevents in the specified parent property. Returns an empty list if noconversion events are found.

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

func (*PropertiesConversionEventsService)Patchadded inv0.137.0

Patch: Deprecated: Use `UpdateKeyEvent` instead. Updates a conversion eventwith the specified attributes.

  • name: Output only. Resource name of this conversion event. Format:properties/{property}/conversionEvents/{conversion_event}.

typePropertiesCreateCall

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

func (*PropertiesCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesCreateCall)Do

Do executes the "analyticsadmin.properties.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaProperty.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesCreateCall)Header

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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesCustomDimensionsArchiveCall

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

func (*PropertiesCustomDimensionsArchiveCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesCustomDimensionsArchiveCall)Do

Do executes the "analyticsadmin.properties.customDimensions.archive" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*PropertiesCustomDimensionsArchiveCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesCustomDimensionsArchiveCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesCustomDimensionsCreateCall

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

func (*PropertiesCustomDimensionsCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesCustomDimensionsCreateCall)Do

Do executes the "analyticsadmin.properties.customDimensions.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaCustomDimension.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesCustomDimensionsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesCustomDimensionsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesCustomDimensionsGetCall

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

func (*PropertiesCustomDimensionsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesCustomDimensionsGetCall)Do

Do executes the "analyticsadmin.properties.customDimensions.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaCustomDimension.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesCustomDimensionsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesCustomDimensionsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesCustomDimensionsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typePropertiesCustomDimensionsListCall

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

func (*PropertiesCustomDimensionsListCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesCustomDimensionsListCall)Do

Do executes the "analyticsadmin.properties.customDimensions.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaListCustomDimensionsResponse.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 becausehttp.StatusNotModified was returned.

func (*PropertiesCustomDimensionsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesCustomDimensionsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesCustomDimensionsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*PropertiesCustomDimensionsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofresources 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

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

func (*PropertiesCustomDimensionsListCall)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.

typePropertiesCustomDimensionsPatchCall

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

func (*PropertiesCustomDimensionsPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesCustomDimensionsPatchCall)Do

Do executes the "analyticsadmin.properties.customDimensions.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaCustomDimension.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesCustomDimensionsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesCustomDimensionsPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesCustomDimensionsPatchCall)UpdateMask

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

typePropertiesCustomDimensionsService

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

funcNewPropertiesCustomDimensionsService

func NewPropertiesCustomDimensionsService(s *Service) *PropertiesCustomDimensionsService

func (*PropertiesCustomDimensionsService)Archive

Archive: Archives a CustomDimension on a property.

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

func (*PropertiesCustomDimensionsService)Create

Create: Creates a CustomDimension.

- parent: Example format: properties/1234.

func (*PropertiesCustomDimensionsService)Get

Get: Lookup for a single CustomDimension.

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

func (*PropertiesCustomDimensionsService)List

List: Lists CustomDimensions on a property.

- parent: Example format: properties/1234.

func (*PropertiesCustomDimensionsService)Patch

Patch: Updates a CustomDimension on a property.

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

typePropertiesCustomMetricsArchiveCall

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

func (*PropertiesCustomMetricsArchiveCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesCustomMetricsArchiveCall)Do

Do executes the "analyticsadmin.properties.customMetrics.archive" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*PropertiesCustomMetricsArchiveCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesCustomMetricsArchiveCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesCustomMetricsCreateCall

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

func (*PropertiesCustomMetricsCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesCustomMetricsCreateCall)Do

Do executes the "analyticsadmin.properties.customMetrics.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaCustomMetric.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesCustomMetricsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesCustomMetricsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesCustomMetricsGetCall

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

func (*PropertiesCustomMetricsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesCustomMetricsGetCall)Do

Do executes the "analyticsadmin.properties.customMetrics.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaCustomMetric.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesCustomMetricsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesCustomMetricsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesCustomMetricsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typePropertiesCustomMetricsListCall

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

func (*PropertiesCustomMetricsListCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesCustomMetricsListCall)Do

Do executes the "analyticsadmin.properties.customMetrics.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaListCustomMetricsResponse.ServerResponse.Headeror (if a response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesCustomMetricsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesCustomMetricsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesCustomMetricsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*PropertiesCustomMetricsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofresources 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

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

func (*PropertiesCustomMetricsListCall)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.

typePropertiesCustomMetricsPatchCall

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

func (*PropertiesCustomMetricsPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesCustomMetricsPatchCall)Do

Do executes the "analyticsadmin.properties.customMetrics.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaCustomMetric.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesCustomMetricsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesCustomMetricsPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesCustomMetricsPatchCall)UpdateMask

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

typePropertiesCustomMetricsService

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

funcNewPropertiesCustomMetricsService

func NewPropertiesCustomMetricsService(s *Service) *PropertiesCustomMetricsService

func (*PropertiesCustomMetricsService)Archive

func (r *PropertiesCustomMetricsService) Archive(namestring, googleanalyticsadminv1betaarchivecustommetricrequest *GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest) *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

Create: Creates a CustomMetric.

- parent: Example format: properties/1234.

func (*PropertiesCustomMetricsService)Get

Get: Lookup for a single CustomMetric.

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

func (*PropertiesCustomMetricsService)List

List: Lists CustomMetrics on a property.

- parent: Example format: properties/1234.

func (*PropertiesCustomMetricsService)Patch

Patch: Updates a CustomMetric on a property.

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

typePropertiesDataStreamsCreateCall

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

func (*PropertiesDataStreamsCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesDataStreamsCreateCall)Do

Do executes the "analyticsadmin.properties.dataStreams.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaDataStream.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesDataStreamsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesDataStreamsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesDataStreamsDeleteCall

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

func (*PropertiesDataStreamsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesDataStreamsDeleteCall)Do

Do executes the "analyticsadmin.properties.dataStreams.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*PropertiesDataStreamsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesDataStreamsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesDataStreamsGetCall

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

func (*PropertiesDataStreamsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesDataStreamsGetCall)Do

Do executes the "analyticsadmin.properties.dataStreams.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaDataStream.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesDataStreamsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesDataStreamsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesDataStreamsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typePropertiesDataStreamsListCall

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

func (*PropertiesDataStreamsListCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesDataStreamsListCall)Do

Do executes the "analyticsadmin.properties.dataStreams.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaListDataStreamsResponse.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesDataStreamsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesDataStreamsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesDataStreamsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*PropertiesDataStreamsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofresources 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

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

func (*PropertiesDataStreamsListCall)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.

typePropertiesDataStreamsMeasurementProtocolSecretsCreateCall

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

func (*PropertiesDataStreamsMeasurementProtocolSecretsCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesDataStreamsMeasurementProtocolSecretsCreateCall)Do

Do executes the "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaMeasurementProtocolSecret.ServerResponse.Headeror (if a response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesDataStreamsMeasurementProtocolSecretsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesDataStreamsMeasurementProtocolSecretsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesDataStreamsMeasurementProtocolSecretsDeleteCall

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

func (*PropertiesDataStreamsMeasurementProtocolSecretsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesDataStreamsMeasurementProtocolSecretsDeleteCall)Do

Do executes the "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*PropertiesDataStreamsMeasurementProtocolSecretsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesDataStreamsMeasurementProtocolSecretsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesDataStreamsMeasurementProtocolSecretsGetCall

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

func (*PropertiesDataStreamsMeasurementProtocolSecretsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesDataStreamsMeasurementProtocolSecretsGetCall)Do

Do executes the "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaMeasurementProtocolSecret.ServerResponse.Headeror (if a response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesDataStreamsMeasurementProtocolSecretsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesDataStreamsMeasurementProtocolSecretsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesDataStreamsMeasurementProtocolSecretsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typePropertiesDataStreamsMeasurementProtocolSecretsListCall

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

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall)Do

Do executes the "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofresources 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

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListMeasurementProtocolSecrets` call. Provide this toretrieve the subsequent page. When paginating, all other parameters providedto `ListMeasurementProtocolSecrets` must match the call that provided thepage token.

func (*PropertiesDataStreamsMeasurementProtocolSecretsListCall)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.

typePropertiesDataStreamsMeasurementProtocolSecretsPatchCall

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

func (*PropertiesDataStreamsMeasurementProtocolSecretsPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesDataStreamsMeasurementProtocolSecretsPatchCall)Do

Do executes the "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaMeasurementProtocolSecret.ServerResponse.Headeror (if a response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesDataStreamsMeasurementProtocolSecretsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesDataStreamsMeasurementProtocolSecretsPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesDataStreamsMeasurementProtocolSecretsPatchCall)UpdateMask

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

typePropertiesDataStreamsMeasurementProtocolSecretsService

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

func (*PropertiesDataStreamsMeasurementProtocolSecretsService)Create

Create: Creates a measurement protocol secret.

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

func (*PropertiesDataStreamsMeasurementProtocolSecretsService)Delete

Delete: Deletes target MeasurementProtocolSecret.

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

func (*PropertiesDataStreamsMeasurementProtocolSecretsService)Get

Get: Lookup for a single MeasurementProtocolSecret.

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

func (*PropertiesDataStreamsMeasurementProtocolSecretsService)List

List: Returns child MeasurementProtocolSecrets under the specified parentProperty.

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

func (*PropertiesDataStreamsMeasurementProtocolSecretsService)Patch

Patch: Updates a measurement protocol secret.

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

typePropertiesDataStreamsPatchCall

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

func (*PropertiesDataStreamsPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesDataStreamsPatchCall)Do

Do executes the "analyticsadmin.properties.dataStreams.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaDataStream.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesDataStreamsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesDataStreamsPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesDataStreamsPatchCall)UpdateMask

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

typePropertiesDataStreamsService

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

funcNewPropertiesDataStreamsService

func NewPropertiesDataStreamsService(s *Service) *PropertiesDataStreamsService

func (*PropertiesDataStreamsService)Create

Create: Creates a DataStream.

- parent: Example format: properties/1234.

func (*PropertiesDataStreamsService)Delete

Delete: Deletes a DataStream on a property.

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

func (*PropertiesDataStreamsService)Get

Get: Lookup for a single DataStream.

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

func (*PropertiesDataStreamsService)List

List: Lists DataStreams on a property.

- parent: Example format: properties/1234.

func (*PropertiesDataStreamsService)Patch

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".

typePropertiesDeleteCall

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

func (*PropertiesDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesDeleteCall)Do

Do executes the "analyticsadmin.properties.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaProperty.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesDeleteCall)Header

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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesFirebaseLinksCreateCall

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

func (*PropertiesFirebaseLinksCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesFirebaseLinksCreateCall)Do

Do executes the "analyticsadmin.properties.firebaseLinks.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaFirebaseLink.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesFirebaseLinksCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesFirebaseLinksCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesFirebaseLinksDeleteCall

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

func (*PropertiesFirebaseLinksDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesFirebaseLinksDeleteCall)Do

Do executes the "analyticsadmin.properties.firebaseLinks.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*PropertiesFirebaseLinksDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesFirebaseLinksDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesFirebaseLinksListCall

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

func (*PropertiesFirebaseLinksListCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesFirebaseLinksListCall)Do

Do executes the "analyticsadmin.properties.firebaseLinks.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaListFirebaseLinksResponse.ServerResponse.Headeror (if a response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesFirebaseLinksListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesFirebaseLinksListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesFirebaseLinksListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*PropertiesFirebaseLinksListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofresources to return. The service may return fewer than this value, even ifthere are additional pages. If unspecified, at most 50 resources will bereturned. The maximum value is 200; (higher values will be coerced to themaximum)

func (*PropertiesFirebaseLinksListCall)PageToken

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

func (*PropertiesFirebaseLinksListCall)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.

typePropertiesFirebaseLinksService

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

funcNewPropertiesFirebaseLinksService

func NewPropertiesFirebaseLinksService(s *Service) *PropertiesFirebaseLinksService

func (*PropertiesFirebaseLinksService)Create

Create: Creates a FirebaseLink. Properties can have at most oneFirebaseLink.

- 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 oneFirebaseLink.

- parent: Format: properties/{property_id} Example: `properties/1234`.

typePropertiesGetCall

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

func (*PropertiesGetCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesGetCall)Do

Do executes the "analyticsadmin.properties.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaProperty.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesGetCall)Header

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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesGetCall)IfNoneMatch

func (c *PropertiesGetCall) IfNoneMatch(entityTagstring) *PropertiesGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typePropertiesGetDataRetentionSettingsCall

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

func (*PropertiesGetDataRetentionSettingsCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesGetDataRetentionSettingsCall)Do

Do executes the "analyticsadmin.properties.getDataRetentionSettings" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaDataRetentionSettings.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesGetDataRetentionSettingsCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesGetDataRetentionSettingsCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesGetDataRetentionSettingsCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typePropertiesGoogleAdsLinksCreateCall

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

func (*PropertiesGoogleAdsLinksCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesGoogleAdsLinksCreateCall)Do

Do executes the "analyticsadmin.properties.googleAdsLinks.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaGoogleAdsLink.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesGoogleAdsLinksCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesGoogleAdsLinksCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesGoogleAdsLinksDeleteCall

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

func (*PropertiesGoogleAdsLinksDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesGoogleAdsLinksDeleteCall)Do

Do executes the "analyticsadmin.properties.googleAdsLinks.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*PropertiesGoogleAdsLinksDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesGoogleAdsLinksDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesGoogleAdsLinksListCall

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

func (*PropertiesGoogleAdsLinksListCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesGoogleAdsLinksListCall)Do

Do executes the "analyticsadmin.properties.googleAdsLinks.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaListGoogleAdsLinksResponse.ServerResponse.Headeror (if a response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesGoogleAdsLinksListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesGoogleAdsLinksListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesGoogleAdsLinksListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*PropertiesGoogleAdsLinksListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofresources 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, receivedfrom a previous `ListGoogleAdsLinks` call. Provide this to retrieve thesubsequent 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.

typePropertiesGoogleAdsLinksPatchCall

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

func (*PropertiesGoogleAdsLinksPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesGoogleAdsLinksPatchCall)Do

Do executes the "analyticsadmin.properties.googleAdsLinks.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaGoogleAdsLink.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesGoogleAdsLinksPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesGoogleAdsLinksPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesGoogleAdsLinksPatchCall)UpdateMask

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

typePropertiesGoogleAdsLinksService

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

funcNewPropertiesGoogleAdsLinksService

func NewPropertiesGoogleAdsLinksService(s *Service) *PropertiesGoogleAdsLinksService

func (*PropertiesGoogleAdsLinksService)Create

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.

typePropertiesKeyEventsCreateCalladded inv0.173.0

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

func (*PropertiesKeyEventsCreateCall)Contextadded inv0.173.0

Context sets the context to be used in this call's Do method.

func (*PropertiesKeyEventsCreateCall)Doadded inv0.173.0

Do executes the "analyticsadmin.properties.keyEvents.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaKeyEvent.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesKeyEventsCreateCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesKeyEventsCreateCall)Headeradded inv0.173.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesKeyEventsDeleteCalladded inv0.173.0

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

func (*PropertiesKeyEventsDeleteCall)Contextadded inv0.173.0

Context sets the context to be used in this call's Do method.

func (*PropertiesKeyEventsDeleteCall)Doadded inv0.173.0

Do executes the "analyticsadmin.properties.keyEvents.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*PropertiesKeyEventsDeleteCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesKeyEventsDeleteCall)Headeradded inv0.173.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesKeyEventsGetCalladded inv0.173.0

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

func (*PropertiesKeyEventsGetCall)Contextadded inv0.173.0

Context sets the context to be used in this call's Do method.

func (*PropertiesKeyEventsGetCall)Doadded inv0.173.0

Do executes the "analyticsadmin.properties.keyEvents.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaKeyEvent.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesKeyEventsGetCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesKeyEventsGetCall)Headeradded inv0.173.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesKeyEventsGetCall)IfNoneMatchadded inv0.173.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typePropertiesKeyEventsListCalladded inv0.173.0

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

func (*PropertiesKeyEventsListCall)Contextadded inv0.173.0

Context sets the context to be used in this call's Do method.

func (*PropertiesKeyEventsListCall)Doadded inv0.173.0

Do executes the "analyticsadmin.properties.keyEvents.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaListKeyEventsResponse.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesKeyEventsListCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesKeyEventsListCall)Headeradded inv0.173.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesKeyEventsListCall)IfNoneMatchadded inv0.173.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*PropertiesKeyEventsListCall)PageSizeadded inv0.173.0

PageSize sets the optional parameter "pageSize": The maximum number ofresources 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 (*PropertiesKeyEventsListCall)PageTokenadded inv0.173.0

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

func (*PropertiesKeyEventsListCall)Pagesadded inv0.173.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.

typePropertiesKeyEventsPatchCalladded inv0.173.0

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

func (*PropertiesKeyEventsPatchCall)Contextadded inv0.173.0

Context sets the context to be used in this call's Do method.

func (*PropertiesKeyEventsPatchCall)Doadded inv0.173.0

Do executes the "analyticsadmin.properties.keyEvents.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaKeyEvent.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesKeyEventsPatchCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesKeyEventsPatchCall)Headeradded inv0.173.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesKeyEventsPatchCall)UpdateMaskadded inv0.173.0

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

typePropertiesKeyEventsServiceadded inv0.173.0

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

funcNewPropertiesKeyEventsServiceadded inv0.173.0

func NewPropertiesKeyEventsService(s *Service) *PropertiesKeyEventsService

func (*PropertiesKeyEventsService)Createadded inv0.173.0

func (r *PropertiesKeyEventsService) Create(parentstring, googleanalyticsadminv1betakeyevent *GoogleAnalyticsAdminV1betaKeyEvent) *PropertiesKeyEventsCreateCall

Create: Creates a Key Event.

  • parent: The resource name of the parent property where this Key Event willbe created. Format: properties/123.

func (*PropertiesKeyEventsService)Deleteadded inv0.173.0

Delete: Deletes a Key Event.

  • name: The resource name of the Key Event to delete. Format:properties/{property}/keyEvents/{key_event} Example:"properties/123/keyEvents/456".

func (*PropertiesKeyEventsService)Getadded inv0.173.0

Get: Retrieve a single Key Event.

  • name: The resource name of the Key Event to retrieve. Format:properties/{property}/keyEvents/{key_event} Example:"properties/123/keyEvents/456".

func (*PropertiesKeyEventsService)Listadded inv0.173.0

List: Returns a list of Key Events in the specified parent property. Returnsan empty list if no Key Events are found.

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

func (*PropertiesKeyEventsService)Patchadded inv0.173.0

Patch: Updates a Key Event.

  • name: Output only. Resource name of this key event. Format:properties/{property}/keyEvents/{key_event}.

typePropertiesListCall

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

func (*PropertiesListCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesListCall)Do

Do executes the "analyticsadmin.properties.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaListPropertiesResponse.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesListCall)Filter

Filter sets the optional parameter "filter": Required. An expression forfiltering 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). Someexamples 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 a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesListCall)IfNoneMatch

func (c *PropertiesListCall) IfNoneMatch(entityTagstring) *PropertiesListCall

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*PropertiesListCall)PageSize

func (c *PropertiesListCall) PageSize(pageSizeint64) *PropertiesListCall

PageSize sets the optional parameter "pageSize": The maximum number ofresources to return. The service may return fewer than this value, even ifthere are additional pages. If unspecified, at most 50 resources will bereturned. The maximum value is 200; (higher values will be coerced to themaximum)

func (*PropertiesListCall)PageToken

func (c *PropertiesListCall) PageToken(pageTokenstring) *PropertiesListCall

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListProperties` call. Provide this to retrieve thesubsequent 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(showDeletedbool) *PropertiesListCall

ShowDeleted sets the optional parameter "showDeleted": Whether to includesoft-deleted (ie: "trashed") Properties in the results. Properties can beinspected to determine whether they are deleted or not.

typePropertiesPatchCall

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

func (*PropertiesPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesPatchCall)Do

Do executes the "analyticsadmin.properties.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaProperty.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesPatchCall)Header

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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesPatchCall)UpdateMask

func (c *PropertiesPatchCall) UpdateMask(updateMaskstring) *PropertiesPatchCall

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

typePropertiesRunAccessReportCalladded inv0.112.0

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

func (*PropertiesRunAccessReportCall)Contextadded inv0.112.0

Context sets the context to be used in this call's Do method.

func (*PropertiesRunAccessReportCall)Doadded inv0.112.0

Do executes the "analyticsadmin.properties.runAccessReport" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaRunAccessReportResponse.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesRunAccessReportCall)Fieldsadded inv0.112.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesRunAccessReportCall)Headeradded inv0.112.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typePropertiesService

type PropertiesService struct {ConversionEvents *PropertiesConversionEventsServiceCustomDimensions *PropertiesCustomDimensionsServiceCustomMetrics *PropertiesCustomMetricsServiceDataStreams *PropertiesDataStreamsServiceFirebaseLinks *PropertiesFirebaseLinksServiceGoogleAdsLinks *PropertiesGoogleAdsLinksServiceKeyEvents *PropertiesKeyEventsService// contains filtered or unexported fields}

funcNewPropertiesService

func NewPropertiesService(s *Service) *PropertiesService

func (*PropertiesService)AcknowledgeUserDataCollection

func (r *PropertiesService) AcknowledgeUserDataCollection(propertystring, googleanalyticsadminv1betaacknowledgeuserdatacollectionrequest *GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest) *PropertiesAcknowledgeUserDataCollectionCall

AcknowledgeUserDataCollection: Acknowledges the terms of user datacollection for the specified property. This acknowledgement must becompleted (either in the Google Analytics UI or through this API) beforeMeasurementProtocolSecret resources may be created.

- property: The property for which to acknowledge user data collection.

func (*PropertiesService)Create

func (r *PropertiesService) Create(googleanalyticsadminv1betaproperty *GoogleAnalyticsAdminV1betaProperty) *PropertiesCreateCall

Create: Creates a Google Analytics property with the specified location andattributes.

func (*PropertiesService)Delete

Delete: Marks target Property as soft-deleted (ie: "trashed") and returnsit. 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 arenot restored before the expiration time, the Property and all childresources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanentlypurged.https://support.google.com/analytics/answer/6154772 Returns an errorif the target is not found.

  • name: The name of the Property to soft-delete. Format:properties/{property_id} Example: "properties/1000".

func (*PropertiesService)Get

Get: Lookup for a single GA Property.

  • name: The name of the property to lookup. Format: properties/{property_id}Example: "properties/1000".

func (*PropertiesService)GetDataRetentionSettings

func (r *PropertiesService) GetDataRetentionSettings(namestring) *PropertiesGetDataRetentionSettingsCall

GetDataRetentionSettings: Returns the singleton data retention settings forthis property.

  • name: The name of the settings to lookup. Format:properties/{property}/dataRetentionSettings Example:"properties/1000/dataRetentionSettings".

func (*PropertiesService)List

List: Returns child Properties under the specified parent Account.Properties will be excluded if the caller does not have access. Soft-deleted(ie: "trashed") properties are excluded by default. Returns an empty list ifno relevant properties are found.

func (*PropertiesService)Patch

func (r *PropertiesService) Patch(namestring, googleanalyticsadminv1betaproperty *GoogleAnalyticsAdminV1betaProperty) *PropertiesPatchCall

Patch: Updates a property.

  • name: Output only. Resource name of this property. Format:properties/{property_id} Example: "properties/1000".

func (*PropertiesService)RunAccessReportadded inv0.112.0

func (r *PropertiesService) RunAccessReport(entitystring, googleanalyticsadminv1betarunaccessreportrequest *GoogleAnalyticsAdminV1betaRunAccessReportRequest) *PropertiesRunAccessReportCall

RunAccessReport: Returns a customized report of data access records. Thereport provides records of each time a user reads Google Analytics reportingdata. Access records are retained for up to 2 years. Data Access Reports canbe requested for a property. Reports may be requested for any property, butdimensions that aren't related to quota can only be requested on GoogleAnalytics 360 properties. This method is only available to Administrators.These data access records include GA UI Reporting, GA UI Explorations, GAData API, and other products like Firebase & Admob that can retrieve datafrom Google Analytics through a linkage. These records don't includeproperty configuration changes like adding a stream or changing a property'stime zone. For configuration change history, see searchChangeHistoryEvents(https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).To give your feedback on this API, complete the Google Analytics AccessReports feedback(https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform)form.

  • entity: The Data Access Report supports requesting at the property levelor account level. If requested at the account level, Data Access Reportsinclude all access for all properties under that account. To request atthe property level, entity should be for example 'properties/123' if "123"is your Google Analytics property ID. To request at the account level,entity should be for example 'accounts/1234' if "1234" is your GoogleAnalytics Account ID.

func (*PropertiesService)UpdateDataRetentionSettings

func (r *PropertiesService) UpdateDataRetentionSettings(namestring, googleanalyticsadminv1betadataretentionsettings *GoogleAnalyticsAdminV1betaDataRetentionSettings) *PropertiesUpdateDataRetentionSettingsCall

UpdateDataRetentionSettings: Updates the singleton data retention settingsfor this property.

  • name: Output only. Resource name for this DataRetentionSetting resource.Format: properties/{property}/dataRetentionSettings.

typePropertiesUpdateDataRetentionSettingsCall

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

func (*PropertiesUpdateDataRetentionSettingsCall)Context

Context sets the context to be used in this call's Do method.

func (*PropertiesUpdateDataRetentionSettingsCall)Do

Do executes the "analyticsadmin.properties.updateDataRetentionSettings" call.Any non-2xx status code is an error. Response headers are in either*GoogleAnalyticsAdminV1betaDataRetentionSettings.ServerResponse.Header or(if a response was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*PropertiesUpdateDataRetentionSettingsCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*PropertiesUpdateDataRetentionSettingsCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*PropertiesUpdateDataRetentionSettingsCall)UpdateMask

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

typeService

type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentAccountSummaries *AccountSummariesServiceAccounts *AccountsServiceProperties *PropertiesService// contains filtered or unexported fields}

funcNewdeprecated

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.

funcNewService

func NewService(ctxcontext.Context, opts ...option.ClientOption) (*Service,error)

NewService creates a new Service.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp