google-analytics-admin-v1alpha 0.17.0 → 0.18.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.
@@ -3764,6 +3764,196 @@ module Google
3764
3764
  result
3765
3765
  end
3766
3766
 
3767
+ ##
3768
+ # Baseline implementation for the get_channel_group REST call
3769
+ #
3770
+ # @param request_pb [::Google::Analytics::Admin::V1alpha::GetChannelGroupRequest]
3771
+ # A request object representing the call parameters. Required.
3772
+ # @param options [::Gapic::CallOptions]
3773
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3774
+ #
3775
+ # @yield [result, operation] Access the result along with the TransportOperation object
3776
+ # @yieldparam result [::Google::Analytics::Admin::V1alpha::ChannelGroup]
3777
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3778
+ #
3779
+ # @return [::Google::Analytics::Admin::V1alpha::ChannelGroup]
3780
+ # A result object deserialized from the server's reply
3781
+ def get_channel_group request_pb, options = nil
3782
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
3783
+
3784
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_channel_group_request request_pb
3785
+ query_string_params = if query_string_params.any?
3786
+ query_string_params.to_h { |p| p.split("=", 2) }
3787
+ else
3788
+ {}
3789
+ end
3790
+
3791
+ response = @client_stub.make_http_request(
3792
+ verb,
3793
+ uri: uri,
3794
+ body: body || "",
3795
+ params: query_string_params,
3796
+ options: options
3797
+ )
3798
+ operation = ::Gapic::Rest::TransportOperation.new response
3799
+ result = ::Google::Analytics::Admin::V1alpha::ChannelGroup.decode_json response.body, ignore_unknown_fields: true
3800
+
3801
+ yield result, operation if block_given?
3802
+ result
3803
+ end
3804
+
3805
+ ##
3806
+ # Baseline implementation for the list_channel_groups REST call
3807
+ #
3808
+ # @param request_pb [::Google::Analytics::Admin::V1alpha::ListChannelGroupsRequest]
3809
+ # A request object representing the call parameters. Required.
3810
+ # @param options [::Gapic::CallOptions]
3811
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3812
+ #
3813
+ # @yield [result, operation] Access the result along with the TransportOperation object
3814
+ # @yieldparam result [::Google::Analytics::Admin::V1alpha::ListChannelGroupsResponse]
3815
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3816
+ #
3817
+ # @return [::Google::Analytics::Admin::V1alpha::ListChannelGroupsResponse]
3818
+ # A result object deserialized from the server's reply
3819
+ def list_channel_groups request_pb, options = nil
3820
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
3821
+
3822
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_channel_groups_request request_pb
3823
+ query_string_params = if query_string_params.any?
3824
+ query_string_params.to_h { |p| p.split("=", 2) }
3825
+ else
3826
+ {}
3827
+ end
3828
+
3829
+ response = @client_stub.make_http_request(
3830
+ verb,
3831
+ uri: uri,
3832
+ body: body || "",
3833
+ params: query_string_params,
3834
+ options: options
3835
+ )
3836
+ operation = ::Gapic::Rest::TransportOperation.new response
3837
+ result = ::Google::Analytics::Admin::V1alpha::ListChannelGroupsResponse.decode_json response.body, ignore_unknown_fields: true
3838
+
3839
+ yield result, operation if block_given?
3840
+ result
3841
+ end
3842
+
3843
+ ##
3844
+ # Baseline implementation for the create_channel_group REST call
3845
+ #
3846
+ # @param request_pb [::Google::Analytics::Admin::V1alpha::CreateChannelGroupRequest]
3847
+ # A request object representing the call parameters. Required.
3848
+ # @param options [::Gapic::CallOptions]
3849
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3850
+ #
3851
+ # @yield [result, operation] Access the result along with the TransportOperation object
3852
+ # @yieldparam result [::Google::Analytics::Admin::V1alpha::ChannelGroup]
3853
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3854
+ #
3855
+ # @return [::Google::Analytics::Admin::V1alpha::ChannelGroup]
3856
+ # A result object deserialized from the server's reply
3857
+ def create_channel_group request_pb, options = nil
3858
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
3859
+
3860
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_channel_group_request request_pb
3861
+ query_string_params = if query_string_params.any?
3862
+ query_string_params.to_h { |p| p.split("=", 2) }
3863
+ else
3864
+ {}
3865
+ end
3866
+
3867
+ response = @client_stub.make_http_request(
3868
+ verb,
3869
+ uri: uri,
3870
+ body: body || "",
3871
+ params: query_string_params,
3872
+ options: options
3873
+ )
3874
+ operation = ::Gapic::Rest::TransportOperation.new response
3875
+ result = ::Google::Analytics::Admin::V1alpha::ChannelGroup.decode_json response.body, ignore_unknown_fields: true
3876
+
3877
+ yield result, operation if block_given?
3878
+ result
3879
+ end
3880
+
3881
+ ##
3882
+ # Baseline implementation for the update_channel_group REST call
3883
+ #
3884
+ # @param request_pb [::Google::Analytics::Admin::V1alpha::UpdateChannelGroupRequest]
3885
+ # A request object representing the call parameters. Required.
3886
+ # @param options [::Gapic::CallOptions]
3887
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3888
+ #
3889
+ # @yield [result, operation] Access the result along with the TransportOperation object
3890
+ # @yieldparam result [::Google::Analytics::Admin::V1alpha::ChannelGroup]
3891
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3892
+ #
3893
+ # @return [::Google::Analytics::Admin::V1alpha::ChannelGroup]
3894
+ # A result object deserialized from the server's reply
3895
+ def update_channel_group request_pb, options = nil
3896
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
3897
+
3898
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_channel_group_request request_pb
3899
+ query_string_params = if query_string_params.any?
3900
+ query_string_params.to_h { |p| p.split("=", 2) }
3901
+ else
3902
+ {}
3903
+ end
3904
+
3905
+ response = @client_stub.make_http_request(
3906
+ verb,
3907
+ uri: uri,
3908
+ body: body || "",
3909
+ params: query_string_params,
3910
+ options: options
3911
+ )
3912
+ operation = ::Gapic::Rest::TransportOperation.new response
3913
+ result = ::Google::Analytics::Admin::V1alpha::ChannelGroup.decode_json response.body, ignore_unknown_fields: true
3914
+
3915
+ yield result, operation if block_given?
3916
+ result
3917
+ end
3918
+
3919
+ ##
3920
+ # Baseline implementation for the delete_channel_group REST call
3921
+ #
3922
+ # @param request_pb [::Google::Analytics::Admin::V1alpha::DeleteChannelGroupRequest]
3923
+ # A request object representing the call parameters. Required.
3924
+ # @param options [::Gapic::CallOptions]
3925
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3926
+ #
3927
+ # @yield [result, operation] Access the result along with the TransportOperation object
3928
+ # @yieldparam result [::Google::Protobuf::Empty]
3929
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3930
+ #
3931
+ # @return [::Google::Protobuf::Empty]
3932
+ # A result object deserialized from the server's reply
3933
+ def delete_channel_group request_pb, options = nil
3934
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
3935
+
3936
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_channel_group_request request_pb
3937
+ query_string_params = if query_string_params.any?
3938
+ query_string_params.to_h { |p| p.split("=", 2) }
3939
+ else
3940
+ {}
3941
+ end
3942
+
3943
+ response = @client_stub.make_http_request(
3944
+ verb,
3945
+ uri: uri,
3946
+ body: body || "",
3947
+ params: query_string_params,
3948
+ options: options
3949
+ )
3950
+ operation = ::Gapic::Rest::TransportOperation.new response
3951
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
3952
+
3953
+ yield result, operation if block_given?
3954
+ result
3955
+ end
3956
+
3767
3957
  ##
3768
3958
  # Baseline implementation for the set_automated_ga4_configuration_opt_out REST call
3769
3959
  #
@@ -4106,6 +4296,44 @@ module Google
4106
4296
  result
4107
4297
  end
4108
4298
 
4299
+ ##
4300
+ # Baseline implementation for the fetch_connected_ga4_property REST call
4301
+ #
4302
+ # @param request_pb [::Google::Analytics::Admin::V1alpha::FetchConnectedGa4PropertyRequest]
4303
+ # A request object representing the call parameters. Required.
4304
+ # @param options [::Gapic::CallOptions]
4305
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
4306
+ #
4307
+ # @yield [result, operation] Access the result along with the TransportOperation object
4308
+ # @yieldparam result [::Google::Analytics::Admin::V1alpha::FetchConnectedGa4PropertyResponse]
4309
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
4310
+ #
4311
+ # @return [::Google::Analytics::Admin::V1alpha::FetchConnectedGa4PropertyResponse]
4312
+ # A result object deserialized from the server's reply
4313
+ def fetch_connected_ga4_property request_pb, options = nil
4314
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
4315
+
4316
+ verb, uri, query_string_params, body = ServiceStub.transcode_fetch_connected_ga4_property_request request_pb
4317
+ query_string_params = if query_string_params.any?
4318
+ query_string_params.to_h { |p| p.split("=", 2) }
4319
+ else
4320
+ {}
4321
+ end
4322
+
4323
+ response = @client_stub.make_http_request(
4324
+ verb,
4325
+ uri: uri,
4326
+ body: body || "",
4327
+ params: query_string_params,
4328
+ options: options
4329
+ )
4330
+ operation = ::Gapic::Rest::TransportOperation.new response
4331
+ result = ::Google::Analytics::Admin::V1alpha::FetchConnectedGa4PropertyResponse.decode_json response.body, ignore_unknown_fields: true
4332
+
4333
+ yield result, operation if block_given?
4334
+ result
4335
+ end
4336
+
4109
4337
  ##
4110
4338
  # @private
4111
4339
  #
@@ -6353,6 +6581,113 @@ module Google
6353
6581
  transcoder.transcode request_pb
6354
6582
  end
6355
6583
 
6584
+ ##
6585
+ # @private
6586
+ #
6587
+ # GRPC transcoding helper method for the get_channel_group REST call
6588
+ #
6589
+ # @param request_pb [::Google::Analytics::Admin::V1alpha::GetChannelGroupRequest]
6590
+ # A request object representing the call parameters. Required.
6591
+ # @return [Array(String, [String, nil], Hash{String => String})]
6592
+ # Uri, Body, Query string parameters
6593
+ def self.transcode_get_channel_group_request request_pb
6594
+ transcoder = Gapic::Rest::GrpcTranscoder.new
6595
+ .with_bindings(
6596
+ uri_method: :get,
6597
+ uri_template: "/v1alpha/{name}",
6598
+ matches: [
6599
+ ["name", %r{^properties/[^/]+/channelGroups/[^/]+/?$}, false]
6600
+ ]
6601
+ )
6602
+ transcoder.transcode request_pb
6603
+ end
6604
+
6605
+ ##
6606
+ # @private
6607
+ #
6608
+ # GRPC transcoding helper method for the list_channel_groups REST call
6609
+ #
6610
+ # @param request_pb [::Google::Analytics::Admin::V1alpha::ListChannelGroupsRequest]
6611
+ # A request object representing the call parameters. Required.
6612
+ # @return [Array(String, [String, nil], Hash{String => String})]
6613
+ # Uri, Body, Query string parameters
6614
+ def self.transcode_list_channel_groups_request request_pb
6615
+ transcoder = Gapic::Rest::GrpcTranscoder.new
6616
+ .with_bindings(
6617
+ uri_method: :get,
6618
+ uri_template: "/v1alpha/{parent}/channelGroups",
6619
+ matches: [
6620
+ ["parent", %r{^properties/[^/]+/?$}, false]
6621
+ ]
6622
+ )
6623
+ transcoder.transcode request_pb
6624
+ end
6625
+
6626
+ ##
6627
+ # @private
6628
+ #
6629
+ # GRPC transcoding helper method for the create_channel_group REST call
6630
+ #
6631
+ # @param request_pb [::Google::Analytics::Admin::V1alpha::CreateChannelGroupRequest]
6632
+ # A request object representing the call parameters. Required.
6633
+ # @return [Array(String, [String, nil], Hash{String => String})]
6634
+ # Uri, Body, Query string parameters
6635
+ def self.transcode_create_channel_group_request request_pb
6636
+ transcoder = Gapic::Rest::GrpcTranscoder.new
6637
+ .with_bindings(
6638
+ uri_method: :post,
6639
+ uri_template: "/v1alpha/{parent}/channelGroups",
6640
+ body: "channel_group",
6641
+ matches: [
6642
+ ["parent", %r{^properties/[^/]+/?$}, false]
6643
+ ]
6644
+ )
6645
+ transcoder.transcode request_pb
6646
+ end
6647
+
6648
+ ##
6649
+ # @private
6650
+ #
6651
+ # GRPC transcoding helper method for the update_channel_group REST call
6652
+ #
6653
+ # @param request_pb [::Google::Analytics::Admin::V1alpha::UpdateChannelGroupRequest]
6654
+ # A request object representing the call parameters. Required.
6655
+ # @return [Array(String, [String, nil], Hash{String => String})]
6656
+ # Uri, Body, Query string parameters
6657
+ def self.transcode_update_channel_group_request request_pb
6658
+ transcoder = Gapic::Rest::GrpcTranscoder.new
6659
+ .with_bindings(
6660
+ uri_method: :patch,
6661
+ uri_template: "/v1alpha/{channel_group.name}",
6662
+ body: "channel_group",
6663
+ matches: [
6664
+ ["channel_group.name", %r{^properties/[^/]+/channelGroups/[^/]+/?$}, false]
6665
+ ]
6666
+ )
6667
+ transcoder.transcode request_pb
6668
+ end
6669
+
6670
+ ##
6671
+ # @private
6672
+ #
6673
+ # GRPC transcoding helper method for the delete_channel_group REST call
6674
+ #
6675
+ # @param request_pb [::Google::Analytics::Admin::V1alpha::DeleteChannelGroupRequest]
6676
+ # A request object representing the call parameters. Required.
6677
+ # @return [Array(String, [String, nil], Hash{String => String})]
6678
+ # Uri, Body, Query string parameters
6679
+ def self.transcode_delete_channel_group_request request_pb
6680
+ transcoder = Gapic::Rest::GrpcTranscoder.new
6681
+ .with_bindings(
6682
+ uri_method: :delete,
6683
+ uri_template: "/v1alpha/{name}",
6684
+ matches: [
6685
+ ["name", %r{^properties/[^/]+/channelGroups/[^/]+/?$}, false]
6686
+ ]
6687
+ )
6688
+ transcoder.transcode request_pb
6689
+ end
6690
+
6356
6691
  ##
6357
6692
  # @private
6358
6693
  #
@@ -6537,6 +6872,25 @@ module Google
6537
6872
  )
6538
6873
  transcoder.transcode request_pb
6539
6874
  end
6875
+
6876
+ ##
6877
+ # @private
6878
+ #
6879
+ # GRPC transcoding helper method for the fetch_connected_ga4_property REST call
6880
+ #
6881
+ # @param request_pb [::Google::Analytics::Admin::V1alpha::FetchConnectedGa4PropertyRequest]
6882
+ # A request object representing the call parameters. Required.
6883
+ # @return [Array(String, [String, nil], Hash{String => String})]
6884
+ # Uri, Body, Query string parameters
6885
+ def self.transcode_fetch_connected_ga4_property_request request_pb
6886
+ transcoder = Gapic::Rest::GrpcTranscoder.new
6887
+ .with_bindings(
6888
+ uri_method: :get,
6889
+ uri_template: "/v1alpha/properties:fetchConnectedGa4Property",
6890
+ matches: []
6891
+ )
6892
+ transcoder.transcode request_pb
6893
+ end
6540
6894
  end
6541
6895
  end
6542
6896
  end
@@ -318,6 +318,16 @@ module Google
318
318
  rpc :UpdateExpandedDataSet, ::Google::Analytics::Admin::V1alpha::UpdateExpandedDataSetRequest, ::Google::Analytics::Admin::V1alpha::ExpandedDataSet
319
319
  # Deletes a ExpandedDataSet on a property.
320
320
  rpc :DeleteExpandedDataSet, ::Google::Analytics::Admin::V1alpha::DeleteExpandedDataSetRequest, ::Google::Protobuf::Empty
321
+ # Lookup for a single ChannelGroup.
322
+ rpc :GetChannelGroup, ::Google::Analytics::Admin::V1alpha::GetChannelGroupRequest, ::Google::Analytics::Admin::V1alpha::ChannelGroup
323
+ # Lists ChannelGroups on a property.
324
+ rpc :ListChannelGroups, ::Google::Analytics::Admin::V1alpha::ListChannelGroupsRequest, ::Google::Analytics::Admin::V1alpha::ListChannelGroupsResponse
325
+ # Creates a ChannelGroup.
326
+ rpc :CreateChannelGroup, ::Google::Analytics::Admin::V1alpha::CreateChannelGroupRequest, ::Google::Analytics::Admin::V1alpha::ChannelGroup
327
+ # Updates a ChannelGroup.
328
+ rpc :UpdateChannelGroup, ::Google::Analytics::Admin::V1alpha::UpdateChannelGroupRequest, ::Google::Analytics::Admin::V1alpha::ChannelGroup
329
+ # Deletes a ChannelGroup on a property.
330
+ rpc :DeleteChannelGroup, ::Google::Analytics::Admin::V1alpha::DeleteChannelGroupRequest, ::Google::Protobuf::Empty
321
331
  # Sets the opt out status for the automated GA4 setup process for a UA
322
332
  # property.
323
333
  # Note: this has no effect on GA4 property.
@@ -349,6 +359,9 @@ module Google
349
359
  # of 20 connected site tags will be returned. Note: this has no effect on GA4
350
360
  # property.
351
361
  rpc :ListConnectedSiteTags, ::Google::Analytics::Admin::V1alpha::ListConnectedSiteTagsRequest, ::Google::Analytics::Admin::V1alpha::ListConnectedSiteTagsResponse
362
+ # Given a specified UA property, looks up the GA4 property connected to it.
363
+ # Note: this cannot be used with GA4 properties.
364
+ rpc :FetchConnectedGa4Property, ::Google::Analytics::Admin::V1alpha::FetchConnectedGa4PropertyRequest, ::Google::Analytics::Admin::V1alpha::FetchConnectedGa4PropertyResponse
352
365
  end
353
366
 
354
367
  Stub = Service.rpc_stub_class
@@ -0,0 +1,74 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/analytics/admin/v1alpha/channel_group.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("google/analytics/admin/v1alpha/channel_group.proto", :syntax => :proto3) do
11
+ add_message "google.analytics.admin.v1alpha.ChannelGroupFilter" do
12
+ optional :field_name, :string, 1
13
+ oneof :value_filter do
14
+ optional :string_filter, :message, 2, "google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter"
15
+ optional :in_list_filter, :message, 3, "google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter"
16
+ end
17
+ end
18
+ add_message "google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter" do
19
+ optional :match_type, :enum, 1, "google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType"
20
+ optional :value, :string, 2
21
+ end
22
+ add_enum "google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType" do
23
+ value :MATCH_TYPE_UNSPECIFIED, 0
24
+ value :EXACT, 1
25
+ value :BEGINS_WITH, 2
26
+ value :ENDS_WITH, 3
27
+ value :CONTAINS, 4
28
+ value :FULL_REGEXP, 5
29
+ value :PARTIAL_REGEXP, 6
30
+ end
31
+ add_message "google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter" do
32
+ repeated :values, :string, 1
33
+ end
34
+ add_message "google.analytics.admin.v1alpha.ChannelGroupFilterExpression" do
35
+ oneof :expr do
36
+ optional :and_group, :message, 1, "google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList"
37
+ optional :or_group, :message, 2, "google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList"
38
+ optional :not_expression, :message, 3, "google.analytics.admin.v1alpha.ChannelGroupFilterExpression"
39
+ optional :filter, :message, 4, "google.analytics.admin.v1alpha.ChannelGroupFilter"
40
+ end
41
+ end
42
+ add_message "google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList" do
43
+ repeated :filter_expressions, :message, 1, "google.analytics.admin.v1alpha.ChannelGroupFilterExpression"
44
+ end
45
+ add_message "google.analytics.admin.v1alpha.GroupingRule" do
46
+ optional :display_name, :string, 1
47
+ optional :expression, :message, 2, "google.analytics.admin.v1alpha.ChannelGroupFilterExpression"
48
+ end
49
+ add_message "google.analytics.admin.v1alpha.ChannelGroup" do
50
+ optional :name, :string, 1
51
+ optional :display_name, :string, 2
52
+ optional :description, :string, 3
53
+ repeated :grouping_rule, :message, 4, "google.analytics.admin.v1alpha.GroupingRule"
54
+ optional :system_defined, :bool, 5
55
+ end
56
+ end
57
+ end
58
+
59
+ module Google
60
+ module Analytics
61
+ module Admin
62
+ module V1alpha
63
+ ChannelGroupFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroupFilter").msgclass
64
+ ChannelGroupFilter::StringFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter").msgclass
65
+ ChannelGroupFilter::StringFilter::MatchType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType").enummodule
66
+ ChannelGroupFilter::InListFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter").msgclass
67
+ ChannelGroupFilterExpression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroupFilterExpression").msgclass
68
+ ChannelGroupFilterExpressionList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList").msgclass
69
+ GroupingRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GroupingRule").msgclass
70
+ ChannelGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChannelGroup").msgclass
71
+ end
72
+ end
73
+ end
74
+ end
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'google/analytics/admin/v1alpha/channel_group_pb'
6
7
  require 'google/analytics/admin/v1alpha/expanded_data_set_pb'
7
8
  require 'google/api/field_behavior_pb'
8
9
  require 'google/api/resource_pb'
@@ -151,6 +152,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
151
152
  optional :data_stream, :message, 18, "google.analytics.admin.v1alpha.DataStream"
152
153
  optional :attribution_settings, :message, 20, "google.analytics.admin.v1alpha.AttributionSettings"
153
154
  optional :expanded_data_set, :message, 21, "google.analytics.admin.v1alpha.ExpandedDataSet"
155
+ optional :channel_group, :message, 22, "google.analytics.admin.v1alpha.ChannelGroup"
154
156
  optional :bigquery_link, :message, 23, "google.analytics.admin.v1alpha.BigQueryLink"
155
157
  optional :enhanced_measurement_settings, :message, 24, "google.analytics.admin.v1alpha.EnhancedMeasurementSettings"
156
158
  end
@@ -211,6 +213,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
211
213
  value :DIMENSION_SCOPE_UNSPECIFIED, 0
212
214
  value :EVENT, 1
213
215
  value :USER, 2
216
+ value :ITEM, 3
214
217
  end
215
218
  add_message "google.analytics.admin.v1alpha.CustomMetric" do
216
219
  optional :name, :string, 1
@@ -21,7 +21,7 @@ module Google
21
21
  module Analytics
22
22
  module Admin
23
23
  module V1alpha
24
- VERSION = "0.17.0"
24
+ VERSION = "0.18.0"
25
25
  end
26
26
  end
27
27
  end
@@ -1854,7 +1854,7 @@ module Google
1854
1854
  # Request message for GetExpandedDataSet RPC.
1855
1855
  # @!attribute [rw] name
1856
1856
  # @return [::String]
1857
- # Required. The name of the Audience to get.
1857
+ # Required. The name of the ExpandedDataSet to get.
1858
1858
  # Example format: properties/1234/expandedDataSets/5678
1859
1859
  class GetExpandedDataSetRequest
1860
1860
  include ::Google::Protobuf::MessageExts
@@ -1896,6 +1896,92 @@ module Google
1896
1896
  extend ::Google::Protobuf::MessageExts::ClassMethods
1897
1897
  end
1898
1898
 
1899
+ # Request message for CreateChannelGroup RPC.
1900
+ # @!attribute [rw] parent
1901
+ # @return [::String]
1902
+ # Required. The property for which to create a ChannelGroup.
1903
+ # Example format: properties/1234
1904
+ # @!attribute [rw] channel_group
1905
+ # @return [::Google::Analytics::Admin::V1alpha::ChannelGroup]
1906
+ # Required. The ChannelGroup to create.
1907
+ class CreateChannelGroupRequest
1908
+ include ::Google::Protobuf::MessageExts
1909
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1910
+ end
1911
+
1912
+ # Request message for UpdateChannelGroup RPC.
1913
+ # @!attribute [rw] channel_group
1914
+ # @return [::Google::Analytics::Admin::V1alpha::ChannelGroup]
1915
+ # Required. The ChannelGroup to update.
1916
+ # The resource's `name` field is used to identify the ChannelGroup to be
1917
+ # updated.
1918
+ # @!attribute [rw] update_mask
1919
+ # @return [::Google::Protobuf::FieldMask]
1920
+ # Required. The list of fields to be updated. Field names must be in snake
1921
+ # case (e.g., "field_to_update"). Omitted fields will not be updated. To
1922
+ # replace the entire entity, use one path with the string "*" to match all
1923
+ # fields.
1924
+ class UpdateChannelGroupRequest
1925
+ include ::Google::Protobuf::MessageExts
1926
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1927
+ end
1928
+
1929
+ # Request message for DeleteChannelGroup RPC.
1930
+ # @!attribute [rw] name
1931
+ # @return [::String]
1932
+ # Required. The ChannelGroup to delete.
1933
+ # Example format: properties/1234/channelGroups/5678
1934
+ class DeleteChannelGroupRequest
1935
+ include ::Google::Protobuf::MessageExts
1936
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1937
+ end
1938
+
1939
+ # Request message for GetChannelGroup RPC.
1940
+ # @!attribute [rw] name
1941
+ # @return [::String]
1942
+ # Required. The ChannelGroup to get.
1943
+ # Example format: properties/1234/channelGroups/5678
1944
+ class GetChannelGroupRequest
1945
+ include ::Google::Protobuf::MessageExts
1946
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1947
+ end
1948
+
1949
+ # Request message for ListChannelGroups RPC.
1950
+ # @!attribute [rw] parent
1951
+ # @return [::String]
1952
+ # Required. The property for which to list ChannelGroups.
1953
+ # Example format: properties/1234
1954
+ # @!attribute [rw] page_size
1955
+ # @return [::Integer]
1956
+ # The maximum number of resources to return.
1957
+ # If unspecified, at most 50 resources will be returned.
1958
+ # The maximum value is 200 (higher values will be coerced to the maximum).
1959
+ # @!attribute [rw] page_token
1960
+ # @return [::String]
1961
+ # A page token, received from a previous `ListChannelGroups` call. Provide
1962
+ # this to retrieve the subsequent page.
1963
+ #
1964
+ # When paginating, all other parameters provided to `ListChannelGroups`
1965
+ # must match the call that provided the page token.
1966
+ class ListChannelGroupsRequest
1967
+ include ::Google::Protobuf::MessageExts
1968
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1969
+ end
1970
+
1971
+ # Response message for ListChannelGroups RPC.
1972
+ # @!attribute [rw] channel_groups
1973
+ # @return [::Array<::Google::Analytics::Admin::V1alpha::ChannelGroup>]
1974
+ # List of ChannelGroup. These will be ordered stably, but in an arbitrary
1975
+ # order.
1976
+ # @!attribute [rw] next_page_token
1977
+ # @return [::String]
1978
+ # A token, which can be sent as `page_token` to retrieve the next page.
1979
+ # If this field is omitted, there are no subsequent pages.
1980
+ class ListChannelGroupsResponse
1981
+ include ::Google::Protobuf::MessageExts
1982
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1983
+ end
1984
+
1899
1985
  # Request for setting the opt out status for the automated GA4 setup process.
1900
1986
  # @!attribute [rw] property
1901
1987
  # @return [::String]
@@ -2073,6 +2159,31 @@ module Google
2073
2159
  include ::Google::Protobuf::MessageExts
2074
2160
  extend ::Google::Protobuf::MessageExts::ClassMethods
2075
2161
  end
2162
+
2163
+ # Request for looking up GA4 property connected to a UA property.
2164
+ # @!attribute [rw] property
2165
+ # @return [::String]
2166
+ # Required. The UA property for which to look up the connected GA4 property.
2167
+ # Note this request uses the
2168
+ # internal property ID, not the tracking ID of the form UA-XXXXXX-YY.
2169
+ # Format: properties/\\{internal_web_property_id}
2170
+ # Example: properties/1234
2171
+ class FetchConnectedGa4PropertyRequest
2172
+ include ::Google::Protobuf::MessageExts
2173
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2174
+ end
2175
+
2176
+ # Response for looking up GA4 property connected to a UA property.
2177
+ # @!attribute [rw] property
2178
+ # @return [::String]
2179
+ # The GA4 property connected to the UA property. An empty string is returned
2180
+ # when there is no connected GA4 property.
2181
+ # Format: properties/\\{property_id}
2182
+ # Example: properties/1234
2183
+ class FetchConnectedGa4PropertyResponse
2184
+ include ::Google::Protobuf::MessageExts
2185
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2186
+ end
2076
2187
  end
2077
2188
  end
2078
2189
  end