google-analytics-admin-v1alpha 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +1 -1
- data/lib/google/analytics/admin/v1alpha/access_report_pb.rb +1 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +150 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +2631 -352
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +90 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service.rb +1 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +60 -2
- data/lib/google/analytics/admin/v1alpha/audience_pb.rb +0 -3
- data/lib/google/analytics/admin/v1alpha/expanded_data_set_pb.rb +69 -0
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +35 -0
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/lib/google/analytics/admin/v1alpha.rb +2 -2
- data/proto_docs/google/analytics/admin/v1alpha/access_report.rb +8 -2
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +503 -57
- data/proto_docs/google/analytics/admin/v1alpha/audience.rb +32 -39
- data/proto_docs/google/analytics/admin/v1alpha/expanded_data_set.rb +156 -0
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +197 -63
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- metadata +11 -7
@@ -24,6 +24,45 @@ module Google
|
|
24
24
|
module AnalyticsAdminService
|
25
25
|
# Path helper methods for the AnalyticsAdminService API.
|
26
26
|
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified AccessBinding resource string.
|
29
|
+
#
|
30
|
+
# @overload access_binding_path(account:, access_binding:)
|
31
|
+
# The resource will be in the following format:
|
32
|
+
#
|
33
|
+
# `accounts/{account}/accessBindings/{access_binding}`
|
34
|
+
#
|
35
|
+
# @param account [String]
|
36
|
+
# @param access_binding [String]
|
37
|
+
#
|
38
|
+
# @overload access_binding_path(property:, access_binding:)
|
39
|
+
# The resource will be in the following format:
|
40
|
+
#
|
41
|
+
# `properties/{property}/accessBindings/{access_binding}`
|
42
|
+
#
|
43
|
+
# @param property [String]
|
44
|
+
# @param access_binding [String]
|
45
|
+
#
|
46
|
+
# @return [::String]
|
47
|
+
def access_binding_path **args
|
48
|
+
resources = {
|
49
|
+
"access_binding:account" => (proc do |account:, access_binding:|
|
50
|
+
raise ::ArgumentError, "account cannot contain /" if account.to_s.include? "/"
|
51
|
+
|
52
|
+
"accounts/#{account}/accessBindings/#{access_binding}"
|
53
|
+
end),
|
54
|
+
"access_binding:property" => (proc do |property:, access_binding:|
|
55
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
56
|
+
|
57
|
+
"properties/#{property}/accessBindings/#{access_binding}"
|
58
|
+
end)
|
59
|
+
}
|
60
|
+
|
61
|
+
resource = resources[args.keys.sort.join(":")]
|
62
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
63
|
+
resource.call(**args)
|
64
|
+
end
|
65
|
+
|
27
66
|
##
|
28
67
|
# Create a fully-qualified Account resource string.
|
29
68
|
#
|
@@ -69,6 +108,23 @@ module Google
|
|
69
108
|
"properties/#{property}/audiences/#{audience}"
|
70
109
|
end
|
71
110
|
|
111
|
+
##
|
112
|
+
# Create a fully-qualified BigQueryLink resource string.
|
113
|
+
#
|
114
|
+
# The resource will be in the following format:
|
115
|
+
#
|
116
|
+
# `properties/{property}/bigQueryLinks/{bigquery_link}`
|
117
|
+
#
|
118
|
+
# @param property [String]
|
119
|
+
# @param bigquery_link [String]
|
120
|
+
#
|
121
|
+
# @return [::String]
|
122
|
+
def big_query_link_path property:, bigquery_link:
|
123
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
124
|
+
|
125
|
+
"properties/#{property}/bigQueryLinks/#{bigquery_link}"
|
126
|
+
end
|
127
|
+
|
72
128
|
##
|
73
129
|
# Create a fully-qualified ConversionEvent resource string.
|
74
130
|
#
|
@@ -199,6 +255,23 @@ module Google
|
|
199
255
|
"properties/#{property}/displayVideo360AdvertiserLinkProposals/#{display_video_360_advertiser_link_proposal}"
|
200
256
|
end
|
201
257
|
|
258
|
+
##
|
259
|
+
# Create a fully-qualified ExpandedDataSet resource string.
|
260
|
+
#
|
261
|
+
# The resource will be in the following format:
|
262
|
+
#
|
263
|
+
# `properties/{property}/expandedDataSets/{expanded_data_set}`
|
264
|
+
#
|
265
|
+
# @param property [String]
|
266
|
+
# @param expanded_data_set [String]
|
267
|
+
#
|
268
|
+
# @return [::String]
|
269
|
+
def expanded_data_set_path property:, expanded_data_set:
|
270
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
271
|
+
|
272
|
+
"properties/#{property}/expandedDataSets/#{expanded_data_set}"
|
273
|
+
end
|
274
|
+
|
202
275
|
##
|
203
276
|
# Create a fully-qualified FirebaseLink resource string.
|
204
277
|
#
|
@@ -297,6 +370,23 @@ module Google
|
|
297
370
|
"properties/#{property}"
|
298
371
|
end
|
299
372
|
|
373
|
+
##
|
374
|
+
# Create a fully-qualified SearchAds360Link resource string.
|
375
|
+
#
|
376
|
+
# The resource will be in the following format:
|
377
|
+
#
|
378
|
+
# `properties/{property}/searchAds360Links/{search_ads_360_link}`
|
379
|
+
#
|
380
|
+
# @param property [String]
|
381
|
+
# @param search_ads_360_link [String]
|
382
|
+
#
|
383
|
+
# @return [::String]
|
384
|
+
def search_ads360_link_path property:, search_ads_360_link:
|
385
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
386
|
+
|
387
|
+
"properties/#{property}/searchAds360Links/#{search_ads_360_link}"
|
388
|
+
end
|
389
|
+
|
300
390
|
##
|
301
391
|
# Create a fully-qualified UserLink resource string.
|
302
392
|
#
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
##
|
34
34
|
# Service Interface for the Analytics Admin API (GA4).
|
35
35
|
#
|
36
|
-
#
|
36
|
+
# @example Load this service and instantiate a gRPC client
|
37
37
|
#
|
38
38
|
# require "google/analytics/admin/v1alpha/analytics_admin_service"
|
39
39
|
# client = ::Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client.new
|
@@ -80,7 +80,7 @@ module Google
|
|
80
80
|
# will be permanently purged.
|
81
81
|
# https://support.google.com/analytics/answer/6154772
|
82
82
|
#
|
83
|
-
# Returns an error if the target is not found, or is not
|
83
|
+
# Returns an error if the target is not found, or is not a GA4 Property.
|
84
84
|
rpc :DeleteProperty, ::Google::Analytics::Admin::V1alpha::DeletePropertyRequest, ::Google::Analytics::Admin::V1alpha::Property
|
85
85
|
# Updates a property.
|
86
86
|
rpc :UpdateProperty, ::Google::Analytics::Admin::V1alpha::UpdatePropertyRequest, ::Google::Analytics::Admin::V1alpha::Property
|
@@ -156,7 +156,8 @@ module Google
|
|
156
156
|
# Acknowledges the terms of user data collection for the specified property.
|
157
157
|
#
|
158
158
|
# This acknowledgement must be completed (either in the Google Analytics UI
|
159
|
-
# or
|
159
|
+
# or through this API) before MeasurementProtocolSecret resources may be
|
160
|
+
# created.
|
160
161
|
rpc :AcknowledgeUserDataCollection, ::Google::Analytics::Admin::V1alpha::AcknowledgeUserDataCollectionRequest, ::Google::Analytics::Admin::V1alpha::AcknowledgeUserDataCollectionResponse
|
161
162
|
# Searches through all changes to an account or its children given the
|
162
163
|
# specified set of filters.
|
@@ -244,9 +245,11 @@ module Google
|
|
244
245
|
rpc :GetDataStream, ::Google::Analytics::Admin::V1alpha::GetDataStreamRequest, ::Google::Analytics::Admin::V1alpha::DataStream
|
245
246
|
# Lookup for a single Audience.
|
246
247
|
# Audiences created before 2020 may not be supported.
|
248
|
+
# Default audiences will not show filter definitions.
|
247
249
|
rpc :GetAudience, ::Google::Analytics::Admin::V1alpha::GetAudienceRequest, ::Google::Analytics::Admin::V1alpha::Audience
|
248
250
|
# Lists Audiences on a property.
|
249
251
|
# Audiences created before 2020 may not be supported.
|
252
|
+
# Default audiences will not show filter definitions.
|
250
253
|
rpc :ListAudiences, ::Google::Analytics::Admin::V1alpha::ListAudiencesRequest, ::Google::Analytics::Admin::V1alpha::ListAudiencesResponse
|
251
254
|
# Creates an Audience.
|
252
255
|
rpc :CreateAudience, ::Google::Analytics::Admin::V1alpha::CreateAudienceRequest, ::Google::Analytics::Admin::V1alpha::Audience
|
@@ -254,6 +257,16 @@ module Google
|
|
254
257
|
rpc :UpdateAudience, ::Google::Analytics::Admin::V1alpha::UpdateAudienceRequest, ::Google::Analytics::Admin::V1alpha::Audience
|
255
258
|
# Archives an Audience on a property.
|
256
259
|
rpc :ArchiveAudience, ::Google::Analytics::Admin::V1alpha::ArchiveAudienceRequest, ::Google::Protobuf::Empty
|
260
|
+
# Look up a single SearchAds360Link
|
261
|
+
rpc :GetSearchAds360Link, ::Google::Analytics::Admin::V1alpha::GetSearchAds360LinkRequest, ::Google::Analytics::Admin::V1alpha::SearchAds360Link
|
262
|
+
# Lists all SearchAds360Links on a property.
|
263
|
+
rpc :ListSearchAds360Links, ::Google::Analytics::Admin::V1alpha::ListSearchAds360LinksRequest, ::Google::Analytics::Admin::V1alpha::ListSearchAds360LinksResponse
|
264
|
+
# Creates a SearchAds360Link.
|
265
|
+
rpc :CreateSearchAds360Link, ::Google::Analytics::Admin::V1alpha::CreateSearchAds360LinkRequest, ::Google::Analytics::Admin::V1alpha::SearchAds360Link
|
266
|
+
# Deletes a SearchAds360Link on a property.
|
267
|
+
rpc :DeleteSearchAds360Link, ::Google::Analytics::Admin::V1alpha::DeleteSearchAds360LinkRequest, ::Google::Protobuf::Empty
|
268
|
+
# Updates a SearchAds360Link on a property.
|
269
|
+
rpc :UpdateSearchAds360Link, ::Google::Analytics::Admin::V1alpha::UpdateSearchAds360LinkRequest, ::Google::Analytics::Admin::V1alpha::SearchAds360Link
|
257
270
|
# Lookup for a AttributionSettings singleton.
|
258
271
|
rpc :GetAttributionSettings, ::Google::Analytics::Admin::V1alpha::GetAttributionSettingsRequest, ::Google::Analytics::Admin::V1alpha::AttributionSettings
|
259
272
|
# Updates attribution settings on a property.
|
@@ -272,6 +285,51 @@ module Google
|
|
272
285
|
# property's time zone. For configuration change history, see
|
273
286
|
# [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
|
274
287
|
rpc :RunAccessReport, ::Google::Analytics::Admin::V1alpha::RunAccessReportRequest, ::Google::Analytics::Admin::V1alpha::RunAccessReportResponse
|
288
|
+
# Creates an access binding on an account or property.
|
289
|
+
rpc :CreateAccessBinding, ::Google::Analytics::Admin::V1alpha::CreateAccessBindingRequest, ::Google::Analytics::Admin::V1alpha::AccessBinding
|
290
|
+
# Gets information about an access binding.
|
291
|
+
rpc :GetAccessBinding, ::Google::Analytics::Admin::V1alpha::GetAccessBindingRequest, ::Google::Analytics::Admin::V1alpha::AccessBinding
|
292
|
+
# Updates an access binding on an account or property.
|
293
|
+
rpc :UpdateAccessBinding, ::Google::Analytics::Admin::V1alpha::UpdateAccessBindingRequest, ::Google::Analytics::Admin::V1alpha::AccessBinding
|
294
|
+
# Deletes an access binding on an account or property.
|
295
|
+
rpc :DeleteAccessBinding, ::Google::Analytics::Admin::V1alpha::DeleteAccessBindingRequest, ::Google::Protobuf::Empty
|
296
|
+
# Lists all access bindings on an account or property.
|
297
|
+
rpc :ListAccessBindings, ::Google::Analytics::Admin::V1alpha::ListAccessBindingsRequest, ::Google::Analytics::Admin::V1alpha::ListAccessBindingsResponse
|
298
|
+
# Creates information about multiple access bindings to an account or
|
299
|
+
# property.
|
300
|
+
#
|
301
|
+
# This method is transactional. If any AccessBinding cannot be created, none
|
302
|
+
# of the AccessBindings will be created.
|
303
|
+
rpc :BatchCreateAccessBindings, ::Google::Analytics::Admin::V1alpha::BatchCreateAccessBindingsRequest, ::Google::Analytics::Admin::V1alpha::BatchCreateAccessBindingsResponse
|
304
|
+
# Gets information about multiple access bindings to an account or property.
|
305
|
+
rpc :BatchGetAccessBindings, ::Google::Analytics::Admin::V1alpha::BatchGetAccessBindingsRequest, ::Google::Analytics::Admin::V1alpha::BatchGetAccessBindingsResponse
|
306
|
+
# Updates information about multiple access bindings to an account or
|
307
|
+
# property.
|
308
|
+
rpc :BatchUpdateAccessBindings, ::Google::Analytics::Admin::V1alpha::BatchUpdateAccessBindingsRequest, ::Google::Analytics::Admin::V1alpha::BatchUpdateAccessBindingsResponse
|
309
|
+
# Deletes information about multiple users' links to an account or property.
|
310
|
+
rpc :BatchDeleteAccessBindings, ::Google::Analytics::Admin::V1alpha::BatchDeleteAccessBindingsRequest, ::Google::Protobuf::Empty
|
311
|
+
# Lookup for a single ExpandedDataSet.
|
312
|
+
rpc :GetExpandedDataSet, ::Google::Analytics::Admin::V1alpha::GetExpandedDataSetRequest, ::Google::Analytics::Admin::V1alpha::ExpandedDataSet
|
313
|
+
# Lists ExpandedDataSets on a property.
|
314
|
+
rpc :ListExpandedDataSets, ::Google::Analytics::Admin::V1alpha::ListExpandedDataSetsRequest, ::Google::Analytics::Admin::V1alpha::ListExpandedDataSetsResponse
|
315
|
+
# Creates a ExpandedDataSet.
|
316
|
+
rpc :CreateExpandedDataSet, ::Google::Analytics::Admin::V1alpha::CreateExpandedDataSetRequest, ::Google::Analytics::Admin::V1alpha::ExpandedDataSet
|
317
|
+
# Updates a ExpandedDataSet on a property.
|
318
|
+
rpc :UpdateExpandedDataSet, ::Google::Analytics::Admin::V1alpha::UpdateExpandedDataSetRequest, ::Google::Analytics::Admin::V1alpha::ExpandedDataSet
|
319
|
+
# Deletes a ExpandedDataSet on a property.
|
320
|
+
rpc :DeleteExpandedDataSet, ::Google::Analytics::Admin::V1alpha::DeleteExpandedDataSetRequest, ::Google::Protobuf::Empty
|
321
|
+
# Sets the opt out status for the automated GA4 setup process for a UA
|
322
|
+
# property.
|
323
|
+
# Note: this has no effect on GA4 property.
|
324
|
+
rpc :SetAutomatedGa4ConfigurationOptOut, ::Google::Analytics::Admin::V1alpha::SetAutomatedGa4ConfigurationOptOutRequest, ::Google::Analytics::Admin::V1alpha::SetAutomatedGa4ConfigurationOptOutResponse
|
325
|
+
# Fetches the opt out status for the automated GA4 setup process for a UA
|
326
|
+
# property.
|
327
|
+
# Note: this has no effect on GA4 property.
|
328
|
+
rpc :FetchAutomatedGa4ConfigurationOptOut, ::Google::Analytics::Admin::V1alpha::FetchAutomatedGa4ConfigurationOptOutRequest, ::Google::Analytics::Admin::V1alpha::FetchAutomatedGa4ConfigurationOptOutResponse
|
329
|
+
# Lookup for a single BigQuery Link.
|
330
|
+
rpc :GetBigQueryLink, ::Google::Analytics::Admin::V1alpha::GetBigQueryLinkRequest, ::Google::Analytics::Admin::V1alpha::BigQueryLink
|
331
|
+
# Lists BigQuery Links on a property.
|
332
|
+
rpc :ListBigQueryLinks, ::Google::Analytics::Admin::V1alpha::ListBigQueryLinksRequest, ::Google::Analytics::Admin::V1alpha::ListBigQueryLinksResponse
|
275
333
|
end
|
276
334
|
|
277
335
|
Stub = Service.rpc_stub_class
|
@@ -32,7 +32,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
32
32
|
value :ENDS_WITH, 3
|
33
33
|
value :CONTAINS, 4
|
34
34
|
value :FULL_REGEXP, 5
|
35
|
-
value :PARTIAL_REGEXP, 6
|
36
35
|
end
|
37
36
|
add_message "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter" do
|
38
37
|
repeated :values, :string, 1
|
@@ -52,9 +51,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
52
51
|
value :OPERATION_UNSPECIFIED, 0
|
53
52
|
value :EQUAL, 1
|
54
53
|
value :LESS_THAN, 2
|
55
|
-
value :LESS_THAN_OR_EQUAL, 3
|
56
54
|
value :GREATER_THAN, 4
|
57
|
-
value :GREATER_THAN_OR_EQUAL, 5
|
58
55
|
end
|
59
56
|
add_message "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter" do
|
60
57
|
optional :from_value, :message, 1, "google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue"
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/analytics/admin/v1alpha/expanded_data_set.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("google/analytics/admin/v1alpha/expanded_data_set.proto", :syntax => :proto3) do
|
12
|
+
add_message "google.analytics.admin.v1alpha.ExpandedDataSetFilter" do
|
13
|
+
optional :field_name, :string, 1
|
14
|
+
oneof :one_filter do
|
15
|
+
optional :string_filter, :message, 2, "google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter"
|
16
|
+
optional :in_list_filter, :message, 3, "google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
add_message "google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter" do
|
20
|
+
optional :match_type, :enum, 1, "google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType"
|
21
|
+
optional :value, :string, 2
|
22
|
+
optional :case_sensitive, :bool, 3
|
23
|
+
end
|
24
|
+
add_enum "google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType" do
|
25
|
+
value :MATCH_TYPE_UNSPECIFIED, 0
|
26
|
+
value :EXACT, 1
|
27
|
+
value :CONTAINS, 2
|
28
|
+
end
|
29
|
+
add_message "google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter" do
|
30
|
+
repeated :values, :string, 1
|
31
|
+
optional :case_sensitive, :bool, 2
|
32
|
+
end
|
33
|
+
add_message "google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression" do
|
34
|
+
oneof :expr do
|
35
|
+
optional :and_group, :message, 1, "google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList"
|
36
|
+
optional :not_expression, :message, 2, "google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression"
|
37
|
+
optional :filter, :message, 3, "google.analytics.admin.v1alpha.ExpandedDataSetFilter"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
add_message "google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList" do
|
41
|
+
repeated :filter_expressions, :message, 1, "google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression"
|
42
|
+
end
|
43
|
+
add_message "google.analytics.admin.v1alpha.ExpandedDataSet" do
|
44
|
+
optional :name, :string, 1
|
45
|
+
optional :display_name, :string, 2
|
46
|
+
optional :description, :string, 3
|
47
|
+
repeated :dimension_names, :string, 4
|
48
|
+
repeated :metric_names, :string, 5
|
49
|
+
optional :dimension_filter_expression, :message, 6, "google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression"
|
50
|
+
optional :data_collection_start_time, :message, 7, "google.protobuf.Timestamp"
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
module Google
|
56
|
+
module Analytics
|
57
|
+
module Admin
|
58
|
+
module V1alpha
|
59
|
+
ExpandedDataSetFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSetFilter").msgclass
|
60
|
+
ExpandedDataSetFilter::StringFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter").msgclass
|
61
|
+
ExpandedDataSetFilter::StringFilter::MatchType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType").enummodule
|
62
|
+
ExpandedDataSetFilter::InListFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter").msgclass
|
63
|
+
ExpandedDataSetFilterExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression").msgclass
|
64
|
+
ExpandedDataSetFilterExpressionList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList").msgclass
|
65
|
+
ExpandedDataSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ExpandedDataSet").msgclass
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/analytics/admin/v1alpha/expanded_data_set_pb'
|
6
7
|
require 'google/api/field_behavior_pb'
|
7
8
|
require 'google/api/resource_pb'
|
8
9
|
require 'google/protobuf/timestamp_pb'
|
@@ -146,8 +147,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
146
147
|
optional :custom_dimension, :message, 13, "google.analytics.admin.v1alpha.CustomDimension"
|
147
148
|
optional :custom_metric, :message, 14, "google.analytics.admin.v1alpha.CustomMetric"
|
148
149
|
optional :data_retention_settings, :message, 15, "google.analytics.admin.v1alpha.DataRetentionSettings"
|
150
|
+
optional :search_ads_360_link, :message, 16, "google.analytics.admin.v1alpha.SearchAds360Link"
|
149
151
|
optional :data_stream, :message, 18, "google.analytics.admin.v1alpha.DataStream"
|
150
152
|
optional :attribution_settings, :message, 20, "google.analytics.admin.v1alpha.AttributionSettings"
|
153
|
+
optional :expanded_data_set, :message, 21, "google.analytics.admin.v1alpha.ExpandedDataSet"
|
154
|
+
optional :bigquery_link, :message, 23, "google.analytics.admin.v1alpha.BigQueryLink"
|
151
155
|
end
|
152
156
|
end
|
153
157
|
add_message "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink" do
|
@@ -168,6 +172,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
168
172
|
optional :campaign_data_sharing_enabled, :message, 7, "google.protobuf.BoolValue"
|
169
173
|
optional :cost_data_sharing_enabled, :message, 8, "google.protobuf.BoolValue"
|
170
174
|
end
|
175
|
+
add_message "google.analytics.admin.v1alpha.SearchAds360Link" do
|
176
|
+
optional :name, :string, 1
|
177
|
+
optional :advertiser_id, :string, 2
|
178
|
+
optional :campaign_data_sharing_enabled, :message, 3, "google.protobuf.BoolValue"
|
179
|
+
optional :cost_data_sharing_enabled, :message, 4, "google.protobuf.BoolValue"
|
180
|
+
optional :advertiser_display_name, :string, 5
|
181
|
+
optional :ads_personalization_enabled, :message, 6, "google.protobuf.BoolValue"
|
182
|
+
optional :site_stats_sharing_enabled, :message, 7, "google.protobuf.BoolValue"
|
183
|
+
end
|
171
184
|
add_message "google.analytics.admin.v1alpha.LinkProposalStatusDetails" do
|
172
185
|
optional :link_proposal_initiating_product, :enum, 1, "google.analytics.admin.v1alpha.LinkProposalInitiatingProduct"
|
173
186
|
optional :requestor_email, :string, 2
|
@@ -269,6 +282,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
269
282
|
value :CROSS_CHANNEL_TIME_DECAY, 6
|
270
283
|
value :ADS_PREFERRED_LAST_CLICK, 7
|
271
284
|
end
|
285
|
+
add_message "google.analytics.admin.v1alpha.AccessBinding" do
|
286
|
+
optional :name, :string, 1
|
287
|
+
repeated :roles, :string, 3
|
288
|
+
oneof :access_target do
|
289
|
+
optional :user, :string, 2
|
290
|
+
end
|
291
|
+
end
|
292
|
+
add_message "google.analytics.admin.v1alpha.BigQueryLink" do
|
293
|
+
optional :name, :string, 1
|
294
|
+
optional :project, :string, 2
|
295
|
+
optional :create_time, :message, 3, "google.protobuf.Timestamp"
|
296
|
+
optional :daily_export_enabled, :bool, 4
|
297
|
+
optional :streaming_export_enabled, :bool, 5
|
298
|
+
optional :include_advertising_id, :bool, 6
|
299
|
+
repeated :export_streams, :string, 7
|
300
|
+
repeated :excluded_events, :string, 8
|
301
|
+
end
|
272
302
|
add_enum "google.analytics.admin.v1alpha.IndustryCategory" do
|
273
303
|
value :INDUSTRY_CATEGORY_UNSPECIFIED, 0
|
274
304
|
value :AUTOMOTIVE, 1
|
@@ -332,6 +362,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
332
362
|
value :SEARCH_ADS_360_LINK, 16
|
333
363
|
value :DATA_STREAM, 18
|
334
364
|
value :ATTRIBUTION_SETTINGS, 20
|
365
|
+
value :EXPANDED_DATA_SET, 21
|
366
|
+
value :CHANNEL_GROUP, 22
|
335
367
|
end
|
336
368
|
add_enum "google.analytics.admin.v1alpha.GoogleSignalsState" do
|
337
369
|
value :GOOGLE_SIGNALS_STATE_UNSPECIFIED, 0
|
@@ -391,6 +423,7 @@ module Google
|
|
391
423
|
ChangeHistoryChange::ChangeHistoryResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource").msgclass
|
392
424
|
DisplayVideo360AdvertiserLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink").msgclass
|
393
425
|
DisplayVideo360AdvertiserLinkProposal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal").msgclass
|
426
|
+
SearchAds360Link = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SearchAds360Link").msgclass
|
394
427
|
LinkProposalStatusDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.LinkProposalStatusDetails").msgclass
|
395
428
|
ConversionEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ConversionEvent").msgclass
|
396
429
|
GoogleSignalsSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GoogleSignalsSettings").msgclass
|
@@ -406,6 +439,8 @@ module Google
|
|
406
439
|
AttributionSettings::AcquisitionConversionEventLookbackWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow").enummodule
|
407
440
|
AttributionSettings::OtherConversionEventLookbackWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow").enummodule
|
408
441
|
AttributionSettings::ReportingAttributionModel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel").enummodule
|
442
|
+
AccessBinding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AccessBinding").msgclass
|
443
|
+
BigQueryLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.BigQueryLink").msgclass
|
409
444
|
IndustryCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.IndustryCategory").enummodule
|
410
445
|
ServiceLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ServiceLevel").enummodule
|
411
446
|
ActorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ActorType").enummodule
|
@@ -23,9 +23,9 @@ module Google
|
|
23
23
|
module Analytics
|
24
24
|
module Admin
|
25
25
|
##
|
26
|
-
#
|
26
|
+
# API client module.
|
27
27
|
#
|
28
|
-
# @example
|
28
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
29
29
|
#
|
30
30
|
# require "google/analytics/admin/v1alpha"
|
31
31
|
# client = ::Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client.new
|
@@ -352,8 +352,8 @@ module Google
|
|
352
352
|
# @!attribute [rw] tokens_per_hour
|
353
353
|
# @return [::Google::Analytics::Admin::V1alpha::AccessQuotaStatus]
|
354
354
|
# Properties can use 50,000 tokens per hour. An API request consumes a single
|
355
|
-
# number of tokens, and that number is deducted from
|
356
|
-
# daily quotas.
|
355
|
+
# number of tokens, and that number is deducted from all of the hourly,
|
356
|
+
# daily, and per project hourly quotas.
|
357
357
|
# @!attribute [rw] concurrent_requests
|
358
358
|
# @return [::Google::Analytics::Admin::V1alpha::AccessQuotaStatus]
|
359
359
|
# Properties can use up to 50 concurrent requests.
|
@@ -361,6 +361,12 @@ module Google
|
|
361
361
|
# @return [::Google::Analytics::Admin::V1alpha::AccessQuotaStatus]
|
362
362
|
# Properties and cloud project pairs can have up to 50 server errors per
|
363
363
|
# hour.
|
364
|
+
# @!attribute [rw] tokens_per_project_per_hour
|
365
|
+
# @return [::Google::Analytics::Admin::V1alpha::AccessQuotaStatus]
|
366
|
+
# Properties can use up to 25% of their tokens per project per hour. This
|
367
|
+
# amounts to Analytics 360 Properties can use 12,500 tokens per project per
|
368
|
+
# hour. An API request consumes a single number of tokens, and that number is
|
369
|
+
# deducted from all of the hourly, daily, and per project hourly quotas.
|
364
370
|
class AccessQuota
|
365
371
|
include ::Google::Protobuf::MessageExts
|
366
372
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|