Documentation
¶
Overview ¶
Package admin is an auto-generated package for the Google Analytics Admin API.
Manage properties in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning.
NOTE: This package is in alpha. It is not stable, and is likely to change.
General documentation ¶
For information that is relevant for all client libraries please reference https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this page includes:
- Authentication and Authorization
- Timeouts and Cancellation
- Testing against Client Libraries
- Debugging Client Libraries
- Inspecting errors
Example usage ¶
To get started with this package, create a client.
ctx := context.Background() // This snippet has been automatically generated and should be regarded as a code template only. // It will require modifications to work: // - It may require correct/in-range values for request initialization. // - It may require specifying regional endpoints when creating the service client as shown in: // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options c, err := admin.NewAnalyticsAdminClient(ctx) if err != nil { // TODO: Handle error. } defer c.Close()
The client will use your default application credentials. Clients should be reused instead of created as needed. The methods of Client are safe for concurrent use by multiple goroutines. The returned client must be Closed when it is done being used.
Using the Client ¶
The following is an example of making an API call with the newly created client.
ctx := context.Background() // This snippet has been automatically generated and should be regarded as a code template only. // It will require modifications to work: // - It may require correct/in-range values for request initialization. // - It may require specifying regional endpoints when creating the service client as shown in: // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options c, err := admin.NewAnalyticsAdminClient(ctx) if err != nil { // TODO: Handle error. } defer c.Close() req := &adminpb.AcknowledgeUserDataCollectionRequest{ // TODO: Fill request struct fields. // See https://pkg.go.dev/cloud.google.com/go/analytics/admin/apiv1alpha/adminpb#AcknowledgeUserDataCollectionRequest. } resp, err := c.AcknowledgeUserDataCollection(ctx, req) if err != nil { // TODO: Handle error. } // TODO: Use resp. _ = resp
Use of Context ¶
The ctx passed to NewAnalyticsAdminClient is used for authentication requests and for creating the underlying connection, but is not used for subsequent calls. Individual methods on the client use the ctx given to them.
To close the open connection, use the Close() method.
Index ¶
- func DefaultAuthScopes() []string
- type AccessBindingIterator
- type AccountIterator
- type AccountSummaryIterator
- type AdSenseLinkIterator
- type AnalyticsAdminCallOptions
- type AnalyticsAdminClient
- func (c *AnalyticsAdminClient) AcknowledgeUserDataCollection(ctx context.Context, req *adminpb.AcknowledgeUserDataCollectionRequest, ...) (*adminpb.AcknowledgeUserDataCollectionResponse, error)
- func (c *AnalyticsAdminClient) ApproveDisplayVideo360AdvertiserLinkProposal(ctx context.Context, ...) (*adminpb.ApproveDisplayVideo360AdvertiserLinkProposalResponse, error)
- func (c *AnalyticsAdminClient) ArchiveAudience(ctx context.Context, req *adminpb.ArchiveAudienceRequest, ...) error
- func (c *AnalyticsAdminClient) ArchiveCustomDimension(ctx context.Context, req *adminpb.ArchiveCustomDimensionRequest, ...) error
- func (c *AnalyticsAdminClient) ArchiveCustomMetric(ctx context.Context, req *adminpb.ArchiveCustomMetricRequest, ...) error
- func (c *AnalyticsAdminClient) BatchCreateAccessBindings(ctx context.Context, req *adminpb.BatchCreateAccessBindingsRequest, ...) (*adminpb.BatchCreateAccessBindingsResponse, error)
- func (c *AnalyticsAdminClient) BatchDeleteAccessBindings(ctx context.Context, req *adminpb.BatchDeleteAccessBindingsRequest, ...) error
- func (c *AnalyticsAdminClient) BatchGetAccessBindings(ctx context.Context, req *adminpb.BatchGetAccessBindingsRequest, ...) (*adminpb.BatchGetAccessBindingsResponse, error)
- func (c *AnalyticsAdminClient) BatchUpdateAccessBindings(ctx context.Context, req *adminpb.BatchUpdateAccessBindingsRequest, ...) (*adminpb.BatchUpdateAccessBindingsResponse, error)
- func (c *AnalyticsAdminClient) CancelDisplayVideo360AdvertiserLinkProposal(ctx context.Context, ...) (*adminpb.DisplayVideo360AdvertiserLinkProposal, error)
- func (c *AnalyticsAdminClient) Close() error
- func (c *AnalyticsAdminClient) Connection() *grpc.ClientConndeprecated
- func (c *AnalyticsAdminClient) CreateAccessBinding(ctx context.Context, req *adminpb.CreateAccessBindingRequest, ...) (*adminpb.AccessBinding, error)
- func (c *AnalyticsAdminClient) CreateAdSenseLink(ctx context.Context, req *adminpb.CreateAdSenseLinkRequest, ...) (*adminpb.AdSenseLink, error)
- func (c *AnalyticsAdminClient) CreateAudience(ctx context.Context, req *adminpb.CreateAudienceRequest, ...) (*adminpb.Audience, error)
- func (c *AnalyticsAdminClient) CreateCalculatedMetric(ctx context.Context, req *adminpb.CreateCalculatedMetricRequest, ...) (*adminpb.CalculatedMetric, error)
- func (c *AnalyticsAdminClient) CreateChannelGroup(ctx context.Context, req *adminpb.CreateChannelGroupRequest, ...) (*adminpb.ChannelGroup, error)
- func (c *AnalyticsAdminClient) CreateConnectedSiteTag(ctx context.Context, req *adminpb.CreateConnectedSiteTagRequest, ...) (*adminpb.CreateConnectedSiteTagResponse, error)
- func (c *AnalyticsAdminClient) CreateConversionEvent(ctx context.Context, req *adminpb.CreateConversionEventRequest, ...) (*adminpb.ConversionEvent, error)
- func (c *AnalyticsAdminClient) CreateCustomDimension(ctx context.Context, req *adminpb.CreateCustomDimensionRequest, ...) (*adminpb.CustomDimension, error)
- func (c *AnalyticsAdminClient) CreateCustomMetric(ctx context.Context, req *adminpb.CreateCustomMetricRequest, ...) (*adminpb.CustomMetric, error)
- func (c *AnalyticsAdminClient) CreateDataStream(ctx context.Context, req *adminpb.CreateDataStreamRequest, ...) (*adminpb.DataStream, error)
- func (c *AnalyticsAdminClient) CreateDisplayVideo360AdvertiserLink(ctx context.Context, req *adminpb.CreateDisplayVideo360AdvertiserLinkRequest, ...) (*adminpb.DisplayVideo360AdvertiserLink, error)
- func (c *AnalyticsAdminClient) CreateDisplayVideo360AdvertiserLinkProposal(ctx context.Context, ...) (*adminpb.DisplayVideo360AdvertiserLinkProposal, error)
- func (c *AnalyticsAdminClient) CreateEventCreateRule(ctx context.Context, req *adminpb.CreateEventCreateRuleRequest, ...) (*adminpb.EventCreateRule, error)
- func (c *AnalyticsAdminClient) CreateExpandedDataSet(ctx context.Context, req *adminpb.CreateExpandedDataSetRequest, ...) (*adminpb.ExpandedDataSet, error)
- func (c *AnalyticsAdminClient) CreateFirebaseLink(ctx context.Context, req *adminpb.CreateFirebaseLinkRequest, ...) (*adminpb.FirebaseLink, error)
- func (c *AnalyticsAdminClient) CreateGoogleAdsLink(ctx context.Context, req *adminpb.CreateGoogleAdsLinkRequest, ...) (*adminpb.GoogleAdsLink, error)
- func (c *AnalyticsAdminClient) CreateMeasurementProtocolSecret(ctx context.Context, req *adminpb.CreateMeasurementProtocolSecretRequest, ...) (*adminpb.MeasurementProtocolSecret, error)
- func (c *AnalyticsAdminClient) CreateProperty(ctx context.Context, req *adminpb.CreatePropertyRequest, ...) (*adminpb.Property, error)
- func (c *AnalyticsAdminClient) CreateRollupProperty(ctx context.Context, req *adminpb.CreateRollupPropertyRequest, ...) (*adminpb.CreateRollupPropertyResponse, error)
- func (c *AnalyticsAdminClient) CreateRollupPropertySourceLink(ctx context.Context, req *adminpb.CreateRollupPropertySourceLinkRequest, ...) (*adminpb.RollupPropertySourceLink, error)
- func (c *AnalyticsAdminClient) CreateSKAdNetworkConversionValueSchema(ctx context.Context, ...) (*adminpb.SKAdNetworkConversionValueSchema, error)
- func (c *AnalyticsAdminClient) CreateSearchAds360Link(ctx context.Context, req *adminpb.CreateSearchAds360LinkRequest, ...) (*adminpb.SearchAds360Link, error)
- func (c *AnalyticsAdminClient) CreateSubproperty(ctx context.Context, req *adminpb.CreateSubpropertyRequest, ...) (*adminpb.CreateSubpropertyResponse, error)
- func (c *AnalyticsAdminClient) CreateSubpropertyEventFilter(ctx context.Context, req *adminpb.CreateSubpropertyEventFilterRequest, ...) (*adminpb.SubpropertyEventFilter, error)
- func (c *AnalyticsAdminClient) DeleteAccessBinding(ctx context.Context, req *adminpb.DeleteAccessBindingRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteAccount(ctx context.Context, req *adminpb.DeleteAccountRequest, opts ...gax.CallOption) error
- func (c *AnalyticsAdminClient) DeleteAdSenseLink(ctx context.Context, req *adminpb.DeleteAdSenseLinkRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteCalculatedMetric(ctx context.Context, req *adminpb.DeleteCalculatedMetricRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteChannelGroup(ctx context.Context, req *adminpb.DeleteChannelGroupRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteConnectedSiteTag(ctx context.Context, req *adminpb.DeleteConnectedSiteTagRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteConversionEvent(ctx context.Context, req *adminpb.DeleteConversionEventRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteDataStream(ctx context.Context, req *adminpb.DeleteDataStreamRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteDisplayVideo360AdvertiserLink(ctx context.Context, req *adminpb.DeleteDisplayVideo360AdvertiserLinkRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteDisplayVideo360AdvertiserLinkProposal(ctx context.Context, ...) error
- func (c *AnalyticsAdminClient) DeleteEventCreateRule(ctx context.Context, req *adminpb.DeleteEventCreateRuleRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteExpandedDataSet(ctx context.Context, req *adminpb.DeleteExpandedDataSetRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteFirebaseLink(ctx context.Context, req *adminpb.DeleteFirebaseLinkRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteGoogleAdsLink(ctx context.Context, req *adminpb.DeleteGoogleAdsLinkRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteMeasurementProtocolSecret(ctx context.Context, req *adminpb.DeleteMeasurementProtocolSecretRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteProperty(ctx context.Context, req *adminpb.DeletePropertyRequest, ...) (*adminpb.Property, error)
- func (c *AnalyticsAdminClient) DeleteRollupPropertySourceLink(ctx context.Context, req *adminpb.DeleteRollupPropertySourceLinkRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteSKAdNetworkConversionValueSchema(ctx context.Context, ...) error
- func (c *AnalyticsAdminClient) DeleteSearchAds360Link(ctx context.Context, req *adminpb.DeleteSearchAds360LinkRequest, ...) error
- func (c *AnalyticsAdminClient) DeleteSubpropertyEventFilter(ctx context.Context, req *adminpb.DeleteSubpropertyEventFilterRequest, ...) error
- func (c *AnalyticsAdminClient) FetchAutomatedGa4ConfigurationOptOut(ctx context.Context, req *adminpb.FetchAutomatedGa4ConfigurationOptOutRequest, ...) (*adminpb.FetchAutomatedGa4ConfigurationOptOutResponse, error)
- func (c *AnalyticsAdminClient) FetchConnectedGa4Property(ctx context.Context, req *adminpb.FetchConnectedGa4PropertyRequest, ...) (*adminpb.FetchConnectedGa4PropertyResponse, error)
- func (c *AnalyticsAdminClient) GetAccessBinding(ctx context.Context, req *adminpb.GetAccessBindingRequest, ...) (*adminpb.AccessBinding, error)
- func (c *AnalyticsAdminClient) GetAccount(ctx context.Context, req *adminpb.GetAccountRequest, opts ...gax.CallOption) (*adminpb.Account, error)
- func (c *AnalyticsAdminClient) GetAdSenseLink(ctx context.Context, req *adminpb.GetAdSenseLinkRequest, ...) (*adminpb.AdSenseLink, error)
- func (c *AnalyticsAdminClient) GetAttributionSettings(ctx context.Context, req *adminpb.GetAttributionSettingsRequest, ...) (*adminpb.AttributionSettings, error)
- func (c *AnalyticsAdminClient) GetAudience(ctx context.Context, req *adminpb.GetAudienceRequest, opts ...gax.CallOption) (*adminpb.Audience, error)
- func (c *AnalyticsAdminClient) GetBigQueryLink(ctx context.Context, req *adminpb.GetBigQueryLinkRequest, ...) (*adminpb.BigQueryLink, error)
- func (c *AnalyticsAdminClient) GetCalculatedMetric(ctx context.Context, req *adminpb.GetCalculatedMetricRequest, ...) (*adminpb.CalculatedMetric, error)
- func (c *AnalyticsAdminClient) GetChannelGroup(ctx context.Context, req *adminpb.GetChannelGroupRequest, ...) (*adminpb.ChannelGroup, error)
- func (c *AnalyticsAdminClient) GetConversionEvent(ctx context.Context, req *adminpb.GetConversionEventRequest, ...) (*adminpb.ConversionEvent, error)
- func (c *AnalyticsAdminClient) GetCustomDimension(ctx context.Context, req *adminpb.GetCustomDimensionRequest, ...) (*adminpb.CustomDimension, error)
- func (c *AnalyticsAdminClient) GetCustomMetric(ctx context.Context, req *adminpb.GetCustomMetricRequest, ...) (*adminpb.CustomMetric, error)
- func (c *AnalyticsAdminClient) GetDataRedactionSettings(ctx context.Context, req *adminpb.GetDataRedactionSettingsRequest, ...) (*adminpb.DataRedactionSettings, error)
- func (c *AnalyticsAdminClient) GetDataRetentionSettings(ctx context.Context, req *adminpb.GetDataRetentionSettingsRequest, ...) (*adminpb.DataRetentionSettings, error)
- func (c *AnalyticsAdminClient) GetDataSharingSettings(ctx context.Context, req *adminpb.GetDataSharingSettingsRequest, ...) (*adminpb.DataSharingSettings, error)
- func (c *AnalyticsAdminClient) GetDataStream(ctx context.Context, req *adminpb.GetDataStreamRequest, opts ...gax.CallOption) (*adminpb.DataStream, error)
- func (c *AnalyticsAdminClient) GetDisplayVideo360AdvertiserLink(ctx context.Context, req *adminpb.GetDisplayVideo360AdvertiserLinkRequest, ...) (*adminpb.DisplayVideo360AdvertiserLink, error)
- func (c *AnalyticsAdminClient) GetDisplayVideo360AdvertiserLinkProposal(ctx context.Context, ...) (*adminpb.DisplayVideo360AdvertiserLinkProposal, error)
- func (c *AnalyticsAdminClient) GetEnhancedMeasurementSettings(ctx context.Context, req *adminpb.GetEnhancedMeasurementSettingsRequest, ...) (*adminpb.EnhancedMeasurementSettings, error)
- func (c *AnalyticsAdminClient) GetEventCreateRule(ctx context.Context, req *adminpb.GetEventCreateRuleRequest, ...) (*adminpb.EventCreateRule, error)
- func (c *AnalyticsAdminClient) GetExpandedDataSet(ctx context.Context, req *adminpb.GetExpandedDataSetRequest, ...) (*adminpb.ExpandedDataSet, error)
- func (c *AnalyticsAdminClient) GetGlobalSiteTag(ctx context.Context, req *adminpb.GetGlobalSiteTagRequest, ...) (*adminpb.GlobalSiteTag, error)
- func (c *AnalyticsAdminClient) GetGoogleSignalsSettings(ctx context.Context, req *adminpb.GetGoogleSignalsSettingsRequest, ...) (*adminpb.GoogleSignalsSettings, error)
- func (c *AnalyticsAdminClient) GetMeasurementProtocolSecret(ctx context.Context, req *adminpb.GetMeasurementProtocolSecretRequest, ...) (*adminpb.MeasurementProtocolSecret, error)
- func (c *AnalyticsAdminClient) GetProperty(ctx context.Context, req *adminpb.GetPropertyRequest, opts ...gax.CallOption) (*adminpb.Property, error)
- func (c *AnalyticsAdminClient) GetRollupPropertySourceLink(ctx context.Context, req *adminpb.GetRollupPropertySourceLinkRequest, ...) (*adminpb.RollupPropertySourceLink, error)
- func (c *AnalyticsAdminClient) GetSKAdNetworkConversionValueSchema(ctx context.Context, req *adminpb.GetSKAdNetworkConversionValueSchemaRequest, ...) (*adminpb.SKAdNetworkConversionValueSchema, error)
- func (c *AnalyticsAdminClient) GetSearchAds360Link(ctx context.Context, req *adminpb.GetSearchAds360LinkRequest, ...) (*adminpb.SearchAds360Link, error)
- func (c *AnalyticsAdminClient) GetSubpropertyEventFilter(ctx context.Context, req *adminpb.GetSubpropertyEventFilterRequest, ...) (*adminpb.SubpropertyEventFilter, error)
- func (c *AnalyticsAdminClient) ListAccessBindings(ctx context.Context, req *adminpb.ListAccessBindingsRequest, ...) *AccessBindingIterator
- func (c *AnalyticsAdminClient) ListAccountSummaries(ctx context.Context, req *adminpb.ListAccountSummariesRequest, ...) *AccountSummaryIterator
- func (c *AnalyticsAdminClient) ListAccounts(ctx context.Context, req *adminpb.ListAccountsRequest, opts ...gax.CallOption) *AccountIterator
- func (c *AnalyticsAdminClient) ListAdSenseLinks(ctx context.Context, req *adminpb.ListAdSenseLinksRequest, ...) *AdSenseLinkIterator
- func (c *AnalyticsAdminClient) ListAudiences(ctx context.Context, req *adminpb.ListAudiencesRequest, opts ...gax.CallOption) *AudienceIterator
- func (c *AnalyticsAdminClient) ListBigQueryLinks(ctx context.Context, req *adminpb.ListBigQueryLinksRequest, ...) *BigQueryLinkIterator
- func (c *AnalyticsAdminClient) ListCalculatedMetrics(ctx context.Context, req *adminpb.ListCalculatedMetricsRequest, ...) *CalculatedMetricIterator
- func (c *AnalyticsAdminClient) ListChannelGroups(ctx context.Context, req *adminpb.ListChannelGroupsRequest, ...) *ChannelGroupIterator
- func (c *AnalyticsAdminClient) ListConnectedSiteTags(ctx context.Context, req *adminpb.ListConnectedSiteTagsRequest, ...) (*adminpb.ListConnectedSiteTagsResponse, error)
- func (c *AnalyticsAdminClient) ListConversionEvents(ctx context.Context, req *adminpb.ListConversionEventsRequest, ...) *ConversionEventIterator
- func (c *AnalyticsAdminClient) ListCustomDimensions(ctx context.Context, req *adminpb.ListCustomDimensionsRequest, ...) *CustomDimensionIterator
- func (c *AnalyticsAdminClient) ListCustomMetrics(ctx context.Context, req *adminpb.ListCustomMetricsRequest, ...) *CustomMetricIterator
- func (c *AnalyticsAdminClient) ListDataStreams(ctx context.Context, req *adminpb.ListDataStreamsRequest, ...) *DataStreamIterator
- func (c *AnalyticsAdminClient) ListDisplayVideo360AdvertiserLinkProposals(ctx context.Context, ...) *DisplayVideo360AdvertiserLinkProposalIterator
- func (c *AnalyticsAdminClient) ListDisplayVideo360AdvertiserLinks(ctx context.Context, req *adminpb.ListDisplayVideo360AdvertiserLinksRequest, ...) *DisplayVideo360AdvertiserLinkIterator
- func (c *AnalyticsAdminClient) ListEventCreateRules(ctx context.Context, req *adminpb.ListEventCreateRulesRequest, ...) *EventCreateRuleIterator
- func (c *AnalyticsAdminClient) ListExpandedDataSets(ctx context.Context, req *adminpb.ListExpandedDataSetsRequest, ...) *ExpandedDataSetIterator
- func (c *AnalyticsAdminClient) ListFirebaseLinks(ctx context.Context, req *adminpb.ListFirebaseLinksRequest, ...) *FirebaseLinkIterator
- func (c *AnalyticsAdminClient) ListGoogleAdsLinks(ctx context.Context, req *adminpb.ListGoogleAdsLinksRequest, ...) *GoogleAdsLinkIterator
- func (c *AnalyticsAdminClient) ListMeasurementProtocolSecrets(ctx context.Context, req *adminpb.ListMeasurementProtocolSecretsRequest, ...) *MeasurementProtocolSecretIterator
- func (c *AnalyticsAdminClient) ListProperties(ctx context.Context, req *adminpb.ListPropertiesRequest, ...) *PropertyIterator
- func (c *AnalyticsAdminClient) ListRollupPropertySourceLinks(ctx context.Context, req *adminpb.ListRollupPropertySourceLinksRequest, ...) *RollupPropertySourceLinkIterator
- func (c *AnalyticsAdminClient) ListSKAdNetworkConversionValueSchemas(ctx context.Context, req *adminpb.ListSKAdNetworkConversionValueSchemasRequest, ...) *SKAdNetworkConversionValueSchemaIterator
- func (c *AnalyticsAdminClient) ListSearchAds360Links(ctx context.Context, req *adminpb.ListSearchAds360LinksRequest, ...) *SearchAds360LinkIterator
- func (c *AnalyticsAdminClient) ListSubpropertyEventFilters(ctx context.Context, req *adminpb.ListSubpropertyEventFiltersRequest, ...) *SubpropertyEventFilterIterator
- func (c *AnalyticsAdminClient) ProvisionAccountTicket(ctx context.Context, req *adminpb.ProvisionAccountTicketRequest, ...) (*adminpb.ProvisionAccountTicketResponse, error)
- func (c *AnalyticsAdminClient) RunAccessReport(ctx context.Context, req *adminpb.RunAccessReportRequest, ...) (*adminpb.RunAccessReportResponse, error)
- func (c *AnalyticsAdminClient) SearchChangeHistoryEvents(ctx context.Context, req *adminpb.SearchChangeHistoryEventsRequest, ...) *ChangeHistoryEventIterator
- func (c *AnalyticsAdminClient) SetAutomatedGa4ConfigurationOptOut(ctx context.Context, req *adminpb.SetAutomatedGa4ConfigurationOptOutRequest, ...) (*adminpb.SetAutomatedGa4ConfigurationOptOutResponse, error)
- func (c *AnalyticsAdminClient) UpdateAccessBinding(ctx context.Context, req *adminpb.UpdateAccessBindingRequest, ...) (*adminpb.AccessBinding, error)
- func (c *AnalyticsAdminClient) UpdateAccount(ctx context.Context, req *adminpb.UpdateAccountRequest, opts ...gax.CallOption) (*adminpb.Account, error)
- func (c *AnalyticsAdminClient) UpdateAttributionSettings(ctx context.Context, req *adminpb.UpdateAttributionSettingsRequest, ...) (*adminpb.AttributionSettings, error)
- func (c *AnalyticsAdminClient) UpdateAudience(ctx context.Context, req *adminpb.UpdateAudienceRequest, ...) (*adminpb.Audience, error)
- func (c *AnalyticsAdminClient) UpdateCalculatedMetric(ctx context.Context, req *adminpb.UpdateCalculatedMetricRequest, ...) (*adminpb.CalculatedMetric, error)
- func (c *AnalyticsAdminClient) UpdateChannelGroup(ctx context.Context, req *adminpb.UpdateChannelGroupRequest, ...) (*adminpb.ChannelGroup, error)
- func (c *AnalyticsAdminClient) UpdateConversionEvent(ctx context.Context, req *adminpb.UpdateConversionEventRequest, ...) (*adminpb.ConversionEvent, error)
- func (c *AnalyticsAdminClient) UpdateCustomDimension(ctx context.Context, req *adminpb.UpdateCustomDimensionRequest, ...) (*adminpb.CustomDimension, error)
- func (c *AnalyticsAdminClient) UpdateCustomMetric(ctx context.Context, req *adminpb.UpdateCustomMetricRequest, ...) (*adminpb.CustomMetric, error)
- func (c *AnalyticsAdminClient) UpdateDataRedactionSettings(ctx context.Context, req *adminpb.UpdateDataRedactionSettingsRequest, ...) (*adminpb.DataRedactionSettings, error)
- func (c *AnalyticsAdminClient) UpdateDataRetentionSettings(ctx context.Context, req *adminpb.UpdateDataRetentionSettingsRequest, ...) (*adminpb.DataRetentionSettings, error)
- func (c *AnalyticsAdminClient) UpdateDataStream(ctx context.Context, req *adminpb.UpdateDataStreamRequest, ...) (*adminpb.DataStream, error)
- func (c *AnalyticsAdminClient) UpdateDisplayVideo360AdvertiserLink(ctx context.Context, req *adminpb.UpdateDisplayVideo360AdvertiserLinkRequest, ...) (*adminpb.DisplayVideo360AdvertiserLink, error)
- func (c *AnalyticsAdminClient) UpdateEnhancedMeasurementSettings(ctx context.Context, req *adminpb.UpdateEnhancedMeasurementSettingsRequest, ...) (*adminpb.EnhancedMeasurementSettings, error)
- func (c *AnalyticsAdminClient) UpdateEventCreateRule(ctx context.Context, req *adminpb.UpdateEventCreateRuleRequest, ...) (*adminpb.EventCreateRule, error)
- func (c *AnalyticsAdminClient) UpdateExpandedDataSet(ctx context.Context, req *adminpb.UpdateExpandedDataSetRequest, ...) (*adminpb.ExpandedDataSet, error)
- func (c *AnalyticsAdminClient) UpdateGoogleAdsLink(ctx context.Context, req *adminpb.UpdateGoogleAdsLinkRequest, ...) (*adminpb.GoogleAdsLink, error)
- func (c *AnalyticsAdminClient) UpdateGoogleSignalsSettings(ctx context.Context, req *adminpb.UpdateGoogleSignalsSettingsRequest, ...) (*adminpb.GoogleSignalsSettings, error)
- func (c *AnalyticsAdminClient) UpdateMeasurementProtocolSecret(ctx context.Context, req *adminpb.UpdateMeasurementProtocolSecretRequest, ...) (*adminpb.MeasurementProtocolSecret, error)
- func (c *AnalyticsAdminClient) UpdateProperty(ctx context.Context, req *adminpb.UpdatePropertyRequest, ...) (*adminpb.Property, error)
- func (c *AnalyticsAdminClient) UpdateSKAdNetworkConversionValueSchema(ctx context.Context, ...) (*adminpb.SKAdNetworkConversionValueSchema, error)
- func (c *AnalyticsAdminClient) UpdateSearchAds360Link(ctx context.Context, req *adminpb.UpdateSearchAds360LinkRequest, ...) (*adminpb.SearchAds360Link, error)
- func (c *AnalyticsAdminClient) UpdateSubpropertyEventFilter(ctx context.Context, req *adminpb.UpdateSubpropertyEventFilterRequest, ...) (*adminpb.SubpropertyEventFilter, error)
- type AudienceIterator
- type BigQueryLinkIterator
- type CalculatedMetricIterator
- type ChangeHistoryEventIterator
- type ChannelGroupIterator
- type ConversionEventIterator
- type CustomDimensionIterator
- type CustomMetricIterator
- type DataStreamIterator
- type DisplayVideo360AdvertiserLinkIterator
- type DisplayVideo360AdvertiserLinkProposalIterator
- type EventCreateRuleIterator
- type ExpandedDataSetIterator
- type FirebaseLinkIterator
- type GoogleAdsLinkIterator
- type MeasurementProtocolSecretIterator
- type PropertyIterator
- type RollupPropertySourceLinkIterator
- type SKAdNetworkConversionValueSchemaIterator
- type SearchAds360LinkIterator
- type SubpropertyEventFilterIterator
Examples ¶
- AnalyticsAdminClient.AcknowledgeUserDataCollection
- AnalyticsAdminClient.ApproveDisplayVideo360AdvertiserLinkProposal
- AnalyticsAdminClient.ArchiveAudience
- AnalyticsAdminClient.ArchiveCustomDimension
- AnalyticsAdminClient.ArchiveCustomMetric
- AnalyticsAdminClient.BatchCreateAccessBindings
- AnalyticsAdminClient.BatchDeleteAccessBindings
- AnalyticsAdminClient.BatchGetAccessBindings
- AnalyticsAdminClient.BatchUpdateAccessBindings
- AnalyticsAdminClient.CancelDisplayVideo360AdvertiserLinkProposal
- AnalyticsAdminClient.CreateAccessBinding
- AnalyticsAdminClient.CreateAdSenseLink
- AnalyticsAdminClient.CreateAudience
- AnalyticsAdminClient.CreateCalculatedMetric
- AnalyticsAdminClient.CreateChannelGroup
- AnalyticsAdminClient.CreateConnectedSiteTag
- AnalyticsAdminClient.CreateConversionEvent
- AnalyticsAdminClient.CreateCustomDimension
- AnalyticsAdminClient.CreateCustomMetric
- AnalyticsAdminClient.CreateDataStream
- AnalyticsAdminClient.CreateDisplayVideo360AdvertiserLink
- AnalyticsAdminClient.CreateDisplayVideo360AdvertiserLinkProposal
- AnalyticsAdminClient.CreateEventCreateRule
- AnalyticsAdminClient.CreateExpandedDataSet
- AnalyticsAdminClient.CreateFirebaseLink
- AnalyticsAdminClient.CreateGoogleAdsLink
- AnalyticsAdminClient.CreateMeasurementProtocolSecret
- AnalyticsAdminClient.CreateProperty
- AnalyticsAdminClient.CreateRollupProperty
- AnalyticsAdminClient.CreateRollupPropertySourceLink
- AnalyticsAdminClient.CreateSKAdNetworkConversionValueSchema
- AnalyticsAdminClient.CreateSearchAds360Link
- AnalyticsAdminClient.CreateSubproperty
- AnalyticsAdminClient.CreateSubpropertyEventFilter
- AnalyticsAdminClient.DeleteAccessBinding
- AnalyticsAdminClient.DeleteAccount
- AnalyticsAdminClient.DeleteAdSenseLink
- AnalyticsAdminClient.DeleteCalculatedMetric
- AnalyticsAdminClient.DeleteChannelGroup
- AnalyticsAdminClient.DeleteConnectedSiteTag
- AnalyticsAdminClient.DeleteConversionEvent
- AnalyticsAdminClient.DeleteDataStream
- AnalyticsAdminClient.DeleteDisplayVideo360AdvertiserLink
- AnalyticsAdminClient.DeleteDisplayVideo360AdvertiserLinkProposal
- AnalyticsAdminClient.DeleteEventCreateRule
- AnalyticsAdminClient.DeleteExpandedDataSet
- AnalyticsAdminClient.DeleteFirebaseLink
- AnalyticsAdminClient.DeleteGoogleAdsLink
- AnalyticsAdminClient.DeleteMeasurementProtocolSecret
- AnalyticsAdminClient.DeleteProperty
- AnalyticsAdminClient.DeleteRollupPropertySourceLink
- AnalyticsAdminClient.DeleteSKAdNetworkConversionValueSchema
- AnalyticsAdminClient.DeleteSearchAds360Link
- AnalyticsAdminClient.DeleteSubpropertyEventFilter
- AnalyticsAdminClient.FetchAutomatedGa4ConfigurationOptOut
- AnalyticsAdminClient.FetchConnectedGa4Property
- AnalyticsAdminClient.GetAccessBinding
- AnalyticsAdminClient.GetAccount
- AnalyticsAdminClient.GetAdSenseLink
- AnalyticsAdminClient.GetAttributionSettings
- AnalyticsAdminClient.GetAudience
- AnalyticsAdminClient.GetBigQueryLink
- AnalyticsAdminClient.GetCalculatedMetric
- AnalyticsAdminClient.GetChannelGroup
- AnalyticsAdminClient.GetConversionEvent
- AnalyticsAdminClient.GetCustomDimension
- AnalyticsAdminClient.GetCustomMetric
- AnalyticsAdminClient.GetDataRedactionSettings
- AnalyticsAdminClient.GetDataRetentionSettings
- AnalyticsAdminClient.GetDataSharingSettings
- AnalyticsAdminClient.GetDataStream
- AnalyticsAdminClient.GetDisplayVideo360AdvertiserLink
- AnalyticsAdminClient.GetDisplayVideo360AdvertiserLinkProposal
- AnalyticsAdminClient.GetEnhancedMeasurementSettings
- AnalyticsAdminClient.GetEventCreateRule
- AnalyticsAdminClient.GetExpandedDataSet
- AnalyticsAdminClient.GetGlobalSiteTag
- AnalyticsAdminClient.GetGoogleSignalsSettings
- AnalyticsAdminClient.GetMeasurementProtocolSecret
- AnalyticsAdminClient.GetProperty
- AnalyticsAdminClient.GetRollupPropertySourceLink
- AnalyticsAdminClient.GetSKAdNetworkConversionValueSchema
- AnalyticsAdminClient.GetSearchAds360Link
- AnalyticsAdminClient.GetSubpropertyEventFilter
- AnalyticsAdminClient.ListAccessBindings
- AnalyticsAdminClient.ListAccountSummaries
- AnalyticsAdminClient.ListAccounts
- AnalyticsAdminClient.ListAdSenseLinks
- AnalyticsAdminClient.ListAudiences
- AnalyticsAdminClient.ListBigQueryLinks
- AnalyticsAdminClient.ListCalculatedMetrics
- AnalyticsAdminClient.ListChannelGroups
- AnalyticsAdminClient.ListConnectedSiteTags
- AnalyticsAdminClient.ListConversionEvents
- AnalyticsAdminClient.ListCustomDimensions
- AnalyticsAdminClient.ListCustomMetrics
- AnalyticsAdminClient.ListDataStreams
- AnalyticsAdminClient.ListDisplayVideo360AdvertiserLinkProposals
- AnalyticsAdminClient.ListDisplayVideo360AdvertiserLinks
- AnalyticsAdminClient.ListEventCreateRules
- AnalyticsAdminClient.ListExpandedDataSets
- AnalyticsAdminClient.ListFirebaseLinks
- AnalyticsAdminClient.ListGoogleAdsLinks
- AnalyticsAdminClient.ListMeasurementProtocolSecrets
- AnalyticsAdminClient.ListProperties
- AnalyticsAdminClient.ListRollupPropertySourceLinks
- AnalyticsAdminClient.ListSKAdNetworkConversionValueSchemas
- AnalyticsAdminClient.ListSearchAds360Links
- AnalyticsAdminClient.ListSubpropertyEventFilters
- AnalyticsAdminClient.ProvisionAccountTicket
- AnalyticsAdminClient.RunAccessReport
- AnalyticsAdminClient.SearchChangeHistoryEvents
- AnalyticsAdminClient.SetAutomatedGa4ConfigurationOptOut
- AnalyticsAdminClient.UpdateAccessBinding
- AnalyticsAdminClient.UpdateAccount
- AnalyticsAdminClient.UpdateAttributionSettings
- AnalyticsAdminClient.UpdateAudience
- AnalyticsAdminClient.UpdateCalculatedMetric
- AnalyticsAdminClient.UpdateChannelGroup
- AnalyticsAdminClient.UpdateConversionEvent
- AnalyticsAdminClient.UpdateCustomDimension
- AnalyticsAdminClient.UpdateCustomMetric
- AnalyticsAdminClient.UpdateDataRedactionSettings
- AnalyticsAdminClient.UpdateDataRetentionSettings
- AnalyticsAdminClient.UpdateDataStream
- AnalyticsAdminClient.UpdateDisplayVideo360AdvertiserLink
- AnalyticsAdminClient.UpdateEnhancedMeasurementSettings
- AnalyticsAdminClient.UpdateEventCreateRule
- AnalyticsAdminClient.UpdateExpandedDataSet
- AnalyticsAdminClient.UpdateGoogleAdsLink
- AnalyticsAdminClient.UpdateGoogleSignalsSettings
- AnalyticsAdminClient.UpdateMeasurementProtocolSecret
- AnalyticsAdminClient.UpdateProperty
- AnalyticsAdminClient.UpdateSKAdNetworkConversionValueSchema
- AnalyticsAdminClient.UpdateSearchAds360Link
- AnalyticsAdminClient.UpdateSubpropertyEventFilter
- NewAnalyticsAdminClient
- NewAnalyticsAdminRESTClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAuthScopes ¶
func DefaultAuthScopes() []string
DefaultAuthScopes reports the default set of authentication scopes to use with this package.
Types ¶
type AccessBindingIterator ¶ added in v0.18.0
type AccessBindingIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.AccessBinding, nextPageToken string, err error) // contains filtered or unexported fields }
AccessBindingIterator manages a stream of *adminpb.AccessBinding.
func (*AccessBindingIterator) Next ¶ added in v0.18.0
func (it *AccessBindingIterator) Next() (*adminpb.AccessBinding, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*AccessBindingIterator) PageInfo ¶ added in v0.18.0
func (it *AccessBindingIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type AccountIterator ¶
type AccountIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.Account, nextPageToken string, err error) // contains filtered or unexported fields }
AccountIterator manages a stream of *adminpb.Account.
func (*AccountIterator) Next ¶
func (it *AccountIterator) Next() (*adminpb.Account, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*AccountIterator) PageInfo ¶
func (it *AccountIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type AccountSummaryIterator ¶
type AccountSummaryIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.AccountSummary, nextPageToken string, err error) // contains filtered or unexported fields }
AccountSummaryIterator manages a stream of *adminpb.AccountSummary.
func (*AccountSummaryIterator) Next ¶
func (it *AccountSummaryIterator) Next() (*adminpb.AccountSummary, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*AccountSummaryIterator) PageInfo ¶
func (it *AccountSummaryIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type AdSenseLinkIterator ¶ added in v0.20.0
type AdSenseLinkIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.AdSenseLink, nextPageToken string, err error) // contains filtered or unexported fields }
AdSenseLinkIterator manages a stream of *adminpb.AdSenseLink.
func (*AdSenseLinkIterator) Next ¶ added in v0.20.0
func (it *AdSenseLinkIterator) Next() (*adminpb.AdSenseLink, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*AdSenseLinkIterator) PageInfo ¶ added in v0.20.0
func (it *AdSenseLinkIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type AnalyticsAdminCallOptions ¶
type AnalyticsAdminCallOptions struct { GetAccount []gax.CallOption ListAccounts []gax.CallOption DeleteAccount []gax.CallOption UpdateAccount []gax.CallOption ProvisionAccountTicket []gax.CallOption ListAccountSummaries []gax.CallOption GetProperty []gax.CallOption ListProperties []gax.CallOption CreateProperty []gax.CallOption DeleteProperty []gax.CallOption UpdateProperty []gax.CallOption CreateFirebaseLink []gax.CallOption DeleteFirebaseLink []gax.CallOption ListFirebaseLinks []gax.CallOption GetGlobalSiteTag []gax.CallOption CreateGoogleAdsLink []gax.CallOption UpdateGoogleAdsLink []gax.CallOption DeleteGoogleAdsLink []gax.CallOption ListGoogleAdsLinks []gax.CallOption GetDataSharingSettings []gax.CallOption GetMeasurementProtocolSecret []gax.CallOption ListMeasurementProtocolSecrets []gax.CallOption CreateMeasurementProtocolSecret []gax.CallOption DeleteMeasurementProtocolSecret []gax.CallOption UpdateMeasurementProtocolSecret []gax.CallOption AcknowledgeUserDataCollection []gax.CallOption GetSKAdNetworkConversionValueSchema []gax.CallOption CreateSKAdNetworkConversionValueSchema []gax.CallOption DeleteSKAdNetworkConversionValueSchema []gax.CallOption UpdateSKAdNetworkConversionValueSchema []gax.CallOption ListSKAdNetworkConversionValueSchemas []gax.CallOption SearchChangeHistoryEvents []gax.CallOption GetGoogleSignalsSettings []gax.CallOption UpdateGoogleSignalsSettings []gax.CallOption CreateConversionEvent []gax.CallOption UpdateConversionEvent []gax.CallOption GetConversionEvent []gax.CallOption DeleteConversionEvent []gax.CallOption ListConversionEvents []gax.CallOption GetDisplayVideo360AdvertiserLink []gax.CallOption ListDisplayVideo360AdvertiserLinks []gax.CallOption CreateDisplayVideo360AdvertiserLink []gax.CallOption DeleteDisplayVideo360AdvertiserLink []gax.CallOption UpdateDisplayVideo360AdvertiserLink []gax.CallOption GetDisplayVideo360AdvertiserLinkProposal []gax.CallOption ListDisplayVideo360AdvertiserLinkProposals []gax.CallOption CreateDisplayVideo360AdvertiserLinkProposal []gax.CallOption DeleteDisplayVideo360AdvertiserLinkProposal []gax.CallOption ApproveDisplayVideo360AdvertiserLinkProposal []gax.CallOption CancelDisplayVideo360AdvertiserLinkProposal []gax.CallOption CreateCustomDimension []gax.CallOption UpdateCustomDimension []gax.CallOption ListCustomDimensions []gax.CallOption ArchiveCustomDimension []gax.CallOption GetCustomDimension []gax.CallOption CreateCustomMetric []gax.CallOption UpdateCustomMetric []gax.CallOption ListCustomMetrics []gax.CallOption ArchiveCustomMetric []gax.CallOption GetCustomMetric []gax.CallOption GetDataRetentionSettings []gax.CallOption UpdateDataRetentionSettings []gax.CallOption CreateDataStream []gax.CallOption DeleteDataStream []gax.CallOption UpdateDataStream []gax.CallOption ListDataStreams []gax.CallOption GetDataStream []gax.CallOption GetAudience []gax.CallOption ListAudiences []gax.CallOption CreateAudience []gax.CallOption UpdateAudience []gax.CallOption ArchiveAudience []gax.CallOption GetSearchAds360Link []gax.CallOption ListSearchAds360Links []gax.CallOption CreateSearchAds360Link []gax.CallOption DeleteSearchAds360Link []gax.CallOption UpdateSearchAds360Link []gax.CallOption GetAttributionSettings []gax.CallOption UpdateAttributionSettings []gax.CallOption RunAccessReport []gax.CallOption CreateAccessBinding []gax.CallOption GetAccessBinding []gax.CallOption UpdateAccessBinding []gax.CallOption DeleteAccessBinding []gax.CallOption ListAccessBindings []gax.CallOption BatchCreateAccessBindings []gax.CallOption BatchGetAccessBindings []gax.CallOption BatchUpdateAccessBindings []gax.CallOption BatchDeleteAccessBindings []gax.CallOption GetExpandedDataSet []gax.CallOption ListExpandedDataSets []gax.CallOption CreateExpandedDataSet []gax.CallOption UpdateExpandedDataSet []gax.CallOption DeleteExpandedDataSet []gax.CallOption GetChannelGroup []gax.CallOption ListChannelGroups []gax.CallOption CreateChannelGroup []gax.CallOption UpdateChannelGroup []gax.CallOption DeleteChannelGroup []gax.CallOption SetAutomatedGa4ConfigurationOptOut []gax.CallOption FetchAutomatedGa4ConfigurationOptOut []gax.CallOption GetBigQueryLink []gax.CallOption ListBigQueryLinks []gax.CallOption GetEnhancedMeasurementSettings []gax.CallOption UpdateEnhancedMeasurementSettings []gax.CallOption CreateConnectedSiteTag []gax.CallOption DeleteConnectedSiteTag []gax.CallOption ListConnectedSiteTags []gax.CallOption FetchConnectedGa4Property []gax.CallOption GetAdSenseLink []gax.CallOption CreateAdSenseLink []gax.CallOption DeleteAdSenseLink []gax.CallOption ListAdSenseLinks []gax.CallOption GetEventCreateRule []gax.CallOption ListEventCreateRules []gax.CallOption CreateEventCreateRule []gax.CallOption UpdateEventCreateRule []gax.CallOption DeleteEventCreateRule []gax.CallOption UpdateDataRedactionSettings []gax.CallOption GetDataRedactionSettings []gax.CallOption GetCalculatedMetric []gax.CallOption CreateCalculatedMetric []gax.CallOption ListCalculatedMetrics []gax.CallOption UpdateCalculatedMetric []gax.CallOption DeleteCalculatedMetric []gax.CallOption CreateRollupProperty []gax.CallOption GetRollupPropertySourceLink []gax.CallOption ListRollupPropertySourceLinks []gax.CallOption CreateRollupPropertySourceLink []gax.CallOption DeleteRollupPropertySourceLink []gax.CallOption CreateSubproperty []gax.CallOption CreateSubpropertyEventFilter []gax.CallOption GetSubpropertyEventFilter []gax.CallOption ListSubpropertyEventFilters []gax.CallOption UpdateSubpropertyEventFilter []gax.CallOption DeleteSubpropertyEventFilter []gax.CallOption }
AnalyticsAdminCallOptions contains the retry settings for each method of AnalyticsAdminClient.
type AnalyticsAdminClient ¶
type AnalyticsAdminClient struct { // The call options for this service. CallOptions *AnalyticsAdminCallOptions // contains filtered or unexported fields }
AnalyticsAdminClient is a client for interacting with Google Analytics Admin API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service Interface for the Analytics Admin API (GA4).
func NewAnalyticsAdminClient ¶
func NewAnalyticsAdminClient(ctx context.Context, opts ...option.ClientOption) (*AnalyticsAdminClient, error)
NewAnalyticsAdminClient creates a new analytics admin service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service Interface for the Analytics Admin API (GA4).
func NewAnalyticsAdminRESTClient ¶ added in v0.8.0
func NewAnalyticsAdminRESTClient(ctx context.Context, opts ...option.ClientOption) (*AnalyticsAdminClient, error)
NewAnalyticsAdminRESTClient creates a new analytics admin service rest client.
Service Interface for the Analytics Admin API (GA4).
func (*AnalyticsAdminClient) AcknowledgeUserDataCollection ¶ added in v0.3.0
func (c *AnalyticsAdminClient) AcknowledgeUserDataCollection(ctx context.Context, req *adminpb.AcknowledgeUserDataCollectionRequest, opts ...gax.CallOption) (*adminpb.AcknowledgeUserDataCollectionResponse, error)
AcknowledgeUserDataCollection acknowledges the terms of user data collection for the specified property.
This acknowledgement must be completed (either in the Google Analytics UI or through this API) before MeasurementProtocolSecret resources may be created.
func (*AnalyticsAdminClient) ApproveDisplayVideo360AdvertiserLinkProposal ¶ added in v0.2.0
func (c *AnalyticsAdminClient) ApproveDisplayVideo360AdvertiserLinkProposal(ctx context.Context, req *adminpb.ApproveDisplayVideo360AdvertiserLinkProposalRequest, opts ...gax.CallOption) (*adminpb.ApproveDisplayVideo360AdvertiserLinkProposalResponse, error)
ApproveDisplayVideo360AdvertiserLinkProposal approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.
func (*AnalyticsAdminClient) ArchiveAudience ¶ added in v0.9.0
func (c *AnalyticsAdminClient) ArchiveAudience(ctx context.Context, req *adminpb.ArchiveAudienceRequest, opts ...gax.CallOption) error
ArchiveAudience archives an Audience on a property.
func (*AnalyticsAdminClient) ArchiveCustomDimension ¶
func (c *AnalyticsAdminClient) ArchiveCustomDimension(ctx context.Context, req *adminpb.ArchiveCustomDimensionRequest, opts ...gax.CallOption) error
ArchiveCustomDimension archives a CustomDimension on a property.
func (*AnalyticsAdminClient) ArchiveCustomMetric ¶
func (c *AnalyticsAdminClient) ArchiveCustomMetric(ctx context.Context, req *adminpb.ArchiveCustomMetricRequest, opts ...gax.CallOption) error
ArchiveCustomMetric archives a CustomMetric on a property.
func (*AnalyticsAdminClient) BatchCreateAccessBindings ¶ added in v0.18.0
func (c *AnalyticsAdminClient) BatchCreateAccessBindings(ctx context.Context, req *adminpb.BatchCreateAccessBindingsRequest, opts ...gax.CallOption) (*adminpb.BatchCreateAccessBindingsResponse, error)
BatchCreateAccessBindings creates information about multiple access bindings to an account or property.
This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be created.
func (*AnalyticsAdminClient) BatchDeleteAccessBindings ¶ added in v0.18.0
func (c *AnalyticsAdminClient) BatchDeleteAccessBindings(ctx context.Context, req *adminpb.BatchDeleteAccessBindingsRequest, opts ...gax.CallOption) error
BatchDeleteAccessBindings deletes information about multiple users’ links to an account or property.
func (*AnalyticsAdminClient) BatchGetAccessBindings ¶ added in v0.18.0
func (c *AnalyticsAdminClient) BatchGetAccessBindings(ctx context.Context, req *adminpb.BatchGetAccessBindingsRequest, opts ...gax.CallOption) (*adminpb.BatchGetAccessBindingsResponse, error)
BatchGetAccessBindings gets information about multiple access bindings to an account or property.
func (*AnalyticsAdminClient) BatchUpdateAccessBindings ¶ added in v0.18.0
func (c *AnalyticsAdminClient) BatchUpdateAccessBindings(ctx context.Context, req *adminpb.BatchUpdateAccessBindingsRequest, opts ...gax.CallOption) (*adminpb.BatchUpdateAccessBindingsResponse, error)
BatchUpdateAccessBindings updates information about multiple access bindings to an account or property.
func (*AnalyticsAdminClient) CancelDisplayVideo360AdvertiserLinkProposal ¶ added in v0.2.0
func (c *AnalyticsAdminClient) CancelDisplayVideo360AdvertiserLinkProposal(ctx context.Context, req *adminpb.CancelDisplayVideo360AdvertiserLinkProposalRequest, opts ...gax.CallOption) (*adminpb.DisplayVideo360AdvertiserLinkProposal, error)
CancelDisplayVideo360AdvertiserLinkProposal cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either:
Declining a proposal initiated from Display & Video 360 Withdrawing a proposal initiated from Google Analytics After being cancelled, a proposal will eventually be deleted automatically.
func (*AnalyticsAdminClient) Close ¶
func (c *AnalyticsAdminClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AnalyticsAdminClient) Connection
deprecated
func (c *AnalyticsAdminClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*AnalyticsAdminClient) CreateAccessBinding ¶ added in v0.18.0
func (c *AnalyticsAdminClient) CreateAccessBinding(ctx context.Context, req *adminpb.CreateAccessBindingRequest, opts ...gax.CallOption) (*adminpb.AccessBinding, error)
CreateAccessBinding creates an access binding on an account or property.
func (*AnalyticsAdminClient) CreateAdSenseLink ¶ added in v0.20.0
func (c *AnalyticsAdminClient) CreateAdSenseLink(ctx context.Context, req *adminpb.CreateAdSenseLinkRequest, opts ...gax.CallOption) (*adminpb.AdSenseLink, error)
CreateAdSenseLink creates an AdSenseLink.
func (*AnalyticsAdminClient) CreateAudience ¶ added in v0.9.0
func (c *AnalyticsAdminClient) CreateAudience(ctx context.Context, req *adminpb.CreateAudienceRequest, opts ...gax.CallOption) (*adminpb.Audience, error)
CreateAudience creates an Audience.
func (*AnalyticsAdminClient) CreateCalculatedMetric ¶ added in v0.23.0
func (c *AnalyticsAdminClient) CreateCalculatedMetric(ctx context.Context, req *adminpb.CreateCalculatedMetricRequest, opts ...gax.CallOption) (*adminpb.CalculatedMetric, error)
CreateCalculatedMetric creates a CalculatedMetric.
func (*AnalyticsAdminClient) CreateChannelGroup ¶ added in v0.19.1
func (c *AnalyticsAdminClient) CreateChannelGroup(ctx context.Context, req *adminpb.CreateChannelGroupRequest, opts ...gax.CallOption) (*adminpb.ChannelGroup, error)
CreateChannelGroup creates a ChannelGroup.
func (*AnalyticsAdminClient) CreateConnectedSiteTag ¶ added in v0.19.0
func (c *AnalyticsAdminClient) CreateConnectedSiteTag(ctx context.Context, req *adminpb.CreateConnectedSiteTagRequest, opts ...gax.CallOption) (*adminpb.CreateConnectedSiteTagResponse, error)
CreateConnectedSiteTag creates a connected site tag for a Universal Analytics property. You can create a maximum of 20 connected site tags per property. Note: This API cannot be used on GA4 properties.
func (*AnalyticsAdminClient) CreateConversionEvent ¶
func (c *AnalyticsAdminClient) CreateConversionEvent(ctx context.Context, req *adminpb.CreateConversionEventRequest, opts ...gax.CallOption) (*adminpb.ConversionEvent, error)
CreateConversionEvent creates a conversion event with the specified attributes.
func (*AnalyticsAdminClient) CreateCustomDimension ¶
func (c *AnalyticsAdminClient) CreateCustomDimension(ctx context.Context, req *adminpb.CreateCustomDimensionRequest, opts ...gax.CallOption) (*adminpb.CustomDimension, error)
CreateCustomDimension creates a CustomDimension.
func (*AnalyticsAdminClient) CreateCustomMetric ¶
func (c *AnalyticsAdminClient) CreateCustomMetric(ctx context.Context, req *adminpb.CreateCustomMetricRequest, opts ...gax.CallOption) (*adminpb.CustomMetric, error)
CreateCustomMetric creates a CustomMetric.
func (*AnalyticsAdminClient) CreateDataStream ¶ added in v0.3.0
func (c *AnalyticsAdminClient) CreateDataStream(ctx context.Context, req *adminpb.CreateDataStreamRequest, opts ...gax.CallOption) (*adminpb.DataStream, error)
CreateDataStream creates a DataStream.
func (*AnalyticsAdminClient) CreateDisplayVideo360AdvertiserLink ¶ added in v0.2.0
func (c *AnalyticsAdminClient) CreateDisplayVideo360AdvertiserLink(ctx context.Context, req *adminpb.CreateDisplayVideo360AdvertiserLinkRequest, opts ...gax.CallOption) (*adminpb.DisplayVideo360AdvertiserLink, error)
CreateDisplayVideo360AdvertiserLink creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.
func (*AnalyticsAdminClient) CreateDisplayVideo360AdvertiserLinkProposal ¶ added in v0.2.0
func (c *AnalyticsAdminClient) CreateDisplayVideo360AdvertiserLinkProposal(ctx context.Context, req *adminpb.CreateDisplayVideo360AdvertiserLinkProposalRequest, opts ...gax.CallOption) (*adminpb.DisplayVideo360AdvertiserLinkProposal, error)
CreateDisplayVideo360AdvertiserLinkProposal creates a DisplayVideo360AdvertiserLinkProposal.
func (*AnalyticsAdminClient) CreateEventCreateRule ¶ added in v0.20.0
func (c *AnalyticsAdminClient) CreateEventCreateRule(ctx context.Context, req *adminpb.CreateEventCreateRuleRequest, opts ...gax.CallOption) (*adminpb.EventCreateRule, error)
CreateEventCreateRule creates an EventCreateRule.
func (*AnalyticsAdminClient) CreateExpandedDataSet ¶ added in v0.18.0
func (c *AnalyticsAdminClient) CreateExpandedDataSet(ctx context.Context, req *adminpb.CreateExpandedDataSetRequest, opts ...gax.CallOption) (*adminpb.ExpandedDataSet, error)
CreateExpandedDataSet creates a ExpandedDataSet.
func (*AnalyticsAdminClient) CreateFirebaseLink ¶
func (c *AnalyticsAdminClient) CreateFirebaseLink(ctx context.Context, req *adminpb.CreateFirebaseLinkRequest, opts ...gax.CallOption) (*adminpb.FirebaseLink, error)
CreateFirebaseLink creates a FirebaseLink.
Properties can have at most one FirebaseLink.
func (*AnalyticsAdminClient) CreateGoogleAdsLink ¶
func (c *AnalyticsAdminClient) CreateGoogleAdsLink(ctx context.Context, req *adminpb.CreateGoogleAdsLinkRequest, opts ...gax.CallOption) (*adminpb.GoogleAdsLink, error)
CreateGoogleAdsLink creates a GoogleAdsLink.
func (*AnalyticsAdminClient) CreateMeasurementProtocolSecret ¶
func (c *AnalyticsAdminClient) CreateMeasurementProtocolSecret(ctx context.Context, req *adminpb.CreateMeasurementProtocolSecretRequest, opts ...gax.CallOption) (*adminpb.MeasurementProtocolSecret, error)
CreateMeasurementProtocolSecret creates a measurement protocol secret.
func (*AnalyticsAdminClient) CreateProperty ¶
func (c *AnalyticsAdminClient) CreateProperty(ctx context.Context, req *adminpb.CreatePropertyRequest, opts ...gax.CallOption) (*adminpb.Property, error)
CreateProperty creates an “GA4” property with the specified location and attributes.
func (*AnalyticsAdminClient) CreateRollupProperty ¶ added in v0.21.6
func (c *AnalyticsAdminClient) CreateRollupProperty(ctx context.Context, req *adminpb.CreateRollupPropertyRequest, opts ...gax.CallOption) (*adminpb.CreateRollupPropertyResponse, error)
CreateRollupProperty create a roll-up property and all roll-up property source links.
func (*AnalyticsAdminClient) CreateRollupPropertySourceLink ¶ added in v0.21.6
func (c *AnalyticsAdminClient) CreateRollupPropertySourceLink(ctx context.Context, req *adminpb.CreateRollupPropertySourceLinkRequest, opts ...gax.CallOption) (*adminpb.RollupPropertySourceLink, error)
CreateRollupPropertySourceLink creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
func (*AnalyticsAdminClient) CreateSKAdNetworkConversionValueSchema ¶ added in v0.21.4
func (c *AnalyticsAdminClient) CreateSKAdNetworkConversionValueSchema(ctx context.Context, req *adminpb.CreateSKAdNetworkConversionValueSchemaRequest, opts ...gax.CallOption) (*adminpb.SKAdNetworkConversionValueSchema, error)
CreateSKAdNetworkConversionValueSchema creates a SKAdNetworkConversionValueSchema.
func (*AnalyticsAdminClient) CreateSearchAds360Link ¶ added in v0.17.0
func (c *AnalyticsAdminClient) CreateSearchAds360Link(ctx context.Context, req *adminpb.CreateSearchAds360LinkRequest, opts ...gax.CallOption) (*adminpb.SearchAds360Link, error)
CreateSearchAds360Link creates a SearchAds360Link.
func (*AnalyticsAdminClient) CreateSubproperty ¶ added in v0.21.6
func (c *AnalyticsAdminClient) CreateSubproperty(ctx context.Context, req *adminpb.CreateSubpropertyRequest, opts ...gax.CallOption) (*adminpb.CreateSubpropertyResponse, error)
CreateSubproperty create a subproperty and a subproperty event filter that applies to the created subproperty.
func (*AnalyticsAdminClient) CreateSubpropertyEventFilter ¶ added in v0.21.6
func (c *AnalyticsAdminClient) CreateSubpropertyEventFilter(ctx context.Context, req *adminpb.CreateSubpropertyEventFilterRequest, opts ...gax.CallOption) (*adminpb.SubpropertyEventFilter, error)
CreateSubpropertyEventFilter creates a subproperty Event Filter.
func (*AnalyticsAdminClient) DeleteAccessBinding ¶ added in v0.18.0
func (c *AnalyticsAdminClient) DeleteAccessBinding(ctx context.Context, req *adminpb.DeleteAccessBindingRequest, opts ...gax.CallOption) error
DeleteAccessBinding deletes an access binding on an account or property.
func (*AnalyticsAdminClient) DeleteAccount ¶
func (c *AnalyticsAdminClient) DeleteAccount(ctx context.Context, req *adminpb.DeleteAccountRequest, opts ...gax.CallOption) error
DeleteAccount 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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 (at https://support.google.com/analytics/answer/6154772)
Returns an error if the target is not found.
func (*AnalyticsAdminClient) DeleteAdSenseLink ¶ added in v0.20.0
func (c *AnalyticsAdminClient) DeleteAdSenseLink(ctx context.Context, req *adminpb.DeleteAdSenseLinkRequest, opts ...gax.CallOption) error
DeleteAdSenseLink deletes an AdSenseLink.
func (*AnalyticsAdminClient) DeleteCalculatedMetric ¶ added in v0.23.0
func (c *AnalyticsAdminClient) DeleteCalculatedMetric(ctx context.Context, req *adminpb.DeleteCalculatedMetricRequest, opts ...gax.CallOption) error
DeleteCalculatedMetric deletes a CalculatedMetric on a property.
func (*AnalyticsAdminClient) DeleteChannelGroup ¶ added in v0.19.1
func (c *AnalyticsAdminClient) DeleteChannelGroup(ctx context.Context, req *adminpb.DeleteChannelGroupRequest, opts ...gax.CallOption) error
DeleteChannelGroup deletes a ChannelGroup on a property.
func (*AnalyticsAdminClient) DeleteConnectedSiteTag ¶ added in v0.19.0
func (c *AnalyticsAdminClient) DeleteConnectedSiteTag(ctx context.Context, req *adminpb.DeleteConnectedSiteTagRequest, opts ...gax.CallOption) error
DeleteConnectedSiteTag deletes a connected site tag for a Universal Analytics property. Note: this has no effect on GA4 properties.
func (*AnalyticsAdminClient) DeleteConversionEvent ¶
func (c *AnalyticsAdminClient) DeleteConversionEvent(ctx context.Context, req *adminpb.DeleteConversionEventRequest, opts ...gax.CallOption) error
DeleteConversionEvent deletes a conversion event in a property.
func (*AnalyticsAdminClient) DeleteDataStream ¶ added in v0.3.0
func (c *AnalyticsAdminClient) DeleteDataStream(ctx context.Context, req *adminpb.DeleteDataStreamRequest, opts ...gax.CallOption) error
DeleteDataStream deletes a DataStream on a property.
func (*AnalyticsAdminClient) DeleteDisplayVideo360AdvertiserLink ¶ added in v0.2.0
func (c *AnalyticsAdminClient) DeleteDisplayVideo360AdvertiserLink(ctx context.Context, req *adminpb.DeleteDisplayVideo360AdvertiserLinkRequest, opts ...gax.CallOption) error
DeleteDisplayVideo360AdvertiserLink deletes a DisplayVideo360AdvertiserLink on a property.
func (*AnalyticsAdminClient) DeleteDisplayVideo360AdvertiserLinkProposal ¶ added in v0.2.0
func (c *AnalyticsAdminClient) DeleteDisplayVideo360AdvertiserLinkProposal(ctx context.Context, req *adminpb.DeleteDisplayVideo360AdvertiserLinkProposalRequest, opts ...gax.CallOption) error
DeleteDisplayVideo360AdvertiserLinkProposal deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.
func (*AnalyticsAdminClient) DeleteEventCreateRule ¶ added in v0.20.0
func (c *AnalyticsAdminClient) DeleteEventCreateRule(ctx context.Context, req *adminpb.DeleteEventCreateRuleRequest, opts ...gax.CallOption) error
DeleteEventCreateRule deletes an EventCreateRule.
func (*AnalyticsAdminClient) DeleteExpandedDataSet ¶ added in v0.18.0
func (c *AnalyticsAdminClient) DeleteExpandedDataSet(ctx context.Context, req *adminpb.DeleteExpandedDataSetRequest, opts ...gax.CallOption) error
DeleteExpandedDataSet deletes a ExpandedDataSet on a property.
func (*AnalyticsAdminClient) DeleteFirebaseLink ¶
func (c *AnalyticsAdminClient) DeleteFirebaseLink(ctx context.Context, req *adminpb.DeleteFirebaseLinkRequest, opts ...gax.CallOption) error
DeleteFirebaseLink deletes a FirebaseLink on a property
func (*AnalyticsAdminClient) DeleteGoogleAdsLink ¶
func (c *AnalyticsAdminClient) DeleteGoogleAdsLink(ctx context.Context, req *adminpb.DeleteGoogleAdsLinkRequest, opts ...gax.CallOption) error
DeleteGoogleAdsLink deletes a GoogleAdsLink on a property
func (*AnalyticsAdminClient) DeleteMeasurementProtocolSecret ¶
func (c *AnalyticsAdminClient) DeleteMeasurementProtocolSecret(ctx context.Context, req *adminpb.DeleteMeasurementProtocolSecretRequest, opts ...gax.CallOption) error
DeleteMeasurementProtocolSecret deletes target MeasurementProtocolSecret.
func (*AnalyticsAdminClient) DeleteProperty ¶
func (c *AnalyticsAdminClient) DeleteProperty(ctx context.Context, req *adminpb.DeletePropertyRequest, opts ...gax.CallOption) (*adminpb.Property, error)
DeleteProperty 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, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 (at https://support.google.com/analytics/answer/6154772)
Returns an error if the target is not found, or is not a GA4 Property.
func (*AnalyticsAdminClient) DeleteRollupPropertySourceLink ¶ added in v0.21.6
func (c *AnalyticsAdminClient) DeleteRollupPropertySourceLink(ctx context.Context, req *adminpb.DeleteRollupPropertySourceLinkRequest, opts ...gax.CallOption) error
DeleteRollupPropertySourceLink deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
func (*AnalyticsAdminClient) DeleteSKAdNetworkConversionValueSchema ¶ added in v0.21.4
func (c *AnalyticsAdminClient) DeleteSKAdNetworkConversionValueSchema(ctx context.Context, req *adminpb.DeleteSKAdNetworkConversionValueSchemaRequest, opts ...gax.CallOption) error
DeleteSKAdNetworkConversionValueSchema deletes target SKAdNetworkConversionValueSchema.
func (*AnalyticsAdminClient) DeleteSearchAds360Link ¶ added in v0.17.0
func (c *AnalyticsAdminClient) DeleteSearchAds360Link(ctx context.Context, req *adminpb.DeleteSearchAds360LinkRequest, opts ...gax.CallOption) error
DeleteSearchAds360Link deletes a SearchAds360Link on a property.
func (*AnalyticsAdminClient) DeleteSubpropertyEventFilter ¶ added in v0.21.6
func (c *AnalyticsAdminClient) DeleteSubpropertyEventFilter(ctx context.Context, req *adminpb.DeleteSubpropertyEventFilterRequest, opts ...gax.CallOption) error
DeleteSubpropertyEventFilter deletes a subproperty event filter.
func (*AnalyticsAdminClient) FetchAutomatedGa4ConfigurationOptOut ¶ added in v0.17.0
func (c *AnalyticsAdminClient) FetchAutomatedGa4ConfigurationOptOut(ctx context.Context, req *adminpb.FetchAutomatedGa4ConfigurationOptOutRequest, opts ...gax.CallOption) (*adminpb.FetchAutomatedGa4ConfigurationOptOutResponse, error)
FetchAutomatedGa4ConfigurationOptOut fetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
func (*AnalyticsAdminClient) FetchConnectedGa4Property ¶ added in v0.19.1
func (c *AnalyticsAdminClient) FetchConnectedGa4Property(ctx context.Context, req *adminpb.FetchConnectedGa4PropertyRequest, opts ...gax.CallOption) (*adminpb.FetchConnectedGa4PropertyResponse, error)
FetchConnectedGa4Property given a specified UA property, looks up the GA4 property connected to it. Note: this cannot be used with GA4 properties.
func (*AnalyticsAdminClient) GetAccessBinding ¶ added in v0.18.0
func (c *AnalyticsAdminClient) GetAccessBinding(ctx context.Context, req *adminpb.GetAccessBindingRequest, opts ...gax.CallOption) (*adminpb.AccessBinding, error)
GetAccessBinding gets information about an access binding.
func (*AnalyticsAdminClient) GetAccount ¶
func (c *AnalyticsAdminClient) GetAccount(ctx context.Context, req *adminpb.GetAccountRequest, opts ...gax.CallOption) (*adminpb.Account, error)
GetAccount lookup for a single Account.
func (*AnalyticsAdminClient) GetAdSenseLink ¶ added in v0.20.0
func (c *AnalyticsAdminClient) GetAdSenseLink(ctx context.Context, req *adminpb.GetAdSenseLinkRequest, opts ...gax.CallOption) (*adminpb.AdSenseLink, error)
GetAdSenseLink looks up a single AdSenseLink.
func (*AnalyticsAdminClient) GetAttributionSettings ¶ added in v0.9.0
func (c *AnalyticsAdminClient) GetAttributionSettings(ctx context.Context, req *adminpb.GetAttributionSettingsRequest, opts ...gax.CallOption) (*adminpb.AttributionSettings, error)
GetAttributionSettings lookup for a AttributionSettings singleton.
func (*AnalyticsAdminClient) GetAudience ¶ added in v0.9.0
func (c *AnalyticsAdminClient) GetAudience(ctx context.Context, req *adminpb.GetAudienceRequest, opts ...gax.CallOption) (*adminpb.Audience, error)
GetAudience lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
func (*AnalyticsAdminClient) GetBigQueryLink ¶ added in v0.17.0
func (c *AnalyticsAdminClient) GetBigQueryLink(ctx context.Context, req *adminpb.GetBigQueryLinkRequest, opts ...gax.CallOption) (*adminpb.BigQueryLink, error)
GetBigQueryLink lookup for a single BigQuery Link.
func (*AnalyticsAdminClient) GetCalculatedMetric ¶ added in v0.23.0
func (c *AnalyticsAdminClient) GetCalculatedMetric(ctx context.Context, req *adminpb.GetCalculatedMetricRequest, opts ...gax.CallOption) (*adminpb.CalculatedMetric, error)
GetCalculatedMetric lookup for a single CalculatedMetric.
func (*AnalyticsAdminClient) GetChannelGroup ¶ added in v0.19.1
func (c *AnalyticsAdminClient) GetChannelGroup(ctx context.Context, req *adminpb.GetChannelGroupRequest, opts ...gax.CallOption) (*adminpb.ChannelGroup, error)
GetChannelGroup lookup for a single ChannelGroup.
func (*AnalyticsAdminClient) GetConversionEvent ¶
func (c *AnalyticsAdminClient) GetConversionEvent(ctx context.Context, req *adminpb.GetConversionEventRequest, opts ...gax.CallOption) (*adminpb.ConversionEvent, error)
GetConversionEvent retrieve a single conversion event.
func (*AnalyticsAdminClient) GetCustomDimension ¶
func (c *AnalyticsAdminClient) GetCustomDimension(ctx context.Context, req *adminpb.GetCustomDimensionRequest, opts ...gax.CallOption) (*adminpb.CustomDimension, error)
GetCustomDimension lookup for a single CustomDimension.
func (*AnalyticsAdminClient) GetCustomMetric ¶
func (c *AnalyticsAdminClient) GetCustomMetric(ctx context.Context, req *adminpb.GetCustomMetricRequest, opts ...gax.CallOption) (*adminpb.CustomMetric, error)
GetCustomMetric lookup for a single CustomMetric.
func (*AnalyticsAdminClient) GetDataRedactionSettings ¶ added in v0.21.6
func (c *AnalyticsAdminClient) GetDataRedactionSettings(ctx context.Context, req *adminpb.GetDataRedactionSettingsRequest, opts ...gax.CallOption) (*adminpb.DataRedactionSettings, error)
GetDataRedactionSettings lookup for a single DataRedactionSettings.
func (*AnalyticsAdminClient) GetDataRetentionSettings ¶ added in v0.2.0
func (c *AnalyticsAdminClient) GetDataRetentionSettings(ctx context.Context, req *adminpb.GetDataRetentionSettingsRequest, opts ...gax.CallOption) (*adminpb.DataRetentionSettings, error)
GetDataRetentionSettings returns the singleton data retention settings for this property.
func (*AnalyticsAdminClient) GetDataSharingSettings ¶
func (c *AnalyticsAdminClient) GetDataSharingSettings(ctx context.Context, req *adminpb.GetDataSharingSettingsRequest, opts ...gax.CallOption) (*adminpb.DataSharingSettings, error)
GetDataSharingSettings get data sharing settings on an account. Data sharing settings are singletons.
func (*AnalyticsAdminClient) GetDataStream ¶ added in v0.3.0
func (c *AnalyticsAdminClient) GetDataStream(ctx context.Context, req *adminpb.GetDataStreamRequest, opts ...gax.CallOption) (*adminpb.DataStream, error)
GetDataStream lookup for a single DataStream.
func (*AnalyticsAdminClient) GetDisplayVideo360AdvertiserLink ¶ added in v0.2.0
func (c *AnalyticsAdminClient) GetDisplayVideo360AdvertiserLink(ctx context.Context, req *adminpb.GetDisplayVideo360AdvertiserLinkRequest, opts ...gax.CallOption) (*adminpb.DisplayVideo360AdvertiserLink, error)
GetDisplayVideo360AdvertiserLink look up a single DisplayVideo360AdvertiserLink
func (*AnalyticsAdminClient) GetDisplayVideo360AdvertiserLinkProposal ¶ added in v0.2.0
func (c *AnalyticsAdminClient) GetDisplayVideo360AdvertiserLinkProposal(ctx context.Context, req *adminpb.GetDisplayVideo360AdvertiserLinkProposalRequest, opts ...gax.CallOption) (*adminpb.DisplayVideo360AdvertiserLinkProposal, error)
GetDisplayVideo360AdvertiserLinkProposal lookup for a single DisplayVideo360AdvertiserLinkProposal.
func (*AnalyticsAdminClient) GetEnhancedMeasurementSettings ¶
func (c *AnalyticsAdminClient) GetEnhancedMeasurementSettings(ctx context.Context, req *adminpb.GetEnhancedMeasurementSettingsRequest, opts ...gax.CallOption) (*adminpb.EnhancedMeasurementSettings, error)
GetEnhancedMeasurementSettings returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
func (*AnalyticsAdminClient) GetEventCreateRule ¶ added in v0.20.0
func (c *AnalyticsAdminClient) GetEventCreateRule(ctx context.Context, req *adminpb.GetEventCreateRuleRequest, opts ...gax.CallOption) (*adminpb.EventCreateRule, error)
GetEventCreateRule lookup for a single EventCreateRule.
func (*AnalyticsAdminClient) GetExpandedDataSet ¶ added in v0.18.0
func (c *AnalyticsAdminClient) GetExpandedDataSet(ctx context.Context, req *adminpb.GetExpandedDataSetRequest, opts ...gax.CallOption) (*adminpb.ExpandedDataSet, error)
GetExpandedDataSet lookup for a single ExpandedDataSet.
func (*AnalyticsAdminClient) GetGlobalSiteTag ¶
func (c *AnalyticsAdminClient) GetGlobalSiteTag(ctx context.Context, req *adminpb.GetGlobalSiteTagRequest, opts ...gax.CallOption) (*adminpb.GlobalSiteTag, error)
GetGlobalSiteTag returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
func (*AnalyticsAdminClient) GetGoogleSignalsSettings ¶
func (c *AnalyticsAdminClient) GetGoogleSignalsSettings(ctx context.Context, req *adminpb.GetGoogleSignalsSettingsRequest, opts ...gax.CallOption) (*adminpb.GoogleSignalsSettings, error)
GetGoogleSignalsSettings lookup for Google Signals settings for a property.
func (*AnalyticsAdminClient) GetMeasurementProtocolSecret ¶
func (c *AnalyticsAdminClient) GetMeasurementProtocolSecret(ctx context.Context, req *adminpb.GetMeasurementProtocolSecretRequest, opts ...gax.CallOption) (*adminpb.MeasurementProtocolSecret, error)
GetMeasurementProtocolSecret lookup for a single “GA4” MeasurementProtocolSecret.
func (*AnalyticsAdminClient) GetProperty ¶
func (c *AnalyticsAdminClient) GetProperty(ctx context.Context, req *adminpb.GetPropertyRequest, opts ...gax.CallOption) (*adminpb.Property, error)
GetProperty lookup for a single “GA4” Property.
func (*AnalyticsAdminClient) GetRollupPropertySourceLink ¶ added in v0.21.6
func (c *AnalyticsAdminClient) GetRollupPropertySourceLink(ctx context.Context, req *adminpb.GetRollupPropertySourceLinkRequest, opts ...gax.CallOption) (*adminpb.RollupPropertySourceLink, error)
GetRollupPropertySourceLink lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
func (*AnalyticsAdminClient) GetSKAdNetworkConversionValueSchema ¶ added in v0.21.4
func (c *AnalyticsAdminClient) GetSKAdNetworkConversionValueSchema(ctx context.Context, req *adminpb.GetSKAdNetworkConversionValueSchemaRequest, opts ...gax.CallOption) (*adminpb.SKAdNetworkConversionValueSchema, error)
GetSKAdNetworkConversionValueSchema looks up a single SKAdNetworkConversionValueSchema.
func (*AnalyticsAdminClient) GetSearchAds360Link ¶ added in v0.17.0
func (c *AnalyticsAdminClient) GetSearchAds360Link(ctx context.Context, req *adminpb.GetSearchAds360LinkRequest, opts ...gax.CallOption) (*adminpb.SearchAds360Link, error)
GetSearchAds360Link look up a single SearchAds360Link
func (*AnalyticsAdminClient) GetSubpropertyEventFilter ¶ added in v0.22.0
func (c *AnalyticsAdminClient) GetSubpropertyEventFilter(ctx context.Context, req *adminpb.GetSubpropertyEventFilterRequest, opts ...gax.CallOption) (*adminpb.SubpropertyEventFilter, error)
GetSubpropertyEventFilter lookup for a single subproperty Event Filter.
func (*AnalyticsAdminClient) ListAccessBindings ¶ added in v0.18.0
func (c *AnalyticsAdminClient) ListAccessBindings(ctx context.Context, req *adminpb.ListAccessBindingsRequest, opts ...gax.CallOption) *AccessBindingIterator
ListAccessBindings lists all access bindings on an account or property.
func (*AnalyticsAdminClient) ListAccountSummaries ¶
func (c *AnalyticsAdminClient) ListAccountSummaries(ctx context.Context, req *adminpb.ListAccountSummariesRequest, opts ...gax.CallOption) *AccountSummaryIterator
ListAccountSummaries returns summaries of all accounts accessible by the caller.
func (*AnalyticsAdminClient) ListAccounts ¶
func (c *AnalyticsAdminClient) ListAccounts(ctx context.Context, req *adminpb.ListAccountsRequest, opts ...gax.CallOption) *AccountIterator
ListAccounts 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 (*AnalyticsAdminClient) ListAdSenseLinks ¶ added in v0.20.0
func (c *AnalyticsAdminClient) ListAdSenseLinks(ctx context.Context, req *adminpb.ListAdSenseLinksRequest, opts ...gax.CallOption) *AdSenseLinkIterator
ListAdSenseLinks lists AdSenseLinks on a property.
func (*AnalyticsAdminClient) ListAudiences ¶ added in v0.9.0
func (c *AnalyticsAdminClient) ListAudiences(ctx context.Context, req *adminpb.ListAudiencesRequest, opts ...gax.CallOption) *AudienceIterator
ListAudiences lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.
func (*AnalyticsAdminClient) ListBigQueryLinks ¶ added in v0.17.0
func (c *AnalyticsAdminClient) ListBigQueryLinks(ctx context.Context, req *adminpb.ListBigQueryLinksRequest, opts ...gax.CallOption) *BigQueryLinkIterator
ListBigQueryLinks lists BigQuery Links on a property.
func (*AnalyticsAdminClient) ListCalculatedMetrics ¶ added in v0.23.0
func (c *AnalyticsAdminClient) ListCalculatedMetrics(ctx context.Context, req *adminpb.ListCalculatedMetricsRequest, opts ...gax.CallOption) *CalculatedMetricIterator
ListCalculatedMetrics lists CalculatedMetrics on a property.
func (*AnalyticsAdminClient) ListChannelGroups ¶ added in v0.19.1
func (c *AnalyticsAdminClient) ListChannelGroups(ctx context.Context, req *adminpb.ListChannelGroupsRequest, opts ...gax.CallOption) *ChannelGroupIterator
ListChannelGroups lists ChannelGroups on a property.
func (*AnalyticsAdminClient) ListConnectedSiteTags ¶ added in v0.19.0
func (c *AnalyticsAdminClient) ListConnectedSiteTags(ctx context.Context, req *adminpb.ListConnectedSiteTagsRequest, opts ...gax.CallOption) (*adminpb.ListConnectedSiteTagsResponse, error)
ListConnectedSiteTags lists the connected site tags for a Universal Analytics property. A maximum of 20 connected site tags will be returned. Note: this has no effect on GA4 property.
func (*AnalyticsAdminClient) ListConversionEvents ¶
func (c *AnalyticsAdminClient) ListConversionEvents(ctx context.Context, req *adminpb.ListConversionEventsRequest, opts ...gax.CallOption) *ConversionEventIterator
ListConversionEvents returns a list of conversion events in the specified parent property.
Returns an empty list if no conversion events are found.
func (*AnalyticsAdminClient) ListCustomDimensions ¶
func (c *AnalyticsAdminClient) ListCustomDimensions(ctx context.Context, req *adminpb.ListCustomDimensionsRequest, opts ...gax.CallOption) *CustomDimensionIterator
ListCustomDimensions lists CustomDimensions on a property.
func (*AnalyticsAdminClient) ListCustomMetrics ¶
func (c *AnalyticsAdminClient) ListCustomMetrics(ctx context.Context, req *adminpb.ListCustomMetricsRequest, opts ...gax.CallOption) *CustomMetricIterator
ListCustomMetrics lists CustomMetrics on a property.
func (*AnalyticsAdminClient) ListDataStreams ¶ added in v0.3.0
func (c *AnalyticsAdminClient) ListDataStreams(ctx context.Context, req *adminpb.ListDataStreamsRequest, opts ...gax.CallOption) *DataStreamIterator
ListDataStreams lists DataStreams on a property.
func (*AnalyticsAdminClient) ListDisplayVideo360AdvertiserLinkProposals ¶ added in v0.2.0
func (c *AnalyticsAdminClient) ListDisplayVideo360AdvertiserLinkProposals(ctx context.Context, req *adminpb.ListDisplayVideo360AdvertiserLinkProposalsRequest, opts ...gax.CallOption) *DisplayVideo360AdvertiserLinkProposalIterator
ListDisplayVideo360AdvertiserLinkProposals lists DisplayVideo360AdvertiserLinkProposals on a property.
func (*AnalyticsAdminClient) ListDisplayVideo360AdvertiserLinks ¶ added in v0.2.0
func (c *AnalyticsAdminClient) ListDisplayVideo360AdvertiserLinks(ctx context.Context, req *adminpb.ListDisplayVideo360AdvertiserLinksRequest, opts ...gax.CallOption) *DisplayVideo360AdvertiserLinkIterator
ListDisplayVideo360AdvertiserLinks lists all DisplayVideo360AdvertiserLinks on a property.
func (*AnalyticsAdminClient) ListEventCreateRules ¶ added in v0.20.0
func (c *AnalyticsAdminClient) ListEventCreateRules(ctx context.Context, req *adminpb.ListEventCreateRulesRequest, opts ...gax.CallOption) *EventCreateRuleIterator
ListEventCreateRules lists EventCreateRules on a web data stream.
func (*AnalyticsAdminClient) ListExpandedDataSets ¶ added in v0.18.0
func (c *AnalyticsAdminClient) ListExpandedDataSets(ctx context.Context, req *adminpb.ListExpandedDataSetsRequest, opts ...gax.CallOption) *ExpandedDataSetIterator
ListExpandedDataSets lists ExpandedDataSets on a property.
func (*AnalyticsAdminClient) ListFirebaseLinks ¶
func (c *AnalyticsAdminClient) ListFirebaseLinks(ctx context.Context, req *adminpb.ListFirebaseLinksRequest, opts ...gax.CallOption) *FirebaseLinkIterator
ListFirebaseLinks lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.
func (*AnalyticsAdminClient) ListGoogleAdsLinks ¶
func (c *AnalyticsAdminClient) ListGoogleAdsLinks(ctx context.Context, req *adminpb.ListGoogleAdsLinksRequest, opts ...gax.CallOption) *GoogleAdsLinkIterator
ListGoogleAdsLinks lists GoogleAdsLinks on a property.
func (*AnalyticsAdminClient) ListMeasurementProtocolSecrets ¶
func (c *AnalyticsAdminClient) ListMeasurementProtocolSecrets(ctx context.Context, req *adminpb.ListMeasurementProtocolSecretsRequest, opts ...gax.CallOption) *MeasurementProtocolSecretIterator
ListMeasurementProtocolSecrets returns child MeasurementProtocolSecrets under the specified parent Property.
func (*AnalyticsAdminClient) ListProperties ¶
func (c *AnalyticsAdminClient) ListProperties(ctx context.Context, req *adminpb.ListPropertiesRequest, opts ...gax.CallOption) *PropertyIterator
ListProperties 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 (*AnalyticsAdminClient) ListRollupPropertySourceLinks ¶ added in v0.21.6
func (c *AnalyticsAdminClient) ListRollupPropertySourceLinks(ctx context.Context, req *adminpb.ListRollupPropertySourceLinksRequest, opts ...gax.CallOption) *RollupPropertySourceLinkIterator
ListRollupPropertySourceLinks lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
func (*AnalyticsAdminClient) ListSKAdNetworkConversionValueSchemas ¶ added in v0.21.4
func (c *AnalyticsAdminClient) ListSKAdNetworkConversionValueSchemas(ctx context.Context, req *adminpb.ListSKAdNetworkConversionValueSchemasRequest, opts ...gax.CallOption) *SKAdNetworkConversionValueSchemaIterator
ListSKAdNetworkConversionValueSchemas lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema.
func (*AnalyticsAdminClient) ListSearchAds360Links ¶ added in v0.17.0
func (c *AnalyticsAdminClient) ListSearchAds360Links(ctx context.Context, req *adminpb.ListSearchAds360LinksRequest, opts ...gax.CallOption) *SearchAds360LinkIterator
ListSearchAds360Links lists all SearchAds360Links on a property.
func (*AnalyticsAdminClient) ListSubpropertyEventFilters ¶ added in v0.22.0
func (c *AnalyticsAdminClient) ListSubpropertyEventFilters(ctx context.Context, req *adminpb.ListSubpropertyEventFiltersRequest, opts ...gax.CallOption) *SubpropertyEventFilterIterator
ListSubpropertyEventFilters list all subproperty Event Filters on a property.
func (*AnalyticsAdminClient) ProvisionAccountTicket ¶
func (c *AnalyticsAdminClient) ProvisionAccountTicket(ctx context.Context, req *adminpb.ProvisionAccountTicketRequest, opts ...gax.CallOption) (*adminpb.ProvisionAccountTicketResponse, error)
ProvisionAccountTicket requests a ticket for creating an account.
func (*AnalyticsAdminClient) RunAccessReport ¶ added in v0.9.0
func (c *AnalyticsAdminClient) RunAccessReport(ctx context.Context, req *adminpb.RunAccessReportRequest, opts ...gax.CallOption) (*adminpb.RunAccessReportResponse, error)
RunAccessReport returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years.
Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren’t related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators.
These data access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don’t include property configuration changes like adding a stream or changing a property’s time zone. For configuration change history, see searchChangeHistoryEvents (at https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
func (*AnalyticsAdminClient) SearchChangeHistoryEvents ¶
func (c *AnalyticsAdminClient) SearchChangeHistoryEvents(ctx context.Context, req *adminpb.SearchChangeHistoryEventsRequest, opts ...gax.CallOption) *ChangeHistoryEventIterator
SearchChangeHistoryEvents searches through all changes to an account or its children given the specified set of filters.
func (*AnalyticsAdminClient) SetAutomatedGa4ConfigurationOptOut ¶ added in v0.17.0
func (c *AnalyticsAdminClient) SetAutomatedGa4ConfigurationOptOut(ctx context.Context, req *adminpb.SetAutomatedGa4ConfigurationOptOutRequest, opts ...gax.CallOption) (*adminpb.SetAutomatedGa4ConfigurationOptOutResponse, error)
SetAutomatedGa4ConfigurationOptOut sets the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
func (*AnalyticsAdminClient) UpdateAccessBinding ¶ added in v0.18.0
func (c *AnalyticsAdminClient) UpdateAccessBinding(ctx context.Context, req *adminpb.UpdateAccessBindingRequest, opts ...gax.CallOption) (*adminpb.AccessBinding, error)
UpdateAccessBinding updates an access binding on an account or property.
func (*AnalyticsAdminClient) UpdateAccount ¶
func (c *AnalyticsAdminClient) UpdateAccount(ctx context.Context, req *adminpb.UpdateAccountRequest, opts ...gax.CallOption) (*adminpb.Account, error)
UpdateAccount updates an account.
func (*AnalyticsAdminClient) UpdateAttributionSettings ¶ added in v0.9.0
func (c *AnalyticsAdminClient) UpdateAttributionSettings(ctx context.Context, req *adminpb.UpdateAttributionSettingsRequest, opts ...gax.CallOption) (*adminpb.AttributionSettings, error)
UpdateAttributionSettings updates attribution settings on a property.
func (*AnalyticsAdminClient) UpdateAudience ¶ added in v0.9.0
func (c *AnalyticsAdminClient) UpdateAudience(ctx context.Context, req *adminpb.UpdateAudienceRequest, opts ...gax.CallOption) (*adminpb.Audience, error)
UpdateAudience updates an Audience on a property.
func (*AnalyticsAdminClient) UpdateCalculatedMetric ¶ added in v0.23.0
func (c *AnalyticsAdminClient) UpdateCalculatedMetric(ctx context.Context, req *adminpb.UpdateCalculatedMetricRequest, opts ...gax.CallOption) (*adminpb.CalculatedMetric, error)
UpdateCalculatedMetric updates a CalculatedMetric on a property.
func (*AnalyticsAdminClient) UpdateChannelGroup ¶ added in v0.19.1
func (c *AnalyticsAdminClient) UpdateChannelGroup(ctx context.Context, req *adminpb.UpdateChannelGroupRequest, opts ...gax.CallOption) (*adminpb.ChannelGroup, error)
UpdateChannelGroup updates a ChannelGroup.
func (*AnalyticsAdminClient) UpdateConversionEvent ¶ added in v0.21.4
func (c *AnalyticsAdminClient) UpdateConversionEvent(ctx context.Context, req *adminpb.UpdateConversionEventRequest, opts ...gax.CallOption) (*adminpb.ConversionEvent, error)
UpdateConversionEvent updates a conversion event with the specified attributes.
func (*AnalyticsAdminClient) UpdateCustomDimension ¶
func (c *AnalyticsAdminClient) UpdateCustomDimension(ctx context.Context, req *adminpb.UpdateCustomDimensionRequest, opts ...gax.CallOption) (*adminpb.CustomDimension, error)
UpdateCustomDimension updates a CustomDimension on a property.
func (*AnalyticsAdminClient) UpdateCustomMetric ¶
func (c *AnalyticsAdminClient) UpdateCustomMetric(ctx context.Context, req *adminpb.UpdateCustomMetricRequest, opts ...gax.CallOption) (*adminpb.CustomMetric, error)
UpdateCustomMetric updates a CustomMetric on a property.
func (*AnalyticsAdminClient) UpdateDataRedactionSettings ¶ added in v0.21.6
func (c *AnalyticsAdminClient) UpdateDataRedactionSettings(ctx context.Context, req *adminpb.UpdateDataRedactionSettingsRequest, opts ...gax.CallOption) (*adminpb.DataRedactionSettings, error)
UpdateDataRedactionSettings updates a DataRedactionSettings on a property.
func (*AnalyticsAdminClient) UpdateDataRetentionSettings ¶ added in v0.2.0
func (c *AnalyticsAdminClient) UpdateDataRetentionSettings(ctx context.Context, req *adminpb.UpdateDataRetentionSettingsRequest, opts ...gax.CallOption) (*adminpb.DataRetentionSettings, error)
UpdateDataRetentionSettings updates the singleton data retention settings for this property.
func (*AnalyticsAdminClient) UpdateDataStream ¶ added in v0.3.0
func (c *AnalyticsAdminClient) UpdateDataStream(ctx context.Context, req *adminpb.UpdateDataStreamRequest, opts ...gax.CallOption) (*adminpb.DataStream, error)
UpdateDataStream updates a DataStream on a property.
func (*AnalyticsAdminClient) UpdateDisplayVideo360AdvertiserLink ¶ added in v0.2.0
func (c *AnalyticsAdminClient) UpdateDisplayVideo360AdvertiserLink(ctx context.Context, req *adminpb.UpdateDisplayVideo360AdvertiserLinkRequest, opts ...gax.CallOption) (*adminpb.DisplayVideo360AdvertiserLink, error)
UpdateDisplayVideo360AdvertiserLink updates a DisplayVideo360AdvertiserLink on a property.
func (*AnalyticsAdminClient) UpdateEnhancedMeasurementSettings ¶
func (c *AnalyticsAdminClient) UpdateEnhancedMeasurementSettings(ctx context.Context, req *adminpb.UpdateEnhancedMeasurementSettingsRequest, opts ...gax.CallOption) (*adminpb.EnhancedMeasurementSettings, error)
UpdateEnhancedMeasurementSettings updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
func (*AnalyticsAdminClient) UpdateEventCreateRule ¶ added in v0.20.0
func (c *AnalyticsAdminClient) UpdateEventCreateRule(ctx context.Context, req *adminpb.UpdateEventCreateRuleRequest, opts ...gax.CallOption) (*adminpb.EventCreateRule, error)
UpdateEventCreateRule updates an EventCreateRule.
func (*AnalyticsAdminClient) UpdateExpandedDataSet ¶ added in v0.18.0
func (c *AnalyticsAdminClient) UpdateExpandedDataSet(ctx context.Context, req *adminpb.UpdateExpandedDataSetRequest, opts ...gax.CallOption) (*adminpb.ExpandedDataSet, error)
UpdateExpandedDataSet updates a ExpandedDataSet on a property.
func (*AnalyticsAdminClient) UpdateGoogleAdsLink ¶
func (c *AnalyticsAdminClient) UpdateGoogleAdsLink(ctx context.Context, req *adminpb.UpdateGoogleAdsLinkRequest, opts ...gax.CallOption) (*adminpb.GoogleAdsLink, error)
UpdateGoogleAdsLink updates a GoogleAdsLink on a property
func (*AnalyticsAdminClient) UpdateGoogleSignalsSettings ¶
func (c *AnalyticsAdminClient) UpdateGoogleSignalsSettings(ctx context.Context, req *adminpb.UpdateGoogleSignalsSettingsRequest, opts ...gax.CallOption) (*adminpb.GoogleSignalsSettings, error)
UpdateGoogleSignalsSettings updates Google Signals settings for a property.
func (*AnalyticsAdminClient) UpdateMeasurementProtocolSecret ¶
func (c *AnalyticsAdminClient) UpdateMeasurementProtocolSecret(ctx context.Context, req *adminpb.UpdateMeasurementProtocolSecretRequest, opts ...gax.CallOption) (*adminpb.MeasurementProtocolSecret, error)
UpdateMeasurementProtocolSecret updates a measurement protocol secret.
func (*AnalyticsAdminClient) UpdateProperty ¶
func (c *AnalyticsAdminClient) UpdateProperty(ctx context.Context, req *adminpb.UpdatePropertyRequest, opts ...gax.CallOption) (*adminpb.Property, error)
UpdateProperty updates a property.
func (*AnalyticsAdminClient) UpdateSKAdNetworkConversionValueSchema ¶ added in v0.21.4
func (c *AnalyticsAdminClient) UpdateSKAdNetworkConversionValueSchema(ctx context.Context, req *adminpb.UpdateSKAdNetworkConversionValueSchemaRequest, opts ...gax.CallOption) (*adminpb.SKAdNetworkConversionValueSchema, error)
UpdateSKAdNetworkConversionValueSchema updates a SKAdNetworkConversionValueSchema.
func (*AnalyticsAdminClient) UpdateSearchAds360Link ¶ added in v0.17.0
func (c *AnalyticsAdminClient) UpdateSearchAds360Link(ctx context.Context, req *adminpb.UpdateSearchAds360LinkRequest, opts ...gax.CallOption) (*adminpb.SearchAds360Link, error)
UpdateSearchAds360Link updates a SearchAds360Link on a property.
func (*AnalyticsAdminClient) UpdateSubpropertyEventFilter ¶ added in v0.22.0
func (c *AnalyticsAdminClient) UpdateSubpropertyEventFilter(ctx context.Context, req *adminpb.UpdateSubpropertyEventFilterRequest, opts ...gax.CallOption) (*adminpb.SubpropertyEventFilter, error)
UpdateSubpropertyEventFilter updates a subproperty Event Filter.
type AudienceIterator ¶ added in v0.9.0
type AudienceIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.Audience, nextPageToken string, err error) // contains filtered or unexported fields }
AudienceIterator manages a stream of *adminpb.Audience.
func (*AudienceIterator) Next ¶ added in v0.9.0
func (it *AudienceIterator) Next() (*adminpb.Audience, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*AudienceIterator) PageInfo ¶ added in v0.9.0
func (it *AudienceIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type BigQueryLinkIterator ¶ added in v0.17.0
type BigQueryLinkIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.BigQueryLink, nextPageToken string, err error) // contains filtered or unexported fields }
BigQueryLinkIterator manages a stream of *adminpb.BigQueryLink.
func (*BigQueryLinkIterator) Next ¶ added in v0.17.0
func (it *BigQueryLinkIterator) Next() (*adminpb.BigQueryLink, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*BigQueryLinkIterator) PageInfo ¶ added in v0.17.0
func (it *BigQueryLinkIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type CalculatedMetricIterator ¶ added in v0.23.0
type CalculatedMetricIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.CalculatedMetric, nextPageToken string, err error) // contains filtered or unexported fields }
CalculatedMetricIterator manages a stream of *adminpb.CalculatedMetric.
func (*CalculatedMetricIterator) Next ¶ added in v0.23.0
func (it *CalculatedMetricIterator) Next() (*adminpb.CalculatedMetric, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*CalculatedMetricIterator) PageInfo ¶ added in v0.23.0
func (it *CalculatedMetricIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type ChangeHistoryEventIterator ¶
type ChangeHistoryEventIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.ChangeHistoryEvent, nextPageToken string, err error) // contains filtered or unexported fields }
ChangeHistoryEventIterator manages a stream of *adminpb.ChangeHistoryEvent.
func (*ChangeHistoryEventIterator) Next ¶
func (it *ChangeHistoryEventIterator) Next() (*adminpb.ChangeHistoryEvent, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*ChangeHistoryEventIterator) PageInfo ¶
func (it *ChangeHistoryEventIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type ChannelGroupIterator ¶ added in v0.19.1
type ChannelGroupIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.ChannelGroup, nextPageToken string, err error) // contains filtered or unexported fields }
ChannelGroupIterator manages a stream of *adminpb.ChannelGroup.
func (*ChannelGroupIterator) Next ¶ added in v0.19.1
func (it *ChannelGroupIterator) Next() (*adminpb.ChannelGroup, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*ChannelGroupIterator) PageInfo ¶ added in v0.19.1
func (it *ChannelGroupIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type ConversionEventIterator ¶
type ConversionEventIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.ConversionEvent, nextPageToken string, err error) // contains filtered or unexported fields }
ConversionEventIterator manages a stream of *adminpb.ConversionEvent.
func (*ConversionEventIterator) Next ¶
func (it *ConversionEventIterator) Next() (*adminpb.ConversionEvent, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*ConversionEventIterator) PageInfo ¶
func (it *ConversionEventIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type CustomDimensionIterator ¶
type CustomDimensionIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.CustomDimension, nextPageToken string, err error) // contains filtered or unexported fields }
CustomDimensionIterator manages a stream of *adminpb.CustomDimension.
func (*CustomDimensionIterator) Next ¶
func (it *CustomDimensionIterator) Next() (*adminpb.CustomDimension, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*CustomDimensionIterator) PageInfo ¶
func (it *CustomDimensionIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type CustomMetricIterator ¶
type CustomMetricIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.CustomMetric, nextPageToken string, err error) // contains filtered or unexported fields }
CustomMetricIterator manages a stream of *adminpb.CustomMetric.
func (*CustomMetricIterator) Next ¶
func (it *CustomMetricIterator) Next() (*adminpb.CustomMetric, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*CustomMetricIterator) PageInfo ¶
func (it *CustomMetricIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type DataStreamIterator ¶ added in v0.3.0
type DataStreamIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.DataStream, nextPageToken string, err error) // contains filtered or unexported fields }
DataStreamIterator manages a stream of *adminpb.DataStream.
func (*DataStreamIterator) Next ¶ added in v0.3.0
func (it *DataStreamIterator) Next() (*adminpb.DataStream, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*DataStreamIterator) PageInfo ¶ added in v0.3.0
func (it *DataStreamIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type DisplayVideo360AdvertiserLinkIterator ¶ added in v0.2.0
type DisplayVideo360AdvertiserLinkIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.DisplayVideo360AdvertiserLink, nextPageToken string, err error) // contains filtered or unexported fields }
DisplayVideo360AdvertiserLinkIterator manages a stream of *adminpb.DisplayVideo360AdvertiserLink.
func (*DisplayVideo360AdvertiserLinkIterator) Next ¶ added in v0.2.0
func (it *DisplayVideo360AdvertiserLinkIterator) Next() (*adminpb.DisplayVideo360AdvertiserLink, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*DisplayVideo360AdvertiserLinkIterator) PageInfo ¶ added in v0.2.0
func (it *DisplayVideo360AdvertiserLinkIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type DisplayVideo360AdvertiserLinkProposalIterator ¶ added in v0.2.0
type DisplayVideo360AdvertiserLinkProposalIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.DisplayVideo360AdvertiserLinkProposal, nextPageToken string, err error) // contains filtered or unexported fields }
DisplayVideo360AdvertiserLinkProposalIterator manages a stream of *adminpb.DisplayVideo360AdvertiserLinkProposal.
func (*DisplayVideo360AdvertiserLinkProposalIterator) Next ¶ added in v0.2.0
func (it *DisplayVideo360AdvertiserLinkProposalIterator) Next() (*adminpb.DisplayVideo360AdvertiserLinkProposal, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*DisplayVideo360AdvertiserLinkProposalIterator) PageInfo ¶ added in v0.2.0
func (it *DisplayVideo360AdvertiserLinkProposalIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type EventCreateRuleIterator ¶ added in v0.20.0
type EventCreateRuleIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.EventCreateRule, nextPageToken string, err error) // contains filtered or unexported fields }
EventCreateRuleIterator manages a stream of *adminpb.EventCreateRule.
func (*EventCreateRuleIterator) Next ¶ added in v0.20.0
func (it *EventCreateRuleIterator) Next() (*adminpb.EventCreateRule, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*EventCreateRuleIterator) PageInfo ¶ added in v0.20.0
func (it *EventCreateRuleIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type ExpandedDataSetIterator ¶ added in v0.18.0
type ExpandedDataSetIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.ExpandedDataSet, nextPageToken string, err error) // contains filtered or unexported fields }
ExpandedDataSetIterator manages a stream of *adminpb.ExpandedDataSet.
func (*ExpandedDataSetIterator) Next ¶ added in v0.18.0
func (it *ExpandedDataSetIterator) Next() (*adminpb.ExpandedDataSet, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*ExpandedDataSetIterator) PageInfo ¶ added in v0.18.0
func (it *ExpandedDataSetIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type FirebaseLinkIterator ¶
type FirebaseLinkIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.FirebaseLink, nextPageToken string, err error) // contains filtered or unexported fields }
FirebaseLinkIterator manages a stream of *adminpb.FirebaseLink.
func (*FirebaseLinkIterator) Next ¶
func (it *FirebaseLinkIterator) Next() (*adminpb.FirebaseLink, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*FirebaseLinkIterator) PageInfo ¶
func (it *FirebaseLinkIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type GoogleAdsLinkIterator ¶
type GoogleAdsLinkIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.GoogleAdsLink, nextPageToken string, err error) // contains filtered or unexported fields }
GoogleAdsLinkIterator manages a stream of *adminpb.GoogleAdsLink.
func (*GoogleAdsLinkIterator) Next ¶
func (it *GoogleAdsLinkIterator) Next() (*adminpb.GoogleAdsLink, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*GoogleAdsLinkIterator) PageInfo ¶
func (it *GoogleAdsLinkIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type MeasurementProtocolSecretIterator ¶
type MeasurementProtocolSecretIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.MeasurementProtocolSecret, nextPageToken string, err error) // contains filtered or unexported fields }
MeasurementProtocolSecretIterator manages a stream of *adminpb.MeasurementProtocolSecret.
func (*MeasurementProtocolSecretIterator) Next ¶
func (it *MeasurementProtocolSecretIterator) Next() (*adminpb.MeasurementProtocolSecret, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*MeasurementProtocolSecretIterator) PageInfo ¶
func (it *MeasurementProtocolSecretIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type PropertyIterator ¶
type PropertyIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.Property, nextPageToken string, err error) // contains filtered or unexported fields }
PropertyIterator manages a stream of *adminpb.Property.
func (*PropertyIterator) Next ¶
func (it *PropertyIterator) Next() (*adminpb.Property, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*PropertyIterator) PageInfo ¶
func (it *PropertyIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type RollupPropertySourceLinkIterator ¶ added in v0.21.6
type RollupPropertySourceLinkIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.RollupPropertySourceLink, nextPageToken string, err error) // contains filtered or unexported fields }
RollupPropertySourceLinkIterator manages a stream of *adminpb.RollupPropertySourceLink.
func (*RollupPropertySourceLinkIterator) Next ¶ added in v0.21.6
func (it *RollupPropertySourceLinkIterator) Next() (*adminpb.RollupPropertySourceLink, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*RollupPropertySourceLinkIterator) PageInfo ¶ added in v0.21.6
func (it *RollupPropertySourceLinkIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type SKAdNetworkConversionValueSchemaIterator ¶ added in v0.21.4
type SKAdNetworkConversionValueSchemaIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.SKAdNetworkConversionValueSchema, nextPageToken string, err error) // contains filtered or unexported fields }
SKAdNetworkConversionValueSchemaIterator manages a stream of *adminpb.SKAdNetworkConversionValueSchema.
func (*SKAdNetworkConversionValueSchemaIterator) Next ¶ added in v0.21.4
func (it *SKAdNetworkConversionValueSchemaIterator) Next() (*adminpb.SKAdNetworkConversionValueSchema, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*SKAdNetworkConversionValueSchemaIterator) PageInfo ¶ added in v0.21.4
func (it *SKAdNetworkConversionValueSchemaIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type SearchAds360LinkIterator ¶ added in v0.17.0
type SearchAds360LinkIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.SearchAds360Link, nextPageToken string, err error) // contains filtered or unexported fields }
SearchAds360LinkIterator manages a stream of *adminpb.SearchAds360Link.
func (*SearchAds360LinkIterator) Next ¶ added in v0.17.0
func (it *SearchAds360LinkIterator) Next() (*adminpb.SearchAds360Link, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*SearchAds360LinkIterator) PageInfo ¶ added in v0.17.0
func (it *SearchAds360LinkIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type SubpropertyEventFilterIterator ¶ added in v0.22.0
type SubpropertyEventFilterIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*adminpb.SubpropertyEventFilter, nextPageToken string, err error) // contains filtered or unexported fields }
SubpropertyEventFilterIterator manages a stream of *adminpb.SubpropertyEventFilter.
func (*SubpropertyEventFilterIterator) Next ¶ added in v0.22.0
func (it *SubpropertyEventFilterIterator) Next() (*adminpb.SubpropertyEventFilter, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*SubpropertyEventFilterIterator) PageInfo ¶ added in v0.22.0
func (it *SubpropertyEventFilterIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.