google-analytics-admin-v1alpha 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -69,6 +69,23 @@ module Google
69
69
  "properties/#{property}/audiences/#{audience}"
70
70
  end
71
71
 
72
+ ##
73
+ # Create a fully-qualified BigQueryLink resource string.
74
+ #
75
+ # The resource will be in the following format:
76
+ #
77
+ # `properties/{property}/bigQueryLinks/{bigquery_link}`
78
+ #
79
+ # @param property [String]
80
+ # @param bigquery_link [String]
81
+ #
82
+ # @return [::String]
83
+ def big_query_link_path property:, bigquery_link:
84
+ raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
85
+
86
+ "properties/#{property}/bigQueryLinks/#{bigquery_link}"
87
+ end
88
+
72
89
  ##
73
90
  # Create a fully-qualified ConversionEvent resource string.
74
91
  #
@@ -297,6 +314,23 @@ module Google
297
314
  "properties/#{property}"
298
315
  end
299
316
 
317
+ ##
318
+ # Create a fully-qualified SearchAds360Link resource string.
319
+ #
320
+ # The resource will be in the following format:
321
+ #
322
+ # `properties/{property}/searchAds360Links/{search_ads_360_link}`
323
+ #
324
+ # @param property [String]
325
+ # @param search_ads_360_link [String]
326
+ #
327
+ # @return [::String]
328
+ def search_ads360_link_path property:, search_ads_360_link:
329
+ raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
330
+
331
+ "properties/#{property}/searchAds360Links/#{search_ads_360_link}"
332
+ end
333
+
300
334
  ##
301
335
  # Create a fully-qualified UserLink resource string.
302
336
  #
@@ -33,7 +33,7 @@ module Google
33
33
  ##
34
34
  # Service Interface for the Analytics Admin API (GA4).
35
35
  #
36
- # To load this service and instantiate a client:
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 an GA4 Property.
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
@@ -244,9 +244,11 @@ module Google
244
244
  rpc :GetDataStream, ::Google::Analytics::Admin::V1alpha::GetDataStreamRequest, ::Google::Analytics::Admin::V1alpha::DataStream
245
245
  # Lookup for a single Audience.
246
246
  # Audiences created before 2020 may not be supported.
247
+ # Default audiences will not show filter definitions.
247
248
  rpc :GetAudience, ::Google::Analytics::Admin::V1alpha::GetAudienceRequest, ::Google::Analytics::Admin::V1alpha::Audience
248
249
  # Lists Audiences on a property.
249
250
  # Audiences created before 2020 may not be supported.
251
+ # Default audiences will not show filter definitions.
250
252
  rpc :ListAudiences, ::Google::Analytics::Admin::V1alpha::ListAudiencesRequest, ::Google::Analytics::Admin::V1alpha::ListAudiencesResponse
251
253
  # Creates an Audience.
252
254
  rpc :CreateAudience, ::Google::Analytics::Admin::V1alpha::CreateAudienceRequest, ::Google::Analytics::Admin::V1alpha::Audience
@@ -254,6 +256,16 @@ module Google
254
256
  rpc :UpdateAudience, ::Google::Analytics::Admin::V1alpha::UpdateAudienceRequest, ::Google::Analytics::Admin::V1alpha::Audience
255
257
  # Archives an Audience on a property.
256
258
  rpc :ArchiveAudience, ::Google::Analytics::Admin::V1alpha::ArchiveAudienceRequest, ::Google::Protobuf::Empty
259
+ # Look up a single SearchAds360Link
260
+ rpc :GetSearchAds360Link, ::Google::Analytics::Admin::V1alpha::GetSearchAds360LinkRequest, ::Google::Analytics::Admin::V1alpha::SearchAds360Link
261
+ # Lists all SearchAds360Links on a property.
262
+ rpc :ListSearchAds360Links, ::Google::Analytics::Admin::V1alpha::ListSearchAds360LinksRequest, ::Google::Analytics::Admin::V1alpha::ListSearchAds360LinksResponse
263
+ # Creates a SearchAds360Link.
264
+ rpc :CreateSearchAds360Link, ::Google::Analytics::Admin::V1alpha::CreateSearchAds360LinkRequest, ::Google::Analytics::Admin::V1alpha::SearchAds360Link
265
+ # Deletes a SearchAds360Link on a property.
266
+ rpc :DeleteSearchAds360Link, ::Google::Analytics::Admin::V1alpha::DeleteSearchAds360LinkRequest, ::Google::Protobuf::Empty
267
+ # Updates a SearchAds360Link on a property.
268
+ rpc :UpdateSearchAds360Link, ::Google::Analytics::Admin::V1alpha::UpdateSearchAds360LinkRequest, ::Google::Analytics::Admin::V1alpha::SearchAds360Link
257
269
  # Lookup for a AttributionSettings singleton.
258
270
  rpc :GetAttributionSettings, ::Google::Analytics::Admin::V1alpha::GetAttributionSettingsRequest, ::Google::Analytics::Admin::V1alpha::AttributionSettings
259
271
  # Updates attribution settings on a property.
@@ -272,6 +284,18 @@ module Google
272
284
  # property's time zone. For configuration change history, see
273
285
  # [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
274
286
  rpc :RunAccessReport, ::Google::Analytics::Admin::V1alpha::RunAccessReportRequest, ::Google::Analytics::Admin::V1alpha::RunAccessReportResponse
287
+ # Sets the opt out status for the automated GA4 setup process for a UA
288
+ # property.
289
+ # Note: this has no effect on GA4 property.
290
+ rpc :SetAutomatedGa4ConfigurationOptOut, ::Google::Analytics::Admin::V1alpha::SetAutomatedGa4ConfigurationOptOutRequest, ::Google::Analytics::Admin::V1alpha::SetAutomatedGa4ConfigurationOptOutResponse
291
+ # Fetches the opt out status for the automated GA4 setup process for a UA
292
+ # property.
293
+ # Note: this has no effect on GA4 property.
294
+ rpc :FetchAutomatedGa4ConfigurationOptOut, ::Google::Analytics::Admin::V1alpha::FetchAutomatedGa4ConfigurationOptOutRequest, ::Google::Analytics::Admin::V1alpha::FetchAutomatedGa4ConfigurationOptOutResponse
295
+ # Lookup for a single BigQuery Link.
296
+ rpc :GetBigQueryLink, ::Google::Analytics::Admin::V1alpha::GetBigQueryLinkRequest, ::Google::Analytics::Admin::V1alpha::BigQueryLink
297
+ # Lists BigQuery Links on a property.
298
+ rpc :ListBigQueryLinks, ::Google::Analytics::Admin::V1alpha::ListBigQueryLinksRequest, ::Google::Analytics::Admin::V1alpha::ListBigQueryLinksResponse
275
299
  end
276
300
 
277
301
  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,16 @@ 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.BigQueryLink" do
286
+ optional :name, :string, 1
287
+ optional :project, :string, 2
288
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
289
+ optional :daily_export_enabled, :bool, 4
290
+ optional :streaming_export_enabled, :bool, 5
291
+ optional :include_advertising_id, :bool, 6
292
+ repeated :export_streams, :string, 7
293
+ repeated :excluded_events, :string, 8
294
+ end
272
295
  add_enum "google.analytics.admin.v1alpha.IndustryCategory" do
273
296
  value :INDUSTRY_CATEGORY_UNSPECIFIED, 0
274
297
  value :AUTOMOTIVE, 1
@@ -332,6 +355,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
332
355
  value :SEARCH_ADS_360_LINK, 16
333
356
  value :DATA_STREAM, 18
334
357
  value :ATTRIBUTION_SETTINGS, 20
358
+ value :EXPANDED_DATA_SET, 21
359
+ value :CHANNEL_GROUP, 22
335
360
  end
336
361
  add_enum "google.analytics.admin.v1alpha.GoogleSignalsState" do
337
362
  value :GOOGLE_SIGNALS_STATE_UNSPECIFIED, 0
@@ -391,6 +416,7 @@ module Google
391
416
  ChangeHistoryChange::ChangeHistoryResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource").msgclass
392
417
  DisplayVideo360AdvertiserLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink").msgclass
393
418
  DisplayVideo360AdvertiserLinkProposal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal").msgclass
419
+ SearchAds360Link = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.SearchAds360Link").msgclass
394
420
  LinkProposalStatusDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.LinkProposalStatusDetails").msgclass
395
421
  ConversionEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ConversionEvent").msgclass
396
422
  GoogleSignalsSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GoogleSignalsSettings").msgclass
@@ -406,6 +432,7 @@ module Google
406
432
  AttributionSettings::AcquisitionConversionEventLookbackWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow").enummodule
407
433
  AttributionSettings::OtherConversionEventLookbackWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow").enummodule
408
434
  AttributionSettings::ReportingAttributionModel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel").enummodule
435
+ BigQueryLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.BigQueryLink").msgclass
409
436
  IndustryCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.IndustryCategory").enummodule
410
437
  ServiceLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ServiceLevel").enummodule
411
438
  ActorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ActorType").enummodule
@@ -21,7 +21,7 @@ module Google
21
21
  module Analytics
22
22
  module Admin
23
23
  module V1alpha
24
- VERSION = "0.13.0"
24
+ VERSION = "0.14.0"
25
25
  end
26
26
  end
27
27
  end
@@ -23,9 +23,9 @@ module Google
23
23
  module Analytics
24
24
  module Admin
25
25
  ##
26
- # To load this package, including all its services, and instantiate a client:
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 both the hourly and
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