Documentation ¶
Overview ¶
Package analyticsadmin provides access to the Google Analytics Admin API.
For product documentation, see: http://code.google.com/apis/analytics/docs/mgmt/home.html
Creating a client ¶
Usage example:
import "google.golang.org/api/analyticsadmin/v1alpha" ... ctx := context.Background() analyticsadminService, err := analyticsadmin.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication.
For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
analyticsadminService, err := analyticsadmin.NewService(ctx, option.WithScopes(analyticsadmin.AnalyticsReadonlyScope))
To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
analyticsadminService, err := analyticsadmin.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) analyticsadminService, err := analyticsadmin.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See https://godoc.org/google.golang.org/api/option/ for details on options.
Index ¶
- Constants
- type AccountSummariesListCall
- func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall
- func (c *AccountSummariesListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListAccountSummariesResponse, error)
- func (c *AccountSummariesListCall) Fields(s ...googleapi.Field) *AccountSummariesListCall
- func (c *AccountSummariesListCall) Header() http.Header
- func (c *AccountSummariesListCall) IfNoneMatch(entityTag string) *AccountSummariesListCall
- func (c *AccountSummariesListCall) PageSize(pageSize int64) *AccountSummariesListCall
- func (c *AccountSummariesListCall) PageToken(pageToken string) *AccountSummariesListCall
- func (c *AccountSummariesListCall) Pages(ctx context.Context, ...) error
- type AccountSummariesService
- type AccountsDeleteCall
- type AccountsGetCall
- func (c *AccountsGetCall) Context(ctx context.Context) *AccountsGetCall
- func (c *AccountsGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAccount, error)
- func (c *AccountsGetCall) Fields(s ...googleapi.Field) *AccountsGetCall
- func (c *AccountsGetCall) Header() http.Header
- func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall
- type AccountsGetDataSharingSettingsCall
- func (c *AccountsGetDataSharingSettingsCall) Context(ctx context.Context) *AccountsGetDataSharingSettingsCall
- func (c *AccountsGetDataSharingSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaDataSharingSettings, error)
- func (c *AccountsGetDataSharingSettingsCall) Fields(s ...googleapi.Field) *AccountsGetDataSharingSettingsCall
- func (c *AccountsGetDataSharingSettingsCall) Header() http.Header
- func (c *AccountsGetDataSharingSettingsCall) IfNoneMatch(entityTag string) *AccountsGetDataSharingSettingsCall
- type AccountsListCall
- func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall
- func (c *AccountsListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListAccountsResponse, error)
- func (c *AccountsListCall) Fields(s ...googleapi.Field) *AccountsListCall
- func (c *AccountsListCall) Header() http.Header
- func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall
- func (c *AccountsListCall) PageSize(pageSize int64) *AccountsListCall
- func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall
- func (c *AccountsListCall) Pages(ctx context.Context, ...) error
- func (c *AccountsListCall) ShowDeleted(showDeleted bool) *AccountsListCall
- type AccountsPatchCall
- func (c *AccountsPatchCall) Context(ctx context.Context) *AccountsPatchCall
- func (c *AccountsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAccount, error)
- func (c *AccountsPatchCall) Fields(s ...googleapi.Field) *AccountsPatchCall
- func (c *AccountsPatchCall) Header() http.Header
- func (c *AccountsPatchCall) UpdateMask(updateMask string) *AccountsPatchCall
- type AccountsProvisionAccountTicketCall
- func (c *AccountsProvisionAccountTicketCall) Context(ctx context.Context) *AccountsProvisionAccountTicketCall
- func (c *AccountsProvisionAccountTicketCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse, error)
- func (c *AccountsProvisionAccountTicketCall) Fields(s ...googleapi.Field) *AccountsProvisionAccountTicketCall
- func (c *AccountsProvisionAccountTicketCall) Header() http.Header
- type AccountsService
- func (r *AccountsService) Delete(name string) *AccountsDeleteCall
- func (r *AccountsService) Get(name string) *AccountsGetCall
- func (r *AccountsService) GetDataSharingSettings(name string) *AccountsGetDataSharingSettingsCall
- func (r *AccountsService) List() *AccountsListCall
- func (r *AccountsService) Patch(name string, ...) *AccountsPatchCall
- func (r *AccountsService) ProvisionAccountTicket(...) *AccountsProvisionAccountTicketCall
- type AccountsUserLinksAuditCall
- func (c *AccountsUserLinksAuditCall) Context(ctx context.Context) *AccountsUserLinksAuditCall
- func (c *AccountsUserLinksAuditCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse, error)
- func (c *AccountsUserLinksAuditCall) Fields(s ...googleapi.Field) *AccountsUserLinksAuditCall
- func (c *AccountsUserLinksAuditCall) Header() http.Header
- func (c *AccountsUserLinksAuditCall) Pages(ctx context.Context, ...) error
- type AccountsUserLinksBatchCreateCall
- func (c *AccountsUserLinksBatchCreateCall) Context(ctx context.Context) *AccountsUserLinksBatchCreateCall
- func (c *AccountsUserLinksBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse, error)
- func (c *AccountsUserLinksBatchCreateCall) Fields(s ...googleapi.Field) *AccountsUserLinksBatchCreateCall
- func (c *AccountsUserLinksBatchCreateCall) Header() http.Header
- type AccountsUserLinksBatchDeleteCall
- func (c *AccountsUserLinksBatchDeleteCall) Context(ctx context.Context) *AccountsUserLinksBatchDeleteCall
- func (c *AccountsUserLinksBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *AccountsUserLinksBatchDeleteCall) Fields(s ...googleapi.Field) *AccountsUserLinksBatchDeleteCall
- func (c *AccountsUserLinksBatchDeleteCall) Header() http.Header
- type AccountsUserLinksBatchGetCall
- func (c *AccountsUserLinksBatchGetCall) Context(ctx context.Context) *AccountsUserLinksBatchGetCall
- func (c *AccountsUserLinksBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse, error)
- func (c *AccountsUserLinksBatchGetCall) Fields(s ...googleapi.Field) *AccountsUserLinksBatchGetCall
- func (c *AccountsUserLinksBatchGetCall) Header() http.Header
- func (c *AccountsUserLinksBatchGetCall) IfNoneMatch(entityTag string) *AccountsUserLinksBatchGetCall
- func (c *AccountsUserLinksBatchGetCall) Names(names ...string) *AccountsUserLinksBatchGetCall
- type AccountsUserLinksBatchUpdateCall
- func (c *AccountsUserLinksBatchUpdateCall) Context(ctx context.Context) *AccountsUserLinksBatchUpdateCall
- func (c *AccountsUserLinksBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse, error)
- func (c *AccountsUserLinksBatchUpdateCall) Fields(s ...googleapi.Field) *AccountsUserLinksBatchUpdateCall
- func (c *AccountsUserLinksBatchUpdateCall) Header() http.Header
- type AccountsUserLinksCreateCall
- func (c *AccountsUserLinksCreateCall) Context(ctx context.Context) *AccountsUserLinksCreateCall
- func (c *AccountsUserLinksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaUserLink, error)
- func (c *AccountsUserLinksCreateCall) Fields(s ...googleapi.Field) *AccountsUserLinksCreateCall
- func (c *AccountsUserLinksCreateCall) Header() http.Header
- func (c *AccountsUserLinksCreateCall) NotifyNewUser(notifyNewUser bool) *AccountsUserLinksCreateCall
- type AccountsUserLinksDeleteCall
- func (c *AccountsUserLinksDeleteCall) Context(ctx context.Context) *AccountsUserLinksDeleteCall
- func (c *AccountsUserLinksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *AccountsUserLinksDeleteCall) Fields(s ...googleapi.Field) *AccountsUserLinksDeleteCall
- func (c *AccountsUserLinksDeleteCall) Header() http.Header
- type AccountsUserLinksGetCall
- func (c *AccountsUserLinksGetCall) Context(ctx context.Context) *AccountsUserLinksGetCall
- func (c *AccountsUserLinksGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaUserLink, error)
- func (c *AccountsUserLinksGetCall) Fields(s ...googleapi.Field) *AccountsUserLinksGetCall
- func (c *AccountsUserLinksGetCall) Header() http.Header
- func (c *AccountsUserLinksGetCall) IfNoneMatch(entityTag string) *AccountsUserLinksGetCall
- type AccountsUserLinksListCall
- func (c *AccountsUserLinksListCall) Context(ctx context.Context) *AccountsUserLinksListCall
- func (c *AccountsUserLinksListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListUserLinksResponse, error)
- func (c *AccountsUserLinksListCall) Fields(s ...googleapi.Field) *AccountsUserLinksListCall
- func (c *AccountsUserLinksListCall) Header() http.Header
- func (c *AccountsUserLinksListCall) IfNoneMatch(entityTag string) *AccountsUserLinksListCall
- func (c *AccountsUserLinksListCall) PageSize(pageSize int64) *AccountsUserLinksListCall
- func (c *AccountsUserLinksListCall) PageToken(pageToken string) *AccountsUserLinksListCall
- func (c *AccountsUserLinksListCall) Pages(ctx context.Context, ...) error
- type AccountsUserLinksPatchCall
- func (c *AccountsUserLinksPatchCall) Context(ctx context.Context) *AccountsUserLinksPatchCall
- func (c *AccountsUserLinksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaUserLink, error)
- func (c *AccountsUserLinksPatchCall) Fields(s ...googleapi.Field) *AccountsUserLinksPatchCall
- func (c *AccountsUserLinksPatchCall) Header() http.Header
- type AccountsUserLinksService
- func (r *AccountsUserLinksService) Audit(parent string, ...) *AccountsUserLinksAuditCall
- func (r *AccountsUserLinksService) BatchCreate(parent string, ...) *AccountsUserLinksBatchCreateCall
- func (r *AccountsUserLinksService) BatchDelete(parent string, ...) *AccountsUserLinksBatchDeleteCall
- func (r *AccountsUserLinksService) BatchGet(parent string) *AccountsUserLinksBatchGetCall
- func (r *AccountsUserLinksService) BatchUpdate(parent string, ...) *AccountsUserLinksBatchUpdateCall
- func (r *AccountsUserLinksService) Create(parent string, ...) *AccountsUserLinksCreateCall
- func (r *AccountsUserLinksService) Delete(name string) *AccountsUserLinksDeleteCall
- func (r *AccountsUserLinksService) Get(name string) *AccountsUserLinksGetCall
- func (r *AccountsUserLinksService) List(parent string) *AccountsUserLinksListCall
- func (r *AccountsUserLinksService) Patch(name string, ...) *AccountsUserLinksPatchCall
- type GoogleAnalyticsAdminV1alphaAccount
- type GoogleAnalyticsAdminV1alphaAccountSummary
- type GoogleAnalyticsAdminV1alphaAndroidAppDataStream
- type GoogleAnalyticsAdminV1alphaAuditUserLink
- type GoogleAnalyticsAdminV1alphaAuditUserLinksRequest
- type GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
- type GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest
- type GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
- type GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest
- type GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
- type GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest
- type GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse
- type GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
- type GoogleAnalyticsAdminV1alphaDataSharingSettings
- type GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
- type GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
- type GoogleAnalyticsAdminV1alphaFirebaseLink
- type GoogleAnalyticsAdminV1alphaGlobalSiteTag
- type GoogleAnalyticsAdminV1alphaGoogleAdsLink
- type GoogleAnalyticsAdminV1alphaIosAppDataStream
- type GoogleAnalyticsAdminV1alphaListAccountSummariesResponse
- type GoogleAnalyticsAdminV1alphaListAccountsResponse
- type GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse
- type GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
- type GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse
- type GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
- type GoogleAnalyticsAdminV1alphaListPropertiesResponse
- type GoogleAnalyticsAdminV1alphaListUserLinksResponse
- type GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse
- type GoogleAnalyticsAdminV1alphaProperty
- type GoogleAnalyticsAdminV1alphaPropertySummary
- type GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest
- type GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse
- type GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
- type GoogleAnalyticsAdminV1alphaUserLink
- type GoogleAnalyticsAdminV1alphaWebDataStream
- type GoogleProtobufEmpty
- type PropertiesAndroidAppDataStreamsCreateCall
- func (c *PropertiesAndroidAppDataStreamsCreateCall) Context(ctx context.Context) *PropertiesAndroidAppDataStreamsCreateCall
- func (c *PropertiesAndroidAppDataStreamsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAndroidAppDataStream, error)
- func (c *PropertiesAndroidAppDataStreamsCreateCall) Fields(s ...googleapi.Field) *PropertiesAndroidAppDataStreamsCreateCall
- func (c *PropertiesAndroidAppDataStreamsCreateCall) Header() http.Header
- type PropertiesAndroidAppDataStreamsDeleteCall
- func (c *PropertiesAndroidAppDataStreamsDeleteCall) Context(ctx context.Context) *PropertiesAndroidAppDataStreamsDeleteCall
- func (c *PropertiesAndroidAppDataStreamsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *PropertiesAndroidAppDataStreamsDeleteCall) Fields(s ...googleapi.Field) *PropertiesAndroidAppDataStreamsDeleteCall
- func (c *PropertiesAndroidAppDataStreamsDeleteCall) Header() http.Header
- type PropertiesAndroidAppDataStreamsGetCall
- func (c *PropertiesAndroidAppDataStreamsGetCall) Context(ctx context.Context) *PropertiesAndroidAppDataStreamsGetCall
- func (c *PropertiesAndroidAppDataStreamsGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAndroidAppDataStream, error)
- func (c *PropertiesAndroidAppDataStreamsGetCall) Fields(s ...googleapi.Field) *PropertiesAndroidAppDataStreamsGetCall
- func (c *PropertiesAndroidAppDataStreamsGetCall) Header() http.Header
- func (c *PropertiesAndroidAppDataStreamsGetCall) IfNoneMatch(entityTag string) *PropertiesAndroidAppDataStreamsGetCall
- type PropertiesAndroidAppDataStreamsListCall
- func (c *PropertiesAndroidAppDataStreamsListCall) Context(ctx context.Context) *PropertiesAndroidAppDataStreamsListCall
- func (c *PropertiesAndroidAppDataStreamsListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse, error)
- func (c *PropertiesAndroidAppDataStreamsListCall) Fields(s ...googleapi.Field) *PropertiesAndroidAppDataStreamsListCall
- func (c *PropertiesAndroidAppDataStreamsListCall) Header() http.Header
- func (c *PropertiesAndroidAppDataStreamsListCall) IfNoneMatch(entityTag string) *PropertiesAndroidAppDataStreamsListCall
- func (c *PropertiesAndroidAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsListCall
- func (c *PropertiesAndroidAppDataStreamsListCall) PageToken(pageToken string) *PropertiesAndroidAppDataStreamsListCall
- func (c *PropertiesAndroidAppDataStreamsListCall) Pages(ctx context.Context, ...) error
- type PropertiesAndroidAppDataStreamsPatchCall
- func (c *PropertiesAndroidAppDataStreamsPatchCall) Context(ctx context.Context) *PropertiesAndroidAppDataStreamsPatchCall
- func (c *PropertiesAndroidAppDataStreamsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAndroidAppDataStream, error)
- func (c *PropertiesAndroidAppDataStreamsPatchCall) Fields(s ...googleapi.Field) *PropertiesAndroidAppDataStreamsPatchCall
- func (c *PropertiesAndroidAppDataStreamsPatchCall) Header() http.Header
- func (c *PropertiesAndroidAppDataStreamsPatchCall) UpdateMask(updateMask string) *PropertiesAndroidAppDataStreamsPatchCall
- type PropertiesAndroidAppDataStreamsService
- func (r *PropertiesAndroidAppDataStreamsService) Create(parent string, ...) *PropertiesAndroidAppDataStreamsCreateCall
- func (r *PropertiesAndroidAppDataStreamsService) Delete(name string) *PropertiesAndroidAppDataStreamsDeleteCall
- func (r *PropertiesAndroidAppDataStreamsService) Get(name string) *PropertiesAndroidAppDataStreamsGetCall
- func (r *PropertiesAndroidAppDataStreamsService) List(parent string) *PropertiesAndroidAppDataStreamsListCall
- func (r *PropertiesAndroidAppDataStreamsService) Patch(name string, ...) *PropertiesAndroidAppDataStreamsPatchCall
- type PropertiesCreateCall
- func (c *PropertiesCreateCall) Context(ctx context.Context) *PropertiesCreateCall
- func (c *PropertiesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaProperty, error)
- func (c *PropertiesCreateCall) Fields(s ...googleapi.Field) *PropertiesCreateCall
- func (c *PropertiesCreateCall) Header() http.Header
- type PropertiesDeleteCall
- func (c *PropertiesDeleteCall) Context(ctx context.Context) *PropertiesDeleteCall
- func (c *PropertiesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *PropertiesDeleteCall) Fields(s ...googleapi.Field) *PropertiesDeleteCall
- func (c *PropertiesDeleteCall) Header() http.Header
- type PropertiesFirebaseLinksCreateCall
- func (c *PropertiesFirebaseLinksCreateCall) Context(ctx context.Context) *PropertiesFirebaseLinksCreateCall
- func (c *PropertiesFirebaseLinksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaFirebaseLink, error)
- func (c *PropertiesFirebaseLinksCreateCall) Fields(s ...googleapi.Field) *PropertiesFirebaseLinksCreateCall
- func (c *PropertiesFirebaseLinksCreateCall) Header() http.Header
- type PropertiesFirebaseLinksDeleteCall
- func (c *PropertiesFirebaseLinksDeleteCall) Context(ctx context.Context) *PropertiesFirebaseLinksDeleteCall
- func (c *PropertiesFirebaseLinksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *PropertiesFirebaseLinksDeleteCall) Fields(s ...googleapi.Field) *PropertiesFirebaseLinksDeleteCall
- func (c *PropertiesFirebaseLinksDeleteCall) Header() http.Header
- type PropertiesFirebaseLinksListCall
- func (c *PropertiesFirebaseLinksListCall) Context(ctx context.Context) *PropertiesFirebaseLinksListCall
- func (c *PropertiesFirebaseLinksListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse, error)
- func (c *PropertiesFirebaseLinksListCall) Fields(s ...googleapi.Field) *PropertiesFirebaseLinksListCall
- func (c *PropertiesFirebaseLinksListCall) Header() http.Header
- func (c *PropertiesFirebaseLinksListCall) IfNoneMatch(entityTag string) *PropertiesFirebaseLinksListCall
- func (c *PropertiesFirebaseLinksListCall) PageSize(pageSize int64) *PropertiesFirebaseLinksListCall
- func (c *PropertiesFirebaseLinksListCall) PageToken(pageToken string) *PropertiesFirebaseLinksListCall
- func (c *PropertiesFirebaseLinksListCall) Pages(ctx context.Context, ...) error
- type PropertiesFirebaseLinksPatchCall
- func (c *PropertiesFirebaseLinksPatchCall) Context(ctx context.Context) *PropertiesFirebaseLinksPatchCall
- func (c *PropertiesFirebaseLinksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaFirebaseLink, error)
- func (c *PropertiesFirebaseLinksPatchCall) Fields(s ...googleapi.Field) *PropertiesFirebaseLinksPatchCall
- func (c *PropertiesFirebaseLinksPatchCall) Header() http.Header
- func (c *PropertiesFirebaseLinksPatchCall) UpdateMask(updateMask string) *PropertiesFirebaseLinksPatchCall
- type PropertiesFirebaseLinksService
- func (r *PropertiesFirebaseLinksService) Create(parent string, ...) *PropertiesFirebaseLinksCreateCall
- func (r *PropertiesFirebaseLinksService) Delete(name string) *PropertiesFirebaseLinksDeleteCall
- func (r *PropertiesFirebaseLinksService) List(parent string) *PropertiesFirebaseLinksListCall
- func (r *PropertiesFirebaseLinksService) Patch(name string, ...) *PropertiesFirebaseLinksPatchCall
- type PropertiesGetCall
- func (c *PropertiesGetCall) Context(ctx context.Context) *PropertiesGetCall
- func (c *PropertiesGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaProperty, error)
- func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall
- func (c *PropertiesGetCall) Header() http.Header
- func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall
- type PropertiesGoogleAdsLinksCreateCall
- func (c *PropertiesGoogleAdsLinksCreateCall) Context(ctx context.Context) *PropertiesGoogleAdsLinksCreateCall
- func (c *PropertiesGoogleAdsLinksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaGoogleAdsLink, error)
- func (c *PropertiesGoogleAdsLinksCreateCall) Fields(s ...googleapi.Field) *PropertiesGoogleAdsLinksCreateCall
- func (c *PropertiesGoogleAdsLinksCreateCall) Header() http.Header
- type PropertiesGoogleAdsLinksDeleteCall
- func (c *PropertiesGoogleAdsLinksDeleteCall) Context(ctx context.Context) *PropertiesGoogleAdsLinksDeleteCall
- func (c *PropertiesGoogleAdsLinksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *PropertiesGoogleAdsLinksDeleteCall) Fields(s ...googleapi.Field) *PropertiesGoogleAdsLinksDeleteCall
- func (c *PropertiesGoogleAdsLinksDeleteCall) Header() http.Header
- type PropertiesGoogleAdsLinksListCall
- func (c *PropertiesGoogleAdsLinksListCall) Context(ctx context.Context) *PropertiesGoogleAdsLinksListCall
- func (c *PropertiesGoogleAdsLinksListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse, error)
- func (c *PropertiesGoogleAdsLinksListCall) Fields(s ...googleapi.Field) *PropertiesGoogleAdsLinksListCall
- func (c *PropertiesGoogleAdsLinksListCall) Header() http.Header
- func (c *PropertiesGoogleAdsLinksListCall) IfNoneMatch(entityTag string) *PropertiesGoogleAdsLinksListCall
- func (c *PropertiesGoogleAdsLinksListCall) PageSize(pageSize int64) *PropertiesGoogleAdsLinksListCall
- func (c *PropertiesGoogleAdsLinksListCall) PageToken(pageToken string) *PropertiesGoogleAdsLinksListCall
- func (c *PropertiesGoogleAdsLinksListCall) Pages(ctx context.Context, ...) error
- type PropertiesGoogleAdsLinksPatchCall
- func (c *PropertiesGoogleAdsLinksPatchCall) Context(ctx context.Context) *PropertiesGoogleAdsLinksPatchCall
- func (c *PropertiesGoogleAdsLinksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaGoogleAdsLink, error)
- func (c *PropertiesGoogleAdsLinksPatchCall) Fields(s ...googleapi.Field) *PropertiesGoogleAdsLinksPatchCall
- func (c *PropertiesGoogleAdsLinksPatchCall) Header() http.Header
- func (c *PropertiesGoogleAdsLinksPatchCall) UpdateMask(updateMask string) *PropertiesGoogleAdsLinksPatchCall
- type PropertiesGoogleAdsLinksService
- func (r *PropertiesGoogleAdsLinksService) Create(parent string, ...) *PropertiesGoogleAdsLinksCreateCall
- func (r *PropertiesGoogleAdsLinksService) Delete(name string) *PropertiesGoogleAdsLinksDeleteCall
- func (r *PropertiesGoogleAdsLinksService) List(parent string) *PropertiesGoogleAdsLinksListCall
- func (r *PropertiesGoogleAdsLinksService) Patch(name string, ...) *PropertiesGoogleAdsLinksPatchCall
- type PropertiesIosAppDataStreamsCreateCall
- func (c *PropertiesIosAppDataStreamsCreateCall) Context(ctx context.Context) *PropertiesIosAppDataStreamsCreateCall
- func (c *PropertiesIosAppDataStreamsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaIosAppDataStream, error)
- func (c *PropertiesIosAppDataStreamsCreateCall) Fields(s ...googleapi.Field) *PropertiesIosAppDataStreamsCreateCall
- func (c *PropertiesIosAppDataStreamsCreateCall) Header() http.Header
- type PropertiesIosAppDataStreamsDeleteCall
- func (c *PropertiesIosAppDataStreamsDeleteCall) Context(ctx context.Context) *PropertiesIosAppDataStreamsDeleteCall
- func (c *PropertiesIosAppDataStreamsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *PropertiesIosAppDataStreamsDeleteCall) Fields(s ...googleapi.Field) *PropertiesIosAppDataStreamsDeleteCall
- func (c *PropertiesIosAppDataStreamsDeleteCall) Header() http.Header
- type PropertiesIosAppDataStreamsGetCall
- func (c *PropertiesIosAppDataStreamsGetCall) Context(ctx context.Context) *PropertiesIosAppDataStreamsGetCall
- func (c *PropertiesIosAppDataStreamsGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaIosAppDataStream, error)
- func (c *PropertiesIosAppDataStreamsGetCall) Fields(s ...googleapi.Field) *PropertiesIosAppDataStreamsGetCall
- func (c *PropertiesIosAppDataStreamsGetCall) Header() http.Header
- func (c *PropertiesIosAppDataStreamsGetCall) IfNoneMatch(entityTag string) *PropertiesIosAppDataStreamsGetCall
- type PropertiesIosAppDataStreamsListCall
- func (c *PropertiesIosAppDataStreamsListCall) Context(ctx context.Context) *PropertiesIosAppDataStreamsListCall
- func (c *PropertiesIosAppDataStreamsListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse, error)
- func (c *PropertiesIosAppDataStreamsListCall) Fields(s ...googleapi.Field) *PropertiesIosAppDataStreamsListCall
- func (c *PropertiesIosAppDataStreamsListCall) Header() http.Header
- func (c *PropertiesIosAppDataStreamsListCall) IfNoneMatch(entityTag string) *PropertiesIosAppDataStreamsListCall
- func (c *PropertiesIosAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsListCall
- func (c *PropertiesIosAppDataStreamsListCall) PageToken(pageToken string) *PropertiesIosAppDataStreamsListCall
- func (c *PropertiesIosAppDataStreamsListCall) Pages(ctx context.Context, ...) error
- type PropertiesIosAppDataStreamsPatchCall
- func (c *PropertiesIosAppDataStreamsPatchCall) Context(ctx context.Context) *PropertiesIosAppDataStreamsPatchCall
- func (c *PropertiesIosAppDataStreamsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaIosAppDataStream, error)
- func (c *PropertiesIosAppDataStreamsPatchCall) Fields(s ...googleapi.Field) *PropertiesIosAppDataStreamsPatchCall
- func (c *PropertiesIosAppDataStreamsPatchCall) Header() http.Header
- func (c *PropertiesIosAppDataStreamsPatchCall) UpdateMask(updateMask string) *PropertiesIosAppDataStreamsPatchCall
- type PropertiesIosAppDataStreamsService
- func (r *PropertiesIosAppDataStreamsService) Create(parent string, ...) *PropertiesIosAppDataStreamsCreateCall
- func (r *PropertiesIosAppDataStreamsService) Delete(name string) *PropertiesIosAppDataStreamsDeleteCall
- func (r *PropertiesIosAppDataStreamsService) Get(name string) *PropertiesIosAppDataStreamsGetCall
- func (r *PropertiesIosAppDataStreamsService) List(parent string) *PropertiesIosAppDataStreamsListCall
- func (r *PropertiesIosAppDataStreamsService) Patch(name string, ...) *PropertiesIosAppDataStreamsPatchCall
- type PropertiesListCall
- func (c *PropertiesListCall) Context(ctx context.Context) *PropertiesListCall
- func (c *PropertiesListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListPropertiesResponse, error)
- func (c *PropertiesListCall) Fields(s ...googleapi.Field) *PropertiesListCall
- func (c *PropertiesListCall) Filter(filter string) *PropertiesListCall
- func (c *PropertiesListCall) Header() http.Header
- func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall
- func (c *PropertiesListCall) PageSize(pageSize int64) *PropertiesListCall
- func (c *PropertiesListCall) PageToken(pageToken string) *PropertiesListCall
- func (c *PropertiesListCall) Pages(ctx context.Context, ...) error
- func (c *PropertiesListCall) ShowDeleted(showDeleted bool) *PropertiesListCall
- type PropertiesPatchCall
- func (c *PropertiesPatchCall) Context(ctx context.Context) *PropertiesPatchCall
- func (c *PropertiesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaProperty, error)
- func (c *PropertiesPatchCall) Fields(s ...googleapi.Field) *PropertiesPatchCall
- func (c *PropertiesPatchCall) Header() http.Header
- func (c *PropertiesPatchCall) UpdateMask(updateMask string) *PropertiesPatchCall
- type PropertiesService
- func (r *PropertiesService) Create(googleanalyticsadminv1alphaproperty *GoogleAnalyticsAdminV1alphaProperty) *PropertiesCreateCall
- func (r *PropertiesService) Delete(name string) *PropertiesDeleteCall
- func (r *PropertiesService) Get(name string) *PropertiesGetCall
- func (r *PropertiesService) List() *PropertiesListCall
- func (r *PropertiesService) Patch(name string, ...) *PropertiesPatchCall
- type PropertiesUserLinksAuditCall
- func (c *PropertiesUserLinksAuditCall) Context(ctx context.Context) *PropertiesUserLinksAuditCall
- func (c *PropertiesUserLinksAuditCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse, error)
- func (c *PropertiesUserLinksAuditCall) Fields(s ...googleapi.Field) *PropertiesUserLinksAuditCall
- func (c *PropertiesUserLinksAuditCall) Header() http.Header
- func (c *PropertiesUserLinksAuditCall) Pages(ctx context.Context, ...) error
- type PropertiesUserLinksBatchCreateCall
- func (c *PropertiesUserLinksBatchCreateCall) Context(ctx context.Context) *PropertiesUserLinksBatchCreateCall
- func (c *PropertiesUserLinksBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse, error)
- func (c *PropertiesUserLinksBatchCreateCall) Fields(s ...googleapi.Field) *PropertiesUserLinksBatchCreateCall
- func (c *PropertiesUserLinksBatchCreateCall) Header() http.Header
- type PropertiesUserLinksBatchDeleteCall
- func (c *PropertiesUserLinksBatchDeleteCall) Context(ctx context.Context) *PropertiesUserLinksBatchDeleteCall
- func (c *PropertiesUserLinksBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *PropertiesUserLinksBatchDeleteCall) Fields(s ...googleapi.Field) *PropertiesUserLinksBatchDeleteCall
- func (c *PropertiesUserLinksBatchDeleteCall) Header() http.Header
- type PropertiesUserLinksBatchGetCall
- func (c *PropertiesUserLinksBatchGetCall) Context(ctx context.Context) *PropertiesUserLinksBatchGetCall
- func (c *PropertiesUserLinksBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse, error)
- func (c *PropertiesUserLinksBatchGetCall) Fields(s ...googleapi.Field) *PropertiesUserLinksBatchGetCall
- func (c *PropertiesUserLinksBatchGetCall) Header() http.Header
- func (c *PropertiesUserLinksBatchGetCall) IfNoneMatch(entityTag string) *PropertiesUserLinksBatchGetCall
- func (c *PropertiesUserLinksBatchGetCall) Names(names ...string) *PropertiesUserLinksBatchGetCall
- type PropertiesUserLinksBatchUpdateCall
- func (c *PropertiesUserLinksBatchUpdateCall) Context(ctx context.Context) *PropertiesUserLinksBatchUpdateCall
- func (c *PropertiesUserLinksBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse, error)
- func (c *PropertiesUserLinksBatchUpdateCall) Fields(s ...googleapi.Field) *PropertiesUserLinksBatchUpdateCall
- func (c *PropertiesUserLinksBatchUpdateCall) Header() http.Header
- type PropertiesUserLinksCreateCall
- func (c *PropertiesUserLinksCreateCall) Context(ctx context.Context) *PropertiesUserLinksCreateCall
- func (c *PropertiesUserLinksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaUserLink, error)
- func (c *PropertiesUserLinksCreateCall) Fields(s ...googleapi.Field) *PropertiesUserLinksCreateCall
- func (c *PropertiesUserLinksCreateCall) Header() http.Header
- func (c *PropertiesUserLinksCreateCall) NotifyNewUser(notifyNewUser bool) *PropertiesUserLinksCreateCall
- type PropertiesUserLinksDeleteCall
- func (c *PropertiesUserLinksDeleteCall) Context(ctx context.Context) *PropertiesUserLinksDeleteCall
- func (c *PropertiesUserLinksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *PropertiesUserLinksDeleteCall) Fields(s ...googleapi.Field) *PropertiesUserLinksDeleteCall
- func (c *PropertiesUserLinksDeleteCall) Header() http.Header
- type PropertiesUserLinksGetCall
- func (c *PropertiesUserLinksGetCall) Context(ctx context.Context) *PropertiesUserLinksGetCall
- func (c *PropertiesUserLinksGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaUserLink, error)
- func (c *PropertiesUserLinksGetCall) Fields(s ...googleapi.Field) *PropertiesUserLinksGetCall
- func (c *PropertiesUserLinksGetCall) Header() http.Header
- func (c *PropertiesUserLinksGetCall) IfNoneMatch(entityTag string) *PropertiesUserLinksGetCall
- type PropertiesUserLinksListCall
- func (c *PropertiesUserLinksListCall) Context(ctx context.Context) *PropertiesUserLinksListCall
- func (c *PropertiesUserLinksListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListUserLinksResponse, error)
- func (c *PropertiesUserLinksListCall) Fields(s ...googleapi.Field) *PropertiesUserLinksListCall
- func (c *PropertiesUserLinksListCall) Header() http.Header
- func (c *PropertiesUserLinksListCall) IfNoneMatch(entityTag string) *PropertiesUserLinksListCall
- func (c *PropertiesUserLinksListCall) PageSize(pageSize int64) *PropertiesUserLinksListCall
- func (c *PropertiesUserLinksListCall) PageToken(pageToken string) *PropertiesUserLinksListCall
- func (c *PropertiesUserLinksListCall) Pages(ctx context.Context, ...) error
- type PropertiesUserLinksPatchCall
- func (c *PropertiesUserLinksPatchCall) Context(ctx context.Context) *PropertiesUserLinksPatchCall
- func (c *PropertiesUserLinksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaUserLink, error)
- func (c *PropertiesUserLinksPatchCall) Fields(s ...googleapi.Field) *PropertiesUserLinksPatchCall
- func (c *PropertiesUserLinksPatchCall) Header() http.Header
- type PropertiesUserLinksService
- func (r *PropertiesUserLinksService) Audit(parent string, ...) *PropertiesUserLinksAuditCall
- func (r *PropertiesUserLinksService) BatchCreate(parent string, ...) *PropertiesUserLinksBatchCreateCall
- func (r *PropertiesUserLinksService) BatchDelete(parent string, ...) *PropertiesUserLinksBatchDeleteCall
- func (r *PropertiesUserLinksService) BatchGet(parent string) *PropertiesUserLinksBatchGetCall
- func (r *PropertiesUserLinksService) BatchUpdate(parent string, ...) *PropertiesUserLinksBatchUpdateCall
- func (r *PropertiesUserLinksService) Create(parent string, ...) *PropertiesUserLinksCreateCall
- func (r *PropertiesUserLinksService) Delete(name string) *PropertiesUserLinksDeleteCall
- func (r *PropertiesUserLinksService) Get(name string) *PropertiesUserLinksGetCall
- func (r *PropertiesUserLinksService) List(parent string) *PropertiesUserLinksListCall
- func (r *PropertiesUserLinksService) Patch(name string, ...) *PropertiesUserLinksPatchCall
- type PropertiesWebDataStreamsCreateCall
- func (c *PropertiesWebDataStreamsCreateCall) Context(ctx context.Context) *PropertiesWebDataStreamsCreateCall
- func (c *PropertiesWebDataStreamsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaWebDataStream, error)
- func (c *PropertiesWebDataStreamsCreateCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsCreateCall
- func (c *PropertiesWebDataStreamsCreateCall) Header() http.Header
- type PropertiesWebDataStreamsDeleteCall
- func (c *PropertiesWebDataStreamsDeleteCall) Context(ctx context.Context) *PropertiesWebDataStreamsDeleteCall
- func (c *PropertiesWebDataStreamsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *PropertiesWebDataStreamsDeleteCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsDeleteCall
- func (c *PropertiesWebDataStreamsDeleteCall) Header() http.Header
- type PropertiesWebDataStreamsGetCall
- func (c *PropertiesWebDataStreamsGetCall) Context(ctx context.Context) *PropertiesWebDataStreamsGetCall
- func (c *PropertiesWebDataStreamsGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaWebDataStream, error)
- func (c *PropertiesWebDataStreamsGetCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsGetCall
- func (c *PropertiesWebDataStreamsGetCall) Header() http.Header
- func (c *PropertiesWebDataStreamsGetCall) IfNoneMatch(entityTag string) *PropertiesWebDataStreamsGetCall
- type PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall
- func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Context(ctx context.Context) *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall
- func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings, error)
- func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall
- func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Header() http.Header
- func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) IfNoneMatch(entityTag string) *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall
- type PropertiesWebDataStreamsGetGlobalSiteTagCall
- func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) Context(ctx context.Context) *PropertiesWebDataStreamsGetGlobalSiteTagCall
- func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaGlobalSiteTag, error)
- func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsGetGlobalSiteTagCall
- func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) Header() http.Header
- func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) IfNoneMatch(entityTag string) *PropertiesWebDataStreamsGetGlobalSiteTagCall
- type PropertiesWebDataStreamsListCall
- func (c *PropertiesWebDataStreamsListCall) Context(ctx context.Context) *PropertiesWebDataStreamsListCall
- func (c *PropertiesWebDataStreamsListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse, error)
- func (c *PropertiesWebDataStreamsListCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsListCall
- func (c *PropertiesWebDataStreamsListCall) Header() http.Header
- func (c *PropertiesWebDataStreamsListCall) IfNoneMatch(entityTag string) *PropertiesWebDataStreamsListCall
- func (c *PropertiesWebDataStreamsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsListCall
- func (c *PropertiesWebDataStreamsListCall) PageToken(pageToken string) *PropertiesWebDataStreamsListCall
- func (c *PropertiesWebDataStreamsListCall) Pages(ctx context.Context, ...) error
- type PropertiesWebDataStreamsPatchCall
- func (c *PropertiesWebDataStreamsPatchCall) Context(ctx context.Context) *PropertiesWebDataStreamsPatchCall
- func (c *PropertiesWebDataStreamsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaWebDataStream, error)
- func (c *PropertiesWebDataStreamsPatchCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsPatchCall
- func (c *PropertiesWebDataStreamsPatchCall) Header() http.Header
- func (c *PropertiesWebDataStreamsPatchCall) UpdateMask(updateMask string) *PropertiesWebDataStreamsPatchCall
- type PropertiesWebDataStreamsService
- func (r *PropertiesWebDataStreamsService) Create(parent string, ...) *PropertiesWebDataStreamsCreateCall
- func (r *PropertiesWebDataStreamsService) Delete(name string) *PropertiesWebDataStreamsDeleteCall
- func (r *PropertiesWebDataStreamsService) Get(name string) *PropertiesWebDataStreamsGetCall
- func (r *PropertiesWebDataStreamsService) GetEnhancedMeasurementSettings(name string) *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall
- func (r *PropertiesWebDataStreamsService) GetGlobalSiteTag(name string) *PropertiesWebDataStreamsGetGlobalSiteTagCall
- func (r *PropertiesWebDataStreamsService) List(parent string) *PropertiesWebDataStreamsListCall
- func (r *PropertiesWebDataStreamsService) Patch(name string, ...) *PropertiesWebDataStreamsPatchCall
- func (r *PropertiesWebDataStreamsService) UpdateEnhancedMeasurementSettings(name string, ...) *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall
- type PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall
- func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Context(ctx context.Context) *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall
- func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings, error)
- func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall
- func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Header() http.Header
- func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) UpdateMask(updateMask string) *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall
- type Service
Constants ¶
const ( // Edit Google Analytics management entities AnalyticsEditScope = "https://www.googleapis.com/auth/analytics.edit" // Manage Google Analytics Account users by email address AnalyticsManageUsersScope = "https://www.googleapis.com/auth/analytics.manage.users" // View Google Analytics user permissions AnalyticsManageUsersReadonlyScope = "https://www.googleapis.com/auth/analytics.manage.users.readonly" // See and download your Google Analytics data AnalyticsReadonlyScope = "https://www.googleapis.com/auth/analytics.readonly" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountSummariesListCall ¶
type AccountSummariesListCall struct {
// contains filtered or unexported fields
}
func (*AccountSummariesListCall) Context ¶
func (c *AccountSummariesListCall) Context(ctx context.Context) *AccountSummariesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountSummariesListCall) Do ¶
func (c *AccountSummariesListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListAccountSummariesResponse, error)
Do executes the "analyticsadmin.accountSummaries.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListAccountSummariesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListAccountSummariesResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountSummariesListCall) Fields ¶
func (c *AccountSummariesListCall) Fields(s ...googleapi.Field) *AccountSummariesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountSummariesListCall) Header ¶
func (c *AccountSummariesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountSummariesListCall) IfNoneMatch ¶
func (c *AccountSummariesListCall) IfNoneMatch(entityTag string) *AccountSummariesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountSummariesListCall) PageSize ¶
func (c *AccountSummariesListCall) PageSize(pageSize int64) *AccountSummariesListCall
PageSize sets the optional parameter "pageSize": The maximum number of AccountSummary resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
func (*AccountSummariesListCall) PageToken ¶
func (c *AccountSummariesListCall) PageToken(pageToken string) *AccountSummariesListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListAccountSummaries` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountSummaries` must match the call that provided the page token.
func (*AccountSummariesListCall) Pages ¶
func (c *AccountSummariesListCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaListAccountSummariesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountSummariesService ¶
type AccountSummariesService struct {
// contains filtered or unexported fields
}
func NewAccountSummariesService ¶
func NewAccountSummariesService(s *Service) *AccountSummariesService
func (*AccountSummariesService) List ¶
func (r *AccountSummariesService) List() *AccountSummariesListCall
List: Returns summaries of all accounts accessible by the caller.
type AccountsDeleteCall ¶
type AccountsDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsDeleteCall) Context ¶
func (c *AccountsDeleteCall) Context(ctx context.Context) *AccountsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsDeleteCall) Do ¶
func (c *AccountsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "analyticsadmin.accounts.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsDeleteCall) Fields ¶
func (c *AccountsDeleteCall) Fields(s ...googleapi.Field) *AccountsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsDeleteCall) Header ¶
func (c *AccountsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsGetCall ¶
type AccountsGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsGetCall) Context ¶
func (c *AccountsGetCall) Context(ctx context.Context) *AccountsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsGetCall) Do ¶
func (c *AccountsGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAccount, error)
Do executes the "analyticsadmin.accounts.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaAccount or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAccount.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsGetCall) Fields ¶
func (c *AccountsGetCall) Fields(s ...googleapi.Field) *AccountsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsGetCall) Header ¶
func (c *AccountsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsGetCall) IfNoneMatch ¶
func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsGetDataSharingSettingsCall ¶
type AccountsGetDataSharingSettingsCall struct {
// contains filtered or unexported fields
}
func (*AccountsGetDataSharingSettingsCall) Context ¶
func (c *AccountsGetDataSharingSettingsCall) Context(ctx context.Context) *AccountsGetDataSharingSettingsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsGetDataSharingSettingsCall) Do ¶
func (c *AccountsGetDataSharingSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaDataSharingSettings, error)
Do executes the "analyticsadmin.accounts.getDataSharingSettings" call. Exactly one of *GoogleAnalyticsAdminV1alphaDataSharingSettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaDataSharingSettings.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsGetDataSharingSettingsCall) Fields ¶
func (c *AccountsGetDataSharingSettingsCall) Fields(s ...googleapi.Field) *AccountsGetDataSharingSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsGetDataSharingSettingsCall) Header ¶
func (c *AccountsGetDataSharingSettingsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsGetDataSharingSettingsCall) IfNoneMatch ¶
func (c *AccountsGetDataSharingSettingsCall) IfNoneMatch(entityTag string) *AccountsGetDataSharingSettingsCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsListCall ¶
type AccountsListCall struct {
// contains filtered or unexported fields
}
func (*AccountsListCall) Context ¶
func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsListCall) Do ¶
func (c *AccountsListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListAccountsResponse, error)
Do executes the "analyticsadmin.accounts.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListAccountsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListAccountsResponse.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsListCall) Fields ¶
func (c *AccountsListCall) Fields(s ...googleapi.Field) *AccountsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsListCall) Header ¶
func (c *AccountsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsListCall) IfNoneMatch ¶
func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsListCall) PageSize ¶
func (c *AccountsListCall) PageSize(pageSize int64) *AccountsListCall
PageSize sets the optional parameter "pageSize": The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
func (*AccountsListCall) PageToken ¶
func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token.
func (*AccountsListCall) Pages ¶
func (c *AccountsListCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaListAccountsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*AccountsListCall) ShowDeleted ¶
func (c *AccountsListCall) ShowDeleted(showDeleted bool) *AccountsListCall
ShowDeleted sets the optional parameter "showDeleted": Whether to include soft-deleted (ie: "trashed") Accounts in the results. Accounts can be inspected to determine whether they are deleted or not.
type AccountsPatchCall ¶
type AccountsPatchCall struct {
// contains filtered or unexported fields
}
func (*AccountsPatchCall) Context ¶
func (c *AccountsPatchCall) Context(ctx context.Context) *AccountsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsPatchCall) Do ¶
func (c *AccountsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAccount, error)
Do executes the "analyticsadmin.accounts.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaAccount or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAccount.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsPatchCall) Fields ¶
func (c *AccountsPatchCall) Fields(s ...googleapi.Field) *AccountsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsPatchCall) Header ¶
func (c *AccountsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsPatchCall) UpdateMask ¶
func (c *AccountsPatchCall) UpdateMask(updateMask string) *AccountsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
type AccountsProvisionAccountTicketCall ¶
type AccountsProvisionAccountTicketCall struct {
// contains filtered or unexported fields
}
func (*AccountsProvisionAccountTicketCall) Context ¶
func (c *AccountsProvisionAccountTicketCall) Context(ctx context.Context) *AccountsProvisionAccountTicketCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsProvisionAccountTicketCall) Do ¶
func (c *AccountsProvisionAccountTicketCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse, error)
Do executes the "analyticsadmin.accounts.provisionAccountTicket" call. Exactly one of *GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse.ServerRespo nse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsProvisionAccountTicketCall) Fields ¶
func (c *AccountsProvisionAccountTicketCall) Fields(s ...googleapi.Field) *AccountsProvisionAccountTicketCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsProvisionAccountTicketCall) Header ¶
func (c *AccountsProvisionAccountTicketCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsService ¶
type AccountsService struct { UserLinks *AccountsUserLinksService // contains filtered or unexported fields }
func NewAccountsService ¶
func NewAccountsService(s *Service) *AccountsService
func (*AccountsService) Delete ¶
func (r *AccountsService) Delete(name string) *AccountsDeleteCall
Delete: Marks target Account as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI. If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found.
func (*AccountsService) Get ¶
func (r *AccountsService) Get(name string) *AccountsGetCall
Get: Lookup for a single Account.
func (*AccountsService) GetDataSharingSettings ¶
func (r *AccountsService) GetDataSharingSettings(name string) *AccountsGetDataSharingSettingsCall
GetDataSharingSettings: Get data sharing settings on an account. Data sharing settings are singletons.
func (*AccountsService) List ¶
func (r *AccountsService) List() *AccountsListCall
List: Returns all accounts accessible by the caller. Note that these accounts might not currently have GA4 properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found.
func (*AccountsService) Patch ¶
func (r *AccountsService) Patch(name string, googleanalyticsadminv1alphaaccount *GoogleAnalyticsAdminV1alphaAccount) *AccountsPatchCall
Patch: Updates an account.
func (*AccountsService) ProvisionAccountTicket ¶
func (r *AccountsService) ProvisionAccountTicket(googleanalyticsadminv1alphaprovisionaccountticketrequest *GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest) *AccountsProvisionAccountTicketCall
ProvisionAccountTicket: Requests a ticket for creating an account.
type AccountsUserLinksAuditCall ¶
type AccountsUserLinksAuditCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserLinksAuditCall) Context ¶
func (c *AccountsUserLinksAuditCall) Context(ctx context.Context) *AccountsUserLinksAuditCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserLinksAuditCall) Do ¶
func (c *AccountsUserLinksAuditCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse, error)
Do executes the "analyticsadmin.accounts.userLinks.audit" call. Exactly one of *GoogleAnalyticsAdminV1alphaAuditUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAuditUserLinksResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserLinksAuditCall) Fields ¶
func (c *AccountsUserLinksAuditCall) Fields(s ...googleapi.Field) *AccountsUserLinksAuditCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserLinksAuditCall) Header ¶
func (c *AccountsUserLinksAuditCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsUserLinksAuditCall) Pages ¶
func (c *AccountsUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsUserLinksBatchCreateCall ¶
type AccountsUserLinksBatchCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserLinksBatchCreateCall) Context ¶
func (c *AccountsUserLinksBatchCreateCall) Context(ctx context.Context) *AccountsUserLinksBatchCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserLinksBatchCreateCall) Do ¶
func (c *AccountsUserLinksBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse, error)
Do executes the "analyticsadmin.accounts.userLinks.batchCreate" call. Exactly one of *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserLinksBatchCreateCall) Fields ¶
func (c *AccountsUserLinksBatchCreateCall) Fields(s ...googleapi.Field) *AccountsUserLinksBatchCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserLinksBatchCreateCall) Header ¶
func (c *AccountsUserLinksBatchCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsUserLinksBatchDeleteCall ¶
type AccountsUserLinksBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserLinksBatchDeleteCall) Context ¶
func (c *AccountsUserLinksBatchDeleteCall) Context(ctx context.Context) *AccountsUserLinksBatchDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserLinksBatchDeleteCall) Do ¶
func (c *AccountsUserLinksBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "analyticsadmin.accounts.userLinks.batchDelete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserLinksBatchDeleteCall) Fields ¶
func (c *AccountsUserLinksBatchDeleteCall) Fields(s ...googleapi.Field) *AccountsUserLinksBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserLinksBatchDeleteCall) Header ¶
func (c *AccountsUserLinksBatchDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsUserLinksBatchGetCall ¶
type AccountsUserLinksBatchGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserLinksBatchGetCall) Context ¶
func (c *AccountsUserLinksBatchGetCall) Context(ctx context.Context) *AccountsUserLinksBatchGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserLinksBatchGetCall) Do ¶
func (c *AccountsUserLinksBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse, error)
Do executes the "analyticsadmin.accounts.userLinks.batchGet" call. Exactly one of *GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserLinksBatchGetCall) Fields ¶
func (c *AccountsUserLinksBatchGetCall) Fields(s ...googleapi.Field) *AccountsUserLinksBatchGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserLinksBatchGetCall) Header ¶
func (c *AccountsUserLinksBatchGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsUserLinksBatchGetCall) IfNoneMatch ¶
func (c *AccountsUserLinksBatchGetCall) IfNoneMatch(entityTag string) *AccountsUserLinksBatchGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsUserLinksBatchGetCall) Names ¶
func (c *AccountsUserLinksBatchGetCall) Names(names ...string) *AccountsUserLinksBatchGetCall
Names sets the optional parameter "names": Required. The names of the user links to retrieve. A maximum of 1000 user links can be retrieved in a batch. Format: accounts/{accountId}/userLinks/{userLinkId}
type AccountsUserLinksBatchUpdateCall ¶
type AccountsUserLinksBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserLinksBatchUpdateCall) Context ¶
func (c *AccountsUserLinksBatchUpdateCall) Context(ctx context.Context) *AccountsUserLinksBatchUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserLinksBatchUpdateCall) Do ¶
func (c *AccountsUserLinksBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse, error)
Do executes the "analyticsadmin.accounts.userLinks.batchUpdate" call. Exactly one of *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserLinksBatchUpdateCall) Fields ¶
func (c *AccountsUserLinksBatchUpdateCall) Fields(s ...googleapi.Field) *AccountsUserLinksBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserLinksBatchUpdateCall) Header ¶
func (c *AccountsUserLinksBatchUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsUserLinksCreateCall ¶
type AccountsUserLinksCreateCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserLinksCreateCall) Context ¶
func (c *AccountsUserLinksCreateCall) Context(ctx context.Context) *AccountsUserLinksCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserLinksCreateCall) Do ¶
func (c *AccountsUserLinksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaUserLink, error)
Do executes the "analyticsadmin.accounts.userLinks.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaUserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaUserLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserLinksCreateCall) Fields ¶
func (c *AccountsUserLinksCreateCall) Fields(s ...googleapi.Field) *AccountsUserLinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserLinksCreateCall) Header ¶
func (c *AccountsUserLinksCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsUserLinksCreateCall) NotifyNewUser ¶
func (c *AccountsUserLinksCreateCall) NotifyNewUser(notifyNewUser bool) *AccountsUserLinksCreateCall
NotifyNewUser sets the optional parameter "notifyNewUser": If set, then email the new user notifying them that they've been granted permissions to the resource.
type AccountsUserLinksDeleteCall ¶
type AccountsUserLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserLinksDeleteCall) Context ¶
func (c *AccountsUserLinksDeleteCall) Context(ctx context.Context) *AccountsUserLinksDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserLinksDeleteCall) Do ¶
func (c *AccountsUserLinksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "analyticsadmin.accounts.userLinks.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserLinksDeleteCall) Fields ¶
func (c *AccountsUserLinksDeleteCall) Fields(s ...googleapi.Field) *AccountsUserLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserLinksDeleteCall) Header ¶
func (c *AccountsUserLinksDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsUserLinksGetCall ¶
type AccountsUserLinksGetCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserLinksGetCall) Context ¶
func (c *AccountsUserLinksGetCall) Context(ctx context.Context) *AccountsUserLinksGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserLinksGetCall) Do ¶
func (c *AccountsUserLinksGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaUserLink, error)
Do executes the "analyticsadmin.accounts.userLinks.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaUserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaUserLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserLinksGetCall) Fields ¶
func (c *AccountsUserLinksGetCall) Fields(s ...googleapi.Field) *AccountsUserLinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserLinksGetCall) Header ¶
func (c *AccountsUserLinksGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsUserLinksGetCall) IfNoneMatch ¶
func (c *AccountsUserLinksGetCall) IfNoneMatch(entityTag string) *AccountsUserLinksGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AccountsUserLinksListCall ¶
type AccountsUserLinksListCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserLinksListCall) Context ¶
func (c *AccountsUserLinksListCall) Context(ctx context.Context) *AccountsUserLinksListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserLinksListCall) Do ¶
func (c *AccountsUserLinksListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListUserLinksResponse, error)
Do executes the "analyticsadmin.accounts.userLinks.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListUserLinksResponse.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserLinksListCall) Fields ¶
func (c *AccountsUserLinksListCall) Fields(s ...googleapi.Field) *AccountsUserLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserLinksListCall) Header ¶
func (c *AccountsUserLinksListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AccountsUserLinksListCall) IfNoneMatch ¶
func (c *AccountsUserLinksListCall) IfNoneMatch(entityTag string) *AccountsUserLinksListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AccountsUserLinksListCall) PageSize ¶
func (c *AccountsUserLinksListCall) PageSize(pageSize int64) *AccountsUserLinksListCall
PageSize sets the optional parameter "pageSize": The maximum number of user links to return. The service may return fewer than this value. If unspecified, at most 200 user links will be returned. The maximum value is 500; values above 500 will be coerced to 500.
func (*AccountsUserLinksListCall) PageToken ¶
func (c *AccountsUserLinksListCall) PageToken(pageToken string) *AccountsUserLinksListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListUserLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLinks` must match the call that provided the page token.
func (*AccountsUserLinksListCall) Pages ¶
func (c *AccountsUserLinksListCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaListUserLinksResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type AccountsUserLinksPatchCall ¶
type AccountsUserLinksPatchCall struct {
// contains filtered or unexported fields
}
func (*AccountsUserLinksPatchCall) Context ¶
func (c *AccountsUserLinksPatchCall) Context(ctx context.Context) *AccountsUserLinksPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AccountsUserLinksPatchCall) Do ¶
func (c *AccountsUserLinksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaUserLink, error)
Do executes the "analyticsadmin.accounts.userLinks.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaUserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaUserLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AccountsUserLinksPatchCall) Fields ¶
func (c *AccountsUserLinksPatchCall) Fields(s ...googleapi.Field) *AccountsUserLinksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AccountsUserLinksPatchCall) Header ¶
func (c *AccountsUserLinksPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AccountsUserLinksService ¶
type AccountsUserLinksService struct {
// contains filtered or unexported fields
}
func NewAccountsUserLinksService ¶
func NewAccountsUserLinksService(s *Service) *AccountsUserLinksService
func (*AccountsUserLinksService) Audit ¶
func (r *AccountsUserLinksService) Audit(parent string, googleanalyticsadminv1alphaaudituserlinksrequest *GoogleAnalyticsAdminV1alphaAuditUserLinksRequest) *AccountsUserLinksAuditCall
Audit: Lists all user links on an account or property, including implicit ones that come from effective permissions granted by groups or organization admin roles. If a returned user link does not have direct permissions, they cannot be removed from the account or property directly with the DeleteUserLink command. They have to be removed from the group/etc that gives them permissions, which is currently only usable/discoverable in the GA or GMP UIs.
func (*AccountsUserLinksService) BatchCreate ¶
func (r *AccountsUserLinksService) BatchCreate(parent string, googleanalyticsadminv1alphabatchcreateuserlinksrequest *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest) *AccountsUserLinksBatchCreateCall
BatchCreate: Creates information about multiple users' links to an account or property. This method is transactional. If any UserLink cannot be created, none of the UserLinks will be created.
func (*AccountsUserLinksService) BatchDelete ¶
func (r *AccountsUserLinksService) BatchDelete(parent string, googleanalyticsadminv1alphabatchdeleteuserlinksrequest *GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest) *AccountsUserLinksBatchDeleteCall
BatchDelete: Deletes information about multiple users' links to an account or property.
func (*AccountsUserLinksService) BatchGet ¶
func (r *AccountsUserLinksService) BatchGet(parent string) *AccountsUserLinksBatchGetCall
BatchGet: Gets information about multiple users' links to an account or property.
func (*AccountsUserLinksService) BatchUpdate ¶
func (r *AccountsUserLinksService) BatchUpdate(parent string, googleanalyticsadminv1alphabatchupdateuserlinksrequest *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest) *AccountsUserLinksBatchUpdateCall
BatchUpdate: Updates information about multiple users' links to an account or property.
func (*AccountsUserLinksService) Create ¶
func (r *AccountsUserLinksService) Create(parent string, googleanalyticsadminv1alphauserlink *GoogleAnalyticsAdminV1alphaUserLink) *AccountsUserLinksCreateCall
Create: Creates a user link on an account or property. If the user with the specified email already has permissions on the account or property, then the user's existing permissions will be unioned with the permissions specified in the new UserLink.
func (*AccountsUserLinksService) Delete ¶
func (r *AccountsUserLinksService) Delete(name string) *AccountsUserLinksDeleteCall
Delete: Deletes a user link on an account or property.
func (*AccountsUserLinksService) Get ¶
func (r *AccountsUserLinksService) Get(name string) *AccountsUserLinksGetCall
Get: Gets information about a user's link to an account or property.
func (*AccountsUserLinksService) List ¶
func (r *AccountsUserLinksService) List(parent string) *AccountsUserLinksListCall
List: Lists all user links on an account or property.
func (*AccountsUserLinksService) Patch ¶
func (r *AccountsUserLinksService) Patch(name string, googleanalyticsadminv1alphauserlink *GoogleAnalyticsAdminV1alphaUserLink) *AccountsUserLinksPatchCall
Patch: Updates a user link on an account or property.
type GoogleAnalyticsAdminV1alphaAccount ¶
type GoogleAnalyticsAdminV1alphaAccount struct { // CountryCode: Country of business. Must be a non-deprecated code for a // UN M.49 region. // https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html CountryCode string `json:"countryCode,omitempty"` // CreateTime: Output only. Time when this account was originally // created. CreateTime string `json:"createTime,omitempty"` // Deleted: Output only. Indicates whether this Account is soft-deleted // or not. Deleted accounts are excluded from List results unless // specifically requested. Deleted bool `json:"deleted,omitempty"` // DisplayName: Required. Human-readable display name for this account. DisplayName string `json:"displayName,omitempty"` // Name: Output only. Resource name of this account. Format: // accounts/{account} Example: "accounts/100" Name string `json:"name,omitempty"` // UpdateTime: Output only. Time when account payload fields were last // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CountryCode") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CountryCode") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaAccount: A resource message representing a Google Analytics account.
func (*GoogleAnalyticsAdminV1alphaAccount) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaAccount) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaAccountSummary ¶
type GoogleAnalyticsAdminV1alphaAccountSummary struct { // Account: Resource name of account referred to by this account summary // Format: accounts/{account_id} Example: "accounts/1000" Account string `json:"account,omitempty"` // DisplayName: Display name for the account referred to in this account // summary. DisplayName string `json:"displayName,omitempty"` // Name: Resource name for this account summary. Format: // accountSummaries/{account_id} Example: "accountSummaries/1000" Name string `json:"name,omitempty"` // PropertySummaries: List of summaries for child accounts of this // account. PropertySummaries []*GoogleAnalyticsAdminV1alphaPropertySummary `json:"propertySummaries,omitempty"` // ForceSendFields is a list of field names (e.g. "Account") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Account") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaAccountSummary: A virtual resource representing an overview of an account and all its child GA4 properties.
func (*GoogleAnalyticsAdminV1alphaAccountSummary) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaAccountSummary) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaAndroidAppDataStream ¶
type GoogleAnalyticsAdminV1alphaAndroidAppDataStream struct { // CreateTime: Output only. Time when this stream was originally // created. CreateTime string `json:"createTime,omitempty"` // DisplayName: Human-readable display name for the Data Stream. The max // allowed display name length is 255 UTF-16 code units. DisplayName string `json:"displayName,omitempty"` // FirebaseAppId: Output only. ID of the corresponding Android app in // Firebase, if any. This ID can change if the Android app is deleted // and recreated. FirebaseAppId string `json:"firebaseAppId,omitempty"` // Name: Output only. Resource name of this Data Stream. Format: // properties/{property_id}/androidAppDataStreams/{stream_id} Example: // "properties/1000/androidAppDataStreams/2000" Name string `json:"name,omitempty"` // PackageName: Immutable. The package name for the app being measured. // Example: "com.example.myandroidapp" PackageName string `json:"packageName,omitempty"` // UpdateTime: Output only. Time when stream payload fields were last // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaAndroidAppDataStream: A resource message representing a Google Analytics Android app stream.
func (*GoogleAnalyticsAdminV1alphaAndroidAppDataStream) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaAndroidAppDataStream) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaAuditUserLink ¶
type GoogleAnalyticsAdminV1alphaAuditUserLink struct { // DirectRoles: Roles directly assigned to this user for this entity. // Format: predefinedRoles/read Excludes roles that are inherited from // an account (if this is for a property), group, or organization admin // role. DirectRoles []string `json:"directRoles,omitempty"` // EffectiveRoles: Union of all permissions a user has at this account // or property (includes direct permissions, group-inherited // permissions, etc.). Format: predefinedRoles/read EffectiveRoles []string `json:"effectiveRoles,omitempty"` // EmailAddress: Email address of the linked user EmailAddress string `json:"emailAddress,omitempty"` // Name: Example format: properties/1234/userLinks/5678 Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "DirectRoles") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DirectRoles") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaAuditUserLink: Read-only resource used to summarize a principal's effective roles.
func (*GoogleAnalyticsAdminV1alphaAuditUserLink) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaAuditUserLink) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaAuditUserLinksRequest ¶
type GoogleAnalyticsAdminV1alphaAuditUserLinksRequest struct { // PageSize: The maximum number of user links to return. The service may // return fewer than this value. If unspecified, at most 1000 user links // will be returned. The maximum value is 5000; values above 5000 will // be coerced to 5000. PageSize int64 `json:"pageSize,omitempty"` // PageToken: A page token, received from a previous `AuditUserLinks` // call. Provide this to retrieve the subsequent page. When paginating, // all other parameters provided to `AuditUserLinks` must match the call // that provided the page token. PageToken string `json:"pageToken,omitempty"` // ForceSendFields is a list of field names (e.g. "PageSize") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PageSize") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaAuditUserLinksRequest: Request message for AuditUserLinks RPC.
func (*GoogleAnalyticsAdminV1alphaAuditUserLinksRequest) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaAuditUserLinksRequest) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaAuditUserLinksResponse ¶
type GoogleAnalyticsAdminV1alphaAuditUserLinksResponse struct { // NextPageToken: A token, which can be sent as `page_token` to retrieve // the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // UserLinks: List of AuditUserLinks. These will be ordered stably, but // in an arbitrary order. UserLinks []*GoogleAnalyticsAdminV1alphaAuditUserLink `json:"userLinks,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaAuditUserLinksResponse: Response message for AuditUserLinks RPC.
func (*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest ¶
type GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest struct { // NotifyNewUsers: Optional. If set, then email the new users notifying // them that they've been granted permissions to the resource. // Regardless of whether this is set or not, notify_new_user field // inside each individual request is ignored. NotifyNewUsers bool `json:"notifyNewUsers,omitempty"` // Requests: Required. The requests specifying the user links to create. // A maximum of 1000 user links can be created in a batch. Requests []*GoogleAnalyticsAdminV1alphaCreateUserLinkRequest `json:"requests,omitempty"` // ForceSendFields is a list of field names (e.g. "NotifyNewUsers") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NotifyNewUsers") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest: Request message for BatchCreateUserLinks RPC.
func (*GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse ¶
type GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse struct { // UserLinks: The user links created. UserLinks []*GoogleAnalyticsAdminV1alphaUserLink `json:"userLinks,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "UserLinks") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UserLinks") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse: Response message for BatchCreateUserLinks RPC.
func (*GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest ¶
type GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest struct { // Requests: Required. The requests specifying the user links to update. // A maximum of 1000 user links can be updated in a batch. Requests []*GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest `json:"requests,omitempty"` // ForceSendFields is a list of field names (e.g. "Requests") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Requests") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest: Request message for BatchDeleteUserLinks RPC.
func (*GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse ¶
type GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse struct { // UserLinks: The requested user links. UserLinks []*GoogleAnalyticsAdminV1alphaUserLink `json:"userLinks,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "UserLinks") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UserLinks") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse: Response message for BatchGetUserLinks RPC.
func (*GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest ¶
type GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest struct { // Requests: Required. The requests specifying the user links to update. // A maximum of 1000 user links can be updated in a batch. Requests []*GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest `json:"requests,omitempty"` // ForceSendFields is a list of field names (e.g. "Requests") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Requests") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest: Request message for BatchUpdateUserLinks RPC.
func (*GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse ¶
type GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse struct { // UserLinks: The user links updated. UserLinks []*GoogleAnalyticsAdminV1alphaUserLink `json:"userLinks,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "UserLinks") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UserLinks") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse: Response message for BatchUpdateUserLinks RPC.
func (*GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaCreateUserLinkRequest ¶
type GoogleAnalyticsAdminV1alphaCreateUserLinkRequest struct { // NotifyNewUser: Optional. If set, then email the new user notifying // them that they've been granted permissions to the resource. NotifyNewUser bool `json:"notifyNewUser,omitempty"` // Parent: Required. Example format: accounts/1234 Parent string `json:"parent,omitempty"` // UserLink: Required. The user link to create. UserLink *GoogleAnalyticsAdminV1alphaUserLink `json:"userLink,omitempty"` // ForceSendFields is a list of field names (e.g. "NotifyNewUser") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NotifyNewUser") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaCreateUserLinkRequest: Request message for CreateUserLink RPC. Users can have multiple email addresses associated with their Google account, and one of these email addresses is the "primary" email address. Any of the email addresses associated with a Google account may be used for a new UserLink, but the returned UserLink will always contain the "primary" email address. As a result, the input and output email address for this request may differ.
func (*GoogleAnalyticsAdminV1alphaCreateUserLinkRequest) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaCreateUserLinkRequest) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaDataSharingSettings ¶
type GoogleAnalyticsAdminV1alphaDataSharingSettings struct { // Name: Output only. Resource name. Format: // accounts/{account}/dataSharingSettings Example: // "accounts/1000/dataSharingSettings" Name string `json:"name,omitempty"` // SharingWithGoogleAnySalesEnabled: Allows any of Google sales to // access the data in order to suggest configuration changes to improve // results. SharingWithGoogleAnySalesEnabled bool `json:"sharingWithGoogleAnySalesEnabled,omitempty"` // SharingWithGoogleAssignedSalesEnabled: Allows Google sales teams that // are assigned to the customer to access the data in order to suggest // configuration changes to improve results. Sales team restrictions // still apply when enabled. SharingWithGoogleAssignedSalesEnabled bool `json:"sharingWithGoogleAssignedSalesEnabled,omitempty"` // SharingWithGoogleProductsEnabled: Allows Google to use the data to // improve other Google products or services. SharingWithGoogleProductsEnabled bool `json:"sharingWithGoogleProductsEnabled,omitempty"` // SharingWithGoogleSupportEnabled: Allows Google support to access the // data in order to help troubleshoot issues. SharingWithGoogleSupportEnabled bool `json:"sharingWithGoogleSupportEnabled,omitempty"` // SharingWithOthersEnabled: Allows Google to share the data anonymously // in aggregate form with others. SharingWithOthersEnabled bool `json:"sharingWithOthersEnabled,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaDataSharingSettings: A resource message representing data sharing settings of a Google Analytics account.
func (*GoogleAnalyticsAdminV1alphaDataSharingSettings) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaDataSharingSettings) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest ¶
type GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest struct { // Name: Required. Example format: accounts/1234/userLinks/5678 Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest: Request message for DeleteUserLink RPC.
func (*GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings ¶
type GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings struct { // ArticlesAndBlogsEnabled: Capture events when your visitors view // content on your site that has articles or blog posts. ArticlesAndBlogsEnabled bool `json:"articlesAndBlogsEnabled,omitempty"` // ContentViewsEnabled: Capture events when your visitors view content // on your site that has structured data (eg, articles, blog posts, // product details screens, etc.). ContentViewsEnabled bool `json:"contentViewsEnabled,omitempty"` // DataTaggedElementClicksEnabled: If enabled, capture a click event // each time a visitor clicks a link or element that has data attributes // beginning with "data-ga". DataTaggedElementClicksEnabled bool `json:"dataTaggedElementClicksEnabled,omitempty"` // ExcludedDomains: Domains to exclude from measurement. Max length is // 1024 characters. ExcludedDomains string `json:"excludedDomains,omitempty"` // FileDownloadsEnabled: If enabled, capture a file download event each // time a link is clicked with a common document, compressed file, // application, video, or audio extension. FileDownloadsEnabled bool `json:"fileDownloadsEnabled,omitempty"` // FormInteractionsEnabled: If enabled, capture a view search results // event each time a visitor interacts with a form on your site. FormInteractionsEnabled bool `json:"formInteractionsEnabled,omitempty"` // Name: Output only. Resource name of this Data Stream. Format: // properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasuremen // tSettings Example: // "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" Name string `json:"name,omitempty"` // OutboundClicksEnabled: If enabled, capture an outbound click event // each time a visitor clicks a link that leads them away from your // domain. OutboundClicksEnabled bool `json:"outboundClicksEnabled,omitempty"` // PageChangesEnabled: If enabled, capture a page view event each time // the website changes the browser history state. PageChangesEnabled bool `json:"pageChangesEnabled,omitempty"` // PageLoadsEnabled: If enabled, capture a page view event each time a // page loads. PageLoadsEnabled bool `json:"pageLoadsEnabled,omitempty"` // PageViewsEnabled: Output only. If enabled, capture a page view event // each time a page loads or the website changes the browser history // state. PageViewsEnabled bool `json:"pageViewsEnabled,omitempty"` // ProductsAndEcommerceEnabled: Capture events when your visitors view // content on your site that has product details screens, etc. ProductsAndEcommerceEnabled bool `json:"productsAndEcommerceEnabled,omitempty"` // ScrollsEnabled: If enabled, capture scroll events each time a visitor // gets to the bottom of a page. ScrollsEnabled bool `json:"scrollsEnabled,omitempty"` // SearchQueryParameter: Required. URL query parameters to interpret as // site search parameters. Max length is 1024 characters. Must not be // empty. SearchQueryParameter string `json:"searchQueryParameter,omitempty"` // SiteSearchEnabled: If enabled, capture a view search results event // each time a visitor performs a search on your site (based on a query // parameter). SiteSearchEnabled bool `json:"siteSearchEnabled,omitempty"` // StreamEnabled: Indicates whether Enhanced Measurement Settings will // be used to automatically measure interactions and content on this web // stream. Changing this value does not affect the settings themselves, // but determines whether they are respected. StreamEnabled bool `json:"streamEnabled,omitempty"` // UrlQueryParameter: Additional URL query parameters. Max length is // 1024 characters. UrlQueryParameter string `json:"urlQueryParameter,omitempty"` // VideoEngagementEnabled: If enabled, capture video play, progress, and // complete events as visitors view embedded videos on your site. VideoEngagementEnabled bool `json:"videoEngagementEnabled,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "ArticlesAndBlogsEnabled") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArticlesAndBlogsEnabled") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings: Singleton resource under a WebDataStream, configuring measurement of additional site interactions and content.
func (*GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaFirebaseLink ¶
type GoogleAnalyticsAdminV1alphaFirebaseLink struct { // CreateTime: Output only. Time when this FirebaseLink was originally // created. CreateTime string `json:"createTime,omitempty"` // MaximumUserAccess: Maximum user access to the GA4 property allowed to // admins of the linked Firebase project. // // Possible values: // "MAXIMUM_USER_ACCESS_UNSPECIFIED" - Unspecified maximum user // access. // "NO_ACCESS" - Firebase users have no access to the Analytics // property. // "READ_AND_ANALYZE" - Firebase users have Read & Analyze access to // the Analytics property. // "EDITOR_WITHOUT_LINK_MANAGEMENT" - Firebase users have edit access // to the Analytics property, but may not manage the Firebase link. // "EDITOR_INCLUDING_LINK_MANAGEMENT" - Firebase users have edit // access to the Analytics property and may manage the Firebase link. MaximumUserAccess string `json:"maximumUserAccess,omitempty"` // Name: Output only. Example format: properties/1234/firebaseLinks/5678 Name string `json:"name,omitempty"` // Project: Immutable. Firebase project resource name. When creating a // FirebaseLink, you may provide this resource name using either a // project number or project ID. Once this resource has been created, // returned FirebaseLinks will always have a project_name that contains // a project number. Format: 'projects/{project number}' Example: // 'projects/1234' Project string `json:"project,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaFirebaseLink: A link between an GA4 property and a Firebase project.
func (*GoogleAnalyticsAdminV1alphaFirebaseLink) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaFirebaseLink) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaGlobalSiteTag ¶
type GoogleAnalyticsAdminV1alphaGlobalSiteTag struct { // Snippet: Immutable. JavaScript code snippet to be pasted as the first // item into the head tag of every webpage to measure. Snippet string `json:"snippet,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Snippet") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Snippet") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaGlobalSiteTag: Read-only resource with the tag for sending data from a website to a WebDataStream.
func (*GoogleAnalyticsAdminV1alphaGlobalSiteTag) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaGlobalSiteTag) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaGoogleAdsLink ¶
type GoogleAnalyticsAdminV1alphaGoogleAdsLink struct { // AdsPersonalizationEnabled: Enable personalized advertising features // with this integration. Automatically publish my Google Analytics // audience lists and Google Analytics remarketing events/parameters to // the linked Google Ads account. If this field is not set on // create/update it will be defaulted to true. AdsPersonalizationEnabled bool `json:"adsPersonalizationEnabled,omitempty"` // CanManageClients: Output only. If true, this link is for a Google Ads // manager account. CanManageClients bool `json:"canManageClients,omitempty"` // CreateTime: Output only. Time when this link was originally created. CreateTime string `json:"createTime,omitempty"` // CustomerId: Immutable. Google Ads customer ID. CustomerId string `json:"customerId,omitempty"` // EmailAddress: 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. EmailAddress string `json:"emailAddress,omitempty"` // Name: Output only. Format: // properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: // googleAdsLinkId is not the Google Ads customer ID. Name string `json:"name,omitempty"` // Parent: Immutable. Format: properties/{propertyId} Parent string `json:"parent,omitempty"` // UpdateTime: Output only. Time when this link was last updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "AdsPersonalizationEnabled") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AdsPersonalizationEnabled") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaGoogleAdsLink: A link between an GA4 property and a Google Ads account.
func (*GoogleAnalyticsAdminV1alphaGoogleAdsLink) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaGoogleAdsLink) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaIosAppDataStream ¶
type GoogleAnalyticsAdminV1alphaIosAppDataStream struct { // BundleId: Required. Immutable. The Apple App Store Bundle ID for the // app Example: "com.example.myiosapp" BundleId string `json:"bundleId,omitempty"` // CreateTime: Output only. Time when this stream was originally // created. CreateTime string `json:"createTime,omitempty"` // DisplayName: Human-readable display name for the Data Stream. The max // allowed display name length is 255 UTF-16 code units. DisplayName string `json:"displayName,omitempty"` // FirebaseAppId: Output only. ID of the corresponding iOS app in // Firebase, if any. This ID can change if the iOS app is deleted and // recreated. FirebaseAppId string `json:"firebaseAppId,omitempty"` // Name: Output only. Resource name of this Data Stream. Format: // properties/{property_id}/iosAppDataStreams/{stream_id} Example: // "properties/1000/iosAppDataStreams/2000" Name string `json:"name,omitempty"` // UpdateTime: Output only. Time when stream payload fields were last // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BundleId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BundleId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaIosAppDataStream: A resource message representing a Google Analytics IOS app stream.
func (*GoogleAnalyticsAdminV1alphaIosAppDataStream) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaIosAppDataStream) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaListAccountSummariesResponse ¶
type GoogleAnalyticsAdminV1alphaListAccountSummariesResponse struct { // AccountSummaries: Account summaries of all accounts the caller has // access to. AccountSummaries []*GoogleAnalyticsAdminV1alphaAccountSummary `json:"accountSummaries,omitempty"` // NextPageToken: A token, which can be sent as `page_token` to retrieve // the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountSummaries") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountSummaries") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaListAccountSummariesResponse: Response message for ListAccountSummaries RPC.
func (*GoogleAnalyticsAdminV1alphaListAccountSummariesResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaListAccountSummariesResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaListAccountsResponse ¶
type GoogleAnalyticsAdminV1alphaListAccountsResponse struct { // Accounts: Results that were accessible to the caller. Accounts []*GoogleAnalyticsAdminV1alphaAccount `json:"accounts,omitempty"` // NextPageToken: A token, which can be sent as `page_token` to retrieve // the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Accounts") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Accounts") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaListAccountsResponse: Request message for ListAccounts RPC.
func (*GoogleAnalyticsAdminV1alphaListAccountsResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaListAccountsResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse ¶
type GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse struct { // AndroidAppDataStreams: Results that matched the filter criteria and // were accessible to the caller. AndroidAppDataStreams []*GoogleAnalyticsAdminV1alphaAndroidAppDataStream `json:"androidAppDataStreams,omitempty"` // NextPageToken: A token, which can be sent as `page_token` to retrieve // the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "AndroidAppDataStreams") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AndroidAppDataStreams") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse: Request message for ListAndroidDataStreams RPC.
func (*GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse ¶
type GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse struct { // FirebaseLinks: List of FirebaseLinks. This will have at most one // value. FirebaseLinks []*GoogleAnalyticsAdminV1alphaFirebaseLink `json:"firebaseLinks,omitempty"` // NextPageToken: A token, which can be sent as `page_token` to retrieve // the next page. If this field is omitted, there are no subsequent // pages. Currently, Google Analytics supports only one FirebaseLink per // property, so this will never be populated. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FirebaseLinks") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FirebaseLinks") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse: Response message for ListFirebaseLinks RPC
func (*GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse ¶
type GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse struct { // GoogleAdsLinks: List of GoogleAdsLinks. GoogleAdsLinks []*GoogleAnalyticsAdminV1alphaGoogleAdsLink `json:"googleAdsLinks,omitempty"` // NextPageToken: A token, which can be sent as `page_token` to retrieve // the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "GoogleAdsLinks") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GoogleAdsLinks") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse: Response message for ListGoogleAdsLinks RPC.
func (*GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse ¶
type GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse struct { // IosAppDataStreams: Results that matched the filter criteria and were // accessible to the caller. IosAppDataStreams []*GoogleAnalyticsAdminV1alphaIosAppDataStream `json:"iosAppDataStreams,omitempty"` // NextPageToken: A token, which can be sent as `page_token` to retrieve // the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "IosAppDataStreams") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IosAppDataStreams") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse: Request message for ListIosAppDataStreams RPC.
func (*GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaListPropertiesResponse ¶
type GoogleAnalyticsAdminV1alphaListPropertiesResponse struct { // NextPageToken: A token, which can be sent as `page_token` to retrieve // the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // Properties: Results that matched the filter criteria and were // accessible to the caller. Properties []*GoogleAnalyticsAdminV1alphaProperty `json:"properties,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaListPropertiesResponse: Response message for ListProperties RPC.
func (*GoogleAnalyticsAdminV1alphaListPropertiesResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaListPropertiesResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaListUserLinksResponse ¶
type GoogleAnalyticsAdminV1alphaListUserLinksResponse struct { // NextPageToken: A token, which can be sent as `page_token` to retrieve // the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // UserLinks: List of UserLinks. These will be ordered stably, but in an // arbitrary order. UserLinks []*GoogleAnalyticsAdminV1alphaUserLink `json:"userLinks,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaListUserLinksResponse: Response message for ListUserLinks RPC.
func (*GoogleAnalyticsAdminV1alphaListUserLinksResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaListUserLinksResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse ¶
type GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse struct { // NextPageToken: A token, which can be sent as `page_token` to retrieve // the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // WebDataStreams: Results that matched the filter criteria and were // accessible to the caller. WebDataStreams []*GoogleAnalyticsAdminV1alphaWebDataStream `json:"webDataStreams,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 values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse: Request message for ListWebDataStreams RPC.
func (*GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaProperty ¶
type GoogleAnalyticsAdminV1alphaProperty struct { // CreateTime: Output only. Time when the entity was originally created. CreateTime string `json:"createTime,omitempty"` // CurrencyCode: The currency type used in reports involving monetary // values. Format: https://en.wikipedia.org/wiki/ISO_4217 Examples: // "USD", "EUR", "JPY" CurrencyCode string `json:"currencyCode,omitempty"` // Deleted: Output only. Indicates whether this Property is soft-deleted // or not. Deleted properties are excluded from List results unless // specifically requested. Deleted bool `json:"deleted,omitempty"` // DisplayName: Required. Human-readable display name for this property. // The max allowed display name length is 100 UTF-16 code units. DisplayName string `json:"displayName,omitempty"` // IndustryCategory: Industry associated with this property Example: // AUTOMOTIVE, FOOD_AND_DRINK // // Possible values: // "INDUSTRY_CATEGORY_UNSPECIFIED" - Industry category unspecified // "AUTOMOTIVE" - Automotive // "BUSINESS_AND_INDUSTRIAL_MARKETS" - Business and industrial markets // "FINANCE" - Finance // "HEALTHCARE" - Healthcare // "TECHNOLOGY" - Technology // "TRAVEL" - Travel // "OTHER" - Other // "ARTS_AND_ENTERTAINMENT" - Arts and entertainment // "BEAUTY_AND_FITNESS" - Beauty and fitness // "BOOKS_AND_LITERATURE" - Books and literature // "FOOD_AND_DRINK" - Food and drink // "GAMES" - Games // "HOBBIES_AND_LEISURE" - Hobbies and leisure // "HOME_AND_GARDEN" - Home and garden // "INTERNET_AND_TELECOM" - Internet and telecom // "LAW_AND_GOVERNMENT" - Law and government // "NEWS" - News // "ONLINE_COMMUNITIES" - Online communities // "PEOPLE_AND_SOCIETY" - People and society // "PETS_AND_ANIMALS" - Pets and animals // "REAL_ESTATE" - Real estate // "REFERENCE" - Reference // "SCIENCE" - Science // "SPORTS" - Sports // "JOBS_AND_EDUCATION" - Jobs and education // "SHOPPING" - Shopping IndustryCategory string `json:"industryCategory,omitempty"` // Name: Output only. Resource name of this property. Format: // properties/{property_id} Example: "properties/1000" Name string `json:"name,omitempty"` // Parent: Immutable. Resource name of this property's logical parent. // Note: The Property-Moving UI can be used to change the parent. // Format: accounts/{account} Example: "accounts/100" Parent string `json:"parent,omitempty"` // TimeZone: Reporting Time Zone, used as the day boundary for reports, // regardless of where the data originates. If the time zone honors DST, // Analytics will automatically adjust for the changes. NOTE: Changing // the time zone only affects data going forward, and is not applied // retroactively. Format: https://www.iana.org/time-zones Example: // "America/Los_Angeles" TimeZone string `json:"timeZone,omitempty"` // UpdateTime: Output only. Time when entity payload fields were last // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaProperty: A resource message representing a Google Analytics GA4 property.
func (*GoogleAnalyticsAdminV1alphaProperty) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaProperty) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaPropertySummary ¶
type GoogleAnalyticsAdminV1alphaPropertySummary struct { // DisplayName: Display name for the property referred to in this // account summary. DisplayName string `json:"displayName,omitempty"` // Property: Resource name of property referred to by this property // summary Format: properties/{property_id} Example: "properties/1000" Property string `json:"property,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaPropertySummary: A virtual resource representing metadata for an GA4 property.
func (*GoogleAnalyticsAdminV1alphaPropertySummary) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaPropertySummary) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest ¶
type GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest struct { // Account: The account to create. Account *GoogleAnalyticsAdminV1alphaAccount `json:"account,omitempty"` // RedirectUri: Redirect URI where the user will be sent after accepting // Terms of Service. Must be configured in Developers Console as a // Redirect URI RedirectUri string `json:"redirectUri,omitempty"` // ForceSendFields is a list of field names (e.g. "Account") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Account") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest: Request message for ProvisionAccountTicket RPC.
func (*GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse ¶
type GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse struct { // AccountTicketId: The param to be passed in the ToS link. AccountTicketId string `json:"accountTicketId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AccountTicketId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountTicketId") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse: Response message for ProvisionAccountTicket RPC.
func (*GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest ¶
type GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest struct { // UserLink: Required. The user link to update. UserLink *GoogleAnalyticsAdminV1alphaUserLink `json:"userLink,omitempty"` // ForceSendFields is a list of field names (e.g. "UserLink") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UserLink") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest: Request message for UpdateUserLink RPC.
func (*GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaUserLink ¶
type GoogleAnalyticsAdminV1alphaUserLink struct { // DirectRoles: Roles directly assigned to this user for this account or // property. Valid values: predefinedRoles/read // predefinedRoles/collaborate predefinedRoles/edit // predefinedRoles/manage-users Excludes roles that are inherited from a // higher-level entity, group, or organization admin role. A UserLink // that is updated to have an empty list of direct_roles will be // deleted. DirectRoles []string `json:"directRoles,omitempty"` // EmailAddress: Email address of the user to link EmailAddress string `json:"emailAddress,omitempty"` // Name: Example format: properties/1234/userLinks/5678 Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DirectRoles") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DirectRoles") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaUserLink: A resource message representing a user's permissions on an Account or Property resource.
func (*GoogleAnalyticsAdminV1alphaUserLink) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaUserLink) MarshalJSON() ([]byte, error)
type GoogleAnalyticsAdminV1alphaWebDataStream ¶
type GoogleAnalyticsAdminV1alphaWebDataStream struct { // CreateTime: Output only. Time when this stream was originally // created. CreateTime string `json:"createTime,omitempty"` // DefaultUri: Immutable. Domain name of the web app being measured, or // empty. Example: "http://www.google.com", "https://www.google.com" DefaultUri string `json:"defaultUri,omitempty"` // DisplayName: Required. Human-readable display name for the Data // Stream. The max allowed display name length is 100 UTF-16 code units. DisplayName string `json:"displayName,omitempty"` // FirebaseAppId: Output only. ID of the corresponding web app in // Firebase, if any. This ID can change if the web app is deleted and // recreated. FirebaseAppId string `json:"firebaseAppId,omitempty"` // MeasurementId: Output only. Analytics "Measurement ID", without the // "G-" prefix. Example: "G-1A2BCD345E" would just be "1A2BCD345E" MeasurementId string `json:"measurementId,omitempty"` // Name: Output only. Resource name of this Data Stream. Format: // properties/{property_id}/webDataStreams/{stream_id} Example: // "properties/1000/webDataStreams/2000" Name string `json:"name,omitempty"` // UpdateTime: Output only. Time when stream payload fields were last // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleAnalyticsAdminV1alphaWebDataStream: A resource message representing a Google Analytics web stream.
func (*GoogleAnalyticsAdminV1alphaWebDataStream) MarshalJSON ¶
func (s *GoogleAnalyticsAdminV1alphaWebDataStream) MarshalJSON() ([]byte, error)
type GoogleProtobufEmpty ¶
type GoogleProtobufEmpty struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
GoogleProtobufEmpty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
type PropertiesAndroidAppDataStreamsCreateCall ¶
type PropertiesAndroidAppDataStreamsCreateCall struct {
// contains filtered or unexported fields
}
func (*PropertiesAndroidAppDataStreamsCreateCall) Context ¶
func (c *PropertiesAndroidAppDataStreamsCreateCall) Context(ctx context.Context) *PropertiesAndroidAppDataStreamsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesAndroidAppDataStreamsCreateCall) Do ¶
func (c *PropertiesAndroidAppDataStreamsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAndroidAppDataStream, error)
Do executes the "analyticsadmin.properties.androidAppDataStreams.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaAndroidAppDataStream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAndroidAppDataStream.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesAndroidAppDataStreamsCreateCall) Fields ¶
func (c *PropertiesAndroidAppDataStreamsCreateCall) Fields(s ...googleapi.Field) *PropertiesAndroidAppDataStreamsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesAndroidAppDataStreamsCreateCall) Header ¶
func (c *PropertiesAndroidAppDataStreamsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesAndroidAppDataStreamsDeleteCall ¶
type PropertiesAndroidAppDataStreamsDeleteCall struct {
// contains filtered or unexported fields
}
func (*PropertiesAndroidAppDataStreamsDeleteCall) Context ¶
func (c *PropertiesAndroidAppDataStreamsDeleteCall) Context(ctx context.Context) *PropertiesAndroidAppDataStreamsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesAndroidAppDataStreamsDeleteCall) Do ¶
func (c *PropertiesAndroidAppDataStreamsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "analyticsadmin.properties.androidAppDataStreams.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesAndroidAppDataStreamsDeleteCall) Fields ¶
func (c *PropertiesAndroidAppDataStreamsDeleteCall) Fields(s ...googleapi.Field) *PropertiesAndroidAppDataStreamsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesAndroidAppDataStreamsDeleteCall) Header ¶
func (c *PropertiesAndroidAppDataStreamsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesAndroidAppDataStreamsGetCall ¶
type PropertiesAndroidAppDataStreamsGetCall struct {
// contains filtered or unexported fields
}
func (*PropertiesAndroidAppDataStreamsGetCall) Context ¶
func (c *PropertiesAndroidAppDataStreamsGetCall) Context(ctx context.Context) *PropertiesAndroidAppDataStreamsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesAndroidAppDataStreamsGetCall) Do ¶
func (c *PropertiesAndroidAppDataStreamsGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAndroidAppDataStream, error)
Do executes the "analyticsadmin.properties.androidAppDataStreams.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaAndroidAppDataStream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAndroidAppDataStream.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesAndroidAppDataStreamsGetCall) Fields ¶
func (c *PropertiesAndroidAppDataStreamsGetCall) Fields(s ...googleapi.Field) *PropertiesAndroidAppDataStreamsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesAndroidAppDataStreamsGetCall) Header ¶
func (c *PropertiesAndroidAppDataStreamsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesAndroidAppDataStreamsGetCall) IfNoneMatch ¶
func (c *PropertiesAndroidAppDataStreamsGetCall) IfNoneMatch(entityTag string) *PropertiesAndroidAppDataStreamsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type PropertiesAndroidAppDataStreamsListCall ¶
type PropertiesAndroidAppDataStreamsListCall struct {
// contains filtered or unexported fields
}
func (*PropertiesAndroidAppDataStreamsListCall) Context ¶
func (c *PropertiesAndroidAppDataStreamsListCall) Context(ctx context.Context) *PropertiesAndroidAppDataStreamsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesAndroidAppDataStreamsListCall) Do ¶
func (c *PropertiesAndroidAppDataStreamsListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse, error)
Do executes the "analyticsadmin.properties.androidAppDataStreams.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse.ServerRe sponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesAndroidAppDataStreamsListCall) Fields ¶
func (c *PropertiesAndroidAppDataStreamsListCall) Fields(s ...googleapi.Field) *PropertiesAndroidAppDataStreamsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesAndroidAppDataStreamsListCall) Header ¶
func (c *PropertiesAndroidAppDataStreamsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesAndroidAppDataStreamsListCall) IfNoneMatch ¶
func (c *PropertiesAndroidAppDataStreamsListCall) IfNoneMatch(entityTag string) *PropertiesAndroidAppDataStreamsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*PropertiesAndroidAppDataStreamsListCall) PageSize ¶
func (c *PropertiesAndroidAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesAndroidAppDataStreamsListCall
PageSize sets the optional parameter "pageSize": The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
func (*PropertiesAndroidAppDataStreamsListCall) PageToken ¶
func (c *PropertiesAndroidAppDataStreamsListCall) PageToken(pageToken string) *PropertiesAndroidAppDataStreamsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAndroidAppDataStreams` must match the call that provided the page token.
func (*PropertiesAndroidAppDataStreamsListCall) Pages ¶
func (c *PropertiesAndroidAppDataStreamsListCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type PropertiesAndroidAppDataStreamsPatchCall ¶
type PropertiesAndroidAppDataStreamsPatchCall struct {
// contains filtered or unexported fields
}
func (*PropertiesAndroidAppDataStreamsPatchCall) Context ¶
func (c *PropertiesAndroidAppDataStreamsPatchCall) Context(ctx context.Context) *PropertiesAndroidAppDataStreamsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesAndroidAppDataStreamsPatchCall) Do ¶
func (c *PropertiesAndroidAppDataStreamsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAndroidAppDataStream, error)
Do executes the "analyticsadmin.properties.androidAppDataStreams.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaAndroidAppDataStream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAndroidAppDataStream.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesAndroidAppDataStreamsPatchCall) Fields ¶
func (c *PropertiesAndroidAppDataStreamsPatchCall) Fields(s ...googleapi.Field) *PropertiesAndroidAppDataStreamsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesAndroidAppDataStreamsPatchCall) Header ¶
func (c *PropertiesAndroidAppDataStreamsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesAndroidAppDataStreamsPatchCall) UpdateMask ¶
func (c *PropertiesAndroidAppDataStreamsPatchCall) UpdateMask(updateMask string) *PropertiesAndroidAppDataStreamsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
type PropertiesAndroidAppDataStreamsService ¶
type PropertiesAndroidAppDataStreamsService struct {
// contains filtered or unexported fields
}
func NewPropertiesAndroidAppDataStreamsService ¶
func NewPropertiesAndroidAppDataStreamsService(s *Service) *PropertiesAndroidAppDataStreamsService
func (*PropertiesAndroidAppDataStreamsService) Create ¶
func (r *PropertiesAndroidAppDataStreamsService) Create(parent string, googleanalyticsadminv1alphaandroidappdatastream *GoogleAnalyticsAdminV1alphaAndroidAppDataStream) *PropertiesAndroidAppDataStreamsCreateCall
Create: Creates an android app stream with the specified location and attributes.
func (*PropertiesAndroidAppDataStreamsService) Delete ¶
func (r *PropertiesAndroidAppDataStreamsService) Delete(name string) *PropertiesAndroidAppDataStreamsDeleteCall
Delete: Deletes an android app stream on a property.
func (*PropertiesAndroidAppDataStreamsService) Get ¶
func (r *PropertiesAndroidAppDataStreamsService) Get(name string) *PropertiesAndroidAppDataStreamsGetCall
Get: Lookup for a single AndroidAppDataStream
func (*PropertiesAndroidAppDataStreamsService) List ¶
func (r *PropertiesAndroidAppDataStreamsService) List(parent string) *PropertiesAndroidAppDataStreamsListCall
List: Returns child android app streams under the specified parent property. Android app streams will be excluded if the caller does not have access. Returns an empty list if no relevant android app streams are found.
func (*PropertiesAndroidAppDataStreamsService) Patch ¶
func (r *PropertiesAndroidAppDataStreamsService) Patch(name string, googleanalyticsadminv1alphaandroidappdatastream *GoogleAnalyticsAdminV1alphaAndroidAppDataStream) *PropertiesAndroidAppDataStreamsPatchCall
Patch: Updates an android app stream on a property.
type PropertiesCreateCall ¶
type PropertiesCreateCall struct {
// contains filtered or unexported fields
}
func (*PropertiesCreateCall) Context ¶
func (c *PropertiesCreateCall) Context(ctx context.Context) *PropertiesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesCreateCall) Do ¶
func (c *PropertiesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaProperty, error)
Do executes the "analyticsadmin.properties.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaProperty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaProperty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesCreateCall) Fields ¶
func (c *PropertiesCreateCall) Fields(s ...googleapi.Field) *PropertiesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesCreateCall) Header ¶
func (c *PropertiesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesDeleteCall ¶
type PropertiesDeleteCall struct {
// contains filtered or unexported fields
}
func (*PropertiesDeleteCall) Context ¶
func (c *PropertiesDeleteCall) Context(ctx context.Context) *PropertiesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesDeleteCall) Do ¶
func (c *PropertiesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "analyticsadmin.properties.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesDeleteCall) Fields ¶
func (c *PropertiesDeleteCall) Fields(s ...googleapi.Field) *PropertiesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesDeleteCall) Header ¶
func (c *PropertiesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesFirebaseLinksCreateCall ¶
type PropertiesFirebaseLinksCreateCall struct {
// contains filtered or unexported fields
}
func (*PropertiesFirebaseLinksCreateCall) Context ¶
func (c *PropertiesFirebaseLinksCreateCall) Context(ctx context.Context) *PropertiesFirebaseLinksCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesFirebaseLinksCreateCall) Do ¶
func (c *PropertiesFirebaseLinksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaFirebaseLink, error)
Do executes the "analyticsadmin.properties.firebaseLinks.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaFirebaseLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaFirebaseLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesFirebaseLinksCreateCall) Fields ¶
func (c *PropertiesFirebaseLinksCreateCall) Fields(s ...googleapi.Field) *PropertiesFirebaseLinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesFirebaseLinksCreateCall) Header ¶
func (c *PropertiesFirebaseLinksCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesFirebaseLinksDeleteCall ¶
type PropertiesFirebaseLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*PropertiesFirebaseLinksDeleteCall) Context ¶
func (c *PropertiesFirebaseLinksDeleteCall) Context(ctx context.Context) *PropertiesFirebaseLinksDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesFirebaseLinksDeleteCall) Do ¶
func (c *PropertiesFirebaseLinksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "analyticsadmin.properties.firebaseLinks.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesFirebaseLinksDeleteCall) Fields ¶
func (c *PropertiesFirebaseLinksDeleteCall) Fields(s ...googleapi.Field) *PropertiesFirebaseLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesFirebaseLinksDeleteCall) Header ¶
func (c *PropertiesFirebaseLinksDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesFirebaseLinksListCall ¶
type PropertiesFirebaseLinksListCall struct {
// contains filtered or unexported fields
}
func (*PropertiesFirebaseLinksListCall) Context ¶
func (c *PropertiesFirebaseLinksListCall) Context(ctx context.Context) *PropertiesFirebaseLinksListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesFirebaseLinksListCall) Do ¶
func (c *PropertiesFirebaseLinksListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse, error)
Do executes the "analyticsadmin.properties.firebaseLinks.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesFirebaseLinksListCall) Fields ¶
func (c *PropertiesFirebaseLinksListCall) Fields(s ...googleapi.Field) *PropertiesFirebaseLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesFirebaseLinksListCall) Header ¶
func (c *PropertiesFirebaseLinksListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesFirebaseLinksListCall) IfNoneMatch ¶
func (c *PropertiesFirebaseLinksListCall) IfNoneMatch(entityTag string) *PropertiesFirebaseLinksListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*PropertiesFirebaseLinksListCall) PageSize ¶
func (c *PropertiesFirebaseLinksListCall) PageSize(pageSize int64) *PropertiesFirebaseLinksListCall
PageSize sets the optional parameter "pageSize": The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
func (*PropertiesFirebaseLinksListCall) PageToken ¶
func (c *PropertiesFirebaseLinksListCall) PageToken(pageToken string) *PropertiesFirebaseLinksListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListFirebaseLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token.
func (*PropertiesFirebaseLinksListCall) Pages ¶
func (c *PropertiesFirebaseLinksListCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type PropertiesFirebaseLinksPatchCall ¶
type PropertiesFirebaseLinksPatchCall struct {
// contains filtered or unexported fields
}
func (*PropertiesFirebaseLinksPatchCall) Context ¶
func (c *PropertiesFirebaseLinksPatchCall) Context(ctx context.Context) *PropertiesFirebaseLinksPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesFirebaseLinksPatchCall) Do ¶
func (c *PropertiesFirebaseLinksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaFirebaseLink, error)
Do executes the "analyticsadmin.properties.firebaseLinks.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaFirebaseLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaFirebaseLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesFirebaseLinksPatchCall) Fields ¶
func (c *PropertiesFirebaseLinksPatchCall) Fields(s ...googleapi.Field) *PropertiesFirebaseLinksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesFirebaseLinksPatchCall) Header ¶
func (c *PropertiesFirebaseLinksPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesFirebaseLinksPatchCall) UpdateMask ¶
func (c *PropertiesFirebaseLinksPatchCall) UpdateMask(updateMask string) *PropertiesFirebaseLinksPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
type PropertiesFirebaseLinksService ¶
type PropertiesFirebaseLinksService struct {
// contains filtered or unexported fields
}
func NewPropertiesFirebaseLinksService ¶
func NewPropertiesFirebaseLinksService(s *Service) *PropertiesFirebaseLinksService
func (*PropertiesFirebaseLinksService) Create ¶
func (r *PropertiesFirebaseLinksService) Create(parent string, googleanalyticsadminv1alphafirebaselink *GoogleAnalyticsAdminV1alphaFirebaseLink) *PropertiesFirebaseLinksCreateCall
Create: Creates a FirebaseLink. Properties can have at most one FirebaseLink.
func (*PropertiesFirebaseLinksService) Delete ¶
func (r *PropertiesFirebaseLinksService) Delete(name string) *PropertiesFirebaseLinksDeleteCall
Delete: Deletes a FirebaseLink on a property
func (*PropertiesFirebaseLinksService) List ¶
func (r *PropertiesFirebaseLinksService) List(parent string) *PropertiesFirebaseLinksListCall
List: Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
func (*PropertiesFirebaseLinksService) Patch ¶
func (r *PropertiesFirebaseLinksService) Patch(name string, googleanalyticsadminv1alphafirebaselink *GoogleAnalyticsAdminV1alphaFirebaseLink) *PropertiesFirebaseLinksPatchCall
Patch: Updates a FirebaseLink on a property
type PropertiesGetCall ¶
type PropertiesGetCall struct {
// contains filtered or unexported fields
}
func (*PropertiesGetCall) Context ¶
func (c *PropertiesGetCall) Context(ctx context.Context) *PropertiesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesGetCall) Do ¶
func (c *PropertiesGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaProperty, error)
Do executes the "analyticsadmin.properties.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaProperty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaProperty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesGetCall) Fields ¶
func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesGetCall) Header ¶
func (c *PropertiesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesGetCall) IfNoneMatch ¶
func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type PropertiesGoogleAdsLinksCreateCall ¶
type PropertiesGoogleAdsLinksCreateCall struct {
// contains filtered or unexported fields
}
func (*PropertiesGoogleAdsLinksCreateCall) Context ¶
func (c *PropertiesGoogleAdsLinksCreateCall) Context(ctx context.Context) *PropertiesGoogleAdsLinksCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesGoogleAdsLinksCreateCall) Do ¶
func (c *PropertiesGoogleAdsLinksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaGoogleAdsLink, error)
Do executes the "analyticsadmin.properties.googleAdsLinks.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaGoogleAdsLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaGoogleAdsLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesGoogleAdsLinksCreateCall) Fields ¶
func (c *PropertiesGoogleAdsLinksCreateCall) Fields(s ...googleapi.Field) *PropertiesGoogleAdsLinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesGoogleAdsLinksCreateCall) Header ¶
func (c *PropertiesGoogleAdsLinksCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesGoogleAdsLinksDeleteCall ¶
type PropertiesGoogleAdsLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*PropertiesGoogleAdsLinksDeleteCall) Context ¶
func (c *PropertiesGoogleAdsLinksDeleteCall) Context(ctx context.Context) *PropertiesGoogleAdsLinksDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesGoogleAdsLinksDeleteCall) Do ¶
func (c *PropertiesGoogleAdsLinksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "analyticsadmin.properties.googleAdsLinks.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesGoogleAdsLinksDeleteCall) Fields ¶
func (c *PropertiesGoogleAdsLinksDeleteCall) Fields(s ...googleapi.Field) *PropertiesGoogleAdsLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesGoogleAdsLinksDeleteCall) Header ¶
func (c *PropertiesGoogleAdsLinksDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesGoogleAdsLinksListCall ¶
type PropertiesGoogleAdsLinksListCall struct {
// contains filtered or unexported fields
}
func (*PropertiesGoogleAdsLinksListCall) Context ¶
func (c *PropertiesGoogleAdsLinksListCall) Context(ctx context.Context) *PropertiesGoogleAdsLinksListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesGoogleAdsLinksListCall) Do ¶
func (c *PropertiesGoogleAdsLinksListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse, error)
Do executes the "analyticsadmin.properties.googleAdsLinks.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse.ServerResponse. Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesGoogleAdsLinksListCall) Fields ¶
func (c *PropertiesGoogleAdsLinksListCall) Fields(s ...googleapi.Field) *PropertiesGoogleAdsLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesGoogleAdsLinksListCall) Header ¶
func (c *PropertiesGoogleAdsLinksListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesGoogleAdsLinksListCall) IfNoneMatch ¶
func (c *PropertiesGoogleAdsLinksListCall) IfNoneMatch(entityTag string) *PropertiesGoogleAdsLinksListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*PropertiesGoogleAdsLinksListCall) PageSize ¶
func (c *PropertiesGoogleAdsLinksListCall) PageSize(pageSize int64) *PropertiesGoogleAdsLinksListCall
PageSize sets the optional parameter "pageSize": The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).
func (*PropertiesGoogleAdsLinksListCall) PageToken ¶
func (c *PropertiesGoogleAdsLinksListCall) PageToken(pageToken string) *PropertiesGoogleAdsLinksListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListGoogleAdsLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGoogleAdsLinks` must match the call that provided the page token.
func (*PropertiesGoogleAdsLinksListCall) Pages ¶
func (c *PropertiesGoogleAdsLinksListCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type PropertiesGoogleAdsLinksPatchCall ¶
type PropertiesGoogleAdsLinksPatchCall struct {
// contains filtered or unexported fields
}
func (*PropertiesGoogleAdsLinksPatchCall) Context ¶
func (c *PropertiesGoogleAdsLinksPatchCall) Context(ctx context.Context) *PropertiesGoogleAdsLinksPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesGoogleAdsLinksPatchCall) Do ¶
func (c *PropertiesGoogleAdsLinksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaGoogleAdsLink, error)
Do executes the "analyticsadmin.properties.googleAdsLinks.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaGoogleAdsLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaGoogleAdsLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesGoogleAdsLinksPatchCall) Fields ¶
func (c *PropertiesGoogleAdsLinksPatchCall) Fields(s ...googleapi.Field) *PropertiesGoogleAdsLinksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesGoogleAdsLinksPatchCall) Header ¶
func (c *PropertiesGoogleAdsLinksPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesGoogleAdsLinksPatchCall) UpdateMask ¶
func (c *PropertiesGoogleAdsLinksPatchCall) UpdateMask(updateMask string) *PropertiesGoogleAdsLinksPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
type PropertiesGoogleAdsLinksService ¶
type PropertiesGoogleAdsLinksService struct {
// contains filtered or unexported fields
}
func NewPropertiesGoogleAdsLinksService ¶
func NewPropertiesGoogleAdsLinksService(s *Service) *PropertiesGoogleAdsLinksService
func (*PropertiesGoogleAdsLinksService) Create ¶
func (r *PropertiesGoogleAdsLinksService) Create(parent string, googleanalyticsadminv1alphagoogleadslink *GoogleAnalyticsAdminV1alphaGoogleAdsLink) *PropertiesGoogleAdsLinksCreateCall
Create: Creates a GoogleAdsLink.
func (*PropertiesGoogleAdsLinksService) Delete ¶
func (r *PropertiesGoogleAdsLinksService) Delete(name string) *PropertiesGoogleAdsLinksDeleteCall
Delete: Deletes a GoogleAdsLink on a property
func (*PropertiesGoogleAdsLinksService) List ¶
func (r *PropertiesGoogleAdsLinksService) List(parent string) *PropertiesGoogleAdsLinksListCall
List: Lists GoogleAdsLinks on a property.
func (*PropertiesGoogleAdsLinksService) Patch ¶
func (r *PropertiesGoogleAdsLinksService) Patch(name string, googleanalyticsadminv1alphagoogleadslink *GoogleAnalyticsAdminV1alphaGoogleAdsLink) *PropertiesGoogleAdsLinksPatchCall
Patch: Updates a GoogleAdsLink on a property
type PropertiesIosAppDataStreamsCreateCall ¶
type PropertiesIosAppDataStreamsCreateCall struct {
// contains filtered or unexported fields
}
func (*PropertiesIosAppDataStreamsCreateCall) Context ¶
func (c *PropertiesIosAppDataStreamsCreateCall) Context(ctx context.Context) *PropertiesIosAppDataStreamsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesIosAppDataStreamsCreateCall) Do ¶
func (c *PropertiesIosAppDataStreamsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaIosAppDataStream, error)
Do executes the "analyticsadmin.properties.iosAppDataStreams.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaIosAppDataStream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaIosAppDataStream.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesIosAppDataStreamsCreateCall) Fields ¶
func (c *PropertiesIosAppDataStreamsCreateCall) Fields(s ...googleapi.Field) *PropertiesIosAppDataStreamsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesIosAppDataStreamsCreateCall) Header ¶
func (c *PropertiesIosAppDataStreamsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesIosAppDataStreamsDeleteCall ¶
type PropertiesIosAppDataStreamsDeleteCall struct {
// contains filtered or unexported fields
}
func (*PropertiesIosAppDataStreamsDeleteCall) Context ¶
func (c *PropertiesIosAppDataStreamsDeleteCall) Context(ctx context.Context) *PropertiesIosAppDataStreamsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesIosAppDataStreamsDeleteCall) Do ¶
func (c *PropertiesIosAppDataStreamsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "analyticsadmin.properties.iosAppDataStreams.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesIosAppDataStreamsDeleteCall) Fields ¶
func (c *PropertiesIosAppDataStreamsDeleteCall) Fields(s ...googleapi.Field) *PropertiesIosAppDataStreamsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesIosAppDataStreamsDeleteCall) Header ¶
func (c *PropertiesIosAppDataStreamsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesIosAppDataStreamsGetCall ¶
type PropertiesIosAppDataStreamsGetCall struct {
// contains filtered or unexported fields
}
func (*PropertiesIosAppDataStreamsGetCall) Context ¶
func (c *PropertiesIosAppDataStreamsGetCall) Context(ctx context.Context) *PropertiesIosAppDataStreamsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesIosAppDataStreamsGetCall) Do ¶
func (c *PropertiesIosAppDataStreamsGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaIosAppDataStream, error)
Do executes the "analyticsadmin.properties.iosAppDataStreams.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaIosAppDataStream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaIosAppDataStream.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesIosAppDataStreamsGetCall) Fields ¶
func (c *PropertiesIosAppDataStreamsGetCall) Fields(s ...googleapi.Field) *PropertiesIosAppDataStreamsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesIosAppDataStreamsGetCall) Header ¶
func (c *PropertiesIosAppDataStreamsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesIosAppDataStreamsGetCall) IfNoneMatch ¶
func (c *PropertiesIosAppDataStreamsGetCall) IfNoneMatch(entityTag string) *PropertiesIosAppDataStreamsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type PropertiesIosAppDataStreamsListCall ¶
type PropertiesIosAppDataStreamsListCall struct {
// contains filtered or unexported fields
}
func (*PropertiesIosAppDataStreamsListCall) Context ¶
func (c *PropertiesIosAppDataStreamsListCall) Context(ctx context.Context) *PropertiesIosAppDataStreamsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesIosAppDataStreamsListCall) Do ¶
func (c *PropertiesIosAppDataStreamsListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse, error)
Do executes the "analyticsadmin.properties.iosAppDataStreams.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse.ServerRespon se.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesIosAppDataStreamsListCall) Fields ¶
func (c *PropertiesIosAppDataStreamsListCall) Fields(s ...googleapi.Field) *PropertiesIosAppDataStreamsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesIosAppDataStreamsListCall) Header ¶
func (c *PropertiesIosAppDataStreamsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesIosAppDataStreamsListCall) IfNoneMatch ¶
func (c *PropertiesIosAppDataStreamsListCall) IfNoneMatch(entityTag string) *PropertiesIosAppDataStreamsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*PropertiesIosAppDataStreamsListCall) PageSize ¶
func (c *PropertiesIosAppDataStreamsListCall) PageSize(pageSize int64) *PropertiesIosAppDataStreamsListCall
PageSize sets the optional parameter "pageSize": The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
func (*PropertiesIosAppDataStreamsListCall) PageToken ¶
func (c *PropertiesIosAppDataStreamsListCall) PageToken(pageToken string) *PropertiesIosAppDataStreamsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListIosAppDataStreams` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIosAppDataStreams` must match the call that provided the page token.
func (*PropertiesIosAppDataStreamsListCall) Pages ¶
func (c *PropertiesIosAppDataStreamsListCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type PropertiesIosAppDataStreamsPatchCall ¶
type PropertiesIosAppDataStreamsPatchCall struct {
// contains filtered or unexported fields
}
func (*PropertiesIosAppDataStreamsPatchCall) Context ¶
func (c *PropertiesIosAppDataStreamsPatchCall) Context(ctx context.Context) *PropertiesIosAppDataStreamsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesIosAppDataStreamsPatchCall) Do ¶
func (c *PropertiesIosAppDataStreamsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaIosAppDataStream, error)
Do executes the "analyticsadmin.properties.iosAppDataStreams.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaIosAppDataStream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaIosAppDataStream.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesIosAppDataStreamsPatchCall) Fields ¶
func (c *PropertiesIosAppDataStreamsPatchCall) Fields(s ...googleapi.Field) *PropertiesIosAppDataStreamsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesIosAppDataStreamsPatchCall) Header ¶
func (c *PropertiesIosAppDataStreamsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesIosAppDataStreamsPatchCall) UpdateMask ¶
func (c *PropertiesIosAppDataStreamsPatchCall) UpdateMask(updateMask string) *PropertiesIosAppDataStreamsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
type PropertiesIosAppDataStreamsService ¶
type PropertiesIosAppDataStreamsService struct {
// contains filtered or unexported fields
}
func NewPropertiesIosAppDataStreamsService ¶
func NewPropertiesIosAppDataStreamsService(s *Service) *PropertiesIosAppDataStreamsService
func (*PropertiesIosAppDataStreamsService) Create ¶
func (r *PropertiesIosAppDataStreamsService) Create(parent string, googleanalyticsadminv1alphaiosappdatastream *GoogleAnalyticsAdminV1alphaIosAppDataStream) *PropertiesIosAppDataStreamsCreateCall
Create: Creates an iOS app data stream with the specified location and attributes.
func (*PropertiesIosAppDataStreamsService) Delete ¶
func (r *PropertiesIosAppDataStreamsService) Delete(name string) *PropertiesIosAppDataStreamsDeleteCall
Delete: Deletes an iOS app stream on a property.
func (*PropertiesIosAppDataStreamsService) Get ¶
func (r *PropertiesIosAppDataStreamsService) Get(name string) *PropertiesIosAppDataStreamsGetCall
Get: Lookup for a single IosAppDataStream
func (*PropertiesIosAppDataStreamsService) List ¶
func (r *PropertiesIosAppDataStreamsService) List(parent string) *PropertiesIosAppDataStreamsListCall
List: Returns child iOS app data streams under the specified parent property. iOS app data streams will be excluded if the caller does not have access. Returns an empty list if no relevant iOS app data streams are found.
func (*PropertiesIosAppDataStreamsService) Patch ¶
func (r *PropertiesIosAppDataStreamsService) Patch(name string, googleanalyticsadminv1alphaiosappdatastream *GoogleAnalyticsAdminV1alphaIosAppDataStream) *PropertiesIosAppDataStreamsPatchCall
Patch: Updates an iOS app stream on a property.
type PropertiesListCall ¶
type PropertiesListCall struct {
// contains filtered or unexported fields
}
func (*PropertiesListCall) Context ¶
func (c *PropertiesListCall) Context(ctx context.Context) *PropertiesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesListCall) Do ¶
func (c *PropertiesListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListPropertiesResponse, error)
Do executes the "analyticsadmin.properties.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListPropertiesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListPropertiesResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesListCall) Fields ¶
func (c *PropertiesListCall) Fields(s ...googleapi.Field) *PropertiesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesListCall) Filter ¶
func (c *PropertiesListCall) Filter(filter string) *PropertiesListCall
Filter sets the optional parameter "filter": Required. An expression for filtering the results of the request. Fields eligible for filtering are: `parent:`(The resource name of the parent account) or `firebase_project:`(The id or number of the linked firebase project). Some examples of filters: | Filter | Description | |-----------------------------|--------------------------------------- ----| | parent:accounts/123 | The account with account id: 123. | | firebase_project:project-id | The firebase project with id: project-id. | | firebase_project:123 | The firebase project with number: 123. |
func (*PropertiesListCall) Header ¶
func (c *PropertiesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesListCall) IfNoneMatch ¶
func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*PropertiesListCall) PageSize ¶
func (c *PropertiesListCall) PageSize(pageSize int64) *PropertiesListCall
PageSize sets the optional parameter "pageSize": The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
func (*PropertiesListCall) PageToken ¶
func (c *PropertiesListCall) PageToken(pageToken string) *PropertiesListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListProperties` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token.
func (*PropertiesListCall) Pages ¶
func (c *PropertiesListCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaListPropertiesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*PropertiesListCall) ShowDeleted ¶
func (c *PropertiesListCall) ShowDeleted(showDeleted bool) *PropertiesListCall
ShowDeleted sets the optional parameter "showDeleted": Whether to include soft-deleted (ie: "trashed") Properties in the results. Properties can be inspected to determine whether they are deleted or not.
type PropertiesPatchCall ¶
type PropertiesPatchCall struct {
// contains filtered or unexported fields
}
func (*PropertiesPatchCall) Context ¶
func (c *PropertiesPatchCall) Context(ctx context.Context) *PropertiesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesPatchCall) Do ¶
func (c *PropertiesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaProperty, error)
Do executes the "analyticsadmin.properties.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaProperty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaProperty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesPatchCall) Fields ¶
func (c *PropertiesPatchCall) Fields(s ...googleapi.Field) *PropertiesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesPatchCall) Header ¶
func (c *PropertiesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesPatchCall) UpdateMask ¶
func (c *PropertiesPatchCall) UpdateMask(updateMask string) *PropertiesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
type PropertiesService ¶
type PropertiesService struct { AndroidAppDataStreams *PropertiesAndroidAppDataStreamsService FirebaseLinks *PropertiesFirebaseLinksService GoogleAdsLinks *PropertiesGoogleAdsLinksService IosAppDataStreams *PropertiesIosAppDataStreamsService UserLinks *PropertiesUserLinksService WebDataStreams *PropertiesWebDataStreamsService // contains filtered or unexported fields }
func NewPropertiesService ¶
func NewPropertiesService(s *Service) *PropertiesService
func (*PropertiesService) Create ¶
func (r *PropertiesService) Create(googleanalyticsadminv1alphaproperty *GoogleAnalyticsAdminV1alphaProperty) *PropertiesCreateCall
Create: Creates an "GA4" property with the specified location and attributes.
func (*PropertiesService) Delete ¶
func (r *PropertiesService) Delete(name string) *PropertiesDeleteCall
Delete: Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found, or is not an GA4 Property.
func (*PropertiesService) Get ¶
func (r *PropertiesService) Get(name string) *PropertiesGetCall
Get: Lookup for a single "GA4" Property.
func (*PropertiesService) List ¶
func (r *PropertiesService) List() *PropertiesListCall
List: Returns child Properties under the specified parent Account. Only "GA4" properties will be returned. Properties will be excluded if the caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found.
func (*PropertiesService) Patch ¶
func (r *PropertiesService) Patch(name string, googleanalyticsadminv1alphaproperty *GoogleAnalyticsAdminV1alphaProperty) *PropertiesPatchCall
Patch: Updates a property.
type PropertiesUserLinksAuditCall ¶
type PropertiesUserLinksAuditCall struct {
// contains filtered or unexported fields
}
func (*PropertiesUserLinksAuditCall) Context ¶
func (c *PropertiesUserLinksAuditCall) Context(ctx context.Context) *PropertiesUserLinksAuditCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesUserLinksAuditCall) Do ¶
func (c *PropertiesUserLinksAuditCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse, error)
Do executes the "analyticsadmin.properties.userLinks.audit" call. Exactly one of *GoogleAnalyticsAdminV1alphaAuditUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaAuditUserLinksResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesUserLinksAuditCall) Fields ¶
func (c *PropertiesUserLinksAuditCall) Fields(s ...googleapi.Field) *PropertiesUserLinksAuditCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesUserLinksAuditCall) Header ¶
func (c *PropertiesUserLinksAuditCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesUserLinksAuditCall) Pages ¶
func (c *PropertiesUserLinksAuditCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaAuditUserLinksResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type PropertiesUserLinksBatchCreateCall ¶
type PropertiesUserLinksBatchCreateCall struct {
// contains filtered or unexported fields
}
func (*PropertiesUserLinksBatchCreateCall) Context ¶
func (c *PropertiesUserLinksBatchCreateCall) Context(ctx context.Context) *PropertiesUserLinksBatchCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesUserLinksBatchCreateCall) Do ¶
func (c *PropertiesUserLinksBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse, error)
Do executes the "analyticsadmin.properties.userLinks.batchCreate" call. Exactly one of *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesUserLinksBatchCreateCall) Fields ¶
func (c *PropertiesUserLinksBatchCreateCall) Fields(s ...googleapi.Field) *PropertiesUserLinksBatchCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesUserLinksBatchCreateCall) Header ¶
func (c *PropertiesUserLinksBatchCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesUserLinksBatchDeleteCall ¶
type PropertiesUserLinksBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*PropertiesUserLinksBatchDeleteCall) Context ¶
func (c *PropertiesUserLinksBatchDeleteCall) Context(ctx context.Context) *PropertiesUserLinksBatchDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesUserLinksBatchDeleteCall) Do ¶
func (c *PropertiesUserLinksBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "analyticsadmin.properties.userLinks.batchDelete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesUserLinksBatchDeleteCall) Fields ¶
func (c *PropertiesUserLinksBatchDeleteCall) Fields(s ...googleapi.Field) *PropertiesUserLinksBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesUserLinksBatchDeleteCall) Header ¶
func (c *PropertiesUserLinksBatchDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesUserLinksBatchGetCall ¶
type PropertiesUserLinksBatchGetCall struct {
// contains filtered or unexported fields
}
func (*PropertiesUserLinksBatchGetCall) Context ¶
func (c *PropertiesUserLinksBatchGetCall) Context(ctx context.Context) *PropertiesUserLinksBatchGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesUserLinksBatchGetCall) Do ¶
func (c *PropertiesUserLinksBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse, error)
Do executes the "analyticsadmin.properties.userLinks.batchGet" call. Exactly one of *GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesUserLinksBatchGetCall) Fields ¶
func (c *PropertiesUserLinksBatchGetCall) Fields(s ...googleapi.Field) *PropertiesUserLinksBatchGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesUserLinksBatchGetCall) Header ¶
func (c *PropertiesUserLinksBatchGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesUserLinksBatchGetCall) IfNoneMatch ¶
func (c *PropertiesUserLinksBatchGetCall) IfNoneMatch(entityTag string) *PropertiesUserLinksBatchGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*PropertiesUserLinksBatchGetCall) Names ¶
func (c *PropertiesUserLinksBatchGetCall) Names(names ...string) *PropertiesUserLinksBatchGetCall
Names sets the optional parameter "names": Required. The names of the user links to retrieve. A maximum of 1000 user links can be retrieved in a batch. Format: accounts/{accountId}/userLinks/{userLinkId}
type PropertiesUserLinksBatchUpdateCall ¶
type PropertiesUserLinksBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*PropertiesUserLinksBatchUpdateCall) Context ¶
func (c *PropertiesUserLinksBatchUpdateCall) Context(ctx context.Context) *PropertiesUserLinksBatchUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesUserLinksBatchUpdateCall) Do ¶
func (c *PropertiesUserLinksBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse, error)
Do executes the "analyticsadmin.properties.userLinks.batchUpdate" call. Exactly one of *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesUserLinksBatchUpdateCall) Fields ¶
func (c *PropertiesUserLinksBatchUpdateCall) Fields(s ...googleapi.Field) *PropertiesUserLinksBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesUserLinksBatchUpdateCall) Header ¶
func (c *PropertiesUserLinksBatchUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesUserLinksCreateCall ¶
type PropertiesUserLinksCreateCall struct {
// contains filtered or unexported fields
}
func (*PropertiesUserLinksCreateCall) Context ¶
func (c *PropertiesUserLinksCreateCall) Context(ctx context.Context) *PropertiesUserLinksCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesUserLinksCreateCall) Do ¶
func (c *PropertiesUserLinksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaUserLink, error)
Do executes the "analyticsadmin.properties.userLinks.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaUserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaUserLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesUserLinksCreateCall) Fields ¶
func (c *PropertiesUserLinksCreateCall) Fields(s ...googleapi.Field) *PropertiesUserLinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesUserLinksCreateCall) Header ¶
func (c *PropertiesUserLinksCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesUserLinksCreateCall) NotifyNewUser ¶
func (c *PropertiesUserLinksCreateCall) NotifyNewUser(notifyNewUser bool) *PropertiesUserLinksCreateCall
NotifyNewUser sets the optional parameter "notifyNewUser": If set, then email the new user notifying them that they've been granted permissions to the resource.
type PropertiesUserLinksDeleteCall ¶
type PropertiesUserLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*PropertiesUserLinksDeleteCall) Context ¶
func (c *PropertiesUserLinksDeleteCall) Context(ctx context.Context) *PropertiesUserLinksDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesUserLinksDeleteCall) Do ¶
func (c *PropertiesUserLinksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "analyticsadmin.properties.userLinks.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesUserLinksDeleteCall) Fields ¶
func (c *PropertiesUserLinksDeleteCall) Fields(s ...googleapi.Field) *PropertiesUserLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesUserLinksDeleteCall) Header ¶
func (c *PropertiesUserLinksDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesUserLinksGetCall ¶
type PropertiesUserLinksGetCall struct {
// contains filtered or unexported fields
}
func (*PropertiesUserLinksGetCall) Context ¶
func (c *PropertiesUserLinksGetCall) Context(ctx context.Context) *PropertiesUserLinksGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesUserLinksGetCall) Do ¶
func (c *PropertiesUserLinksGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaUserLink, error)
Do executes the "analyticsadmin.properties.userLinks.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaUserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaUserLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesUserLinksGetCall) Fields ¶
func (c *PropertiesUserLinksGetCall) Fields(s ...googleapi.Field) *PropertiesUserLinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesUserLinksGetCall) Header ¶
func (c *PropertiesUserLinksGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesUserLinksGetCall) IfNoneMatch ¶
func (c *PropertiesUserLinksGetCall) IfNoneMatch(entityTag string) *PropertiesUserLinksGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type PropertiesUserLinksListCall ¶
type PropertiesUserLinksListCall struct {
// contains filtered or unexported fields
}
func (*PropertiesUserLinksListCall) Context ¶
func (c *PropertiesUserLinksListCall) Context(ctx context.Context) *PropertiesUserLinksListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesUserLinksListCall) Do ¶
func (c *PropertiesUserLinksListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListUserLinksResponse, error)
Do executes the "analyticsadmin.properties.userLinks.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListUserLinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListUserLinksResponse.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesUserLinksListCall) Fields ¶
func (c *PropertiesUserLinksListCall) Fields(s ...googleapi.Field) *PropertiesUserLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesUserLinksListCall) Header ¶
func (c *PropertiesUserLinksListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesUserLinksListCall) IfNoneMatch ¶
func (c *PropertiesUserLinksListCall) IfNoneMatch(entityTag string) *PropertiesUserLinksListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*PropertiesUserLinksListCall) PageSize ¶
func (c *PropertiesUserLinksListCall) PageSize(pageSize int64) *PropertiesUserLinksListCall
PageSize sets the optional parameter "pageSize": The maximum number of user links to return. The service may return fewer than this value. If unspecified, at most 200 user links will be returned. The maximum value is 500; values above 500 will be coerced to 500.
func (*PropertiesUserLinksListCall) PageToken ¶
func (c *PropertiesUserLinksListCall) PageToken(pageToken string) *PropertiesUserLinksListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListUserLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLinks` must match the call that provided the page token.
func (*PropertiesUserLinksListCall) Pages ¶
func (c *PropertiesUserLinksListCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaListUserLinksResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type PropertiesUserLinksPatchCall ¶
type PropertiesUserLinksPatchCall struct {
// contains filtered or unexported fields
}
func (*PropertiesUserLinksPatchCall) Context ¶
func (c *PropertiesUserLinksPatchCall) Context(ctx context.Context) *PropertiesUserLinksPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesUserLinksPatchCall) Do ¶
func (c *PropertiesUserLinksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaUserLink, error)
Do executes the "analyticsadmin.properties.userLinks.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaUserLink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaUserLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesUserLinksPatchCall) Fields ¶
func (c *PropertiesUserLinksPatchCall) Fields(s ...googleapi.Field) *PropertiesUserLinksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesUserLinksPatchCall) Header ¶
func (c *PropertiesUserLinksPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesUserLinksService ¶
type PropertiesUserLinksService struct {
// contains filtered or unexported fields
}
func NewPropertiesUserLinksService ¶
func NewPropertiesUserLinksService(s *Service) *PropertiesUserLinksService
func (*PropertiesUserLinksService) Audit ¶
func (r *PropertiesUserLinksService) Audit(parent string, googleanalyticsadminv1alphaaudituserlinksrequest *GoogleAnalyticsAdminV1alphaAuditUserLinksRequest) *PropertiesUserLinksAuditCall
Audit: Lists all user links on an account or property, including implicit ones that come from effective permissions granted by groups or organization admin roles. If a returned user link does not have direct permissions, they cannot be removed from the account or property directly with the DeleteUserLink command. They have to be removed from the group/etc that gives them permissions, which is currently only usable/discoverable in the GA or GMP UIs.
func (*PropertiesUserLinksService) BatchCreate ¶
func (r *PropertiesUserLinksService) BatchCreate(parent string, googleanalyticsadminv1alphabatchcreateuserlinksrequest *GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest) *PropertiesUserLinksBatchCreateCall
BatchCreate: Creates information about multiple users' links to an account or property. This method is transactional. If any UserLink cannot be created, none of the UserLinks will be created.
func (*PropertiesUserLinksService) BatchDelete ¶
func (r *PropertiesUserLinksService) BatchDelete(parent string, googleanalyticsadminv1alphabatchdeleteuserlinksrequest *GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest) *PropertiesUserLinksBatchDeleteCall
BatchDelete: Deletes information about multiple users' links to an account or property.
func (*PropertiesUserLinksService) BatchGet ¶
func (r *PropertiesUserLinksService) BatchGet(parent string) *PropertiesUserLinksBatchGetCall
BatchGet: Gets information about multiple users' links to an account or property.
func (*PropertiesUserLinksService) BatchUpdate ¶
func (r *PropertiesUserLinksService) BatchUpdate(parent string, googleanalyticsadminv1alphabatchupdateuserlinksrequest *GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest) *PropertiesUserLinksBatchUpdateCall
BatchUpdate: Updates information about multiple users' links to an account or property.
func (*PropertiesUserLinksService) Create ¶
func (r *PropertiesUserLinksService) Create(parent string, googleanalyticsadminv1alphauserlink *GoogleAnalyticsAdminV1alphaUserLink) *PropertiesUserLinksCreateCall
Create: Creates a user link on an account or property. If the user with the specified email already has permissions on the account or property, then the user's existing permissions will be unioned with the permissions specified in the new UserLink.
func (*PropertiesUserLinksService) Delete ¶
func (r *PropertiesUserLinksService) Delete(name string) *PropertiesUserLinksDeleteCall
Delete: Deletes a user link on an account or property.
func (*PropertiesUserLinksService) Get ¶
func (r *PropertiesUserLinksService) Get(name string) *PropertiesUserLinksGetCall
Get: Gets information about a user's link to an account or property.
func (*PropertiesUserLinksService) List ¶
func (r *PropertiesUserLinksService) List(parent string) *PropertiesUserLinksListCall
List: Lists all user links on an account or property.
func (*PropertiesUserLinksService) Patch ¶
func (r *PropertiesUserLinksService) Patch(name string, googleanalyticsadminv1alphauserlink *GoogleAnalyticsAdminV1alphaUserLink) *PropertiesUserLinksPatchCall
Patch: Updates a user link on an account or property.
type PropertiesWebDataStreamsCreateCall ¶
type PropertiesWebDataStreamsCreateCall struct {
// contains filtered or unexported fields
}
func (*PropertiesWebDataStreamsCreateCall) Context ¶
func (c *PropertiesWebDataStreamsCreateCall) Context(ctx context.Context) *PropertiesWebDataStreamsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesWebDataStreamsCreateCall) Do ¶
func (c *PropertiesWebDataStreamsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaWebDataStream, error)
Do executes the "analyticsadmin.properties.webDataStreams.create" call. Exactly one of *GoogleAnalyticsAdminV1alphaWebDataStream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaWebDataStream.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesWebDataStreamsCreateCall) Fields ¶
func (c *PropertiesWebDataStreamsCreateCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesWebDataStreamsCreateCall) Header ¶
func (c *PropertiesWebDataStreamsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesWebDataStreamsDeleteCall ¶
type PropertiesWebDataStreamsDeleteCall struct {
// contains filtered or unexported fields
}
func (*PropertiesWebDataStreamsDeleteCall) Context ¶
func (c *PropertiesWebDataStreamsDeleteCall) Context(ctx context.Context) *PropertiesWebDataStreamsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesWebDataStreamsDeleteCall) Do ¶
func (c *PropertiesWebDataStreamsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "analyticsadmin.properties.webDataStreams.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesWebDataStreamsDeleteCall) Fields ¶
func (c *PropertiesWebDataStreamsDeleteCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesWebDataStreamsDeleteCall) Header ¶
func (c *PropertiesWebDataStreamsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type PropertiesWebDataStreamsGetCall ¶
type PropertiesWebDataStreamsGetCall struct {
// contains filtered or unexported fields
}
func (*PropertiesWebDataStreamsGetCall) Context ¶
func (c *PropertiesWebDataStreamsGetCall) Context(ctx context.Context) *PropertiesWebDataStreamsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesWebDataStreamsGetCall) Do ¶
func (c *PropertiesWebDataStreamsGetCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaWebDataStream, error)
Do executes the "analyticsadmin.properties.webDataStreams.get" call. Exactly one of *GoogleAnalyticsAdminV1alphaWebDataStream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaWebDataStream.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesWebDataStreamsGetCall) Fields ¶
func (c *PropertiesWebDataStreamsGetCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesWebDataStreamsGetCall) Header ¶
func (c *PropertiesWebDataStreamsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesWebDataStreamsGetCall) IfNoneMatch ¶
func (c *PropertiesWebDataStreamsGetCall) IfNoneMatch(entityTag string) *PropertiesWebDataStreamsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall ¶
type PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall struct {
// contains filtered or unexported fields
}
func (*PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Context ¶
func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Context(ctx context.Context) *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Do ¶
func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings, error)
Do executes the "analyticsadmin.properties.webDataStreams.getEnhancedMeasurementSettings" call. Exactly one of *GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.ServerResponse .Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Fields ¶
func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Header ¶
func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) IfNoneMatch ¶
func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) IfNoneMatch(entityTag string) *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type PropertiesWebDataStreamsGetGlobalSiteTagCall ¶
type PropertiesWebDataStreamsGetGlobalSiteTagCall struct {
// contains filtered or unexported fields
}
func (*PropertiesWebDataStreamsGetGlobalSiteTagCall) Context ¶
func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) Context(ctx context.Context) *PropertiesWebDataStreamsGetGlobalSiteTagCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesWebDataStreamsGetGlobalSiteTagCall) Do ¶
func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaGlobalSiteTag, error)
Do executes the "analyticsadmin.properties.webDataStreams.getGlobalSiteTag" call. Exactly one of *GoogleAnalyticsAdminV1alphaGlobalSiteTag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaGlobalSiteTag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesWebDataStreamsGetGlobalSiteTagCall) Fields ¶
func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsGetGlobalSiteTagCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesWebDataStreamsGetGlobalSiteTagCall) Header ¶
func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesWebDataStreamsGetGlobalSiteTagCall) IfNoneMatch ¶
func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) IfNoneMatch(entityTag string) *PropertiesWebDataStreamsGetGlobalSiteTagCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type PropertiesWebDataStreamsListCall ¶
type PropertiesWebDataStreamsListCall struct {
// contains filtered or unexported fields
}
func (*PropertiesWebDataStreamsListCall) Context ¶
func (c *PropertiesWebDataStreamsListCall) Context(ctx context.Context) *PropertiesWebDataStreamsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesWebDataStreamsListCall) Do ¶
func (c *PropertiesWebDataStreamsListCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse, error)
Do executes the "analyticsadmin.properties.webDataStreams.list" call. Exactly one of *GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse.ServerResponse. Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesWebDataStreamsListCall) Fields ¶
func (c *PropertiesWebDataStreamsListCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesWebDataStreamsListCall) Header ¶
func (c *PropertiesWebDataStreamsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesWebDataStreamsListCall) IfNoneMatch ¶
func (c *PropertiesWebDataStreamsListCall) IfNoneMatch(entityTag string) *PropertiesWebDataStreamsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*PropertiesWebDataStreamsListCall) PageSize ¶
func (c *PropertiesWebDataStreamsListCall) PageSize(pageSize int64) *PropertiesWebDataStreamsListCall
PageSize sets the optional parameter "pageSize": The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
func (*PropertiesWebDataStreamsListCall) PageToken ¶
func (c *PropertiesWebDataStreamsListCall) PageToken(pageToken string) *PropertiesWebDataStreamsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListWebDataStreams` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWebDataStreams` must match the call that provided the page token.
func (*PropertiesWebDataStreamsListCall) Pages ¶
func (c *PropertiesWebDataStreamsListCall) Pages(ctx context.Context, f func(*GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type PropertiesWebDataStreamsPatchCall ¶
type PropertiesWebDataStreamsPatchCall struct {
// contains filtered or unexported fields
}
func (*PropertiesWebDataStreamsPatchCall) Context ¶
func (c *PropertiesWebDataStreamsPatchCall) Context(ctx context.Context) *PropertiesWebDataStreamsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesWebDataStreamsPatchCall) Do ¶
func (c *PropertiesWebDataStreamsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaWebDataStream, error)
Do executes the "analyticsadmin.properties.webDataStreams.patch" call. Exactly one of *GoogleAnalyticsAdminV1alphaWebDataStream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaWebDataStream.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesWebDataStreamsPatchCall) Fields ¶
func (c *PropertiesWebDataStreamsPatchCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesWebDataStreamsPatchCall) Header ¶
func (c *PropertiesWebDataStreamsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesWebDataStreamsPatchCall) UpdateMask ¶
func (c *PropertiesWebDataStreamsPatchCall) UpdateMask(updateMask string) *PropertiesWebDataStreamsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
type PropertiesWebDataStreamsService ¶
type PropertiesWebDataStreamsService struct {
// contains filtered or unexported fields
}
func NewPropertiesWebDataStreamsService ¶
func NewPropertiesWebDataStreamsService(s *Service) *PropertiesWebDataStreamsService
func (*PropertiesWebDataStreamsService) Create ¶
func (r *PropertiesWebDataStreamsService) Create(parent string, googleanalyticsadminv1alphawebdatastream *GoogleAnalyticsAdminV1alphaWebDataStream) *PropertiesWebDataStreamsCreateCall
Create: Creates a web stream with the specified location and attributes.
func (*PropertiesWebDataStreamsService) Delete ¶
func (r *PropertiesWebDataStreamsService) Delete(name string) *PropertiesWebDataStreamsDeleteCall
Delete: Deletes a web stream on a property.
func (*PropertiesWebDataStreamsService) Get ¶
func (r *PropertiesWebDataStreamsService) Get(name string) *PropertiesWebDataStreamsGetCall
Get: Lookup for a single WebDataStream
func (*PropertiesWebDataStreamsService) GetEnhancedMeasurementSettings ¶
func (r *PropertiesWebDataStreamsService) GetEnhancedMeasurementSettings(name string) *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall
GetEnhancedMeasurementSettings: Returns the singleton enhanced measurement settings for this web stream. Note that the stream must enable enhanced measurement for these settings to take effect.
func (*PropertiesWebDataStreamsService) GetGlobalSiteTag ¶
func (r *PropertiesWebDataStreamsService) GetGlobalSiteTag(name string) *PropertiesWebDataStreamsGetGlobalSiteTagCall
GetGlobalSiteTag: Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
func (*PropertiesWebDataStreamsService) List ¶
func (r *PropertiesWebDataStreamsService) List(parent string) *PropertiesWebDataStreamsListCall
List: Returns child web data streams under the specified parent property. Web data streams will be excluded if the caller does not have access. Returns an empty list if no relevant web data streams are found.
func (*PropertiesWebDataStreamsService) Patch ¶
func (r *PropertiesWebDataStreamsService) Patch(name string, googleanalyticsadminv1alphawebdatastream *GoogleAnalyticsAdminV1alphaWebDataStream) *PropertiesWebDataStreamsPatchCall
Patch: Updates a web stream on a property.
func (*PropertiesWebDataStreamsService) UpdateEnhancedMeasurementSettings ¶
func (r *PropertiesWebDataStreamsService) UpdateEnhancedMeasurementSettings(name string, googleanalyticsadminv1alphaenhancedmeasurementsettings *GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings) *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall
UpdateEnhancedMeasurementSettings: Updates the singleton enhanced measurement settings for this web stream. Note that the stream must enable enhanced measurement for these settings to take effect.
type PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall ¶
type PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall struct {
// contains filtered or unexported fields
}
func (*PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Context ¶
func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Context(ctx context.Context) *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Do ¶
func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings, error)
Do executes the "analyticsadmin.properties.webDataStreams.updateEnhancedMeasurementSettings" call. Exactly one of *GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.ServerResponse .Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Fields ¶
func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Fields(s ...googleapi.Field) *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Header ¶
func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) UpdateMask ¶
func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) UpdateMask(updateMask string) *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall
UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment AccountSummaries *AccountSummariesService Accounts *AccountsService Properties *PropertiesService // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶
NewService creates a new Service.