admin

package
Version: v0.0.0-...-b7c3a96 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IndustryCategory_name = map[int32]string{
		0:  "INDUSTRY_CATEGORY_UNSPECIFIED",
		1:  "AUTOMOTIVE",
		2:  "BUSINESS_AND_INDUSTRIAL_MARKETS",
		3:  "FINANCE",
		4:  "HEALTHCARE",
		5:  "TECHNOLOGY",
		6:  "TRAVEL",
		7:  "OTHER",
		8:  "ARTS_AND_ENTERTAINMENT",
		9:  "BEAUTY_AND_FITNESS",
		10: "BOOKS_AND_LITERATURE",
		11: "FOOD_AND_DRINK",
		12: "GAMES",
		13: "HOBBIES_AND_LEISURE",
		14: "HOME_AND_GARDEN",
		15: "INTERNET_AND_TELECOM",
		16: "LAW_AND_GOVERNMENT",
		17: "NEWS",
		18: "ONLINE_COMMUNITIES",
		19: "PEOPLE_AND_SOCIETY",
		20: "PETS_AND_ANIMALS",
		21: "REAL_ESTATE",
		22: "REFERENCE",
		23: "SCIENCE",
		24: "SPORTS",
		25: "JOBS_AND_EDUCATION",
		26: "SHOPPING",
	}
	IndustryCategory_value = map[string]int32{
		"INDUSTRY_CATEGORY_UNSPECIFIED":   0,
		"AUTOMOTIVE":                      1,
		"BUSINESS_AND_INDUSTRIAL_MARKETS": 2,
		"FINANCE":                         3,
		"HEALTHCARE":                      4,
		"TECHNOLOGY":                      5,
		"TRAVEL":                          6,
		"OTHER":                           7,
		"ARTS_AND_ENTERTAINMENT":          8,
		"BEAUTY_AND_FITNESS":              9,
		"BOOKS_AND_LITERATURE":            10,
		"FOOD_AND_DRINK":                  11,
		"GAMES":                           12,
		"HOBBIES_AND_LEISURE":             13,
		"HOME_AND_GARDEN":                 14,
		"INTERNET_AND_TELECOM":            15,
		"LAW_AND_GOVERNMENT":              16,
		"NEWS":                            17,
		"ONLINE_COMMUNITIES":              18,
		"PEOPLE_AND_SOCIETY":              19,
		"PETS_AND_ANIMALS":                20,
		"REAL_ESTATE":                     21,
		"REFERENCE":                       22,
		"SCIENCE":                         23,
		"SPORTS":                          24,
		"JOBS_AND_EDUCATION":              25,
		"SHOPPING":                        26,
	}
)

Enum value maps for IndustryCategory.

View Source
var (
	ServiceLevel_name = map[int32]string{
		0: "SERVICE_LEVEL_UNSPECIFIED",
		1: "GOOGLE_ANALYTICS_STANDARD",
		2: "GOOGLE_ANALYTICS_360",
	}
	ServiceLevel_value = map[string]int32{
		"SERVICE_LEVEL_UNSPECIFIED": 0,
		"GOOGLE_ANALYTICS_STANDARD": 1,
		"GOOGLE_ANALYTICS_360":      2,
	}
)

Enum value maps for ServiceLevel.

View Source
var (
	ActorType_name = map[int32]string{
		0: "ACTOR_TYPE_UNSPECIFIED",
		1: "USER",
		2: "SYSTEM",
		3: "SUPPORT",
	}
	ActorType_value = map[string]int32{
		"ACTOR_TYPE_UNSPECIFIED": 0,
		"USER":                   1,
		"SYSTEM":                 2,
		"SUPPORT":                3,
	}
)

Enum value maps for ActorType.

View Source
var (
	ActionType_name = map[int32]string{
		0: "ACTION_TYPE_UNSPECIFIED",
		1: "CREATED",
		2: "UPDATED",
		3: "DELETED",
	}
	ActionType_value = map[string]int32{
		"ACTION_TYPE_UNSPECIFIED": 0,
		"CREATED":                 1,
		"UPDATED":                 2,
		"DELETED":                 3,
	}
)

Enum value maps for ActionType.

View Source
var (
	ChangeHistoryResourceType_name = map[int32]string{
		0:  "CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED",
		1:  "ACCOUNT",
		2:  "PROPERTY",
		3:  "WEB_DATA_STREAM",
		4:  "ANDROID_APP_DATA_STREAM",
		5:  "IOS_APP_DATA_STREAM",
		6:  "FIREBASE_LINK",
		7:  "GOOGLE_ADS_LINK",
		8:  "GOOGLE_SIGNALS_SETTINGS",
		9:  "CONVERSION_EVENT",
		10: "MEASUREMENT_PROTOCOL_SECRET",
		11: "CUSTOM_DIMENSION",
		12: "CUSTOM_METRIC",
		13: "DATA_RETENTION_SETTINGS",
	}
	ChangeHistoryResourceType_value = map[string]int32{
		"CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED": 0,
		"ACCOUNT":                     1,
		"PROPERTY":                    2,
		"WEB_DATA_STREAM":             3,
		"ANDROID_APP_DATA_STREAM":     4,
		"IOS_APP_DATA_STREAM":         5,
		"FIREBASE_LINK":               6,
		"GOOGLE_ADS_LINK":             7,
		"GOOGLE_SIGNALS_SETTINGS":     8,
		"CONVERSION_EVENT":            9,
		"MEASUREMENT_PROTOCOL_SECRET": 10,
		"CUSTOM_DIMENSION":            11,
		"CUSTOM_METRIC":               12,
		"DATA_RETENTION_SETTINGS":     13,
	}
)

Enum value maps for ChangeHistoryResourceType.

View Source
var (
	GoogleSignalsState_name = map[int32]string{
		0: "GOOGLE_SIGNALS_STATE_UNSPECIFIED",
		1: "GOOGLE_SIGNALS_ENABLED",
		2: "GOOGLE_SIGNALS_DISABLED",
	}
	GoogleSignalsState_value = map[string]int32{
		"GOOGLE_SIGNALS_STATE_UNSPECIFIED": 0,
		"GOOGLE_SIGNALS_ENABLED":           1,
		"GOOGLE_SIGNALS_DISABLED":          2,
	}
)

Enum value maps for GoogleSignalsState.

View Source
var (
	GoogleSignalsConsent_name = map[int32]string{
		0: "GOOGLE_SIGNALS_CONSENT_UNSPECIFIED",
		2: "GOOGLE_SIGNALS_CONSENT_CONSENTED",
		1: "GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED",
	}
	GoogleSignalsConsent_value = map[string]int32{
		"GOOGLE_SIGNALS_CONSENT_UNSPECIFIED":   0,
		"GOOGLE_SIGNALS_CONSENT_CONSENTED":     2,
		"GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED": 1,
	}
)

Enum value maps for GoogleSignalsConsent.

View Source
var (
	LinkProposalInitiatingProduct_name = map[int32]string{
		0: "LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED",
		1: "GOOGLE_ANALYTICS",
		2: "LINKED_PRODUCT",
	}
	LinkProposalInitiatingProduct_value = map[string]int32{
		"LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED": 0,
		"GOOGLE_ANALYTICS": 1,
		"LINKED_PRODUCT":   2,
	}
)

Enum value maps for LinkProposalInitiatingProduct.

View Source
var (
	LinkProposalState_name = map[int32]string{
		0: "LINK_PROPOSAL_STATE_UNSPECIFIED",
		1: "AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS",
		2: "AWAITING_REVIEW_FROM_LINKED_PRODUCT",
		3: "WITHDRAWN",
		4: "DECLINED",
		5: "EXPIRED",
		6: "OBSOLETE",
	}
	LinkProposalState_value = map[string]int32{
		"LINK_PROPOSAL_STATE_UNSPECIFIED":       0,
		"AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS": 1,
		"AWAITING_REVIEW_FROM_LINKED_PRODUCT":   2,
		"WITHDRAWN":                             3,
		"DECLINED":                              4,
		"EXPIRED":                               5,
		"OBSOLETE":                              6,
	}
)

Enum value maps for LinkProposalState.

View Source
var (
	CustomDimension_DimensionScope_name = map[int32]string{
		0: "DIMENSION_SCOPE_UNSPECIFIED",
		1: "EVENT",
		2: "USER",
	}
	CustomDimension_DimensionScope_value = map[string]int32{
		"DIMENSION_SCOPE_UNSPECIFIED": 0,
		"EVENT":                       1,
		"USER":                        2,
	}
)

Enum value maps for CustomDimension_DimensionScope.

View Source
var (
	CustomMetric_MeasurementUnit_name = map[int32]string{
		0:  "MEASUREMENT_UNIT_UNSPECIFIED",
		1:  "STANDARD",
		2:  "CURRENCY",
		3:  "FEET",
		4:  "METERS",
		5:  "KILOMETERS",
		6:  "MILES",
		7:  "MILLISECONDS",
		8:  "SECONDS",
		9:  "MINUTES",
		10: "HOURS",
	}
	CustomMetric_MeasurementUnit_value = map[string]int32{
		"MEASUREMENT_UNIT_UNSPECIFIED": 0,
		"STANDARD":                     1,
		"CURRENCY":                     2,
		"FEET":                         3,
		"METERS":                       4,
		"KILOMETERS":                   5,
		"MILES":                        6,
		"MILLISECONDS":                 7,
		"SECONDS":                      8,
		"MINUTES":                      9,
		"HOURS":                        10,
	}
)

Enum value maps for CustomMetric_MeasurementUnit.

View Source
var (
	CustomMetric_MetricScope_name = map[int32]string{
		0: "METRIC_SCOPE_UNSPECIFIED",
		1: "EVENT",
	}
	CustomMetric_MetricScope_value = map[string]int32{
		"METRIC_SCOPE_UNSPECIFIED": 0,
		"EVENT":                    1,
	}
)

Enum value maps for CustomMetric_MetricScope.

View Source
var (
	DataRetentionSettings_RetentionDuration_name = map[int32]string{
		0: "RETENTION_DURATION_UNSPECIFIED",
		1: "TWO_MONTHS",
		3: "FOURTEEN_MONTHS",
		4: "TWENTY_SIX_MONTHS",
		5: "THIRTY_EIGHT_MONTHS",
		6: "FIFTY_MONTHS",
	}
	DataRetentionSettings_RetentionDuration_value = map[string]int32{
		"RETENTION_DURATION_UNSPECIFIED": 0,
		"TWO_MONTHS":                     1,
		"FOURTEEN_MONTHS":                3,
		"TWENTY_SIX_MONTHS":              4,
		"THIRTY_EIGHT_MONTHS":            5,
		"FIFTY_MONTHS":                   6,
	}
)

Enum value maps for DataRetentionSettings_RetentionDuration.

View Source
var File_google_analytics_admin_v1alpha_analytics_admin_proto protoreflect.FileDescriptor
View Source
var File_google_analytics_admin_v1alpha_resources_proto protoreflect.FileDescriptor

Functions

func RegisterAnalyticsAdminServiceServer

func RegisterAnalyticsAdminServiceServer(s *grpc.Server, srv AnalyticsAdminServiceServer)

Types

type Account

type Account struct {

	// Output only. Resource name of this account.
	// Format: accounts/{account}
	// Example: "accounts/100"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Time when this account was originally created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when account payload fields were last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Required. Human-readable display name for this account.
	DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Country of business. Must be a Unicode CLDR region code.
	RegionCode string `protobuf:"bytes,5,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// Output only. Indicates whether this Account is soft-deleted or not. Deleted
	// accounts are excluded from List results unless specifically requested.
	Deleted bool `protobuf:"varint,6,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

A resource message representing a Google Analytics account.

func (*Account) Descriptor deprecated

func (*Account) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetCreateTime

func (x *Account) GetCreateTime() *timestamppb.Timestamp

func (*Account) GetDeleted

func (x *Account) GetDeleted() bool

func (*Account) GetDisplayName

func (x *Account) GetDisplayName() string

func (*Account) GetName

func (x *Account) GetName() string

func (*Account) GetRegionCode

func (x *Account) GetRegionCode() string

func (*Account) GetUpdateTime

func (x *Account) GetUpdateTime() *timestamppb.Timestamp

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type AccountSummary

type AccountSummary struct {

	// Resource name for this account summary.
	// Format: accountSummaries/{account_id}
	// Example: "accountSummaries/1000"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Resource name of account referred to by this account summary
	// Format: accounts/{account_id}
	// Example: "accounts/1000"
	Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// Display name for the account referred to in this account summary.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// List of summaries for child accounts of this account.
	PropertySummaries []*PropertySummary `protobuf:"bytes,4,rep,name=property_summaries,json=propertySummaries,proto3" json:"property_summaries,omitempty"`
	// contains filtered or unexported fields
}

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

func (*AccountSummary) Descriptor deprecated

func (*AccountSummary) Descriptor() ([]byte, []int)

Deprecated: Use AccountSummary.ProtoReflect.Descriptor instead.

func (*AccountSummary) GetAccount

func (x *AccountSummary) GetAccount() string

func (*AccountSummary) GetDisplayName

func (x *AccountSummary) GetDisplayName() string

func (*AccountSummary) GetName

func (x *AccountSummary) GetName() string

func (*AccountSummary) GetPropertySummaries

func (x *AccountSummary) GetPropertySummaries() []*PropertySummary

func (*AccountSummary) ProtoMessage

func (*AccountSummary) ProtoMessage()

func (*AccountSummary) ProtoReflect

func (x *AccountSummary) ProtoReflect() protoreflect.Message

func (*AccountSummary) Reset

func (x *AccountSummary) Reset()

func (*AccountSummary) String

func (x *AccountSummary) String() string

type ActionType

type ActionType int32

Types of actions that may change a resource.

const (
	// Action type unknown or not specified.
	ActionType_ACTION_TYPE_UNSPECIFIED ActionType = 0
	// Resource was created in this change.
	ActionType_CREATED ActionType = 1
	// Resource was updated in this change.
	ActionType_UPDATED ActionType = 2
	// Resource was deleted in this change.
	ActionType_DELETED ActionType = 3
)

func (ActionType) Descriptor

func (ActionType) Descriptor() protoreflect.EnumDescriptor

func (ActionType) Enum

func (x ActionType) Enum() *ActionType

func (ActionType) EnumDescriptor deprecated

func (ActionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActionType.Descriptor instead.

func (ActionType) Number

func (x ActionType) Number() protoreflect.EnumNumber

func (ActionType) String

func (x ActionType) String() string

func (ActionType) Type

type ActorType

type ActorType int32

Different kinds of actors that can make changes to Google Analytics resources.

const (
	// Unknown or unspecified actor type.
	ActorType_ACTOR_TYPE_UNSPECIFIED ActorType = 0
	// Changes made by the user specified in actor_email.
	ActorType_USER ActorType = 1
	// Changes made by the Google Analytics system.
	ActorType_SYSTEM ActorType = 2
	// Changes made by Google Analytics support team staff.
	ActorType_SUPPORT ActorType = 3
)

func (ActorType) Descriptor

func (ActorType) Descriptor() protoreflect.EnumDescriptor

func (ActorType) Enum

func (x ActorType) Enum() *ActorType

func (ActorType) EnumDescriptor deprecated

func (ActorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActorType.Descriptor instead.

func (ActorType) Number

func (x ActorType) Number() protoreflect.EnumNumber

func (ActorType) String

func (x ActorType) String() string

func (ActorType) Type

type AnalyticsAdminServiceClient

type AnalyticsAdminServiceClient interface {
	// Lookup for a single Account.
	GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*Account, error)
	// 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.
	ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error)
	// Marks target Account as soft-deleted (ie: "trashed") and returns it.
	//
	// This API does not have a method to restore soft-deleted accounts.
	// However, they can be restored using the Trash Can UI.
	//
	// If the accounts are not restored before the expiration time, the account
	// and all child resources (eg: Properties, GoogleAdsLinks, Streams,
	// UserLinks) will be permanently purged.
	// https://support.google.com/analytics/answer/6154772
	//
	// Returns an error if the target is not found.
	DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates an account.
	UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*Account, error)
	// Requests a ticket for creating an account.
	ProvisionAccountTicket(ctx context.Context, in *ProvisionAccountTicketRequest, opts ...grpc.CallOption) (*ProvisionAccountTicketResponse, error)
	// Returns summaries of all accounts accessible by the caller.
	ListAccountSummaries(ctx context.Context, in *ListAccountSummariesRequest, opts ...grpc.CallOption) (*ListAccountSummariesResponse, error)
	// Lookup for a single "GA4" Property.
	GetProperty(ctx context.Context, in *GetPropertyRequest, opts ...grpc.CallOption) (*Property, error)
	// 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.
	ListProperties(ctx context.Context, in *ListPropertiesRequest, opts ...grpc.CallOption) (*ListPropertiesResponse, error)
	// Creates an "GA4" property with the specified location and attributes.
	CreateProperty(ctx context.Context, in *CreatePropertyRequest, opts ...grpc.CallOption) (*Property, error)
	// Marks target Property as soft-deleted (ie: "trashed") and returns it.
	//
	// This API does not have a method to restore soft-deleted properties.
	// However, they can be restored using the Trash Can UI.
	//
	// If the properties are not restored before the expiration time, the Property
	// and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
	// will be permanently purged.
	// https://support.google.com/analytics/answer/6154772
	//
	// Returns an error if the target is not found, or is not an GA4 Property.
	DeleteProperty(ctx context.Context, in *DeletePropertyRequest, opts ...grpc.CallOption) (*Property, error)
	// Updates a property.
	UpdateProperty(ctx context.Context, in *UpdatePropertyRequest, opts ...grpc.CallOption) (*Property, error)
	// Gets information about a user's link to an account or property.
	GetUserLink(ctx context.Context, in *GetUserLinkRequest, opts ...grpc.CallOption) (*UserLink, error)
	// Gets information about multiple users' links to an account or property.
	BatchGetUserLinks(ctx context.Context, in *BatchGetUserLinksRequest, opts ...grpc.CallOption) (*BatchGetUserLinksResponse, error)
	// Lists all user links on an account or property.
	ListUserLinks(ctx context.Context, in *ListUserLinksRequest, opts ...grpc.CallOption) (*ListUserLinksResponse, error)
	// Lists all user links on an account or property, including implicit ones
	// that come from effective permissions granted by groups or organization
	// admin roles.
	//
	// If a returned user link does not have direct permissions, they cannot
	// be removed from the account or property directly with the DeleteUserLink
	// command. They have to be removed from the group/etc that gives them
	// permissions, which is currently only usable/discoverable in the GA or GMP
	// UIs.
	AuditUserLinks(ctx context.Context, in *AuditUserLinksRequest, opts ...grpc.CallOption) (*AuditUserLinksResponse, error)
	// Creates a user link on an account or property.
	//
	// If the user with the specified email already has permissions on the
	// account or property, then the user's existing permissions will be unioned
	// with the permissions specified in the new UserLink.
	CreateUserLink(ctx context.Context, in *CreateUserLinkRequest, opts ...grpc.CallOption) (*UserLink, error)
	// Creates information about multiple users' links to an account or property.
	//
	// This method is transactional. If any UserLink cannot be created, none of
	// the UserLinks will be created.
	BatchCreateUserLinks(ctx context.Context, in *BatchCreateUserLinksRequest, opts ...grpc.CallOption) (*BatchCreateUserLinksResponse, error)
	// Updates a user link on an account or property.
	UpdateUserLink(ctx context.Context, in *UpdateUserLinkRequest, opts ...grpc.CallOption) (*UserLink, error)
	// Updates information about multiple users' links to an account or property.
	BatchUpdateUserLinks(ctx context.Context, in *BatchUpdateUserLinksRequest, opts ...grpc.CallOption) (*BatchUpdateUserLinksResponse, error)
	// Deletes a user link on an account or property.
	DeleteUserLink(ctx context.Context, in *DeleteUserLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Deletes information about multiple users' links to an account or property.
	BatchDeleteUserLinks(ctx context.Context, in *BatchDeleteUserLinksRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lookup for a single WebDataStream
	GetWebDataStream(ctx context.Context, in *GetWebDataStreamRequest, opts ...grpc.CallOption) (*WebDataStream, error)
	// Deletes a web stream on a property.
	DeleteWebDataStream(ctx context.Context, in *DeleteWebDataStreamRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates a web stream on a property.
	UpdateWebDataStream(ctx context.Context, in *UpdateWebDataStreamRequest, opts ...grpc.CallOption) (*WebDataStream, error)
	// Creates a web stream with the specified location and attributes.
	CreateWebDataStream(ctx context.Context, in *CreateWebDataStreamRequest, opts ...grpc.CallOption) (*WebDataStream, error)
	// Returns child web data streams under the specified parent property.
	//
	// Web data streams will be excluded if the caller does not have access.
	// Returns an empty list if no relevant web data streams are found.
	ListWebDataStreams(ctx context.Context, in *ListWebDataStreamsRequest, opts ...grpc.CallOption) (*ListWebDataStreamsResponse, error)
	// Lookup for a single IosAppDataStream
	GetIosAppDataStream(ctx context.Context, in *GetIosAppDataStreamRequest, opts ...grpc.CallOption) (*IosAppDataStream, error)
	// Deletes an iOS app stream on a property.
	DeleteIosAppDataStream(ctx context.Context, in *DeleteIosAppDataStreamRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates an iOS app stream on a property.
	UpdateIosAppDataStream(ctx context.Context, in *UpdateIosAppDataStreamRequest, opts ...grpc.CallOption) (*IosAppDataStream, error)
	// Returns child iOS app data streams under the specified parent property.
	//
	// iOS app data streams will be excluded if the caller does not have access.
	// Returns an empty list if no relevant iOS app data streams are found.
	ListIosAppDataStreams(ctx context.Context, in *ListIosAppDataStreamsRequest, opts ...grpc.CallOption) (*ListIosAppDataStreamsResponse, error)
	// Lookup for a single AndroidAppDataStream
	GetAndroidAppDataStream(ctx context.Context, in *GetAndroidAppDataStreamRequest, opts ...grpc.CallOption) (*AndroidAppDataStream, error)
	// Deletes an android app stream on a property.
	DeleteAndroidAppDataStream(ctx context.Context, in *DeleteAndroidAppDataStreamRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates an android app stream on a property.
	UpdateAndroidAppDataStream(ctx context.Context, in *UpdateAndroidAppDataStreamRequest, opts ...grpc.CallOption) (*AndroidAppDataStream, error)
	// Returns child android app streams under the specified parent property.
	//
	// Android app streams will be excluded if the caller does not have access.
	// Returns an empty list if no relevant android app streams are found.
	ListAndroidAppDataStreams(ctx context.Context, in *ListAndroidAppDataStreamsRequest, opts ...grpc.CallOption) (*ListAndroidAppDataStreamsResponse, error)
	// Returns the singleton enhanced measurement settings for this web stream.
	// Note that the stream must enable enhanced measurement for these settings to
	// take effect.
	GetEnhancedMeasurementSettings(ctx context.Context, in *GetEnhancedMeasurementSettingsRequest, opts ...grpc.CallOption) (*EnhancedMeasurementSettings, error)
	// Updates the singleton enhanced measurement settings for this web stream.
	// Note that the stream must enable enhanced measurement for these settings to
	// take effect.
	UpdateEnhancedMeasurementSettings(ctx context.Context, in *UpdateEnhancedMeasurementSettingsRequest, opts ...grpc.CallOption) (*EnhancedMeasurementSettings, error)
	// Creates a FirebaseLink.
	//
	// Properties can have at most one FirebaseLink.
	CreateFirebaseLink(ctx context.Context, in *CreateFirebaseLinkRequest, opts ...grpc.CallOption) (*FirebaseLink, error)
	// Deletes a FirebaseLink on a property
	DeleteFirebaseLink(ctx context.Context, in *DeleteFirebaseLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lists FirebaseLinks on a property.
	// Properties can have at most one FirebaseLink.
	ListFirebaseLinks(ctx context.Context, in *ListFirebaseLinksRequest, opts ...grpc.CallOption) (*ListFirebaseLinksResponse, error)
	// Returns the Site Tag for the specified web stream.
	// Site Tags are immutable singletons.
	GetGlobalSiteTag(ctx context.Context, in *GetGlobalSiteTagRequest, opts ...grpc.CallOption) (*GlobalSiteTag, error)
	// Creates a GoogleAdsLink.
	CreateGoogleAdsLink(ctx context.Context, in *CreateGoogleAdsLinkRequest, opts ...grpc.CallOption) (*GoogleAdsLink, error)
	// Updates a GoogleAdsLink on a property
	UpdateGoogleAdsLink(ctx context.Context, in *UpdateGoogleAdsLinkRequest, opts ...grpc.CallOption) (*GoogleAdsLink, error)
	// Deletes a GoogleAdsLink on a property
	DeleteGoogleAdsLink(ctx context.Context, in *DeleteGoogleAdsLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lists GoogleAdsLinks on a property.
	ListGoogleAdsLinks(ctx context.Context, in *ListGoogleAdsLinksRequest, opts ...grpc.CallOption) (*ListGoogleAdsLinksResponse, error)
	// Get data sharing settings on an account.
	// Data sharing settings are singletons.
	GetDataSharingSettings(ctx context.Context, in *GetDataSharingSettingsRequest, opts ...grpc.CallOption) (*DataSharingSettings, error)
	// Lookup for a single "GA4" MeasurementProtocolSecret.
	GetMeasurementProtocolSecret(ctx context.Context, in *GetMeasurementProtocolSecretRequest, opts ...grpc.CallOption) (*MeasurementProtocolSecret, error)
	// Returns child MeasurementProtocolSecrets under the specified parent
	// Property.
	ListMeasurementProtocolSecrets(ctx context.Context, in *ListMeasurementProtocolSecretsRequest, opts ...grpc.CallOption) (*ListMeasurementProtocolSecretsResponse, error)
	// Creates a measurement protocol secret.
	CreateMeasurementProtocolSecret(ctx context.Context, in *CreateMeasurementProtocolSecretRequest, opts ...grpc.CallOption) (*MeasurementProtocolSecret, error)
	// Deletes target MeasurementProtocolSecret.
	DeleteMeasurementProtocolSecret(ctx context.Context, in *DeleteMeasurementProtocolSecretRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates a measurement protocol secret.
	UpdateMeasurementProtocolSecret(ctx context.Context, in *UpdateMeasurementProtocolSecretRequest, opts ...grpc.CallOption) (*MeasurementProtocolSecret, error)
	// Searches through all changes to an account or its children given the
	// specified set of filters.
	SearchChangeHistoryEvents(ctx context.Context, in *SearchChangeHistoryEventsRequest, opts ...grpc.CallOption) (*SearchChangeHistoryEventsResponse, error)
	// Lookup for Google Signals settings for a property.
	GetGoogleSignalsSettings(ctx context.Context, in *GetGoogleSignalsSettingsRequest, opts ...grpc.CallOption) (*GoogleSignalsSettings, error)
	// Updates Google Signals settings for a property.
	UpdateGoogleSignalsSettings(ctx context.Context, in *UpdateGoogleSignalsSettingsRequest, opts ...grpc.CallOption) (*GoogleSignalsSettings, error)
	// Creates a conversion event with the specified attributes.
	CreateConversionEvent(ctx context.Context, in *CreateConversionEventRequest, opts ...grpc.CallOption) (*ConversionEvent, error)
	// Retrieve a single conversion event.
	GetConversionEvent(ctx context.Context, in *GetConversionEventRequest, opts ...grpc.CallOption) (*ConversionEvent, error)
	// Deletes a conversion event in a property.
	DeleteConversionEvent(ctx context.Context, in *DeleteConversionEventRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Returns a list of conversion events in the specified parent property.
	//
	// Returns an empty list if no conversion events are found.
	ListConversionEvents(ctx context.Context, in *ListConversionEventsRequest, opts ...grpc.CallOption) (*ListConversionEventsResponse, error)
	// Look up a single DisplayVideo360AdvertiserLink
	GetDisplayVideo360AdvertiserLink(ctx context.Context, in *GetDisplayVideo360AdvertiserLinkRequest, opts ...grpc.CallOption) (*DisplayVideo360AdvertiserLink, error)
	// Lists all DisplayVideo360AdvertiserLinks on a property.
	ListDisplayVideo360AdvertiserLinks(ctx context.Context, in *ListDisplayVideo360AdvertiserLinksRequest, opts ...grpc.CallOption) (*ListDisplayVideo360AdvertiserLinksResponse, error)
	// 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.
	CreateDisplayVideo360AdvertiserLink(ctx context.Context, in *CreateDisplayVideo360AdvertiserLinkRequest, opts ...grpc.CallOption) (*DisplayVideo360AdvertiserLink, error)
	// Deletes a DisplayVideo360AdvertiserLink on a property.
	DeleteDisplayVideo360AdvertiserLink(ctx context.Context, in *DeleteDisplayVideo360AdvertiserLinkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates a DisplayVideo360AdvertiserLink on a property.
	UpdateDisplayVideo360AdvertiserLink(ctx context.Context, in *UpdateDisplayVideo360AdvertiserLinkRequest, opts ...grpc.CallOption) (*DisplayVideo360AdvertiserLink, error)
	// Lookup for a single DisplayVideo360AdvertiserLinkProposal.
	GetDisplayVideo360AdvertiserLinkProposal(ctx context.Context, in *GetDisplayVideo360AdvertiserLinkProposalRequest, opts ...grpc.CallOption) (*DisplayVideo360AdvertiserLinkProposal, error)
	// Lists DisplayVideo360AdvertiserLinkProposals on a property.
	ListDisplayVideo360AdvertiserLinkProposals(ctx context.Context, in *ListDisplayVideo360AdvertiserLinkProposalsRequest, opts ...grpc.CallOption) (*ListDisplayVideo360AdvertiserLinkProposalsResponse, error)
	// Creates a DisplayVideo360AdvertiserLinkProposal.
	CreateDisplayVideo360AdvertiserLinkProposal(ctx context.Context, in *CreateDisplayVideo360AdvertiserLinkProposalRequest, opts ...grpc.CallOption) (*DisplayVideo360AdvertiserLinkProposal, error)
	// Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
	// This can only be used on cancelled proposals.
	DeleteDisplayVideo360AdvertiserLinkProposal(ctx context.Context, in *DeleteDisplayVideo360AdvertiserLinkProposalRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Approves a DisplayVideo360AdvertiserLinkProposal.
	// The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
	// DisplayVideo360AdvertiserLink will be created.
	ApproveDisplayVideo360AdvertiserLinkProposal(ctx context.Context, in *ApproveDisplayVideo360AdvertiserLinkProposalRequest, opts ...grpc.CallOption) (*ApproveDisplayVideo360AdvertiserLinkProposalResponse, error)
	// 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.
	CancelDisplayVideo360AdvertiserLinkProposal(ctx context.Context, in *CancelDisplayVideo360AdvertiserLinkProposalRequest, opts ...grpc.CallOption) (*DisplayVideo360AdvertiserLinkProposal, error)
	// Creates a CustomDimension.
	CreateCustomDimension(ctx context.Context, in *CreateCustomDimensionRequest, opts ...grpc.CallOption) (*CustomDimension, error)
	// Updates a CustomDimension on a property.
	UpdateCustomDimension(ctx context.Context, in *UpdateCustomDimensionRequest, opts ...grpc.CallOption) (*CustomDimension, error)
	// Lists CustomDimensions on a property.
	ListCustomDimensions(ctx context.Context, in *ListCustomDimensionsRequest, opts ...grpc.CallOption) (*ListCustomDimensionsResponse, error)
	// Archives a CustomDimension on a property.
	ArchiveCustomDimension(ctx context.Context, in *ArchiveCustomDimensionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lookup for a single CustomDimension.
	GetCustomDimension(ctx context.Context, in *GetCustomDimensionRequest, opts ...grpc.CallOption) (*CustomDimension, error)
	// Creates a CustomMetric.
	CreateCustomMetric(ctx context.Context, in *CreateCustomMetricRequest, opts ...grpc.CallOption) (*CustomMetric, error)
	// Updates a CustomMetric on a property.
	UpdateCustomMetric(ctx context.Context, in *UpdateCustomMetricRequest, opts ...grpc.CallOption) (*CustomMetric, error)
	// Lists CustomMetrics on a property.
	ListCustomMetrics(ctx context.Context, in *ListCustomMetricsRequest, opts ...grpc.CallOption) (*ListCustomMetricsResponse, error)
	// Archives a CustomMetric on a property.
	ArchiveCustomMetric(ctx context.Context, in *ArchiveCustomMetricRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lookup for a single CustomMetric.
	GetCustomMetric(ctx context.Context, in *GetCustomMetricRequest, opts ...grpc.CallOption) (*CustomMetric, error)
	// Returns the singleton data retention settings for this property.
	GetDataRetentionSettings(ctx context.Context, in *GetDataRetentionSettingsRequest, opts ...grpc.CallOption) (*DataRetentionSettings, error)
	// Updates the singleton data retention settings for this property.
	UpdateDataRetentionSettings(ctx context.Context, in *UpdateDataRetentionSettingsRequest, opts ...grpc.CallOption) (*DataRetentionSettings, error)
}

AnalyticsAdminServiceClient is the client API for AnalyticsAdminService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type AnalyticsAdminServiceServer

type AnalyticsAdminServiceServer interface {
	// Lookup for a single Account.
	GetAccount(context.Context, *GetAccountRequest) (*Account, error)
	// 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.
	ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
	// Marks target Account as soft-deleted (ie: "trashed") and returns it.
	//
	// This API does not have a method to restore soft-deleted accounts.
	// However, they can be restored using the Trash Can UI.
	//
	// If the accounts are not restored before the expiration time, the account
	// and all child resources (eg: Properties, GoogleAdsLinks, Streams,
	// UserLinks) will be permanently purged.
	// https://support.google.com/analytics/answer/6154772
	//
	// Returns an error if the target is not found.
	DeleteAccount(context.Context, *DeleteAccountRequest) (*emptypb.Empty, error)
	// Updates an account.
	UpdateAccount(context.Context, *UpdateAccountRequest) (*Account, error)
	// Requests a ticket for creating an account.
	ProvisionAccountTicket(context.Context, *ProvisionAccountTicketRequest) (*ProvisionAccountTicketResponse, error)
	// Returns summaries of all accounts accessible by the caller.
	ListAccountSummaries(context.Context, *ListAccountSummariesRequest) (*ListAccountSummariesResponse, error)
	// Lookup for a single "GA4" Property.
	GetProperty(context.Context, *GetPropertyRequest) (*Property, error)
	// 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.
	ListProperties(context.Context, *ListPropertiesRequest) (*ListPropertiesResponse, error)
	// Creates an "GA4" property with the specified location and attributes.
	CreateProperty(context.Context, *CreatePropertyRequest) (*Property, error)
	// Marks target Property as soft-deleted (ie: "trashed") and returns it.
	//
	// This API does not have a method to restore soft-deleted properties.
	// However, they can be restored using the Trash Can UI.
	//
	// If the properties are not restored before the expiration time, the Property
	// and all child resources (eg: GoogleAdsLinks, Streams, UserLinks)
	// will be permanently purged.
	// https://support.google.com/analytics/answer/6154772
	//
	// Returns an error if the target is not found, or is not an GA4 Property.
	DeleteProperty(context.Context, *DeletePropertyRequest) (*Property, error)
	// Updates a property.
	UpdateProperty(context.Context, *UpdatePropertyRequest) (*Property, error)
	// Gets information about a user's link to an account or property.
	GetUserLink(context.Context, *GetUserLinkRequest) (*UserLink, error)
	// Gets information about multiple users' links to an account or property.
	BatchGetUserLinks(context.Context, *BatchGetUserLinksRequest) (*BatchGetUserLinksResponse, error)
	// Lists all user links on an account or property.
	ListUserLinks(context.Context, *ListUserLinksRequest) (*ListUserLinksResponse, error)
	// Lists all user links on an account or property, including implicit ones
	// that come from effective permissions granted by groups or organization
	// admin roles.
	//
	// If a returned user link does not have direct permissions, they cannot
	// be removed from the account or property directly with the DeleteUserLink
	// command. They have to be removed from the group/etc that gives them
	// permissions, which is currently only usable/discoverable in the GA or GMP
	// UIs.
	AuditUserLinks(context.Context, *AuditUserLinksRequest) (*AuditUserLinksResponse, error)
	// Creates a user link on an account or property.
	//
	// If the user with the specified email already has permissions on the
	// account or property, then the user's existing permissions will be unioned
	// with the permissions specified in the new UserLink.
	CreateUserLink(context.Context, *CreateUserLinkRequest) (*UserLink, error)
	// Creates information about multiple users' links to an account or property.
	//
	// This method is transactional. If any UserLink cannot be created, none of
	// the UserLinks will be created.
	BatchCreateUserLinks(context.Context, *BatchCreateUserLinksRequest) (*BatchCreateUserLinksResponse, error)
	// Updates a user link on an account or property.
	UpdateUserLink(context.Context, *UpdateUserLinkRequest) (*UserLink, error)
	// Updates information about multiple users' links to an account or property.
	BatchUpdateUserLinks(context.Context, *BatchUpdateUserLinksRequest) (*BatchUpdateUserLinksResponse, error)
	// Deletes a user link on an account or property.
	DeleteUserLink(context.Context, *DeleteUserLinkRequest) (*emptypb.Empty, error)
	// Deletes information about multiple users' links to an account or property.
	BatchDeleteUserLinks(context.Context, *BatchDeleteUserLinksRequest) (*emptypb.Empty, error)
	// Lookup for a single WebDataStream
	GetWebDataStream(context.Context, *GetWebDataStreamRequest) (*WebDataStream, error)
	// Deletes a web stream on a property.
	DeleteWebDataStream(context.Context, *DeleteWebDataStreamRequest) (*emptypb.Empty, error)
	// Updates a web stream on a property.
	UpdateWebDataStream(context.Context, *UpdateWebDataStreamRequest) (*WebDataStream, error)
	// Creates a web stream with the specified location and attributes.
	CreateWebDataStream(context.Context, *CreateWebDataStreamRequest) (*WebDataStream, error)
	// Returns child web data streams under the specified parent property.
	//
	// Web data streams will be excluded if the caller does not have access.
	// Returns an empty list if no relevant web data streams are found.
	ListWebDataStreams(context.Context, *ListWebDataStreamsRequest) (*ListWebDataStreamsResponse, error)
	// Lookup for a single IosAppDataStream
	GetIosAppDataStream(context.Context, *GetIosAppDataStreamRequest) (*IosAppDataStream, error)
	// Deletes an iOS app stream on a property.
	DeleteIosAppDataStream(context.Context, *DeleteIosAppDataStreamRequest) (*emptypb.Empty, error)
	// Updates an iOS app stream on a property.
	UpdateIosAppDataStream(context.Context, *UpdateIosAppDataStreamRequest) (*IosAppDataStream, error)
	// Returns child iOS app data streams under the specified parent property.
	//
	// iOS app data streams will be excluded if the caller does not have access.
	// Returns an empty list if no relevant iOS app data streams are found.
	ListIosAppDataStreams(context.Context, *ListIosAppDataStreamsRequest) (*ListIosAppDataStreamsResponse, error)
	// Lookup for a single AndroidAppDataStream
	GetAndroidAppDataStream(context.Context, *GetAndroidAppDataStreamRequest) (*AndroidAppDataStream, error)
	// Deletes an android app stream on a property.
	DeleteAndroidAppDataStream(context.Context, *DeleteAndroidAppDataStreamRequest) (*emptypb.Empty, error)
	// Updates an android app stream on a property.
	UpdateAndroidAppDataStream(context.Context, *UpdateAndroidAppDataStreamRequest) (*AndroidAppDataStream, error)
	// Returns child android app streams under the specified parent property.
	//
	// Android app streams will be excluded if the caller does not have access.
	// Returns an empty list if no relevant android app streams are found.
	ListAndroidAppDataStreams(context.Context, *ListAndroidAppDataStreamsRequest) (*ListAndroidAppDataStreamsResponse, error)
	// Returns the singleton enhanced measurement settings for this web stream.
	// Note that the stream must enable enhanced measurement for these settings to
	// take effect.
	GetEnhancedMeasurementSettings(context.Context, *GetEnhancedMeasurementSettingsRequest) (*EnhancedMeasurementSettings, error)
	// Updates the singleton enhanced measurement settings for this web stream.
	// Note that the stream must enable enhanced measurement for these settings to
	// take effect.
	UpdateEnhancedMeasurementSettings(context.Context, *UpdateEnhancedMeasurementSettingsRequest) (*EnhancedMeasurementSettings, error)
	// Creates a FirebaseLink.
	//
	// Properties can have at most one FirebaseLink.
	CreateFirebaseLink(context.Context, *CreateFirebaseLinkRequest) (*FirebaseLink, error)
	// Deletes a FirebaseLink on a property
	DeleteFirebaseLink(context.Context, *DeleteFirebaseLinkRequest) (*emptypb.Empty, error)
	// Lists FirebaseLinks on a property.
	// Properties can have at most one FirebaseLink.
	ListFirebaseLinks(context.Context, *ListFirebaseLinksRequest) (*ListFirebaseLinksResponse, error)
	// Returns the Site Tag for the specified web stream.
	// Site Tags are immutable singletons.
	GetGlobalSiteTag(context.Context, *GetGlobalSiteTagRequest) (*GlobalSiteTag, error)
	// Creates a GoogleAdsLink.
	CreateGoogleAdsLink(context.Context, *CreateGoogleAdsLinkRequest) (*GoogleAdsLink, error)
	// Updates a GoogleAdsLink on a property
	UpdateGoogleAdsLink(context.Context, *UpdateGoogleAdsLinkRequest) (*GoogleAdsLink, error)
	// Deletes a GoogleAdsLink on a property
	DeleteGoogleAdsLink(context.Context, *DeleteGoogleAdsLinkRequest) (*emptypb.Empty, error)
	// Lists GoogleAdsLinks on a property.
	ListGoogleAdsLinks(context.Context, *ListGoogleAdsLinksRequest) (*ListGoogleAdsLinksResponse, error)
	// Get data sharing settings on an account.
	// Data sharing settings are singletons.
	GetDataSharingSettings(context.Context, *GetDataSharingSettingsRequest) (*DataSharingSettings, error)
	// Lookup for a single "GA4" MeasurementProtocolSecret.
	GetMeasurementProtocolSecret(context.Context, *GetMeasurementProtocolSecretRequest) (*MeasurementProtocolSecret, error)
	// Returns child MeasurementProtocolSecrets under the specified parent
	// Property.
	ListMeasurementProtocolSecrets(context.Context, *ListMeasurementProtocolSecretsRequest) (*ListMeasurementProtocolSecretsResponse, error)
	// Creates a measurement protocol secret.
	CreateMeasurementProtocolSecret(context.Context, *CreateMeasurementProtocolSecretRequest) (*MeasurementProtocolSecret, error)
	// Deletes target MeasurementProtocolSecret.
	DeleteMeasurementProtocolSecret(context.Context, *DeleteMeasurementProtocolSecretRequest) (*emptypb.Empty, error)
	// Updates a measurement protocol secret.
	UpdateMeasurementProtocolSecret(context.Context, *UpdateMeasurementProtocolSecretRequest) (*MeasurementProtocolSecret, error)
	// Searches through all changes to an account or its children given the
	// specified set of filters.
	SearchChangeHistoryEvents(context.Context, *SearchChangeHistoryEventsRequest) (*SearchChangeHistoryEventsResponse, error)
	// Lookup for Google Signals settings for a property.
	GetGoogleSignalsSettings(context.Context, *GetGoogleSignalsSettingsRequest) (*GoogleSignalsSettings, error)
	// Updates Google Signals settings for a property.
	UpdateGoogleSignalsSettings(context.Context, *UpdateGoogleSignalsSettingsRequest) (*GoogleSignalsSettings, error)
	// Creates a conversion event with the specified attributes.
	CreateConversionEvent(context.Context, *CreateConversionEventRequest) (*ConversionEvent, error)
	// Retrieve a single conversion event.
	GetConversionEvent(context.Context, *GetConversionEventRequest) (*ConversionEvent, error)
	// Deletes a conversion event in a property.
	DeleteConversionEvent(context.Context, *DeleteConversionEventRequest) (*emptypb.Empty, error)
	// Returns a list of conversion events in the specified parent property.
	//
	// Returns an empty list if no conversion events are found.
	ListConversionEvents(context.Context, *ListConversionEventsRequest) (*ListConversionEventsResponse, error)
	// Look up a single DisplayVideo360AdvertiserLink
	GetDisplayVideo360AdvertiserLink(context.Context, *GetDisplayVideo360AdvertiserLinkRequest) (*DisplayVideo360AdvertiserLink, error)
	// Lists all DisplayVideo360AdvertiserLinks on a property.
	ListDisplayVideo360AdvertiserLinks(context.Context, *ListDisplayVideo360AdvertiserLinksRequest) (*ListDisplayVideo360AdvertiserLinksResponse, error)
	// 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.
	CreateDisplayVideo360AdvertiserLink(context.Context, *CreateDisplayVideo360AdvertiserLinkRequest) (*DisplayVideo360AdvertiserLink, error)
	// Deletes a DisplayVideo360AdvertiserLink on a property.
	DeleteDisplayVideo360AdvertiserLink(context.Context, *DeleteDisplayVideo360AdvertiserLinkRequest) (*emptypb.Empty, error)
	// Updates a DisplayVideo360AdvertiserLink on a property.
	UpdateDisplayVideo360AdvertiserLink(context.Context, *UpdateDisplayVideo360AdvertiserLinkRequest) (*DisplayVideo360AdvertiserLink, error)
	// Lookup for a single DisplayVideo360AdvertiserLinkProposal.
	GetDisplayVideo360AdvertiserLinkProposal(context.Context, *GetDisplayVideo360AdvertiserLinkProposalRequest) (*DisplayVideo360AdvertiserLinkProposal, error)
	// Lists DisplayVideo360AdvertiserLinkProposals on a property.
	ListDisplayVideo360AdvertiserLinkProposals(context.Context, *ListDisplayVideo360AdvertiserLinkProposalsRequest) (*ListDisplayVideo360AdvertiserLinkProposalsResponse, error)
	// Creates a DisplayVideo360AdvertiserLinkProposal.
	CreateDisplayVideo360AdvertiserLinkProposal(context.Context, *CreateDisplayVideo360AdvertiserLinkProposalRequest) (*DisplayVideo360AdvertiserLinkProposal, error)
	// Deletes a DisplayVideo360AdvertiserLinkProposal on a property.
	// This can only be used on cancelled proposals.
	DeleteDisplayVideo360AdvertiserLinkProposal(context.Context, *DeleteDisplayVideo360AdvertiserLinkProposalRequest) (*emptypb.Empty, error)
	// Approves a DisplayVideo360AdvertiserLinkProposal.
	// The DisplayVideo360AdvertiserLinkProposal will be deleted and a new
	// DisplayVideo360AdvertiserLink will be created.
	ApproveDisplayVideo360AdvertiserLinkProposal(context.Context, *ApproveDisplayVideo360AdvertiserLinkProposalRequest) (*ApproveDisplayVideo360AdvertiserLinkProposalResponse, error)
	// 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.
	CancelDisplayVideo360AdvertiserLinkProposal(context.Context, *CancelDisplayVideo360AdvertiserLinkProposalRequest) (*DisplayVideo360AdvertiserLinkProposal, error)
	// Creates a CustomDimension.
	CreateCustomDimension(context.Context, *CreateCustomDimensionRequest) (*CustomDimension, error)
	// Updates a CustomDimension on a property.
	UpdateCustomDimension(context.Context, *UpdateCustomDimensionRequest) (*CustomDimension, error)
	// Lists CustomDimensions on a property.
	ListCustomDimensions(context.Context, *ListCustomDimensionsRequest) (*ListCustomDimensionsResponse, error)
	// Archives a CustomDimension on a property.
	ArchiveCustomDimension(context.Context, *ArchiveCustomDimensionRequest) (*emptypb.Empty, error)
	// Lookup for a single CustomDimension.
	GetCustomDimension(context.Context, *GetCustomDimensionRequest) (*CustomDimension, error)
	// Creates a CustomMetric.
	CreateCustomMetric(context.Context, *CreateCustomMetricRequest) (*CustomMetric, error)
	// Updates a CustomMetric on a property.
	UpdateCustomMetric(context.Context, *UpdateCustomMetricRequest) (*CustomMetric, error)
	// Lists CustomMetrics on a property.
	ListCustomMetrics(context.Context, *ListCustomMetricsRequest) (*ListCustomMetricsResponse, error)
	// Archives a CustomMetric on a property.
	ArchiveCustomMetric(context.Context, *ArchiveCustomMetricRequest) (*emptypb.Empty, error)
	// Lookup for a single CustomMetric.
	GetCustomMetric(context.Context, *GetCustomMetricRequest) (*CustomMetric, error)
	// Returns the singleton data retention settings for this property.
	GetDataRetentionSettings(context.Context, *GetDataRetentionSettingsRequest) (*DataRetentionSettings, error)
	// Updates the singleton data retention settings for this property.
	UpdateDataRetentionSettings(context.Context, *UpdateDataRetentionSettingsRequest) (*DataRetentionSettings, error)
}

AnalyticsAdminServiceServer is the server API for AnalyticsAdminService service.

type AndroidAppDataStream

type AndroidAppDataStream struct {

	// Output only. Resource name of this Data Stream.
	// Format: properties/{property_id}/androidAppDataStreams/{stream_id}
	// Example: "properties/1000/androidAppDataStreams/2000"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. ID of the corresponding Android app in Firebase, if any.
	// This ID can change if the Android app is deleted and recreated.
	FirebaseAppId string `protobuf:"bytes,2,opt,name=firebase_app_id,json=firebaseAppId,proto3" json:"firebase_app_id,omitempty"`
	// Output only. Time when this stream was originally created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when stream payload fields were last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Immutable. The package name for the app being measured.
	// Example: "com.example.myandroidapp"
	PackageName string `protobuf:"bytes,5,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	// Human-readable display name for the Data Stream.
	//
	// The max allowed display name length is 255 UTF-16 code units.
	DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

A resource message representing a Google Analytics Android app stream.

func (*AndroidAppDataStream) Descriptor deprecated

func (*AndroidAppDataStream) Descriptor() ([]byte, []int)

Deprecated: Use AndroidAppDataStream.ProtoReflect.Descriptor instead.

func (*AndroidAppDataStream) GetCreateTime

func (x *AndroidAppDataStream) GetCreateTime() *timestamppb.Timestamp

func (*AndroidAppDataStream) GetDisplayName

func (x *AndroidAppDataStream) GetDisplayName() string

func (*AndroidAppDataStream) GetFirebaseAppId

func (x *AndroidAppDataStream) GetFirebaseAppId() string

func (*AndroidAppDataStream) GetName

func (x *AndroidAppDataStream) GetName() string

func (*AndroidAppDataStream) GetPackageName

func (x *AndroidAppDataStream) GetPackageName() string

func (*AndroidAppDataStream) GetUpdateTime

func (x *AndroidAppDataStream) GetUpdateTime() *timestamppb.Timestamp

func (*AndroidAppDataStream) ProtoMessage

func (*AndroidAppDataStream) ProtoMessage()

func (*AndroidAppDataStream) ProtoReflect

func (x *AndroidAppDataStream) ProtoReflect() protoreflect.Message

func (*AndroidAppDataStream) Reset

func (x *AndroidAppDataStream) Reset()

func (*AndroidAppDataStream) String

func (x *AndroidAppDataStream) String() string

type ApproveDisplayVideo360AdvertiserLinkProposalRequest

type ApproveDisplayVideo360AdvertiserLinkProposalRequest struct {

	// Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve.
	// Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.

func (*ApproveDisplayVideo360AdvertiserLinkProposalRequest) Descriptor deprecated

Deprecated: Use ApproveDisplayVideo360AdvertiserLinkProposalRequest.ProtoReflect.Descriptor instead.

func (*ApproveDisplayVideo360AdvertiserLinkProposalRequest) GetName

func (*ApproveDisplayVideo360AdvertiserLinkProposalRequest) ProtoMessage

func (*ApproveDisplayVideo360AdvertiserLinkProposalRequest) ProtoReflect

func (*ApproveDisplayVideo360AdvertiserLinkProposalRequest) Reset

func (*ApproveDisplayVideo360AdvertiserLinkProposalRequest) String

type ApproveDisplayVideo360AdvertiserLinkProposalResponse

type ApproveDisplayVideo360AdvertiserLinkProposalResponse struct {

	// The DisplayVideo360AdvertiserLink created as a result of approving the
	// proposal.
	DisplayVideo_360AdvertiserLink *DisplayVideo360AdvertiserLink `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.

func (*ApproveDisplayVideo360AdvertiserLinkProposalResponse) Descriptor deprecated

Deprecated: Use ApproveDisplayVideo360AdvertiserLinkProposalResponse.ProtoReflect.Descriptor instead.

func (*ApproveDisplayVideo360AdvertiserLinkProposalResponse) ProtoMessage

func (*ApproveDisplayVideo360AdvertiserLinkProposalResponse) ProtoReflect

func (*ApproveDisplayVideo360AdvertiserLinkProposalResponse) Reset

func (*ApproveDisplayVideo360AdvertiserLinkProposalResponse) String

type ArchiveCustomDimensionRequest

type ArchiveCustomDimensionRequest struct {

	// Required. The name of the CustomDimension to archive.
	// Example format: properties/1234/customDimensions/5678
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for ArchiveCustomDimension RPC.

func (*ArchiveCustomDimensionRequest) Descriptor deprecated

func (*ArchiveCustomDimensionRequest) Descriptor() ([]byte, []int)

Deprecated: Use ArchiveCustomDimensionRequest.ProtoReflect.Descriptor instead.

func (*ArchiveCustomDimensionRequest) GetName

func (*ArchiveCustomDimensionRequest) ProtoMessage

func (*ArchiveCustomDimensionRequest) ProtoMessage()

func (*ArchiveCustomDimensionRequest) ProtoReflect

func (*ArchiveCustomDimensionRequest) Reset

func (x *ArchiveCustomDimensionRequest) Reset()

func (*ArchiveCustomDimensionRequest) String

type ArchiveCustomMetricRequest

type ArchiveCustomMetricRequest struct {

	// Required. The name of the CustomMetric to archive.
	// Example format: properties/1234/customMetrics/5678
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for ArchiveCustomMetric RPC.

func (*ArchiveCustomMetricRequest) Descriptor deprecated

func (*ArchiveCustomMetricRequest) Descriptor() ([]byte, []int)

Deprecated: Use ArchiveCustomMetricRequest.ProtoReflect.Descriptor instead.

func (*ArchiveCustomMetricRequest) GetName

func (x *ArchiveCustomMetricRequest) GetName() string

func (*ArchiveCustomMetricRequest) ProtoMessage

func (*ArchiveCustomMetricRequest) ProtoMessage()

func (*ArchiveCustomMetricRequest) ProtoReflect

func (*ArchiveCustomMetricRequest) Reset

func (x *ArchiveCustomMetricRequest) Reset()

func (*ArchiveCustomMetricRequest) String

func (x *ArchiveCustomMetricRequest) String() string
type AuditUserLink struct {

	// Example format: properties/1234/userLinks/5678
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Email address of the linked user
	EmailAddress string `protobuf:"bytes,2,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
	// Roles directly assigned to this user for this entity.
	//
	// Format: predefinedRoles/read
	//
	// Excludes roles that are inherited from an account (if this is for a
	// property), group, or organization admin role.
	DirectRoles []string `protobuf:"bytes,3,rep,name=direct_roles,json=directRoles,proto3" json:"direct_roles,omitempty"`
	// Union of all permissions a user has at this account or property (includes
	// direct permissions, group-inherited permissions, etc.).
	//
	// Format: predefinedRoles/read
	EffectiveRoles []string `protobuf:"bytes,4,rep,name=effective_roles,json=effectiveRoles,proto3" json:"effective_roles,omitempty"`
	// contains filtered or unexported fields
}

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

func (*AuditUserLink) Descriptor deprecated

func (*AuditUserLink) Descriptor() ([]byte, []int)

Deprecated: Use AuditUserLink.ProtoReflect.Descriptor instead.

func (*AuditUserLink) GetDirectRoles

func (x *AuditUserLink) GetDirectRoles() []string

func (*AuditUserLink) GetEffectiveRoles

func (x *AuditUserLink) GetEffectiveRoles() []string

func (*AuditUserLink) GetEmailAddress

func (x *AuditUserLink) GetEmailAddress() string

func (*AuditUserLink) GetName

func (x *AuditUserLink) GetName() string

func (*AuditUserLink) ProtoMessage

func (*AuditUserLink) ProtoMessage()

func (*AuditUserLink) ProtoReflect

func (x *AuditUserLink) ProtoReflect() protoreflect.Message

func (*AuditUserLink) Reset

func (x *AuditUserLink) Reset()

func (*AuditUserLink) String

func (x *AuditUserLink) String() string

type AuditUserLinksRequest

type AuditUserLinksRequest struct {

	// Required. Example format: accounts/1234
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of user links to return.
	// The service may return fewer than this value.
	// If unspecified, at most 1000 user links will be returned.
	// The maximum value is 5000; values above 5000 will be coerced to 5000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `AuditUserLinks` call.
	// Provide this to retrieve the subsequent page.
	// When paginating, all other parameters provided to `AuditUserLinks` must
	// match the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for AuditUserLinks RPC.

func (*AuditUserLinksRequest) Descriptor deprecated

func (*AuditUserLinksRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuditUserLinksRequest.ProtoReflect.Descriptor instead.

func (*AuditUserLinksRequest) GetPageSize

func (x *AuditUserLinksRequest) GetPageSize() int32

func (*AuditUserLinksRequest) GetPageToken

func (x *AuditUserLinksRequest) GetPageToken() string

func (*AuditUserLinksRequest) GetParent

func (x *AuditUserLinksRequest) GetParent() string

func (*AuditUserLinksRequest) ProtoMessage

func (*AuditUserLinksRequest) ProtoMessage()

func (*AuditUserLinksRequest) ProtoReflect

func (x *AuditUserLinksRequest) ProtoReflect() protoreflect.Message

func (*AuditUserLinksRequest) Reset

func (x *AuditUserLinksRequest) Reset()

func (*AuditUserLinksRequest) String

func (x *AuditUserLinksRequest) String() string

type AuditUserLinksResponse

type AuditUserLinksResponse struct {

	// List of AuditUserLinks. These will be ordered stably, but in an arbitrary
	// order.
	UserLinks []*AuditUserLink `protobuf:"bytes,1,rep,name=user_links,json=userLinks,proto3" json:"user_links,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for AuditUserLinks RPC.

func (*AuditUserLinksResponse) Descriptor deprecated

func (*AuditUserLinksResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuditUserLinksResponse.ProtoReflect.Descriptor instead.

func (*AuditUserLinksResponse) GetNextPageToken

func (x *AuditUserLinksResponse) GetNextPageToken() string
func (x *AuditUserLinksResponse) GetUserLinks() []*AuditUserLink

func (*AuditUserLinksResponse) ProtoMessage

func (*AuditUserLinksResponse) ProtoMessage()

func (*AuditUserLinksResponse) ProtoReflect

func (x *AuditUserLinksResponse) ProtoReflect() protoreflect.Message

func (*AuditUserLinksResponse) Reset

func (x *AuditUserLinksResponse) Reset()

func (*AuditUserLinksResponse) String

func (x *AuditUserLinksResponse) String() string

type BatchCreateUserLinksRequest

type BatchCreateUserLinksRequest struct {

	// Required. The account or property that all user links in the request are for.
	// This field is required. The parent field in the CreateUserLinkRequest
	// messages must either be empty or match this field.
	// Example format: accounts/1234
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. If set, then email the new users notifying them that they've been granted
	// permissions to the resource. Regardless of whether this is set or not,
	// notify_new_user field inside each individual request is ignored.
	NotifyNewUsers bool `protobuf:"varint,2,opt,name=notify_new_users,json=notifyNewUsers,proto3" json:"notify_new_users,omitempty"`
	// Required. The requests specifying the user links to create.
	// A maximum of 1000 user links can be created in a batch.
	Requests []*CreateUserLinkRequest `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

Request message for BatchCreateUserLinks RPC.

func (*BatchCreateUserLinksRequest) Descriptor deprecated

func (*BatchCreateUserLinksRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateUserLinksRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateUserLinksRequest) GetNotifyNewUsers

func (x *BatchCreateUserLinksRequest) GetNotifyNewUsers() bool

func (*BatchCreateUserLinksRequest) GetParent

func (x *BatchCreateUserLinksRequest) GetParent() string

func (*BatchCreateUserLinksRequest) GetRequests

func (*BatchCreateUserLinksRequest) ProtoMessage

func (*BatchCreateUserLinksRequest) ProtoMessage()

func (*BatchCreateUserLinksRequest) ProtoReflect

func (*BatchCreateUserLinksRequest) Reset

func (x *BatchCreateUserLinksRequest) Reset()

func (*BatchCreateUserLinksRequest) String

func (x *BatchCreateUserLinksRequest) String() string

type BatchCreateUserLinksResponse

type BatchCreateUserLinksResponse struct {

	// The user links created.
	UserLinks []*UserLink `protobuf:"bytes,1,rep,name=user_links,json=userLinks,proto3" json:"user_links,omitempty"`
	// contains filtered or unexported fields
}

Response message for BatchCreateUserLinks RPC.

func (*BatchCreateUserLinksResponse) Descriptor deprecated

func (*BatchCreateUserLinksResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateUserLinksResponse.ProtoReflect.Descriptor instead.

func (x *BatchCreateUserLinksResponse) GetUserLinks() []*UserLink

func (*BatchCreateUserLinksResponse) ProtoMessage

func (*BatchCreateUserLinksResponse) ProtoMessage()

func (*BatchCreateUserLinksResponse) ProtoReflect

func (*BatchCreateUserLinksResponse) Reset

func (x *BatchCreateUserLinksResponse) Reset()

func (*BatchCreateUserLinksResponse) String

type BatchDeleteUserLinksRequest

type BatchDeleteUserLinksRequest struct {

	// Required. The account or property that all user links in the request are
	// for. The parent of all values for user link names to delete must match this
	// field.
	// Example format: accounts/1234
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The requests specifying the user links to update.
	// A maximum of 1000 user links can be updated in a batch.
	Requests []*DeleteUserLinkRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

Request message for BatchDeleteUserLinks RPC.

func (*BatchDeleteUserLinksRequest) Descriptor deprecated

func (*BatchDeleteUserLinksRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchDeleteUserLinksRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteUserLinksRequest) GetParent

func (x *BatchDeleteUserLinksRequest) GetParent() string

func (*BatchDeleteUserLinksRequest) GetRequests

func (*BatchDeleteUserLinksRequest) ProtoMessage

func (*BatchDeleteUserLinksRequest) ProtoMessage()

func (*BatchDeleteUserLinksRequest) ProtoReflect

func (*BatchDeleteUserLinksRequest) Reset

func (x *BatchDeleteUserLinksRequest) Reset()

func (*BatchDeleteUserLinksRequest) String

func (x *BatchDeleteUserLinksRequest) String() string

type BatchGetUserLinksRequest

type BatchGetUserLinksRequest struct {

	// Required. The account or property that all user links in the request are
	// for. The parent of all provided values for the 'names' field must match
	// this field.
	// Example format: accounts/1234
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The names of the user links to retrieve.
	// A maximum of 1000 user links can be retrieved in a batch.
	// Format: accounts/{accountId}/userLinks/{userLinkId}
	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

Request message for BatchGetUserLinks RPC.

func (*BatchGetUserLinksRequest) Descriptor deprecated

func (*BatchGetUserLinksRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetUserLinksRequest.ProtoReflect.Descriptor instead.

func (*BatchGetUserLinksRequest) GetNames

func (x *BatchGetUserLinksRequest) GetNames() []string

func (*BatchGetUserLinksRequest) GetParent

func (x *BatchGetUserLinksRequest) GetParent() string

func (*BatchGetUserLinksRequest) ProtoMessage

func (*BatchGetUserLinksRequest) ProtoMessage()

func (*BatchGetUserLinksRequest) ProtoReflect

func (x *BatchGetUserLinksRequest) ProtoReflect() protoreflect.Message

func (*BatchGetUserLinksRequest) Reset

func (x *BatchGetUserLinksRequest) Reset()

func (*BatchGetUserLinksRequest) String

func (x *BatchGetUserLinksRequest) String() string

type BatchGetUserLinksResponse

type BatchGetUserLinksResponse struct {

	// The requested user links.
	UserLinks []*UserLink `protobuf:"bytes,1,rep,name=user_links,json=userLinks,proto3" json:"user_links,omitempty"`
	// contains filtered or unexported fields
}

Response message for BatchGetUserLinks RPC.

func (*BatchGetUserLinksResponse) Descriptor deprecated

func (*BatchGetUserLinksResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetUserLinksResponse.ProtoReflect.Descriptor instead.

func (x *BatchGetUserLinksResponse) GetUserLinks() []*UserLink

func (*BatchGetUserLinksResponse) ProtoMessage

func (*BatchGetUserLinksResponse) ProtoMessage()

func (*BatchGetUserLinksResponse) ProtoReflect

func (*BatchGetUserLinksResponse) Reset

func (x *BatchGetUserLinksResponse) Reset()

func (*BatchGetUserLinksResponse) String

func (x *BatchGetUserLinksResponse) String() string

type BatchUpdateUserLinksRequest

type BatchUpdateUserLinksRequest struct {

	// Required. The account or property that all user links in the request are
	// for. The parent field in the UpdateUserLinkRequest messages must either be
	// empty or match this field.
	// Example format: accounts/1234
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The requests specifying the user links to update.
	// A maximum of 1000 user links can be updated in a batch.
	Requests []*UpdateUserLinkRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

Request message for BatchUpdateUserLinks RPC.

func (*BatchUpdateUserLinksRequest) Descriptor deprecated

func (*BatchUpdateUserLinksRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchUpdateUserLinksRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdateUserLinksRequest) GetParent

func (x *BatchUpdateUserLinksRequest) GetParent() string

func (*BatchUpdateUserLinksRequest) GetRequests

func (*BatchUpdateUserLinksRequest) ProtoMessage

func (*BatchUpdateUserLinksRequest) ProtoMessage()

func (*BatchUpdateUserLinksRequest) ProtoReflect

func (*BatchUpdateUserLinksRequest) Reset

func (x *BatchUpdateUserLinksRequest) Reset()

func (*BatchUpdateUserLinksRequest) String

func (x *BatchUpdateUserLinksRequest) String() string

type BatchUpdateUserLinksResponse

type BatchUpdateUserLinksResponse struct {

	// The user links updated.
	UserLinks []*UserLink `protobuf:"bytes,1,rep,name=user_links,json=userLinks,proto3" json:"user_links,omitempty"`
	// contains filtered or unexported fields
}

Response message for BatchUpdateUserLinks RPC.

func (*BatchUpdateUserLinksResponse) Descriptor deprecated

func (*BatchUpdateUserLinksResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchUpdateUserLinksResponse.ProtoReflect.Descriptor instead.

func (x *BatchUpdateUserLinksResponse) GetUserLinks() []*UserLink

func (*BatchUpdateUserLinksResponse) ProtoMessage

func (*BatchUpdateUserLinksResponse) ProtoMessage()

func (*BatchUpdateUserLinksResponse) ProtoReflect

func (*BatchUpdateUserLinksResponse) Reset

func (x *BatchUpdateUserLinksResponse) Reset()

func (*BatchUpdateUserLinksResponse) String

type CancelDisplayVideo360AdvertiserLinkProposalRequest

type CancelDisplayVideo360AdvertiserLinkProposalRequest struct {

	// Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel.
	// Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC.

func (*CancelDisplayVideo360AdvertiserLinkProposalRequest) Descriptor deprecated

Deprecated: Use CancelDisplayVideo360AdvertiserLinkProposalRequest.ProtoReflect.Descriptor instead.

func (*CancelDisplayVideo360AdvertiserLinkProposalRequest) GetName

func (*CancelDisplayVideo360AdvertiserLinkProposalRequest) ProtoMessage

func (*CancelDisplayVideo360AdvertiserLinkProposalRequest) ProtoReflect

func (*CancelDisplayVideo360AdvertiserLinkProposalRequest) Reset

func (*CancelDisplayVideo360AdvertiserLinkProposalRequest) String

type ChangeHistoryChange

type ChangeHistoryChange struct {

	// Resource name of the resource whose changes are described by this entry.
	Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// The type of action that changed this resource.
	Action ActionType `protobuf:"varint,2,opt,name=action,proto3,enum=google.analytics.admin.v1alpha.ActionType" json:"action,omitempty"`
	// Resource contents from before the change was made. If this resource was
	// created in this change, this field will be missing.
	ResourceBeforeChange *ChangeHistoryChange_ChangeHistoryResource `protobuf:"bytes,3,opt,name=resource_before_change,json=resourceBeforeChange,proto3" json:"resource_before_change,omitempty"`
	// Resource contents from after the change was made. If this resource was
	// deleted in this change, this field will be missing.
	ResourceAfterChange *ChangeHistoryChange_ChangeHistoryResource `protobuf:"bytes,4,opt,name=resource_after_change,json=resourceAfterChange,proto3" json:"resource_after_change,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ChangeHistoryChange) Descriptor deprecated

func (*ChangeHistoryChange) Descriptor() ([]byte, []int)

Deprecated: Use ChangeHistoryChange.ProtoReflect.Descriptor instead.

func (*ChangeHistoryChange) GetAction

func (x *ChangeHistoryChange) GetAction() ActionType

func (*ChangeHistoryChange) GetResource

func (x *ChangeHistoryChange) GetResource() string

func (*ChangeHistoryChange) GetResourceAfterChange

func (*ChangeHistoryChange) GetResourceBeforeChange

func (x *ChangeHistoryChange) GetResourceBeforeChange() *ChangeHistoryChange_ChangeHistoryResource

func (*ChangeHistoryChange) ProtoMessage

func (*ChangeHistoryChange) ProtoMessage()

func (*ChangeHistoryChange) ProtoReflect

func (x *ChangeHistoryChange) ProtoReflect() protoreflect.Message

func (*ChangeHistoryChange) Reset

func (x *ChangeHistoryChange) Reset()

func (*ChangeHistoryChange) String

func (x *ChangeHistoryChange) String() string

type ChangeHistoryChange_ChangeHistoryResource

type ChangeHistoryChange_ChangeHistoryResource struct {

	// Types that are assignable to Resource:
	//	*ChangeHistoryChange_ChangeHistoryResource_Account
	//	*ChangeHistoryChange_ChangeHistoryResource_Property
	//	*ChangeHistoryChange_ChangeHistoryResource_WebDataStream
	//	*ChangeHistoryChange_ChangeHistoryResource_AndroidAppDataStream
	//	*ChangeHistoryChange_ChangeHistoryResource_IosAppDataStream
	//	*ChangeHistoryChange_ChangeHistoryResource_FirebaseLink
	//	*ChangeHistoryChange_ChangeHistoryResource_GoogleAdsLink
	//	*ChangeHistoryChange_ChangeHistoryResource_GoogleSignalsSettings
	//	*ChangeHistoryChange_ChangeHistoryResource_DisplayVideo_360AdvertiserLink
	//	*ChangeHistoryChange_ChangeHistoryResource_DisplayVideo_360AdvertiserLinkProposal
	//	*ChangeHistoryChange_ChangeHistoryResource_ConversionEvent
	//	*ChangeHistoryChange_ChangeHistoryResource_MeasurementProtocolSecret
	//	*ChangeHistoryChange_ChangeHistoryResource_CustomDimension
	//	*ChangeHistoryChange_ChangeHistoryResource_CustomMetric
	//	*ChangeHistoryChange_ChangeHistoryResource_DataRetentionSettings
	Resource isChangeHistoryChange_ChangeHistoryResource_Resource `protobuf_oneof:"resource"`
	// contains filtered or unexported fields
}

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

func (*ChangeHistoryChange_ChangeHistoryResource) Descriptor deprecated

func (*ChangeHistoryChange_ChangeHistoryResource) Descriptor() ([]byte, []int)

Deprecated: Use ChangeHistoryChange_ChangeHistoryResource.ProtoReflect.Descriptor instead.

func (*ChangeHistoryChange_ChangeHistoryResource) GetAccount

func (*ChangeHistoryChange_ChangeHistoryResource) GetAndroidAppDataStream

func (*ChangeHistoryChange_ChangeHistoryResource) GetConversionEvent

func (*ChangeHistoryChange_ChangeHistoryResource) GetCustomDimension

func (*ChangeHistoryChange_ChangeHistoryResource) GetCustomMetric

func (*ChangeHistoryChange_ChangeHistoryResource) GetDataRetentionSettings

func (x *ChangeHistoryChange_ChangeHistoryResource) GetDisplayVideo_360AdvertiserLink() *DisplayVideo360AdvertiserLink

func (*ChangeHistoryChange_ChangeHistoryResource) GetDisplayVideo_360AdvertiserLinkProposal

func (x *ChangeHistoryChange_ChangeHistoryResource) GetDisplayVideo_360AdvertiserLinkProposal() *DisplayVideo360AdvertiserLinkProposal

func (*ChangeHistoryChange_ChangeHistoryResource) GetGoogleSignalsSettings

func (*ChangeHistoryChange_ChangeHistoryResource) GetIosAppDataStream

func (*ChangeHistoryChange_ChangeHistoryResource) GetMeasurementProtocolSecret

func (x *ChangeHistoryChange_ChangeHistoryResource) GetMeasurementProtocolSecret() *MeasurementProtocolSecret

func (*ChangeHistoryChange_ChangeHistoryResource) GetProperty

func (*ChangeHistoryChange_ChangeHistoryResource) GetResource

func (m *ChangeHistoryChange_ChangeHistoryResource) GetResource() isChangeHistoryChange_ChangeHistoryResource_Resource

func (*ChangeHistoryChange_ChangeHistoryResource) GetWebDataStream

func (*ChangeHistoryChange_ChangeHistoryResource) ProtoMessage

func (*ChangeHistoryChange_ChangeHistoryResource) ProtoReflect

func (*ChangeHistoryChange_ChangeHistoryResource) Reset

func (*ChangeHistoryChange_ChangeHistoryResource) String

type ChangeHistoryChange_ChangeHistoryResource_Account

type ChangeHistoryChange_ChangeHistoryResource_Account struct {
	// A snapshot of an Account resource in change history.
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3,oneof"`
}

type ChangeHistoryChange_ChangeHistoryResource_AndroidAppDataStream

type ChangeHistoryChange_ChangeHistoryResource_AndroidAppDataStream struct {
	// A snapshot of an AndroidAppDataStream resource in change history.
	AndroidAppDataStream *AndroidAppDataStream `protobuf:"bytes,4,opt,name=android_app_data_stream,json=androidAppDataStream,proto3,oneof"`
}

type ChangeHistoryChange_ChangeHistoryResource_ConversionEvent

type ChangeHistoryChange_ChangeHistoryResource_ConversionEvent struct {
	// A snapshot of a ConversionEvent resource in change history.
	ConversionEvent *ConversionEvent `protobuf:"bytes,11,opt,name=conversion_event,json=conversionEvent,proto3,oneof"`
}

type ChangeHistoryChange_ChangeHistoryResource_CustomDimension

type ChangeHistoryChange_ChangeHistoryResource_CustomDimension struct {
	// A snapshot of a CustomDimension resource in change history.
	CustomDimension *CustomDimension `protobuf:"bytes,13,opt,name=custom_dimension,json=customDimension,proto3,oneof"`
}

type ChangeHistoryChange_ChangeHistoryResource_CustomMetric

type ChangeHistoryChange_ChangeHistoryResource_CustomMetric struct {
	// A snapshot of a CustomMetric resource in change history.
	CustomMetric *CustomMetric `protobuf:"bytes,14,opt,name=custom_metric,json=customMetric,proto3,oneof"`
}

type ChangeHistoryChange_ChangeHistoryResource_DataRetentionSettings

type ChangeHistoryChange_ChangeHistoryResource_DataRetentionSettings struct {
	// A snapshot of a data retention settings resource in change history.
	DataRetentionSettings *DataRetentionSettings `protobuf:"bytes,15,opt,name=data_retention_settings,json=dataRetentionSettings,proto3,oneof"`
}
type ChangeHistoryChange_ChangeHistoryResource_DisplayVideo_360AdvertiserLink struct {
	// A snapshot of a DisplayVideo360AdvertiserLink resource in change
	// history.
	DisplayVideo_360AdvertiserLink *DisplayVideo360AdvertiserLink `protobuf:"bytes,9,opt,name=display_video_360_advertiser_link,json=displayVideo360AdvertiserLink,proto3,oneof"`
}

type ChangeHistoryChange_ChangeHistoryResource_DisplayVideo_360AdvertiserLinkProposal

type ChangeHistoryChange_ChangeHistoryResource_DisplayVideo_360AdvertiserLinkProposal struct {
	// A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in
	// change history.
	DisplayVideo_360AdvertiserLinkProposal *DisplayVideo360AdvertiserLinkProposal `` /* 127-byte string literal not displayed */
}
type ChangeHistoryChange_ChangeHistoryResource_FirebaseLink struct {
	// A snapshot of a FirebaseLink resource in change history.
	FirebaseLink *FirebaseLink `protobuf:"bytes,6,opt,name=firebase_link,json=firebaseLink,proto3,oneof"`
}
type ChangeHistoryChange_ChangeHistoryResource_GoogleAdsLink struct {
	// A snapshot of a GoogleAdsLink resource in change history.
	GoogleAdsLink *GoogleAdsLink `protobuf:"bytes,7,opt,name=google_ads_link,json=googleAdsLink,proto3,oneof"`
}

type ChangeHistoryChange_ChangeHistoryResource_GoogleSignalsSettings

type ChangeHistoryChange_ChangeHistoryResource_GoogleSignalsSettings struct {
	// A snapshot of a GoogleSignalsSettings resource in change history.
	GoogleSignalsSettings *GoogleSignalsSettings `protobuf:"bytes,8,opt,name=google_signals_settings,json=googleSignalsSettings,proto3,oneof"`
}

type ChangeHistoryChange_ChangeHistoryResource_IosAppDataStream

type ChangeHistoryChange_ChangeHistoryResource_IosAppDataStream struct {
	// A snapshot of an IosAppDataStream resource in change history.
	IosAppDataStream *IosAppDataStream `protobuf:"bytes,5,opt,name=ios_app_data_stream,json=iosAppDataStream,proto3,oneof"`
}

type ChangeHistoryChange_ChangeHistoryResource_MeasurementProtocolSecret

type ChangeHistoryChange_ChangeHistoryResource_MeasurementProtocolSecret struct {
	// A snapshot of a MeasurementProtocolSecret resource in change history.
	MeasurementProtocolSecret *MeasurementProtocolSecret `protobuf:"bytes,12,opt,name=measurement_protocol_secret,json=measurementProtocolSecret,proto3,oneof"`
}

type ChangeHistoryChange_ChangeHistoryResource_Property

type ChangeHistoryChange_ChangeHistoryResource_Property struct {
	// A snapshot of a Property resource in change history.
	Property *Property `protobuf:"bytes,2,opt,name=property,proto3,oneof"`
}

type ChangeHistoryChange_ChangeHistoryResource_WebDataStream

type ChangeHistoryChange_ChangeHistoryResource_WebDataStream struct {
	// A snapshot of a WebDataStream resource in change history.
	WebDataStream *WebDataStream `protobuf:"bytes,3,opt,name=web_data_stream,json=webDataStream,proto3,oneof"`
}

type ChangeHistoryEvent

type ChangeHistoryEvent struct {

	// ID of this change history event. This ID is unique across Google Analytics.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Time when change was made.
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The type of actor that made this change.
	ActorType ActorType `` /* 135-byte string literal not displayed */
	// Email address of the Google account that made the change. This will be a
	// valid email address if the actor field is set to USER, and empty otherwise.
	// Google accounts that have been deleted will cause an error.
	UserActorEmail string `protobuf:"bytes,4,opt,name=user_actor_email,json=userActorEmail,proto3" json:"user_actor_email,omitempty"`
	// If true, then the list of changes returned was filtered, and does not
	// represent all changes that occurred in this event.
	ChangesFiltered bool `protobuf:"varint,5,opt,name=changes_filtered,json=changesFiltered,proto3" json:"changes_filtered,omitempty"`
	// A list of changes made in this change history event that fit the filters
	// specified in SearchChangeHistoryEventsRequest.
	Changes []*ChangeHistoryChange `protobuf:"bytes,6,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ChangeHistoryEvent) Descriptor deprecated

func (*ChangeHistoryEvent) Descriptor() ([]byte, []int)

Deprecated: Use ChangeHistoryEvent.ProtoReflect.Descriptor instead.

func (*ChangeHistoryEvent) GetActorType

func (x *ChangeHistoryEvent) GetActorType() ActorType

func (*ChangeHistoryEvent) GetChangeTime

func (x *ChangeHistoryEvent) GetChangeTime() *timestamppb.Timestamp

func (*ChangeHistoryEvent) GetChanges

func (x *ChangeHistoryEvent) GetChanges() []*ChangeHistoryChange

func (*ChangeHistoryEvent) GetChangesFiltered

func (x *ChangeHistoryEvent) GetChangesFiltered() bool

func (*ChangeHistoryEvent) GetId

func (x *ChangeHistoryEvent) GetId() string

func (*ChangeHistoryEvent) GetUserActorEmail

func (x *ChangeHistoryEvent) GetUserActorEmail() string

func (*ChangeHistoryEvent) ProtoMessage

func (*ChangeHistoryEvent) ProtoMessage()

func (*ChangeHistoryEvent) ProtoReflect

func (x *ChangeHistoryEvent) ProtoReflect() protoreflect.Message

func (*ChangeHistoryEvent) Reset

func (x *ChangeHistoryEvent) Reset()

func (*ChangeHistoryEvent) String

func (x *ChangeHistoryEvent) String() string

type ChangeHistoryResourceType

type ChangeHistoryResourceType int32

Types of resources whose changes may be returned from change history.

const (
	// Resource type unknown or not specified.
	ChangeHistoryResourceType_CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED ChangeHistoryResourceType = 0
	// Account resource
	ChangeHistoryResourceType_ACCOUNT ChangeHistoryResourceType = 1
	// Property resource
	ChangeHistoryResourceType_PROPERTY ChangeHistoryResourceType = 2
	// WebDataStream resource
	ChangeHistoryResourceType_WEB_DATA_STREAM ChangeHistoryResourceType = 3
	// AndroidAppDataStream resource
	ChangeHistoryResourceType_ANDROID_APP_DATA_STREAM ChangeHistoryResourceType = 4
	// IosAppDataStream resource
	ChangeHistoryResourceType_IOS_APP_DATA_STREAM ChangeHistoryResourceType = 5
	// FirebaseLink resource
	ChangeHistoryResourceType_FIREBASE_LINK ChangeHistoryResourceType = 6
	// GoogleAdsLink resource
	ChangeHistoryResourceType_GOOGLE_ADS_LINK ChangeHistoryResourceType = 7
	// GoogleSignalsSettings resource
	ChangeHistoryResourceType_GOOGLE_SIGNALS_SETTINGS ChangeHistoryResourceType = 8
	// ConversionEvent resource
	ChangeHistoryResourceType_CONVERSION_EVENT ChangeHistoryResourceType = 9
	// MeasurementProtocolSecret resource
	ChangeHistoryResourceType_MEASUREMENT_PROTOCOL_SECRET ChangeHistoryResourceType = 10
	// CustomDimension resource
	ChangeHistoryResourceType_CUSTOM_DIMENSION ChangeHistoryResourceType = 11
	// CustomMetric resource
	ChangeHistoryResourceType_CUSTOM_METRIC ChangeHistoryResourceType = 12
	// DataRetentionSettings resource
	ChangeHistoryResourceType_DATA_RETENTION_SETTINGS ChangeHistoryResourceType = 13
)

func (ChangeHistoryResourceType) Descriptor

func (ChangeHistoryResourceType) Enum

func (ChangeHistoryResourceType) EnumDescriptor deprecated

func (ChangeHistoryResourceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChangeHistoryResourceType.Descriptor instead.

func (ChangeHistoryResourceType) Number

func (ChangeHistoryResourceType) String

func (x ChangeHistoryResourceType) String() string

func (ChangeHistoryResourceType) Type </