google-analytics-admin-v1alpha 0.27.1 → 0.28.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/analytics/admin/v1alpha/access_report_pb.rb +1 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +8 -2
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +498 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +17 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/client.rb +463 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/service_stub.rb +297 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +10 -0
- data/lib/google/analytics/admin/v1alpha/audience_pb.rb +2 -2
- data/lib/google/analytics/admin/v1alpha/channel_group_pb.rb +2 -2
- data/lib/google/analytics/admin/v1alpha/event_create_and_edit_pb.rb +2 -2
- data/lib/google/analytics/admin/v1alpha/expanded_data_set_pb.rb +2 -2
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +5 -2
- data/lib/google/analytics/admin/v1alpha/subproperty_event_filter_pb.rb +2 -2
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +96 -1
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +101 -1
- metadata +2 -2
@@ -4621,6 +4621,196 @@ module Google
|
|
4621
4621
|
result
|
4622
4622
|
end
|
4623
4623
|
|
4624
|
+
##
|
4625
|
+
# Baseline implementation for the get_calculated_metric REST call
|
4626
|
+
#
|
4627
|
+
# @param request_pb [::Google::Analytics::Admin::V1alpha::GetCalculatedMetricRequest]
|
4628
|
+
# A request object representing the call parameters. Required.
|
4629
|
+
# @param options [::Gapic::CallOptions]
|
4630
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
4631
|
+
#
|
4632
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
4633
|
+
# @yieldparam result [::Google::Analytics::Admin::V1alpha::CalculatedMetric]
|
4634
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
4635
|
+
#
|
4636
|
+
# @return [::Google::Analytics::Admin::V1alpha::CalculatedMetric]
|
4637
|
+
# A result object deserialized from the server's reply
|
4638
|
+
def get_calculated_metric request_pb, options = nil
|
4639
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
4640
|
+
|
4641
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_calculated_metric_request request_pb
|
4642
|
+
query_string_params = if query_string_params.any?
|
4643
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
4644
|
+
else
|
4645
|
+
{}
|
4646
|
+
end
|
4647
|
+
|
4648
|
+
response = @client_stub.make_http_request(
|
4649
|
+
verb,
|
4650
|
+
uri: uri,
|
4651
|
+
body: body || "",
|
4652
|
+
params: query_string_params,
|
4653
|
+
options: options
|
4654
|
+
)
|
4655
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
4656
|
+
result = ::Google::Analytics::Admin::V1alpha::CalculatedMetric.decode_json response.body, ignore_unknown_fields: true
|
4657
|
+
|
4658
|
+
yield result, operation if block_given?
|
4659
|
+
result
|
4660
|
+
end
|
4661
|
+
|
4662
|
+
##
|
4663
|
+
# Baseline implementation for the create_calculated_metric REST call
|
4664
|
+
#
|
4665
|
+
# @param request_pb [::Google::Analytics::Admin::V1alpha::CreateCalculatedMetricRequest]
|
4666
|
+
# A request object representing the call parameters. Required.
|
4667
|
+
# @param options [::Gapic::CallOptions]
|
4668
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
4669
|
+
#
|
4670
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
4671
|
+
# @yieldparam result [::Google::Analytics::Admin::V1alpha::CalculatedMetric]
|
4672
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
4673
|
+
#
|
4674
|
+
# @return [::Google::Analytics::Admin::V1alpha::CalculatedMetric]
|
4675
|
+
# A result object deserialized from the server's reply
|
4676
|
+
def create_calculated_metric request_pb, options = nil
|
4677
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
4678
|
+
|
4679
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_calculated_metric_request request_pb
|
4680
|
+
query_string_params = if query_string_params.any?
|
4681
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
4682
|
+
else
|
4683
|
+
{}
|
4684
|
+
end
|
4685
|
+
|
4686
|
+
response = @client_stub.make_http_request(
|
4687
|
+
verb,
|
4688
|
+
uri: uri,
|
4689
|
+
body: body || "",
|
4690
|
+
params: query_string_params,
|
4691
|
+
options: options
|
4692
|
+
)
|
4693
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
4694
|
+
result = ::Google::Analytics::Admin::V1alpha::CalculatedMetric.decode_json response.body, ignore_unknown_fields: true
|
4695
|
+
|
4696
|
+
yield result, operation if block_given?
|
4697
|
+
result
|
4698
|
+
end
|
4699
|
+
|
4700
|
+
##
|
4701
|
+
# Baseline implementation for the list_calculated_metrics REST call
|
4702
|
+
#
|
4703
|
+
# @param request_pb [::Google::Analytics::Admin::V1alpha::ListCalculatedMetricsRequest]
|
4704
|
+
# A request object representing the call parameters. Required.
|
4705
|
+
# @param options [::Gapic::CallOptions]
|
4706
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
4707
|
+
#
|
4708
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
4709
|
+
# @yieldparam result [::Google::Analytics::Admin::V1alpha::ListCalculatedMetricsResponse]
|
4710
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
4711
|
+
#
|
4712
|
+
# @return [::Google::Analytics::Admin::V1alpha::ListCalculatedMetricsResponse]
|
4713
|
+
# A result object deserialized from the server's reply
|
4714
|
+
def list_calculated_metrics request_pb, options = nil
|
4715
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
4716
|
+
|
4717
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_calculated_metrics_request request_pb
|
4718
|
+
query_string_params = if query_string_params.any?
|
4719
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
4720
|
+
else
|
4721
|
+
{}
|
4722
|
+
end
|
4723
|
+
|
4724
|
+
response = @client_stub.make_http_request(
|
4725
|
+
verb,
|
4726
|
+
uri: uri,
|
4727
|
+
body: body || "",
|
4728
|
+
params: query_string_params,
|
4729
|
+
options: options
|
4730
|
+
)
|
4731
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
4732
|
+
result = ::Google::Analytics::Admin::V1alpha::ListCalculatedMetricsResponse.decode_json response.body, ignore_unknown_fields: true
|
4733
|
+
|
4734
|
+
yield result, operation if block_given?
|
4735
|
+
result
|
4736
|
+
end
|
4737
|
+
|
4738
|
+
##
|
4739
|
+
# Baseline implementation for the update_calculated_metric REST call
|
4740
|
+
#
|
4741
|
+
# @param request_pb [::Google::Analytics::Admin::V1alpha::UpdateCalculatedMetricRequest]
|
4742
|
+
# A request object representing the call parameters. Required.
|
4743
|
+
# @param options [::Gapic::CallOptions]
|
4744
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
4745
|
+
#
|
4746
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
4747
|
+
# @yieldparam result [::Google::Analytics::Admin::V1alpha::CalculatedMetric]
|
4748
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
4749
|
+
#
|
4750
|
+
# @return [::Google::Analytics::Admin::V1alpha::CalculatedMetric]
|
4751
|
+
# A result object deserialized from the server's reply
|
4752
|
+
def update_calculated_metric request_pb, options = nil
|
4753
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
4754
|
+
|
4755
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_calculated_metric_request request_pb
|
4756
|
+
query_string_params = if query_string_params.any?
|
4757
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
4758
|
+
else
|
4759
|
+
{}
|
4760
|
+
end
|
4761
|
+
|
4762
|
+
response = @client_stub.make_http_request(
|
4763
|
+
verb,
|
4764
|
+
uri: uri,
|
4765
|
+
body: body || "",
|
4766
|
+
params: query_string_params,
|
4767
|
+
options: options
|
4768
|
+
)
|
4769
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
4770
|
+
result = ::Google::Analytics::Admin::V1alpha::CalculatedMetric.decode_json response.body, ignore_unknown_fields: true
|
4771
|
+
|
4772
|
+
yield result, operation if block_given?
|
4773
|
+
result
|
4774
|
+
end
|
4775
|
+
|
4776
|
+
##
|
4777
|
+
# Baseline implementation for the delete_calculated_metric REST call
|
4778
|
+
#
|
4779
|
+
# @param request_pb [::Google::Analytics::Admin::V1alpha::DeleteCalculatedMetricRequest]
|
4780
|
+
# A request object representing the call parameters. Required.
|
4781
|
+
# @param options [::Gapic::CallOptions]
|
4782
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
4783
|
+
#
|
4784
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
4785
|
+
# @yieldparam result [::Google::Protobuf::Empty]
|
4786
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
4787
|
+
#
|
4788
|
+
# @return [::Google::Protobuf::Empty]
|
4789
|
+
# A result object deserialized from the server's reply
|
4790
|
+
def delete_calculated_metric request_pb, options = nil
|
4791
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
4792
|
+
|
4793
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_calculated_metric_request request_pb
|
4794
|
+
query_string_params = if query_string_params.any?
|
4795
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
4796
|
+
else
|
4797
|
+
{}
|
4798
|
+
end
|
4799
|
+
|
4800
|
+
response = @client_stub.make_http_request(
|
4801
|
+
verb,
|
4802
|
+
uri: uri,
|
4803
|
+
body: body || "",
|
4804
|
+
params: query_string_params,
|
4805
|
+
options: options
|
4806
|
+
)
|
4807
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
4808
|
+
result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
|
4809
|
+
|
4810
|
+
yield result, operation if block_given?
|
4811
|
+
result
|
4812
|
+
end
|
4813
|
+
|
4624
4814
|
##
|
4625
4815
|
# Baseline implementation for the create_rollup_property REST call
|
4626
4816
|
#
|
@@ -7669,6 +7859,113 @@ module Google
|
|
7669
7859
|
transcoder.transcode request_pb
|
7670
7860
|
end
|
7671
7861
|
|
7862
|
+
##
|
7863
|
+
# @private
|
7864
|
+
#
|
7865
|
+
# GRPC transcoding helper method for the get_calculated_metric REST call
|
7866
|
+
#
|
7867
|
+
# @param request_pb [::Google::Analytics::Admin::V1alpha::GetCalculatedMetricRequest]
|
7868
|
+
# A request object representing the call parameters. Required.
|
7869
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
7870
|
+
# Uri, Body, Query string parameters
|
7871
|
+
def self.transcode_get_calculated_metric_request request_pb
|
7872
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
7873
|
+
.with_bindings(
|
7874
|
+
uri_method: :get,
|
7875
|
+
uri_template: "/v1alpha/{name}",
|
7876
|
+
matches: [
|
7877
|
+
["name", %r{^properties/[^/]+/calculatedMetrics/[^/]+/?$}, false]
|
7878
|
+
]
|
7879
|
+
)
|
7880
|
+
transcoder.transcode request_pb
|
7881
|
+
end
|
7882
|
+
|
7883
|
+
##
|
7884
|
+
# @private
|
7885
|
+
#
|
7886
|
+
# GRPC transcoding helper method for the create_calculated_metric REST call
|
7887
|
+
#
|
7888
|
+
# @param request_pb [::Google::Analytics::Admin::V1alpha::CreateCalculatedMetricRequest]
|
7889
|
+
# A request object representing the call parameters. Required.
|
7890
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
7891
|
+
# Uri, Body, Query string parameters
|
7892
|
+
def self.transcode_create_calculated_metric_request request_pb
|
7893
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
7894
|
+
.with_bindings(
|
7895
|
+
uri_method: :post,
|
7896
|
+
uri_template: "/v1alpha/{parent}/calculatedMetrics",
|
7897
|
+
body: "calculated_metric",
|
7898
|
+
matches: [
|
7899
|
+
["parent", %r{^properties/[^/]+/?$}, false]
|
7900
|
+
]
|
7901
|
+
)
|
7902
|
+
transcoder.transcode request_pb
|
7903
|
+
end
|
7904
|
+
|
7905
|
+
##
|
7906
|
+
# @private
|
7907
|
+
#
|
7908
|
+
# GRPC transcoding helper method for the list_calculated_metrics REST call
|
7909
|
+
#
|
7910
|
+
# @param request_pb [::Google::Analytics::Admin::V1alpha::ListCalculatedMetricsRequest]
|
7911
|
+
# A request object representing the call parameters. Required.
|
7912
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
7913
|
+
# Uri, Body, Query string parameters
|
7914
|
+
def self.transcode_list_calculated_metrics_request request_pb
|
7915
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
7916
|
+
.with_bindings(
|
7917
|
+
uri_method: :get,
|
7918
|
+
uri_template: "/v1alpha/{parent}/calculatedMetrics",
|
7919
|
+
matches: [
|
7920
|
+
["parent", %r{^properties/[^/]+/?$}, false]
|
7921
|
+
]
|
7922
|
+
)
|
7923
|
+
transcoder.transcode request_pb
|
7924
|
+
end
|
7925
|
+
|
7926
|
+
##
|
7927
|
+
# @private
|
7928
|
+
#
|
7929
|
+
# GRPC transcoding helper method for the update_calculated_metric REST call
|
7930
|
+
#
|
7931
|
+
# @param request_pb [::Google::Analytics::Admin::V1alpha::UpdateCalculatedMetricRequest]
|
7932
|
+
# A request object representing the call parameters. Required.
|
7933
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
7934
|
+
# Uri, Body, Query string parameters
|
7935
|
+
def self.transcode_update_calculated_metric_request request_pb
|
7936
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
7937
|
+
.with_bindings(
|
7938
|
+
uri_method: :patch,
|
7939
|
+
uri_template: "/v1alpha/{calculated_metric.name}",
|
7940
|
+
body: "calculated_metric",
|
7941
|
+
matches: [
|
7942
|
+
["calculated_metric.name", %r{^properties/[^/]+/calculatedMetrics/[^/]+/?$}, false]
|
7943
|
+
]
|
7944
|
+
)
|
7945
|
+
transcoder.transcode request_pb
|
7946
|
+
end
|
7947
|
+
|
7948
|
+
##
|
7949
|
+
# @private
|
7950
|
+
#
|
7951
|
+
# GRPC transcoding helper method for the delete_calculated_metric REST call
|
7952
|
+
#
|
7953
|
+
# @param request_pb [::Google::Analytics::Admin::V1alpha::DeleteCalculatedMetricRequest]
|
7954
|
+
# A request object representing the call parameters. Required.
|
7955
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
7956
|
+
# Uri, Body, Query string parameters
|
7957
|
+
def self.transcode_delete_calculated_metric_request request_pb
|
7958
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
7959
|
+
.with_bindings(
|
7960
|
+
uri_method: :delete,
|
7961
|
+
uri_template: "/v1alpha/{name}",
|
7962
|
+
matches: [
|
7963
|
+
["name", %r{^properties/[^/]+/calculatedMetrics/[^/]+/?$}, false]
|
7964
|
+
]
|
7965
|
+
)
|
7966
|
+
transcoder.transcode request_pb
|
7967
|
+
end
|
7968
|
+
|
7672
7969
|
##
|
7673
7970
|
# @private
|
7674
7971
|
#
|
@@ -364,6 +364,16 @@ module Google
|
|
364
364
|
rpc :UpdateDataRedactionSettings, ::Google::Analytics::Admin::V1alpha::UpdateDataRedactionSettingsRequest, ::Google::Analytics::Admin::V1alpha::DataRedactionSettings
|
365
365
|
# Lookup for a single DataRedactionSettings.
|
366
366
|
rpc :GetDataRedactionSettings, ::Google::Analytics::Admin::V1alpha::GetDataRedactionSettingsRequest, ::Google::Analytics::Admin::V1alpha::DataRedactionSettings
|
367
|
+
# Lookup for a single CalculatedMetric.
|
368
|
+
rpc :GetCalculatedMetric, ::Google::Analytics::Admin::V1alpha::GetCalculatedMetricRequest, ::Google::Analytics::Admin::V1alpha::CalculatedMetric
|
369
|
+
# Creates a CalculatedMetric.
|
370
|
+
rpc :CreateCalculatedMetric, ::Google::Analytics::Admin::V1alpha::CreateCalculatedMetricRequest, ::Google::Analytics::Admin::V1alpha::CalculatedMetric
|
371
|
+
# Lists CalculatedMetrics on a property.
|
372
|
+
rpc :ListCalculatedMetrics, ::Google::Analytics::Admin::V1alpha::ListCalculatedMetricsRequest, ::Google::Analytics::Admin::V1alpha::ListCalculatedMetricsResponse
|
373
|
+
# Updates a CalculatedMetric on a property.
|
374
|
+
rpc :UpdateCalculatedMetric, ::Google::Analytics::Admin::V1alpha::UpdateCalculatedMetricRequest, ::Google::Analytics::Admin::V1alpha::CalculatedMetric
|
375
|
+
# Deletes a CalculatedMetric on a property.
|
376
|
+
rpc :DeleteCalculatedMetric, ::Google::Analytics::Admin::V1alpha::DeleteCalculatedMetricRequest, ::Google::Protobuf::Empty
|
367
377
|
# Create a roll-up property and all roll-up property source links.
|
368
378
|
rpc :CreateRollupProperty, ::Google::Analytics::Admin::V1alpha::CreateRollupPropertyRequest, ::Google::Analytics::Admin::V1alpha::CreateRollupPropertyResponse
|
369
379
|
# Lookup for a single roll-up property source Link.
|
@@ -9,13 +9,13 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/duration_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n-google/analytics/admin/v1alpha/audience.proto\x12\x1egoogle.analytics.admin.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\"\
|
12
|
+
descriptor_data = "\n-google/analytics/admin/v1alpha/audience.proto\x12\x1egoogle.analytics.admin.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\"\x86\x0c\n\x1f\x41udienceDimensionOrMetricFilter\x12\x65\n\rstring_filter\x18\x02 \x01(\x0b\x32L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterH\x00\x12\x66\n\x0ein_list_filter\x18\x03 \x01(\x0b\x32L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterH\x00\x12g\n\x0enumeric_filter\x18\x04 \x01(\x0b\x32M.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterH\x00\x12g\n\x0e\x62\x65tween_filter\x18\x05 \x01(\x0b\x32M.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterH\x00\x12\x19\n\nfield_name\x18\x01 \x01(\tB\x05\xe2\x41\x02\x02\x05\x12\"\n\x14\x61t_any_point_in_time\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12!\n\x13in_any_n_day_period\x18\x07 \x01(\x05\x42\x04\xe2\x41\x01\x01\x1a\xa6\x02\n\x0cStringFilter\x12p\n\nmatch_type\x18\x01 \x01(\x0e\x32V.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchTypeB\x04\xe2\x41\x01\x02\x12\x13\n\x05value\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1c\n\x0e\x63\x61se_sensitive\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\"q\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45XACT\x10\x01\x12\x0f\n\x0b\x42\x45GINS_WITH\x10\x02\x12\r\n\tENDS_WITH\x10\x03\x12\x0c\n\x08\x43ONTAINS\x10\x04\x12\x0f\n\x0b\x46ULL_REGEXP\x10\x05\x1a\x42\n\x0cInListFilter\x12\x14\n\x06values\x18\x01 \x03(\tB\x04\xe2\x41\x01\x02\x12\x1c\n\x0e\x63\x61se_sensitive\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x1aJ\n\x0cNumericValue\x12\x15\n\x0bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x02 \x01(\x01H\x00\x42\x0b\n\tone_value\x1a\xb8\x02\n\rNumericFilter\x12p\n\toperation\x18\x01 \x01(\x0e\x32W.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.OperationB\x04\xe2\x41\x01\x02\x12\x61\n\x05value\x18\x02 \x01(\x0b\x32L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueB\x04\xe2\x41\x01\x02\"R\n\tOperation\x12\x19\n\x15OPERATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x45QUAL\x10\x01\x12\r\n\tLESS_THAN\x10\x02\x12\x10\n\x0cGREATER_THAN\x10\x04\x1a\xdd\x01\n\rBetweenFilter\x12\x66\n\nfrom_value\x18\x01 \x01(\x0b\x32L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueB\x04\xe2\x41\x01\x02\x12\x64\n\x08to_value\x18\x02 \x01(\x0b\x32L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueB\x04\xe2\x41\x01\x02\x42\x0c\n\none_filter\"\x9b\x01\n\x13\x41udienceEventFilter\x12\x19\n\nevent_name\x18\x01 \x01(\tB\x05\xe2\x41\x02\x02\x05\x12i\n!event_parameter_filter_expression\x18\x02 \x01(\x0b\x32\x38.google.analytics.admin.v1alpha.AudienceFilterExpressionB\x04\xe2\x41\x01\x01\"\xcf\x03\n\x18\x41udienceFilterExpression\x12Q\n\tand_group\x18\x01 \x01(\x0b\x32<.google.analytics.admin.v1alpha.AudienceFilterExpressionListH\x00\x12P\n\x08or_group\x18\x02 \x01(\x0b\x32<.google.analytics.admin.v1alpha.AudienceFilterExpressionListH\x00\x12R\n\x0enot_expression\x18\x03 \x01(\x0b\x32\x38.google.analytics.admin.v1alpha.AudienceFilterExpressionH\x00\x12\x65\n\x1a\x64imension_or_metric_filter\x18\x04 \x01(\x0b\x32?.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterH\x00\x12K\n\x0c\x65vent_filter\x18\x05 \x01(\x0b\x32\x33.google.analytics.admin.v1alpha.AudienceEventFilterH\x00\x42\x06\n\x04\x65xpr\"t\n\x1c\x41udienceFilterExpressionList\x12T\n\x12\x66ilter_expressions\x18\x01 \x03(\x0b\x32\x38.google.analytics.admin.v1alpha.AudienceFilterExpression\"\xbd\x01\n\x14\x41udienceSimpleFilter\x12I\n\x05scope\x18\x01 \x01(\x0e\x32\x33.google.analytics.admin.v1alpha.AudienceFilterScopeB\x05\xe2\x41\x02\x02\x05\x12Z\n\x11\x66ilter_expression\x18\x02 \x01(\x0b\x32\x38.google.analytics.admin.v1alpha.AudienceFilterExpressionB\x05\xe2\x41\x02\x02\x05\"\xb3\x04\n\x16\x41udienceSequenceFilter\x12I\n\x05scope\x18\x01 \x01(\x0e\x32\x33.google.analytics.admin.v1alpha.AudienceFilterScopeB\x05\xe2\x41\x02\x02\x05\x12\x42\n\x19sequence_maximum_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12i\n\x0esequence_steps\x18\x03 \x03(\x0b\x32K.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepB\x04\xe2\x41\x01\x02\x1a\x9e\x02\n\x14\x41udienceSequenceStep\x12I\n\x05scope\x18\x01 \x01(\x0e\x32\x33.google.analytics.admin.v1alpha.AudienceFilterScopeB\x05\xe2\x41\x02\x02\x05\x12!\n\x13immediately_follows\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12<\n\x13\x63onstraint_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12Z\n\x11\x66ilter_expression\x18\x04 \x01(\x0b\x32\x38.google.analytics.admin.v1alpha.AudienceFilterExpressionB\x05\xe2\x41\x02\x02\x05\"\xfc\x02\n\x14\x41udienceFilterClause\x12M\n\rsimple_filter\x18\x02 \x01(\x0b\x32\x34.google.analytics.admin.v1alpha.AudienceSimpleFilterH\x00\x12Q\n\x0fsequence_filter\x18\x03 \x01(\x0b\x32\x36.google.analytics.admin.v1alpha.AudienceSequenceFilterH\x00\x12\x62\n\x0b\x63lause_type\x18\x01 \x01(\x0e\x32G.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseTypeB\x04\xe2\x41\x01\x02\"T\n\x12\x41udienceClauseType\x12$\n AUDIENCE_CLAUSE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07INCLUDE\x10\x01\x12\x0b\n\x07\x45XCLUDE\x10\x02\x42\x08\n\x06\x66ilter\"\xf5\x01\n\x14\x41udienceEventTrigger\x12\x18\n\nevent_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12^\n\rlog_condition\x18\x02 \x01(\x0e\x32\x41.google.analytics.admin.v1alpha.AudienceEventTrigger.LogConditionB\x04\xe2\x41\x01\x02\"c\n\x0cLogCondition\x12\x1d\n\x19LOG_CONDITION_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x41UDIENCE_JOINED\x10\x01\x12\x1f\n\x1b\x41UDIENCE_MEMBERSHIP_RENEWED\x10\x02\"\xa0\x05\n\x08\x41udience\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x19\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\'\n\x18membership_duration_days\x18\x04 \x01(\x05\x42\x05\xe2\x41\x02\x02\x05\x12)\n\x1b\x61\x64s_personalization_enabled\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12Q\n\revent_trigger\x18\x06 \x01(\x0b\x32\x34.google.analytics.admin.v1alpha.AudienceEventTriggerB\x04\xe2\x41\x01\x01\x12m\n\x17\x65xclusion_duration_mode\x18\x07 \x01(\x0e\x32\x46.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationModeB\x04\xe2\x41\x01\x05\x12T\n\x0e\x66ilter_clauses\x18\x08 \x03(\x0b\x32\x34.google.analytics.admin.v1alpha.AudienceFilterClauseB\x06\xe2\x41\x03\x05\x02\x06\"\x83\x01\n\x1d\x41udienceExclusionDurationMode\x12\x30\n,AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED\x10\x00\x12\x17\n\x13\x45XCLUDE_TEMPORARILY\x10\x01\x12\x17\n\x13\x45XCLUDE_PERMANENTLY\x10\x02:W\xea\x41T\n&analyticsadmin.googleapis.com/Audience\x12*properties/{property}/audiences/{audience}*\xc7\x01\n\x13\x41udienceFilterScope\x12%\n!AUDIENCE_FILTER_SCOPE_UNSPECIFIED\x10\x00\x12+\n\'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT\x10\x01\x12-\n)AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION\x10\x02\x12-\n)AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS\x10\x03\x42u\n\"com.google.analytics.admin.v1alphaB\rAudienceProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
16
16
|
begin
|
17
17
|
pool.add_serialized_file(descriptor_data)
|
18
|
-
rescue TypeError
|
18
|
+
rescue TypeError
|
19
19
|
# Compatibility code: will be removed in the next major version.
|
20
20
|
require 'google/protobuf/descriptor_pb'
|
21
21
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -8,13 +8,13 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n2google/analytics/admin/v1alpha/channel_group.proto\x12\x1egoogle.analytics.admin.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\
|
11
|
+
descriptor_data = "\n2google/analytics/admin/v1alpha/channel_group.proto\x12\x1egoogle.analytics.admin.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xad\x04\n\x12\x43hannelGroupFilter\x12X\n\rstring_filter\x18\x02 \x01(\x0b\x32?.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterH\x00\x12Y\n\x0ein_list_filter\x18\x03 \x01(\x0b\x32?.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterH\x00\x12\x19\n\nfield_name\x18\x01 \x01(\tB\x05\xe2\x41\x02\x02\x05\x1a\x90\x02\n\x0cStringFilter\x12\x63\n\nmatch_type\x18\x01 \x01(\x0e\x32I.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchTypeB\x04\xe2\x41\x01\x02\x12\x13\n\x05value\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"\x85\x01\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45XACT\x10\x01\x12\x0f\n\x0b\x42\x45GINS_WITH\x10\x02\x12\r\n\tENDS_WITH\x10\x03\x12\x0c\n\x08\x43ONTAINS\x10\x04\x12\x0f\n\x0b\x46ULL_REGEXP\x10\x05\x12\x12\n\x0ePARTIAL_REGEXP\x10\x06\x1a$\n\x0cInListFilter\x12\x14\n\x06values\x18\x01 \x03(\tB\x04\xe2\x41\x01\x02\x42\x0e\n\x0cvalue_filter\"\xf1\x02\n\x1c\x43hannelGroupFilterExpression\x12U\n\tand_group\x18\x01 \x01(\x0b\x32@.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListH\x00\x12T\n\x08or_group\x18\x02 \x01(\x0b\x32@.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListH\x00\x12V\n\x0enot_expression\x18\x03 \x01(\x0b\x32<.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionH\x00\x12\x44\n\x06\x66ilter\x18\x04 \x01(\x0b\x32\x32.google.analytics.admin.v1alpha.ChannelGroupFilterH\x00\x42\x06\n\x04\x65xpr\"|\n ChannelGroupFilterExpressionList\x12X\n\x12\x66ilter_expressions\x18\x01 \x03(\x0b\x32<.google.analytics.admin.v1alpha.ChannelGroupFilterExpression\"\x82\x01\n\x0cGroupingRule\x12\x1a\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12V\n\nexpression\x18\x02 \x01(\x0b\x32<.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionB\x04\xe2\x41\x01\x02\"\xa2\x02\n\x0c\x43hannelGroup\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12I\n\rgrouping_rule\x18\x04 \x03(\x0b\x32,.google.analytics.admin.v1alpha.GroupingRuleB\x04\xe2\x41\x01\x02\x12\x1c\n\x0esystem_defined\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x03:d\xea\x41\x61\n*analyticsadmin.googleapis.com/ChannelGroup\x12\x33properties/{property}/channelGroups/{channel_group}By\n\"com.google.analytics.admin.v1alphaB\x11\x43hannelGroupProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
15
15
|
begin
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
17
|
+
rescue TypeError
|
18
18
|
# Compatibility code: will be removed in the next major version.
|
19
19
|
require 'google/protobuf/descriptor_pb'
|
20
20
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -8,13 +8,13 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n:google/analytics/admin/v1alpha/event_create_and_edit.proto\x12\x1egoogle.analytics.admin.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"
|
11
|
+
descriptor_data = "\n:google/analytics/admin/v1alpha/event_create_and_edit.proto\x12\x1egoogle.analytics.admin.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"K\n\x11ParameterMutation\x12\x17\n\tparameter\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1d\n\x0fparameter_value\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"\x95\x03\n\x0f\x45ventCreateRule\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1f\n\x11\x64\x65stination_event\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12Q\n\x10\x65vent_conditions\x18\x03 \x03(\x0b\x32\x31.google.analytics.admin.v1alpha.MatchingConditionB\x04\xe2\x41\x01\x02\x12\x1e\n\x16source_copy_parameters\x18\x04 \x01(\x08\x12N\n\x13parameter_mutations\x18\x05 \x03(\x0b\x32\x31.google.analytics.admin.v1alpha.ParameterMutation:\x89\x01\xea\x41\x85\x01\n-analyticsadmin.googleapis.com/EventCreateRule\x12Tproperties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}\"\xb0\x04\n\x11MatchingCondition\x12\x13\n\x05\x66ield\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12_\n\x0f\x63omparison_type\x18\x02 \x01(\x0e\x32@.google.analytics.admin.v1alpha.MatchingCondition.ComparisonTypeB\x04\xe2\x41\x01\x02\x12\x13\n\x05value\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x0f\n\x07negated\x18\x04 \x01(\x08\"\xfe\x02\n\x0e\x43omparisonType\x12\x1f\n\x1b\x43OMPARISON_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x45QUALS\x10\x01\x12\x1b\n\x17\x45QUALS_CASE_INSENSITIVE\x10\x02\x12\x0c\n\x08\x43ONTAINS\x10\x03\x12\x1d\n\x19\x43ONTAINS_CASE_INSENSITIVE\x10\x04\x12\x0f\n\x0bSTARTS_WITH\x10\x05\x12 \n\x1cSTARTS_WITH_CASE_INSENSITIVE\x10\x06\x12\r\n\tENDS_WITH\x10\x07\x12\x1e\n\x1a\x45NDS_WITH_CASE_INSENSITIVE\x10\x08\x12\x10\n\x0cGREATER_THAN\x10\t\x12\x19\n\x15GREATER_THAN_OR_EQUAL\x10\n\x12\r\n\tLESS_THAN\x10\x0b\x12\x16\n\x12LESS_THAN_OR_EQUAL\x10\x0c\x12\x16\n\x12REGULAR_EXPRESSION\x10\r\x12\'\n#REGULAR_EXPRESSION_CASE_INSENSITIVE\x10\x0e\x42\x66\n\"com.google.analytics.admin.v1alphaP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
15
15
|
begin
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
17
|
+
rescue TypeError
|
18
18
|
# Compatibility code: will be removed in the next major version.
|
19
19
|
require 'google/protobuf/descriptor_pb'
|
20
20
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -9,13 +9,13 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n6google/analytics/admin/v1alpha/expanded_data_set.proto\x12\x1egoogle.analytics.admin.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
12
|
+
descriptor_data = "\n6google/analytics/admin/v1alpha/expanded_data_set.proto\x12\x1egoogle.analytics.admin.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xac\x04\n\x15\x45xpandedDataSetFilter\x12[\n\rstring_filter\x18\x02 \x01(\x0b\x32\x42.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterH\x00\x12\\\n\x0ein_list_filter\x18\x03 \x01(\x0b\x32\x42.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterH\x00\x12\x18\n\nfield_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x1a\xeb\x01\n\x0cStringFilter\x12\x66\n\nmatch_type\x18\x01 \x01(\x0e\x32L.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchTypeB\x04\xe2\x41\x01\x02\x12\x13\n\x05value\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1c\n\x0e\x63\x61se_sensitive\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\"@\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45XACT\x10\x01\x12\x0c\n\x08\x43ONTAINS\x10\x02\x1a\x42\n\x0cInListFilter\x12\x14\n\x06values\x18\x01 \x03(\tB\x04\xe2\x41\x01\x02\x12\x1c\n\x0e\x63\x61se_sensitive\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x42\x0c\n\none_filter\"\xa7\x02\n\x1f\x45xpandedDataSetFilterExpression\x12X\n\tand_group\x18\x01 \x01(\x0b\x32\x43.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListH\x00\x12Y\n\x0enot_expression\x18\x02 \x01(\x0b\x32?.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionH\x00\x12G\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x35.google.analytics.admin.v1alpha.ExpandedDataSetFilterH\x00\x42\x06\n\x04\x65xpr\"\x82\x01\n#ExpandedDataSetFilterExpressionList\x12[\n\x12\x66ilter_expressions\x18\x01 \x03(\x0b\x32?.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression\"\xb9\x03\n\x0f\x45xpandedDataSet\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x19\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1d\n\x0f\x64imension_names\x18\x04 \x03(\tB\x04\xe2\x41\x01\x05\x12\x1a\n\x0cmetric_names\x18\x05 \x03(\tB\x04\xe2\x41\x01\x05\x12j\n\x1b\x64imension_filter_expression\x18\x06 \x01(\x0b\x32?.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionB\x04\xe2\x41\x01\x05\x12\x44\n\x1a\x64\x61ta_collection_start_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03:n\xea\x41k\n-analyticsadmin.googleapis.com/ExpandedDataSet\x12:properties/{property}/expandedDataSets/{expanded_data_set}B|\n\"com.google.analytics.admin.v1alphaB\x14\x45xpandedDataSetProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
16
16
|
begin
|
17
17
|
pool.add_serialized_file(descriptor_data)
|
18
|
-
rescue TypeError
|
18
|
+
rescue TypeError
|
19
19
|
# Compatibility code: will be removed in the next major version.
|
20
20
|
require 'google/protobuf/descriptor_pb'
|
21
21
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|