admin

package
v0.0.0-...-a4fef06 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccessStringFilter_MatchType_name = map[int32]string{
		0: "MATCH_TYPE_UNSPECIFIED",
		1: "EXACT",
		2: "BEGINS_WITH",
		3: "ENDS_WITH",
		4: "CONTAINS",
		5: "FULL_REGEXP",
		6: "PARTIAL_REGEXP",
	}
	AccessStringFilter_MatchType_value = map[string]int32{
		"MATCH_TYPE_UNSPECIFIED": 0,
		"EXACT":                  1,
		"BEGINS_WITH":            2,
		"ENDS_WITH":              3,
		"CONTAINS":               4,
		"FULL_REGEXP":            5,
		"PARTIAL_REGEXP":         6,
	}
)

Enum value maps for AccessStringFilter_MatchType.

View Source
var (
	AccessNumericFilter_Operation_name = map[int32]string{
		0: "OPERATION_UNSPECIFIED",
		1: "EQUAL",
		2: "LESS_THAN",
		3: "LESS_THAN_OR_EQUAL",
		4: "GREATER_THAN",
		5: "GREATER_THAN_OR_EQUAL",
	}
	AccessNumericFilter_Operation_value = map[string]int32{
		"OPERATION_UNSPECIFIED": 0,
		"EQUAL":                 1,
		"LESS_THAN":             2,
		"LESS_THAN_OR_EQUAL":    3,
		"GREATER_THAN":          4,
		"GREATER_THAN_OR_EQUAL": 5,
	}
)

Enum value maps for AccessNumericFilter_Operation.

View Source
var (
	AccessOrderBy_DimensionOrderBy_OrderType_name = map[int32]string{
		0: "ORDER_TYPE_UNSPECIFIED",
		1: "ALPHANUMERIC",
		2: "CASE_INSENSITIVE_ALPHANUMERIC",
		3: "NUMERIC",
	}
	AccessOrderBy_DimensionOrderBy_OrderType_value = map[string]int32{
		"ORDER_TYPE_UNSPECIFIED":        0,
		"ALPHANUMERIC":                  1,
		"CASE_INSENSITIVE_ALPHANUMERIC": 2,
		"NUMERIC":                       3,
	}
)

Enum value maps for AccessOrderBy_DimensionOrderBy_OrderType.

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",
		6:  "FIREBASE_LINK",
		7:  "GOOGLE_ADS_LINK",
		8:  "GOOGLE_SIGNALS_SETTINGS",
		9:  "CONVERSION_EVENT",
		10: "MEASUREMENT_PROTOCOL_SECRET",
		13: "DATA_RETENTION_SETTINGS",
		14: "DISPLAY_VIDEO_360_ADVERTISER_LINK",
		15: "DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL",
		18: "DATA_STREAM",
		20: "ATTRIBUTION_SETTINGS",
	}
	ChangeHistoryResourceType_value = map[string]int32{
		"CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED": 0,
		"ACCOUNT":                                    1,
		"PROPERTY":                                   2,
		"FIREBASE_LINK":                              6,
		"GOOGLE_ADS_LINK":                            7,
		"GOOGLE_SIGNALS_SETTINGS":                    8,
		"CONVERSION_EVENT":                           9,
		"MEASUREMENT_PROTOCOL_SECRET":                10,
		"DATA_RETENTION_SETTINGS":                    13,
		"DISPLAY_VIDEO_360_ADVERTISER_LINK":          14,
		"DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL": 15,
		"DATA_STREAM":                                18,
		"ATTRIBUTION_SETTINGS":                       20,
	}
)

Enum value maps for ChangeHistoryResourceType.

View Source
var (
	PropertyType_name = map[int32]string{
		0: "PROPERTY_TYPE_UNSPECIFIED",
		1: "PROPERTY_TYPE_ORDINARY",
		2: "PROPERTY_TYPE_SUBPROPERTY",
		3: "PROPERTY_TYPE_ROLLUP",
	}
	PropertyType_value = map[string]int32{
		"PROPERTY_TYPE_UNSPECIFIED": 0,
		"PROPERTY_TYPE_ORDINARY":    1,
		"PROPERTY_TYPE_SUBPROPERTY": 2,
		"PROPERTY_TYPE_ROLLUP":      3,
	}
)

Enum value maps for PropertyType.

View Source
var (
	DataStream_DataStreamType_name = map[int32]string{
		0: "DATA_STREAM_TYPE_UNSPECIFIED",
		1: "WEB_DATA_STREAM",
		2: "ANDROID_APP_DATA_STREAM",
		3: "IOS_APP_DATA_STREAM",
	}
	DataStream_DataStreamType_value = map[string]int32{
		"DATA_STREAM_TYPE_UNSPECIFIED": 0,
		"WEB_DATA_STREAM":              1,
		"ANDROID_APP_DATA_STREAM":      2,
		"IOS_APP_DATA_STREAM":          3,
	}
)

Enum value maps for DataStream_DataStreamType.

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 (
	CustomMetric_RestrictedMetricType_name = map[int32]string{
		0: "RESTRICTED_METRIC_TYPE_UNSPECIFIED",
		1: "COST_DATA",
		2: "REVENUE_DATA",
	}
	CustomMetric_RestrictedMetricType_value = map[string]int32{
		"RESTRICTED_METRIC_TYPE_UNSPECIFIED": 0,
		"COST_DATA":                          1,
		"REVENUE_DATA":                       2,
	}
)

Enum value maps for CustomMetric_RestrictedMetricType.

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_v1beta_access_report_proto protoreflect.FileDescriptor
View Source
var File_google_analytics_admin_v1beta_analytics_admin_proto protoreflect.FileDescriptor
View Source
var File_google_analytics_admin_v1beta_resources_proto protoreflect.FileDescriptor

Functions

func RegisterAnalyticsAdminServiceServer

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

Types

type AccessBetweenFilter

type AccessBetweenFilter struct {

	// Begins with this number.
	FromValue *NumericValue `protobuf:"bytes,1,opt,name=from_value,json=fromValue,proto3" json:"from_value,omitempty"`
	// Ends with this number.
	ToValue *NumericValue `protobuf:"bytes,2,opt,name=to_value,json=toValue,proto3" json:"to_value,omitempty"`
	// contains filtered or unexported fields
}

To express that the result needs to be between two numbers (inclusive).

func (*AccessBetweenFilter) Descriptor deprecated

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

Deprecated: Use AccessBetweenFilter.ProtoReflect.Descriptor instead.

func (*AccessBetweenFilter) GetFromValue

func (x *AccessBetweenFilter) GetFromValue() *NumericValue

func (*AccessBetweenFilter) GetToValue

func (x *AccessBetweenFilter) GetToValue() *NumericValue

func (*AccessBetweenFilter) ProtoMessage

func (*AccessBetweenFilter) ProtoMessage()

func (*AccessBetweenFilter) ProtoReflect

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

func (*AccessBetweenFilter) Reset

func (x *AccessBetweenFilter) Reset()

func (*AccessBetweenFilter) String

func (x *AccessBetweenFilter) String() string

type AccessDateRange

type AccessDateRange struct {

	// The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
	// be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also
	// accepted, and in that case, the date is inferred based on the current time
	// in the request's time zone.
	StartDate string `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	// The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
	// be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is
	// also accepted, and in that case, the date is inferred based on the current
	// time in the request's time zone.
	EndDate string `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	// contains filtered or unexported fields
}

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

func (*AccessDateRange) Descriptor deprecated

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

Deprecated: Use AccessDateRange.ProtoReflect.Descriptor instead.

func (*AccessDateRange) GetEndDate

func (x *AccessDateRange) GetEndDate() string

func (*AccessDateRange) GetStartDate

func (x *AccessDateRange) GetStartDate() string

func (*AccessDateRange) ProtoMessage

func (*AccessDateRange) ProtoMessage()

func (*AccessDateRange) ProtoReflect

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

func (*AccessDateRange) Reset

func (x *AccessDateRange) Reset()

func (*AccessDateRange) String

func (x *AccessDateRange) String() string

type AccessDimension

type AccessDimension struct {

	// The API name of the dimension. See [Data Access
	// Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
	// for the list of dimensions supported in this API.
	//
	// Dimensions are referenced by name in `dimensionFilter` and `orderBys`.
	DimensionName string `protobuf:"bytes,1,opt,name=dimension_name,json=dimensionName,proto3" json:"dimension_name,omitempty"`
	// contains filtered or unexported fields
}

Dimensions are attributes of your data. For example, the dimension `userEmail` indicates the email of the user that accessed reporting data. Dimension values in report responses are strings.

func (*AccessDimension) Descriptor deprecated

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

Deprecated: Use AccessDimension.ProtoReflect.Descriptor instead.

func (*AccessDimension) GetDimensionName

func (x *AccessDimension) GetDimensionName() string

func (*AccessDimension) ProtoMessage

func (*AccessDimension) ProtoMessage()

func (*AccessDimension) ProtoReflect

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

func (*AccessDimension) Reset

func (x *AccessDimension) Reset()

func (*AccessDimension) String

func (x *AccessDimension) String() string

type AccessDimensionHeader

type AccessDimensionHeader struct {

	// The dimension's name; for example 'userEmail'.
	DimensionName string `protobuf:"bytes,1,opt,name=dimension_name,json=dimensionName,proto3" json:"dimension_name,omitempty"`
	// contains filtered or unexported fields
}

Describes a dimension column in the report. Dimensions requested in a report produce column entries within rows and DimensionHeaders. However, dimensions used exclusively within filters or expressions do not produce columns in a report; correspondingly, those dimensions do not produce headers.

func (*AccessDimensionHeader) Descriptor deprecated

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

Deprecated: Use AccessDimensionHeader.ProtoReflect.Descriptor instead.

func (*AccessDimensionHeader) GetDimensionName

func (x *AccessDimensionHeader) GetDimensionName() string

func (*AccessDimensionHeader) ProtoMessage

func (*AccessDimensionHeader) ProtoMessage()

func (*AccessDimensionHeader) ProtoReflect

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

func (*AccessDimensionHeader) Reset

func (x *AccessDimensionHeader) Reset()

func (*AccessDimensionHeader) String

func (x *AccessDimensionHeader) String() string

type AccessDimensionValue

type AccessDimensionValue struct {

	// The dimension value. For example, this value may be 'France' for the
	// 'country' dimension.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

The value of a dimension.

func (*AccessDimensionValue) Descriptor deprecated

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

Deprecated: Use AccessDimensionValue.ProtoReflect.Descriptor instead.

func (*AccessDimensionValue) GetValue

func (x *AccessDimensionValue) GetValue() string

func (*AccessDimensionValue) ProtoMessage

func (*AccessDimensionValue) ProtoMessage()

func (*AccessDimensionValue) ProtoReflect

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

func (*AccessDimensionValue) Reset

func (x *AccessDimensionValue) Reset()

func (*AccessDimensionValue) String

func (x *AccessDimensionValue) String() string

type AccessFilter

type AccessFilter struct {

	// Specify one type of filter for `Filter`.
	//
	// Types that are assignable to OneFilter:
	//
	//	*AccessFilter_StringFilter
	//	*AccessFilter_InListFilter
	//	*AccessFilter_NumericFilter
	//	*AccessFilter_BetweenFilter
	OneFilter isAccessFilter_OneFilter `protobuf_oneof:"one_filter"`
	// The dimension name or metric name.
	FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	// contains filtered or unexported fields
}

An expression to filter dimension or metric values.

func (*AccessFilter) Descriptor deprecated

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

Deprecated: Use AccessFilter.ProtoReflect.Descriptor instead.

func (*AccessFilter) GetBetweenFilter

func (x *AccessFilter) GetBetweenFilter() *AccessBetweenFilter

func (*AccessFilter) GetFieldName

func (x *AccessFilter) GetFieldName() string

func (*AccessFilter) GetInListFilter

func (x *AccessFilter) GetInListFilter() *AccessInListFilter

func (*AccessFilter) GetNumericFilter

func (x *AccessFilter) GetNumericFilter() *AccessNumericFilter

func (*AccessFilter) GetOneFilter

func (m *AccessFilter) GetOneFilter() isAccessFilter_OneFilter

func (*AccessFilter) GetStringFilter

func (x *AccessFilter) GetStringFilter() *AccessStringFilter

func (*AccessFilter) ProtoMessage

func (*AccessFilter) ProtoMessage()

func (*AccessFilter) ProtoReflect

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

func (*AccessFilter) Reset

func (x *AccessFilter) Reset()

func (*AccessFilter) String

func (x *AccessFilter) String() string

type AccessFilterExpression

type AccessFilterExpression struct {

	// Specify one type of filter expression for `FilterExpression`.
	//
	// Types that are assignable to OneExpression:
	//
	//	*AccessFilterExpression_AndGroup
	//	*AccessFilterExpression_OrGroup
	//	*AccessFilterExpression_NotExpression
	//	*AccessFilterExpression_AccessFilter
	OneExpression isAccessFilterExpression_OneExpression `protobuf_oneof:"one_expression"`
	// contains filtered or unexported fields
}

Expresses dimension or metric filters. The fields in the same expression need to be either all dimensions or all metrics.

func (*AccessFilterExpression) Descriptor deprecated

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

Deprecated: Use AccessFilterExpression.ProtoReflect.Descriptor instead.

func (*AccessFilterExpression) GetAccessFilter

func (x *AccessFilterExpression) GetAccessFilter() *AccessFilter

func (*AccessFilterExpression) GetAndGroup

func (*AccessFilterExpression) GetNotExpression

func (x *AccessFilterExpression) GetNotExpression() *AccessFilterExpression

func (*AccessFilterExpression) GetOneExpression

func (m *AccessFilterExpression) GetOneExpression() isAccessFilterExpression_OneExpression

func (*AccessFilterExpression) GetOrGroup

func (*AccessFilterExpression) ProtoMessage

func (*AccessFilterExpression) ProtoMessage()

func (*AccessFilterExpression) ProtoReflect

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

func (*AccessFilterExpression) Reset

func (x *AccessFilterExpression) Reset()

func (*AccessFilterExpression) String

func (x *AccessFilterExpression) String() string

type AccessFilterExpressionList

type AccessFilterExpressionList struct {

	// A list of filter expressions.
	Expressions []*AccessFilterExpression `protobuf:"bytes,1,rep,name=expressions,proto3" json:"expressions,omitempty"`
	// contains filtered or unexported fields
}

A list of filter expressions.

func (*AccessFilterExpressionList) Descriptor deprecated

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

Deprecated: Use AccessFilterExpressionList.ProtoReflect.Descriptor instead.

func (*AccessFilterExpressionList) GetExpressions

func (x *AccessFilterExpressionList) GetExpressions() []*AccessFilterExpression

func (*AccessFilterExpressionList) ProtoMessage

func (*AccessFilterExpressionList) ProtoMessage()

func (*AccessFilterExpressionList) ProtoReflect

func (*AccessFilterExpressionList) Reset

func (x *AccessFilterExpressionList) Reset()

func (*AccessFilterExpressionList) String

func (x *AccessFilterExpressionList) String() string

type AccessFilterExpression_AccessFilter

type AccessFilterExpression_AccessFilter struct {
	// A primitive filter. In the same FilterExpression, all of the filter's
	// field names need to be either all dimensions or all metrics.
	AccessFilter *AccessFilter `protobuf:"bytes,4,opt,name=access_filter,json=accessFilter,proto3,oneof"`
}

type AccessFilterExpression_AndGroup

type AccessFilterExpression_AndGroup struct {
	// Each of the FilterExpressions in the and_group has an AND relationship.
	AndGroup *AccessFilterExpressionList `protobuf:"bytes,1,opt,name=and_group,json=andGroup,proto3,oneof"`
}

type AccessFilterExpression_NotExpression

type AccessFilterExpression_NotExpression struct {
	// The FilterExpression is NOT of not_expression.
	NotExpression *AccessFilterExpression `protobuf:"bytes,3,opt,name=not_expression,json=notExpression,proto3,oneof"`
}

type AccessFilterExpression_OrGroup

type AccessFilterExpression_OrGroup struct {
	// Each of the FilterExpressions in the or_group has an OR relationship.
	OrGroup *AccessFilterExpressionList `protobuf:"bytes,2,opt,name=or_group,json=orGroup,proto3,oneof"`
}

type AccessFilter_BetweenFilter

type AccessFilter_BetweenFilter struct {
	// A filter for two values.
	BetweenFilter *AccessBetweenFilter `protobuf:"bytes,5,opt,name=between_filter,json=betweenFilter,proto3,oneof"`
}

type AccessFilter_InListFilter

type AccessFilter_InListFilter struct {
	// A filter for in list values.
	InListFilter *AccessInListFilter `protobuf:"bytes,3,opt,name=in_list_filter,json=inListFilter,proto3,oneof"`
}

type AccessFilter_NumericFilter

type AccessFilter_NumericFilter struct {
	// A filter for numeric or date values.
	NumericFilter *AccessNumericFilter `protobuf:"bytes,4,opt,name=numeric_filter,json=numericFilter,proto3,oneof"`
}

type AccessFilter_StringFilter

type AccessFilter_StringFilter struct {
	// Strings related filter.
	StringFilter *AccessStringFilter `protobuf:"bytes,2,opt,name=string_filter,json=stringFilter,proto3,oneof"`
}

type AccessInListFilter

type AccessInListFilter struct {

	// The list of string values. Must be non-empty.
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// If true, the string value is case sensitive.
	CaseSensitive bool `protobuf:"varint,2,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"`
	// contains filtered or unexported fields
}

The result needs to be in a list of string values.

func (*AccessInListFilter) Descriptor deprecated

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

Deprecated: Use AccessInListFilter.ProtoReflect.Descriptor instead.

func (*AccessInListFilter) GetCaseSensitive

func (x *AccessInListFilter) GetCaseSensitive() bool

func (*AccessInListFilter) GetValues

func (x *AccessInListFilter) GetValues() []string

func (*AccessInListFilter) ProtoMessage

func (*AccessInListFilter) ProtoMessage()

func (*AccessInListFilter) ProtoReflect

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

func (*AccessInListFilter) Reset

func (x *AccessInListFilter) Reset()

func (*AccessInListFilter) String

func (x *AccessInListFilter) String() string

type AccessMetric

type AccessMetric struct {

	// The API name of the metric. See [Data Access
	// Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema)
	// for the list of metrics supported in this API.
	//
	// Metrics are referenced by name in `metricFilter` & `orderBys`.
	MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"`
	// contains filtered or unexported fields
}

The quantitative measurements of a report. For example, the metric `accessCount` is the total number of data access records.

func (*AccessMetric) Descriptor deprecated

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

Deprecated: Use AccessMetric.ProtoReflect.Descriptor instead.

func (*AccessMetric) GetMetricName

func (x *AccessMetric) GetMetricName() string

func (*AccessMetric) ProtoMessage

func (*AccessMetric) ProtoMessage()

func (*AccessMetric) ProtoReflect

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

func (*AccessMetric) Reset

func (x *AccessMetric) Reset()

func (*AccessMetric) String

func (x *AccessMetric) String() string

type AccessMetricHeader

type AccessMetricHeader struct {

	// The metric's name; for example 'accessCount'.
	MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"`
	// contains filtered or unexported fields
}

Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.

func (*AccessMetricHeader) Descriptor deprecated

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

Deprecated: Use AccessMetricHeader.ProtoReflect.Descriptor instead.

func (*AccessMetricHeader) GetMetricName

func (x *AccessMetricHeader) GetMetricName() string

func (*AccessMetricHeader) ProtoMessage

func (*AccessMetricHeader) ProtoMessage()

func (*AccessMetricHeader) ProtoReflect

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

func (*AccessMetricHeader) Reset

func (x *AccessMetricHeader) Reset()

func (*AccessMetricHeader) String

func (x *AccessMetricHeader) String() string

type AccessMetricValue

type AccessMetricValue struct {

	// The measurement value. For example, this value may be '13'.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

The value of a metric.

func (*AccessMetricValue) Descriptor deprecated

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

Deprecated: Use AccessMetricValue.ProtoReflect.Descriptor instead.

func (*AccessMetricValue) GetValue

func (x *AccessMetricValue) GetValue() string

func (*AccessMetricValue) ProtoMessage

func (*AccessMetricValue) ProtoMessage()

func (*AccessMetricValue) ProtoReflect

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

func (*AccessMetricValue) Reset

func (x *AccessMetricValue) Reset()

func (*AccessMetricValue) String

func (x *AccessMetricValue) String() string

type AccessNumericFilter

type AccessNumericFilter struct {

	// The operation type for this filter.
	Operation AccessNumericFilter_Operation `` /* 137-byte string literal not displayed */
	// A numeric value or a date value.
	Value *NumericValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Filters for numeric or date values.

func (*AccessNumericFilter) Descriptor deprecated

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

Deprecated: Use AccessNumericFilter.ProtoReflect.Descriptor instead.

func (*AccessNumericFilter) GetOperation

func (*AccessNumericFilter) GetValue

func (x *AccessNumericFilter) GetValue() *NumericValue

func (*AccessNumericFilter) ProtoMessage

func (*AccessNumericFilter) ProtoMessage()

func (*AccessNumericFilter) ProtoReflect

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

func (*AccessNumericFilter) Reset

func (x *AccessNumericFilter) Reset()

func (*AccessNumericFilter) String

func (x *AccessNumericFilter) String() string

type AccessNumericFilter_Operation

type AccessNumericFilter_Operation int32

The operation applied to a numeric filter.

const (
	// Unspecified.
	AccessNumericFilter_OPERATION_UNSPECIFIED AccessNumericFilter_Operation = 0
	// Equal
	AccessNumericFilter_EQUAL AccessNumericFilter_Operation = 1
	// Less than
	AccessNumericFilter_LESS_THAN AccessNumericFilter_Operation = 2
	// Less than or equal
	AccessNumericFilter_LESS_THAN_OR_EQUAL AccessNumericFilter_Operation = 3
	// Greater than
	AccessNumericFilter_GREATER_THAN AccessNumericFilter_Operation = 4
	// Greater than or equal
	AccessNumericFilter_GREATER_THAN_OR_EQUAL AccessNumericFilter_Operation = 5
)

func (AccessNumericFilter_Operation) Descriptor

func (AccessNumericFilter_Operation) Enum

func (AccessNumericFilter_Operation) EnumDescriptor deprecated

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

Deprecated: Use AccessNumericFilter_Operation.Descriptor instead.

func (AccessNumericFilter_Operation) Number

func (AccessNumericFilter_Operation) String

func (AccessNumericFilter_Operation) Type

type AccessOrderBy

type AccessOrderBy struct {

	// Specify one type of order by for `OrderBy`.
	//
	// Types that are assignable to OneOrderBy:
	//
	//	*AccessOrderBy_Metric
	//	*AccessOrderBy_Dimension
	OneOrderBy isAccessOrderBy_OneOrderBy `protobuf_oneof:"one_order_by"`
	// If true, sorts by descending order. If false or unspecified, sorts in
	// ascending order.
	Desc bool `protobuf:"varint,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// contains filtered or unexported fields
}

Order bys define how rows will be sorted in the response. For example, ordering rows by descending access count is one ordering, and ordering rows by the country string is a different ordering.

func (*AccessOrderBy) Descriptor deprecated

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

Deprecated: Use AccessOrderBy.ProtoReflect.Descriptor instead.

func (*AccessOrderBy) GetDesc

func (x *AccessOrderBy) GetDesc() bool

func (*AccessOrderBy) GetDimension

func (x *AccessOrderBy) GetDimension() *AccessOrderBy_DimensionOrderBy

func (*AccessOrderBy) GetMetric

func (*AccessOrderBy) GetOneOrderBy

func (m *AccessOrderBy) GetOneOrderBy() isAccessOrderBy_OneOrderBy

func (*AccessOrderBy) ProtoMessage

func (*AccessOrderBy) ProtoMessage()

func (*AccessOrderBy) ProtoReflect

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

func (*AccessOrderBy) Reset

func (x *AccessOrderBy) Reset()

func (*AccessOrderBy) String

func (x *AccessOrderBy) String() string

type AccessOrderBy_Dimension

type AccessOrderBy_Dimension struct {
	// Sorts results by a dimension's values.
	Dimension *AccessOrderBy_DimensionOrderBy `protobuf:"bytes,2,opt,name=dimension,proto3,oneof"`
}

type AccessOrderBy_DimensionOrderBy

type AccessOrderBy_DimensionOrderBy struct {

	// A dimension name in the request to order by.
	DimensionName string `protobuf:"bytes,1,opt,name=dimension_name,json=dimensionName,proto3" json:"dimension_name,omitempty"`
	// Controls the rule for dimension value ordering.
	OrderType AccessOrderBy_DimensionOrderBy_OrderType `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

Sorts by dimension values.

func (*AccessOrderBy_DimensionOrderBy) Descriptor deprecated

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

Deprecated: Use AccessOrderBy_DimensionOrderBy.ProtoReflect.Descriptor instead.

func (*AccessOrderBy_DimensionOrderBy) GetDimensionName

func (x *AccessOrderBy_DimensionOrderBy) GetDimensionName() string

func (*AccessOrderBy_DimensionOrderBy) GetOrderType

func (*AccessOrderBy_DimensionOrderBy) ProtoMessage

func (*AccessOrderBy_DimensionOrderBy) ProtoMessage()

func (*AccessOrderBy_DimensionOrderBy) ProtoReflect

func (*AccessOrderBy_DimensionOrderBy) Reset

func (x *AccessOrderBy_DimensionOrderBy) Reset()

func (*AccessOrderBy_DimensionOrderBy) String

type AccessOrderBy_DimensionOrderBy_OrderType

type AccessOrderBy_DimensionOrderBy_OrderType int32

Rule to order the string dimension values by.

const (
	// Unspecified.
	AccessOrderBy_DimensionOrderBy_ORDER_TYPE_UNSPECIFIED AccessOrderBy_DimensionOrderBy_OrderType = 0
	// Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
	// "b" < "z".
	AccessOrderBy_DimensionOrderBy_ALPHANUMERIC AccessOrderBy_DimensionOrderBy_OrderType = 1
	// Case insensitive alphanumeric sort by lower case Unicode code point.
	// For example, "2" < "A" < "b" < "X" < "z".
	AccessOrderBy_DimensionOrderBy_CASE_INSENSITIVE_ALPHANUMERIC AccessOrderBy_DimensionOrderBy_OrderType = 2
	// Dimension values are converted to numbers before sorting. For example
	// in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
	// "25". Non-numeric dimension values all have equal ordering value below
	// all numeric values.
	AccessOrderBy_DimensionOrderBy_NUMERIC AccessOrderBy_DimensionOrderBy_OrderType = 3
)

func (AccessOrderBy_DimensionOrderBy_OrderType) Descriptor

func (AccessOrderBy_DimensionOrderBy_OrderType) Enum

func (AccessOrderBy_DimensionOrderBy_OrderType) EnumDescriptor deprecated

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

Deprecated: Use AccessOrderBy_DimensionOrderBy_OrderType.Descriptor instead.

func (AccessOrderBy_DimensionOrderBy_OrderType) Number

func (AccessOrderBy_DimensionOrderBy_OrderType) String

func (AccessOrderBy_DimensionOrderBy_OrderType) Type

type AccessOrderBy_Metric

type AccessOrderBy_Metric struct {
	// Sorts results by a metric's values.
	Metric *AccessOrderBy_MetricOrderBy `protobuf:"bytes,1,opt,name=metric,proto3,oneof"`
}

type AccessOrderBy_MetricOrderBy

type AccessOrderBy_MetricOrderBy struct {

	// A metric name in the request to order by.
	MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"`
	// contains filtered or unexported fields
}

Sorts by metric values.

func (*AccessOrderBy_MetricOrderBy) Descriptor deprecated

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

Deprecated: Use AccessOrderBy_MetricOrderBy.ProtoReflect.Descriptor instead.

func (*AccessOrderBy_MetricOrderBy) GetMetricName

func (x *AccessOrderBy_MetricOrderBy) GetMetricName() string

func (*AccessOrderBy_MetricOrderBy) ProtoMessage

func (*AccessOrderBy_MetricOrderBy) ProtoMessage()

func (*AccessOrderBy_MetricOrderBy) ProtoReflect

func (*AccessOrderBy_MetricOrderBy) Reset

func (x *AccessOrderBy_MetricOrderBy) Reset()

func (*AccessOrderBy_MetricOrderBy) String

func (x *AccessOrderBy_MetricOrderBy) String() string

type AccessQuota

type AccessQuota struct {

	// Properties can use 250,000 tokens per day. Most requests consume fewer than
	// 10 tokens.
	TokensPerDay *AccessQuotaStatus `protobuf:"bytes,1,opt,name=tokens_per_day,json=tokensPerDay,proto3" json:"tokens_per_day,omitempty"`
	// Properties can use 50,000 tokens per hour. An API request consumes a single
	// number of tokens, and that number is deducted from all of the hourly,
	// daily, and per project hourly quotas.
	TokensPerHour *AccessQuotaStatus `protobuf:"bytes,2,opt,name=tokens_per_hour,json=tokensPerHour,proto3" json:"tokens_per_hour,omitempty"`
	// Properties can use up to 50 concurrent requests.
	ConcurrentRequests *AccessQuotaStatus `protobuf:"bytes,3,opt,name=concurrent_requests,json=concurrentRequests,proto3" json:"concurrent_requests,omitempty"`
	// Properties and cloud project pairs can have up to 50 server errors per
	// hour.
	ServerErrorsPerProjectPerHour *AccessQuotaStatus `` /* 156-byte string literal not displayed */
	// Properties can use up to 25% of their tokens per project per hour. This
	// amounts to Analytics 360 Properties can use 12,500 tokens per project per
	// hour. An API request consumes a single number of tokens, and that number is
	// deducted from all of the hourly, daily, and per project hourly quotas.
	TokensPerProjectPerHour *AccessQuotaStatus `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

Current state of all quotas for this Analytics property. If any quota for a property is exhausted, all requests to that property will return Resource Exhausted errors.

func (*AccessQuota) Descriptor deprecated

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

Deprecated: Use AccessQuota.ProtoReflect.Descriptor instead.

func (*AccessQuota) GetConcurrentRequests

func (x *AccessQuota) GetConcurrentRequests() *AccessQuotaStatus

func (*AccessQuota) GetServerErrorsPerProjectPerHour

func (x *AccessQuota) GetServerErrorsPerProjectPerHour() *AccessQuotaStatus

func (*AccessQuota) GetTokensPerDay

func (x *AccessQuota) GetTokensPerDay() *AccessQuotaStatus

func (*AccessQuota) GetTokensPerHour

func (x *AccessQuota) GetTokensPerHour() *AccessQuotaStatus

func (*AccessQuota) GetTokensPerProjectPerHour

func (x *AccessQuota) GetTokensPerProjectPerHour() *AccessQuotaStatus

func (*AccessQuota) ProtoMessage

func (*AccessQuota) ProtoMessage()

func (*AccessQuota) ProtoReflect

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

func (*AccessQuota) Reset

func (x *AccessQuota) Reset()

func (*AccessQuota) String

func (x *AccessQuota) String() string

type AccessQuotaStatus

type AccessQuotaStatus struct {

	// Quota consumed by this request.
	Consumed int32 `protobuf:"varint,1,opt,name=consumed,proto3" json:"consumed,omitempty"`
	// Quota remaining after this request.
	Remaining int32 `protobuf:"varint,2,opt,name=remaining,proto3" json:"remaining,omitempty"`
	// contains filtered or unexported fields
}

Current state for a particular quota group.

func (*AccessQuotaStatus) Descriptor deprecated

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

Deprecated: Use AccessQuotaStatus.ProtoReflect.Descriptor instead.

func (*AccessQuotaStatus) GetConsumed

func (x *AccessQuotaStatus) GetConsumed() int32

func (*AccessQuotaStatus) GetRemaining

func (x *AccessQuotaStatus) GetRemaining() int32

func (*AccessQuotaStatus) ProtoMessage

func (*AccessQuotaStatus) ProtoMessage()

func (*AccessQuotaStatus) ProtoReflect

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

func (*AccessQuotaStatus) Reset

func (x *AccessQuotaStatus) Reset()

func (*AccessQuotaStatus) String

func (x *AccessQuotaStatus) String() string

type AccessRow

type AccessRow struct {

	// List of dimension values. These values are in the same order as specified
	// in the request.
	DimensionValues []*AccessDimensionValue `protobuf:"bytes,1,rep,name=dimension_values,json=dimensionValues,proto3" json:"dimension_values,omitempty"`
	// List of metric values. These values are in the same order as specified
	// in the request.
	MetricValues []*AccessMetricValue `protobuf:"bytes,2,rep,name=metric_values,json=metricValues,proto3" json:"metric_values,omitempty"`
	// contains filtered or unexported fields
}

Access report data for each row.

func (*AccessRow) Descriptor deprecated

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

Deprecated: Use AccessRow.ProtoReflect.Descriptor instead.

func (*AccessRow) GetDimensionValues

func (x *AccessRow) GetDimensionValues() []*AccessDimensionValue

func (*AccessRow) GetMetricValues

func (x *AccessRow) GetMetricValues() []*AccessMetricValue

func (*AccessRow) ProtoMessage

func (*AccessRow) ProtoMessage()

func (*AccessRow) ProtoReflect

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

func (*AccessRow) Reset

func (x *AccessRow) Reset()

func (*AccessRow) String

func (x *AccessRow) String() string

type AccessStringFilter

type AccessStringFilter struct {

	// The match type for this filter.
	MatchType AccessStringFilter_MatchType `` /* 153-byte string literal not displayed */
	// The string value used for the matching.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// If true, the string value is case sensitive.
	CaseSensitive bool `protobuf:"varint,3,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"`
	// contains filtered or unexported fields
}

The filter for strings.

func (*AccessStringFilter) Descriptor deprecated

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

Deprecated: Use AccessStringFilter.ProtoReflect.Descriptor instead.

func (*AccessStringFilter) GetCaseSensitive

func (x *AccessStringFilter) GetCaseSensitive() bool

func (*AccessStringFilter) GetMatchType

func (*AccessStringFilter) GetValue

func (x *AccessStringFilter) GetValue() string

func (*AccessStringFilter) ProtoMessage

func (*AccessStringFilter) ProtoMessage()

func (*AccessStringFilter) ProtoReflect

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

func (*AccessStringFilter) Reset

func (x *AccessStringFilter) Reset()

func (*AccessStringFilter) String

func (x *AccessStringFilter) String() string

type AccessStringFilter_MatchType

type AccessStringFilter_MatchType int32

The match type of a string filter.

const (
	// Unspecified
	AccessStringFilter_MATCH_TYPE_UNSPECIFIED AccessStringFilter_MatchType = 0
	// Exact match of the string value.
	AccessStringFilter_EXACT AccessStringFilter_MatchType = 1
	// Begins with the string value.
	AccessStringFilter_BEGINS_WITH AccessStringFilter_MatchType = 2
	// Ends with the string value.
	AccessStringFilter_ENDS_WITH AccessStringFilter_MatchType = 3
	// Contains the string value.
	AccessStringFilter_CONTAINS AccessStringFilter_MatchType = 4
	// Full match for the regular expression with the string value.
	AccessStringFilter_FULL_REGEXP AccessStringFilter_MatchType = 5
	// Partial match for the regular expression with the string value.
	AccessStringFilter_PARTIAL_REGEXP AccessStringFilter_MatchType = 6
)

func (AccessStringFilter_MatchType) Descriptor

func (AccessStringFilter_MatchType) Enum

func (AccessStringFilter_MatchType) EnumDescriptor deprecated

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

Deprecated: Use AccessStringFilter_MatchType.Descriptor instead.

func (AccessStringFilter_MatchType) Number

func (AccessStringFilter_MatchType) String

func (AccessStringFilter_MatchType) Type

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 AcknowledgeUserDataCollectionRequest

type AcknowledgeUserDataCollectionRequest struct {

	// Required. The property for which to acknowledge user data collection.
	Property string `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
	// Required. An acknowledgement that the caller of this method understands the
	// terms of user data collection.
	//
	// This field must contain the exact value:
	// "I acknowledge that I have the necessary privacy disclosures and rights
	// from my end users for the collection and processing of their data,
	// including the association of such data with the visitation information
	// Google Analytics collects from my site and/or app property."
	Acknowledgement string `protobuf:"bytes,2,opt,name=acknowledgement,proto3" json:"acknowledgement,omitempty"`
	// contains filtered or unexported fields
}

Request message for AcknowledgeUserDataCollection RPC.

func (*AcknowledgeUserDataCollectionRequest) Descriptor deprecated

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

Deprecated: Use AcknowledgeUserDataCollectionRequest.ProtoReflect.Descriptor instead.

func (*AcknowledgeUserDataCollectionRequest) GetAcknowledgement

func (x *AcknowledgeUserDataCollectionRequest) GetAcknowledgement() string

func (*AcknowledgeUserDataCollectionRequest) GetProperty

func (*AcknowledgeUserDataCollectionRequest) ProtoMessage

func (*AcknowledgeUserDataCollectionRequest) ProtoMessage()

func (*AcknowledgeUserDataCollectionRequest) ProtoReflect

func (*AcknowledgeUserDataCollectionRequest) Reset

func (*AcknowledgeUserDataCollectionRequest) String

type AcknowledgeUserDataCollectionResponse

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

Response message for AcknowledgeUserDataCollection RPC.

func (*AcknowledgeUserDataCollectionResponse) Descriptor deprecated

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

Deprecated: Use AcknowledgeUserDataCollectionResponse.ProtoReflect.Descriptor instead.

func (*AcknowledgeUserDataCollectionResponse) ProtoMessage

func (*AcknowledgeUserDataCollectionResponse) ProtoMessage()

func (*AcknowledgeUserDataCollectionResponse) ProtoReflect

func (*AcknowledgeUserDataCollectionResponse) Reset

func (*AcknowledgeUserDataCollectionResponse) 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 a 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)
	// 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)
	// 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)
	// 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.
	AcknowledgeUserDataCollection(ctx context.Context, in *AcknowledgeUserDataCollectionRequest, opts ...grpc.CallOption) (*AcknowledgeUserDataCollectionResponse, 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)
	// 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)
	// 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)
	// Creates a DataStream.
	CreateDataStream(ctx context.Context, in *CreateDataStreamRequest, opts ...grpc.CallOption) (*DataStream, error)
	// Deletes a DataStream on a property.
	DeleteDataStream(ctx context.Context, in *DeleteDataStreamRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates a DataStream on a property.
	UpdateDataStream(ctx context.Context, in *UpdateDataStreamRequest, opts ...grpc.CallOption) (*DataStream, error)
	// Lists DataStreams on a property.
	ListDataStreams(ctx context.Context, in *ListDataStreamsRequest, opts ...grpc.CallOption) (*ListDataStreamsResponse, error)
	// Lookup for a single DataStream.
	GetDataStream(ctx context.Context, in *GetDataStreamRequest, opts ...grpc.CallOption) (*DataStream, error)
	// 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. The property must be
	// in Google Analytics 360. 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](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
	RunAccessReport(ctx context.Context, in *RunAccessReportRequest, opts ...grpc.CallOption) (*RunAccessReportResponse, 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 a GA4 Property.
	DeleteProperty(context.Context, *DeletePropertyRequest) (*Property, error)
	// Updates a property.
	UpdateProperty(context.Context, *UpdatePropertyRequest) (*Property, 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)
	// 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)
	// 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.
	AcknowledgeUserDataCollection(context.Context, *AcknowledgeUserDataCollectionRequest) (*AcknowledgeUserDataCollectionResponse, error)
	// Searches through all changes to an account or its children given the
	// specified set of filters.
	SearchChangeHistoryEvents(context.Context, *SearchChangeHistoryEventsRequest) (*SearchChangeHistoryEventsResponse, 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)
	// 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)
	// Creates a DataStream.
	CreateDataStream(context.Context, *CreateDataStreamRequest) (*DataStream, error)
	// Deletes a DataStream on a property.
	DeleteDataStream(context.Context, *DeleteDataStreamRequest) (*emptypb.Empty, error)
	// Updates a DataStream on a property.
	UpdateDataStream(context.Context, *UpdateDataStreamRequest) (*DataStream, error)
	// Lists DataStreams on a property.
	ListDataStreams(context.Context, *ListDataStreamsRequest) (*ListDataStreamsResponse, error)
	// Lookup for a single DataStream.
	GetDataStream(context.Context, *GetDataStreamRequest) (*DataStream, error)
	// 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. The property must be
	// in Google Analytics 360. 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](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
	RunAccessReport(context.Context, *RunAccessReportRequest) (*RunAccessReportResponse, error)
}

AnalyticsAdminServiceServer is the server API for AnalyticsAdminService service.

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 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.v1beta.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_FirebaseLink
	//	*ChangeHistoryChange_ChangeHistoryResource_GoogleAdsLink
	//	*ChangeHistoryChange_ChangeHistoryResource_ConversionEvent
	//	*ChangeHistoryChange_ChangeHistoryResource_MeasurementProtocolSecret
	//	*ChangeHistoryChange_ChangeHistoryResource_DataRetentionSettings
	//	*ChangeHistoryChange_ChangeHistoryResource_DataStream
	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) GetConversionEvent

func (*ChangeHistoryChange_ChangeHistoryResource) GetDataRetentionSettings

func (*ChangeHistoryChange_ChangeHistoryResource) GetDataStream

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) 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_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_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_DataStream

type ChangeHistoryChange_ChangeHistoryResource_DataStream struct {
	// A snapshot of a DataStream resource in change history.
	DataStream *DataStream `protobuf:"bytes,18,opt,name=data_stream,json=dataStream,proto3,oneof"`
}
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_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 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 `` /* 134-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
	// 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
	// DataRetentionSettings resource
	ChangeHistoryResourceType_DATA_RETENTION_SETTINGS ChangeHistoryResourceType = 13
	// DisplayVideo360AdvertiserLink resource
	ChangeHistoryResourceType_DISPLAY_VIDEO_360_ADVERTISER_LINK ChangeHistoryResourceType = 14
	// DisplayVideo360AdvertiserLinkProposal resource
	ChangeHistoryResourceType_DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL ChangeHistoryResourceType = 15
	// DataStream resource
	ChangeHistoryResourceType_DATA_STREAM ChangeHistoryResourceType = 18
	// AttributionSettings resource
	ChangeHistoryResourceType_ATTRIBUTION_SETTINGS ChangeHistoryResourceType = 20
)

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

type ConversionEvent

type ConversionEvent struct {

	// Output only. Resource name of this conversion event.
	// Format: properties/{property}/conversionEvents/{conversion_event}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Immutable. The event name for this conversion event.
	// Examples: 'click', 'purchase'
	EventName string `protobuf:"bytes,2,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
	// Output only. Time when this conversion event was created in the property.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. If set, this event can currently be deleted with
	// DeleteConversionEvent.
	Deletable bool `protobuf:"varint,4,opt,name=deletable,proto3" json:"deletable,omitempty"`
	// Output only. If set to true, this conversion event refers to a custom
	// event.  If set to false, this conversion event refers to a default event in
	// GA. Default events typically have special meaning in GA. Default events are
	// usually created for you by the GA system, but in some cases can be created
	// by property admins. Custom events count towards the maximum number of
	// custom conversion events that may be created per property.
	Custom bool `protobuf:"varint,5,opt,name=custom,proto3" json:"custom,omitempty"`
	// contains filtered or unexported fields
}

A conversion event in a Google Analytics property.

func (*ConversionEvent) Descriptor deprecated

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

Deprecated: Use ConversionEvent.ProtoReflect.Descriptor instead.

func (*ConversionEvent) GetCreateTime

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

func (*ConversionEvent) GetCustom

func (x *ConversionEvent) GetCustom() bool

func (*ConversionEvent) GetDeletable

func (x *ConversionEvent) GetDeletable() bool

func (*ConversionEvent) GetEventName

func (x *ConversionEvent) GetEventName() string

func (*ConversionEvent) GetName

func (x *ConversionEvent) GetName() string

func (*ConversionEvent) ProtoMessage

func (*ConversionEvent) ProtoMessage()

func (*ConversionEvent) ProtoReflect

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

func (*ConversionEvent) Reset

func (x *ConversionEvent) Reset()

func (*ConversionEvent) String

func (x *ConversionEvent) String() string

type CreateConversionEventRequest

type CreateConversionEventRequest struct {

	// Required. The conversion event to create.
	ConversionEvent *ConversionEvent `protobuf:"bytes,1,opt,name=conversion_event,json=conversionEvent,proto3" json:"conversion_event,omitempty"`
	// Required. The resource name of the parent property where this conversion
	// event will be created. Format: properties/123
	Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateConversionEvent RPC

func (*CreateConversionEventRequest) Descriptor deprecated

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

Deprecated: Use CreateConversionEventRequest.ProtoReflect.Descriptor instead.

func (*CreateConversionEventRequest) GetConversionEvent

func (x *CreateConversionEventRequest) GetConversionEvent() *ConversionEvent

func (*CreateConversionEventRequest) GetParent

func (x *CreateConversionEventRequest) GetParent() string

func (*CreateConversionEventRequest) ProtoMessage

func (*CreateConversionEventRequest) ProtoMessage()

func (*CreateConversionEventRequest) ProtoReflect

func (*CreateConversionEventRequest) Reset

func (x *CreateConversionEventRequest) Reset()

func (*CreateConversionEventRequest) String

type CreateCustomDimensionRequest

type CreateCustomDimensionRequest struct {

	// Required. Example format: properties/1234
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The CustomDimension to create.
	CustomDimension *CustomDimension `protobuf:"bytes,2,opt,name=custom_dimension,json=customDimension,proto3" json:"custom_dimension,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateCustomDimension RPC.

func (*CreateCustomDimensionRequest) Descriptor deprecated

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

Deprecated: Use CreateCustomDimensionRequest.ProtoReflect.Descriptor instead.

func (*CreateCustomDimensionRequest) GetCustomDimension

func (x *CreateCustomDimensionRequest) GetCustomDimension() *CustomDimension

func (*CreateCustomDimensionRequest) GetParent

func (x *CreateCustomDimensionRequest) GetParent() string

func (*CreateCustomDimensionRequest) ProtoMessage

func (*CreateCustomDimensionRequest) ProtoMessage()

func (*CreateCustomDimensionRequest) ProtoReflect

func (*CreateCustomDimensionRequest) Reset

func (x *CreateCustomDimensionRequest) Reset()

func (*CreateCustomDimensionRequest) String

type CreateCustomMetricRequest

type CreateCustomMetricRequest struct {

	// Required. Example format: properties/1234
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The CustomMetric to create.
	CustomMetric *CustomMetric `protobuf:"bytes,2,opt,name=custom_metric,json=customMetric,proto3" json:"custom_metric,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateCustomMetric RPC.

func (*CreateCustomMetricRequest) Descriptor deprecated

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

Deprecated: Use CreateCustomMetricRequest.ProtoReflect.Descriptor instead.

func (*CreateCustomMetricRequest) GetCustomMetric

func (x *CreateCustomMetricRequest) GetCustomMetric() *CustomMetric

func (*CreateCustomMetricRequest) GetParent

func (x *CreateCustomMetricRequest) GetParent() string

func (*CreateCustomMetricRequest) ProtoMessage

func (*CreateCustomMetricRequest) ProtoMessage()

func (*CreateCustomMetricRequest) ProtoReflect

func (*CreateCustomMetricRequest) Reset

func (x *CreateCustomMetricRequest) Reset()

func (*CreateCustomMetricRequest) String

func (x *CreateCustomMetricRequest) String() string

type CreateDataStreamRequest

type CreateDataStreamRequest struct {

	// Required. Example format: properties/1234
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The DataStream to create.
	DataStream *DataStream `protobuf:"bytes,2,opt,name=data_stream,json=dataStream,proto3" json:"data_stream,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateDataStream RPC.

func (*CreateDataStreamRequest) Descriptor deprecated

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

Deprecated: Use CreateDataStreamRequest.ProtoReflect.Descriptor instead.

func (*CreateDataStreamRequest) GetDataStream

func (x *CreateDataStreamRequest) GetDataStream() *DataStream

func (*CreateDataStreamRequest) GetParent

func (x *CreateDataStreamRequest) GetParent() string

func (*CreateDataStreamRequest) ProtoMessage

func (*CreateDataStreamRequest) ProtoMessage()

func (*CreateDataStreamRequest) ProtoReflect

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

func (*CreateDataStreamRequest) Reset

func (x *CreateDataStreamRequest) Reset()

func (*CreateDataStreamRequest) String

func (x *CreateDataStreamRequest) String() string

type CreateFirebaseLinkRequest

type CreateFirebaseLinkRequest struct {

	// Required. Format: properties/{property_id}
	// Example: properties/1234
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The Firebase link to create.
	FirebaseLink *FirebaseLink `protobuf:"bytes,2,opt,name=firebase_link,json=firebaseLink,proto3" json:"firebase_link,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateFirebaseLink RPC

func (*CreateFirebaseLinkRequest) Descriptor deprecated

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

Deprecated: Use CreateFirebaseLinkRequest.ProtoReflect.Descriptor instead.

func (x *CreateFirebaseLinkRequest) GetFirebaseLink() *FirebaseLink

func (*CreateFirebaseLinkRequest) GetParent

func (x *CreateFirebaseLinkRequest) GetParent() string

func (*CreateFirebaseLinkRequest) ProtoMessage

func (*CreateFirebaseLinkRequest) ProtoMessage()

func (*CreateFirebaseLinkRequest) ProtoReflect

func (*CreateFirebaseLinkRequest) Reset

func (x *CreateFirebaseLinkRequest) Reset()

func (*CreateFirebaseLinkRequest) String

func (x *CreateFirebaseLinkRequest) String() string

type CreateGoogleAdsLinkRequest

type CreateGoogleAdsLinkRequest struct {

	// Required. Example format: properties/1234
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The GoogleAdsLink to create.
	GoogleAdsLink *GoogleAdsLink `protobuf:"bytes,2,opt,name=google_ads_link,json=googleAdsLink,proto3" json:"google_ads_link,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateGoogleAdsLink RPC

func (*CreateGoogleAdsLinkRequest) Descriptor deprecated

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

Deprecated: Use CreateGoogleAdsLinkRequest.ProtoReflect.Descriptor instead.

func (x *CreateGoogleAdsLinkRequest) GetGoogleAdsLink() *GoogleAdsLink

func (*CreateGoogleAdsLinkRequest) GetParent

func (x *CreateGoogleAdsLinkRequest) GetParent() string

func (*CreateGoogleAdsLinkRequest) ProtoMessage

func (*CreateGoogleAdsLinkRequest) ProtoMessage()

func (*CreateGoogleAdsLinkRequest) ProtoReflect

func (*CreateGoogleAdsLinkRequest) Reset

func (x *CreateGoogleAdsLinkRequest) Reset()

func (*CreateGoogleAdsLinkRequest) String

func (x *CreateGoogleAdsLinkRequest) String() string

type CreateMeasurementProtocolSecretRequest

type CreateMeasurementProtocolSecretRequest struct {

	// Required. The parent resource where this secret will be created.
	// Format: properties/{property}/dataStreams/{dataStream}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The measurement protocol secret to create.
	MeasurementProtocolSecret *MeasurementProtocolSecret `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for CreateMeasurementProtocolSecret RPC

func (*CreateMeasurementProtocolSecretRequest) Descriptor deprecated

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

Deprecated: Use CreateMeasurementProtocolSecretRequest.ProtoReflect.Descriptor instead.

func (*CreateMeasurementProtocolSecretRequest) GetMeasurementProtocolSecret

func (x *CreateMeasurementProtocolSecretRequest) GetMeasurementProtocolSecret() *MeasurementProtocolSecret

func (*CreateMeasurementProtocolSecretRequest) GetParent

func (*CreateMeasurementProtocolSecretRequest) ProtoMessage

func (*CreateMeasurementProtocolSecretRequest) ProtoReflect

func (*CreateMeasurementProtocolSecretRequest) Reset

func (*CreateMeasurementProtocolSecretRequest) String

type CreatePropertyRequest

type CreatePropertyRequest struct {

	// Required. The property to create.
	// Note: the supplied property must specify its parent.
	Property *Property `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateProperty RPC.

func (*CreatePropertyRequest) Descriptor deprecated

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

Deprecated: Use CreatePropertyRequest.ProtoReflect.Descriptor instead.

func (*CreatePropertyRequest) GetProperty

func (x *CreatePropertyRequest) GetProperty() *Property

func (*CreatePropertyRequest) ProtoMessage

func (*CreatePropertyRequest) ProtoMessage()

func (*CreatePropertyRequest) ProtoReflect

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

func (*CreatePropertyRequest) Reset

func (x *CreatePropertyRequest) Reset()

func (*CreatePropertyRequest) String

func (x *CreatePropertyRequest) String() string

type CustomDimension

type CustomDimension struct {

	// Output only. Resource name for this CustomDimension resource.
	// Format: properties/{property}/customDimensions/{customDimension}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Immutable. Tagging parameter name for this custom dimension.
	//
	// If this is a user-scoped dimension, then this is the user property name.
	// If this is an event-scoped dimension, then this is the event parameter
	// name.
	//
	// May only contain alphanumeric and underscore characters, starting with a
	// letter. Max length of 24 characters for user-scoped dimensions, 40
	// characters for event-scoped dimensions.
	ParameterName string `protobuf:"bytes,2,opt,name=parameter_name,json=parameterName,proto3" json:"parameter_name,omitempty"`
	// Required. Display name for this custom dimension as shown in the Analytics
	// UI. Max length of 82 characters, alphanumeric plus space and underscore
	// starting with a letter. Legacy system-generated display names may contain
	// square brackets, but updates to this field will never permit square
	// brackets.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. Description for this custom dimension. Max length of 150
	// characters.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Required. Immutable. The scope of this dimension.
	Scope CustomDimension_DimensionScope `` /* 130-byte string literal not displayed */
	// Optional. If set to true, sets this dimension as NPA and excludes it from
	// ads personalization.
	//
	// This is currently only supported by user-scoped custom dimensions.
	DisallowAdsPersonalization bool `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

A definition for a CustomDimension.

func (*CustomDimension) Descriptor deprecated

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

Deprecated: Use CustomDimension.ProtoReflect.Descriptor instead.

func (*CustomDimension) GetDescription

func (x *CustomDimension) GetDescription() string

func (*CustomDimension) GetDisallowAdsPersonalization

func (x *CustomDimension) GetDisallowAdsPersonalization() bool

func (*CustomDimension) GetDisplayName

func (x *CustomDimension) GetDisplayName() string

func (*CustomDimension) GetName

func (x *CustomDimension) GetName() string

func (*CustomDimension) GetParameterName

func (x *CustomDimension) GetParameterName() string

func (*CustomDimension) GetScope

func (*CustomDimension) ProtoMessage

func (*CustomDimension) ProtoMessage()

func (*CustomDimension) ProtoReflect

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

func (*CustomDimension) Reset

func (x *CustomDimension) Reset()

func (*CustomDimension) String

func (x *CustomDimension) String() string

type CustomDimension_DimensionScope

type CustomDimension_DimensionScope int32

Valid values for the scope of this dimension.

const (
	// Scope unknown or not specified.
	CustomDimension_DIMENSION_SCOPE_UNSPECIFIED CustomDimension_DimensionScope = 0
	// Dimension scoped to an event.
	CustomDimension_EVENT CustomDimension_DimensionScope = 1
	// Dimension scoped to a user.
	CustomDimension_USER CustomDimension_DimensionScope = 2
)

func (CustomDimension_DimensionScope) Descriptor

func (CustomDimension_DimensionScope) Enum

func (CustomDimension_DimensionScope) EnumDescriptor deprecated

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

Deprecated: Use CustomDimension_DimensionScope.Descriptor instead.

func (CustomDimension_DimensionScope) Number

func (CustomDimension_DimensionScope) String

func (CustomDimension_DimensionScope) Type

type CustomMetric

type CustomMetric struct {

	// Output only. Resource name for this CustomMetric resource.
	// Format: properties/{property}/customMetrics/{customMetric}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Immutable. Tagging name for this custom metric.
	//
	// If this is an event-scoped metric, then this is the event parameter
	// name.
	//
	// May only contain alphanumeric and underscore charactes, starting with a
	// letter. Max length of 40 characters for event-scoped metrics.
	ParameterName string `protobuf:"bytes,2,opt,name=parameter_name,json=parameterName,proto3" json:"parameter_name,omitempty"`
	// Required. Display name for this custom metric as shown in the Analytics UI.
	// Max length of 82 characters, alphanumeric plus space and underscore
	// starting with a letter. Legacy system-generated display names may contain
	// square brackets, but updates to this field will never permit square
	// brackets.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. Description for this custom dimension.
	// Max length of 150 characters.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Required. The type for the custom metric's value.
	MeasurementUnit CustomMetric_MeasurementUnit `` /* 171-byte string literal not displayed */
	// Required. Immutable. The scope of this custom metric.
	Scope CustomMetric_MetricScope `protobuf:"varint,6,opt,name=scope,proto3,enum=google.analytics.admin.v1beta.CustomMetric_MetricScope" json:"scope,omitempty"`
	// Optional. Types of restricted data that this metric may contain. Required
	// for metrics with CURRENCY measurement unit. Must be empty for metrics with
	// a non-CURRENCY measurement unit.
	RestrictedMetricType []CustomMetric_RestrictedMetricType `` /* 200-byte string literal not displayed */
	// contains filtered or unexported fields
}

A definition for a custom metric.

func (*CustomMetric) Descriptor deprecated

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

Deprecated: Use CustomMetric.ProtoReflect.Descriptor instead.

func (*CustomMetric) GetDescription

func (x *CustomMetric) GetDescription() string

func (*CustomMetric) GetDisplayName

func (x *CustomMetric) GetDisplayName() string

func (*CustomMetric) GetMeasurementUnit

func (x *CustomMetric) GetMeasurementUnit() CustomMetric_MeasurementUnit

func (*CustomMetric) GetName

func (x *CustomMetric) GetName() string

func (*CustomMetric) GetParameterName

func (x *CustomMetric) GetParameterName() string

func (*CustomMetric) GetRestrictedMetricType

func (x *CustomMetric) GetRestrictedMetricType() []CustomMetric_RestrictedMetricType

func (*CustomMetric) GetScope

func (x *CustomMetric) GetScope() CustomMetric_MetricScope

func (*CustomMetric) ProtoMessage

func (*CustomMetric) ProtoMessage()

func (*CustomMetric) ProtoReflect

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

func (*CustomMetric) Reset

func (x *CustomMetric) Reset()

func (*CustomMetric) String

func (x *CustomMetric) String() string

type CustomMetric_MeasurementUnit

type CustomMetric_MeasurementUnit int32

Possible types of representing the custom metric's value.

Currency representation may change in the future, requiring a breaking API change.

const (
	// MeasurementUnit unspecified or missing.
	CustomMetric_MEASUREMENT_UNIT_UNSPECIFIED CustomMetric_MeasurementUnit = 0
	// This metric uses default units.
	CustomMetric_STANDARD CustomMetric_MeasurementUnit = 1
	// This metric measures a currency.
	CustomMetric_CURRENCY CustomMetric_MeasurementUnit = 2
	// This metric measures feet.
	CustomMetric_FEET CustomMetric_MeasurementUnit = 3
	// This metric measures meters.
	CustomMetric_METERS CustomMetric_MeasurementUnit = 4
	// This metric measures kilometers.
	CustomMetric_KILOMETERS CustomMetric_MeasurementUnit = 5
	// This metric measures miles.
	CustomMetric_MILES CustomMetric_MeasurementUnit = 6
	// This metric measures milliseconds.
	CustomMetric_MILLISECONDS CustomMetric_MeasurementUnit = 7
	// This metric measures seconds.
	CustomMetric_SECONDS CustomMetric_MeasurementUnit = 8
	// This metric measures minutes.
	CustomMetric_MINUTES CustomMetric_MeasurementUnit = 9
	// This metric measures hours.
	CustomMetric_HOURS CustomMetric_MeasurementUnit = 10
)

func (CustomMetric_MeasurementUnit) Descriptor

func (CustomMetric_MeasurementUnit) Enum

func (CustomMetric_MeasurementUnit) EnumDescriptor deprecated

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

Deprecated: Use CustomMetric_MeasurementUnit.Descriptor instead.

func (CustomMetric_MeasurementUnit) Number

func (CustomMetric_MeasurementUnit) String

func (CustomMetric_MeasurementUnit) Type

type CustomMetric_MetricScope

type CustomMetric_MetricScope int32

The scope of this metric.

const (
	// Scope unknown or not specified.
	CustomMetric_METRIC_SCOPE_UNSPECIFIED CustomMetric_MetricScope = 0
	// Metric scoped to an event.
	CustomMetric_EVENT CustomMetric_MetricScope = 1
)

func (CustomMetric_MetricScope) Descriptor

func (CustomMetric_MetricScope) Enum

func (CustomMetric_MetricScope) EnumDescriptor deprecated

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

Deprecated: Use CustomMetric_MetricScope.Descriptor instead.

func (CustomMetric_MetricScope) Number

func (CustomMetric_MetricScope) String

func (x CustomMetric_MetricScope) String() string

func (CustomMetric_MetricScope) Type

type CustomMetric_RestrictedMetricType

type CustomMetric_RestrictedMetricType int32

Labels that mark the data in this custom metric as data that should be restricted to specific users.

const (
	// Type unknown or unspecified.
	CustomMetric_RESTRICTED_METRIC_TYPE_UNSPECIFIED CustomMetric_RestrictedMetricType = 0
	// Metric reports cost data.
	CustomMetric_COST_DATA CustomMetric_RestrictedMetricType = 1
	// Metric reports revenue data.
	CustomMetric_REVENUE_DATA CustomMetric_RestrictedMetricType = 2
)

func (CustomMetric_RestrictedMetricType) Descriptor

func (CustomMetric_RestrictedMetricType) Enum

func (CustomMetric_RestrictedMetricType) EnumDescriptor deprecated

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

Deprecated: Use CustomMetric_RestrictedMetricType.Descriptor instead.

func (CustomMetric_RestrictedMetricType) Number

func (CustomMetric_RestrictedMetricType) String

func (CustomMetric_RestrictedMetricType) Type

type DataRetentionSettings

type DataRetentionSettings struct {

	// Output only. Resource name for this DataRetentionSetting resource.
	// Format: properties/{property}/dataRetentionSettings
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The length of time that event-level data is retained.
	EventDataRetention DataRetentionSettings_RetentionDuration `` /* 193-byte string literal not displayed */
	// If true, reset the retention period for the user identifier with every
	// event from that user.
	ResetUserDataOnNewActivity bool `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*DataRetentionSettings) Descriptor deprecated

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

Deprecated: Use DataRetentionSettings.ProtoReflect.Descriptor instead.

func (*DataRetentionSettings) GetEventDataRetention

func (*DataRetentionSettings) GetName

func (x *DataRetentionSettings) GetName() string

func (*DataRetentionSettings) GetResetUserDataOnNewActivity

func (x *DataRetentionSettings) GetResetUserDataOnNewActivity() bool

func (*DataRetentionSettings) ProtoMessage

func (*DataRetentionSettings) ProtoMessage()

func (*DataRetentionSettings) ProtoReflect

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

func (*DataRetentionSettings) Reset

func (x *DataRetentionSettings) Reset()

func (*DataRetentionSettings) String

func (x *DataRetentionSettings) String() string

type DataRetentionSettings_RetentionDuration

type DataRetentionSettings_RetentionDuration int32

Valid values for the data retention duration.

const (
	// Data retention time duration is not specified.
	DataRetentionSettings_RETENTION_DURATION_UNSPECIFIED DataRetentionSettings_RetentionDuration = 0
	// The data retention time duration is 2 months.
	DataRetentionSettings_TWO_MONTHS DataRetentionSettings_RetentionDuration = 1
	// The data retention time duration is 14 months.
	DataRetentionSettings_FOURTEEN_MONTHS DataRetentionSettings_RetentionDuration = 3
	// The data retention time duration is 26 months.
	// Available to 360 properties only.
	DataRetentionSettings_TWENTY_SIX_MONTHS DataRetentionSettings_RetentionDuration = 4
	// The data retention time duration is 38 months.
	// Available to 360 properties only.
	DataRetentionSettings_THIRTY_EIGHT_MONTHS DataRetentionSettings_RetentionDuration = 5
	// The data retention time duration is 50 months.
	// Available to 360 properties only.
	DataRetentionSettings_FIFTY_MONTHS DataRetentionSettings_RetentionDuration = 6
)

func (DataRetentionSettings_RetentionDuration) Descriptor

func (DataRetentionSettings_RetentionDuration) Enum

func (DataRetentionSettings_RetentionDuration) EnumDescriptor deprecated

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

Deprecated: Use DataRetentionSettings_RetentionDuration.Descriptor instead.

func (DataRetentionSettings_RetentionDuration) Number

func (DataRetentionSettings_RetentionDuration) String

func (DataRetentionSettings_RetentionDuration) Type

type DataSharingSettings

type DataSharingSettings struct {

	// Output only. Resource name.
	// Format: accounts/{account}/dataSharingSettings
	// Example: "accounts/1000/dataSharingSettings"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Allows Google support to access the data in order to help troubleshoot
	// issues.
	SharingWithGoogleSupportEnabled bool `` /* 161-byte string literal not displayed */
	// Allows Google sales teams that are assigned to the customer to access the
	// data in order to suggest configuration changes to improve results.
	// Sales team restrictions still apply when enabled.
	SharingWithGoogleAssignedSalesEnabled bool `` /* 181-byte string literal not displayed */
	// Allows any of Google sales to access the data in order to suggest
	// configuration changes to improve results.
	SharingWithGoogleAnySalesEnabled bool `` /* 166-byte string literal not displayed */
	// Allows Google to use the data to improve other Google products or services.
	SharingWithGoogleProductsEnabled bool `` /* 164-byte string literal not displayed */
	// Allows Google to share the data anonymously in aggregate form with others.
	SharingWithOthersEnabled bool `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*DataSharingSettings) Descriptor deprecated

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

Deprecated: Use DataSharingSettings.ProtoReflect.Descriptor instead.

func (*DataSharingSettings) GetName

func (x *DataSharingSettings) GetName() string

func (*DataSharingSettings) GetSharingWithGoogleAnySalesEnabled

func (x *DataSharingSettings) GetSharingWithGoogleAnySalesEnabled() bool

func (*DataSharingSettings) GetSharingWithGoogleAssignedSalesEnabled

func (x *DataSharingSettings) GetSharingWithGoogleAssignedSalesEnabled() bool

func (*DataSharingSettings) GetSharingWithGoogleProductsEnabled

func (x *DataSharingSettings) GetSharingWithGoogleProductsEnabled() bool

func (*DataSharingSettings) GetSharingWithGoogleSupportEnabled

func (x *DataSharingSettings) GetSharingWithGoogleSupportEnabled() bool

func (*DataSharingSettings) GetSharingWithOthersEnabled

func (x *DataSharingSettings) GetSharingWithOthersEnabled() bool

func (*DataSharingSettings) ProtoMessage

func (*DataSharingSettings) ProtoMessage()

func (*DataSharingSettings) ProtoReflect

func (x *DataSharingSettings) ProtoReflect()