google-analytics-admin-v1alpha 0.10.0 → 0.11.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.
@@ -116,100 +116,6 @@ module Google
116
116
  extend ::Google::Protobuf::MessageExts::ClassMethods
117
117
  end
118
118
 
119
- # A resource message representing a Google Analytics Android app stream.
120
- # @!attribute [r] name
121
- # @return [::String]
122
- # Output only. Resource name of this Data Stream.
123
- # Format: properties/\\{property_id}/androidAppDataStreams/\\{stream_id}
124
- # Example: "properties/1000/androidAppDataStreams/2000"
125
- # @!attribute [r] firebase_app_id
126
- # @return [::String]
127
- # Output only. ID of the corresponding Android app in Firebase, if any.
128
- # This ID can change if the Android app is deleted and recreated.
129
- # @!attribute [r] create_time
130
- # @return [::Google::Protobuf::Timestamp]
131
- # Output only. Time when this stream was originally created.
132
- # @!attribute [r] update_time
133
- # @return [::Google::Protobuf::Timestamp]
134
- # Output only. Time when stream payload fields were last updated.
135
- # @!attribute [rw] package_name
136
- # @return [::String]
137
- # Immutable. The package name for the app being measured.
138
- # Example: "com.example.myandroidapp"
139
- # @!attribute [rw] display_name
140
- # @return [::String]
141
- # Human-readable display name for the Data Stream.
142
- #
143
- # The max allowed display name length is 255 UTF-16 code units.
144
- class AndroidAppDataStream
145
- include ::Google::Protobuf::MessageExts
146
- extend ::Google::Protobuf::MessageExts::ClassMethods
147
- end
148
-
149
- # A resource message representing a Google Analytics IOS app stream.
150
- # @!attribute [r] name
151
- # @return [::String]
152
- # Output only. Resource name of this Data Stream.
153
- # Format: properties/\\{property_id}/iosAppDataStreams/\\{stream_id}
154
- # Example: "properties/1000/iosAppDataStreams/2000"
155
- # @!attribute [r] firebase_app_id
156
- # @return [::String]
157
- # Output only. ID of the corresponding iOS app in Firebase, if any.
158
- # This ID can change if the iOS app is deleted and recreated.
159
- # @!attribute [r] create_time
160
- # @return [::Google::Protobuf::Timestamp]
161
- # Output only. Time when this stream was originally created.
162
- # @!attribute [r] update_time
163
- # @return [::Google::Protobuf::Timestamp]
164
- # Output only. Time when stream payload fields were last updated.
165
- # @!attribute [rw] bundle_id
166
- # @return [::String]
167
- # Required. Immutable. The Apple App Store Bundle ID for the app
168
- # Example: "com.example.myiosapp"
169
- # @!attribute [rw] display_name
170
- # @return [::String]
171
- # Human-readable display name for the Data Stream.
172
- #
173
- # The max allowed display name length is 255 UTF-16 code units.
174
- class IosAppDataStream
175
- include ::Google::Protobuf::MessageExts
176
- extend ::Google::Protobuf::MessageExts::ClassMethods
177
- end
178
-
179
- # A resource message representing a Google Analytics web stream.
180
- # @!attribute [r] name
181
- # @return [::String]
182
- # Output only. Resource name of this Data Stream.
183
- # Format: properties/\\{property_id}/webDataStreams/\\{stream_id}
184
- # Example: "properties/1000/webDataStreams/2000"
185
- # @!attribute [r] measurement_id
186
- # @return [::String]
187
- # Output only. Analytics "Measurement ID", without the "G-" prefix.
188
- # Example: "G-1A2BCD345E" would just be "1A2BCD345E"
189
- # @!attribute [r] firebase_app_id
190
- # @return [::String]
191
- # Output only. ID of the corresponding web app in Firebase, if any.
192
- # This ID can change if the web app is deleted and recreated.
193
- # @!attribute [r] create_time
194
- # @return [::Google::Protobuf::Timestamp]
195
- # Output only. Time when this stream was originally created.
196
- # @!attribute [r] update_time
197
- # @return [::Google::Protobuf::Timestamp]
198
- # Output only. Time when stream payload fields were last updated.
199
- # @!attribute [rw] default_uri
200
- # @return [::String]
201
- # Immutable. Domain name of the web app being measured, or empty.
202
- # Example: "http://www.google.com", "https://www.google.com"
203
- # @!attribute [rw] display_name
204
- # @return [::String]
205
- # Required. Human-readable display name for the Data Stream.
206
- #
207
- # The max allowed display name length is 255 UTF-16 code units.
208
- class WebDataStream
209
- include ::Google::Protobuf::MessageExts
210
- extend ::Google::Protobuf::MessageExts::ClassMethods
211
- end
212
-
213
119
  # A resource message representing a data stream.
214
120
  # @!attribute [rw] web_stream_data
215
121
  # @return [::Google::Analytics::Admin::V1alpha::DataStream::WebStreamData]
@@ -388,11 +294,12 @@ module Google
388
294
  end
389
295
 
390
296
  # Read-only resource with the tag for sending data from a website to a
391
- # WebDataStream.
297
+ # DataStream. Only present for web DataStream resources.
392
298
  # @!attribute [r] name
393
299
  # @return [::String]
394
300
  # Output only. Resource name for this GlobalSiteTag resource.
395
- # Format: properties/\\{propertyId}/globalSiteTag
301
+ # Format: properties/\\{property_id}/dataStreams/\\{stream_id}/globalSiteTag
302
+ # Example: "properties/123/dataStreams/456/globalSiteTag"
396
303
  # @!attribute [rw] snippet
397
304
  # @return [::String]
398
305
  # Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
@@ -581,15 +488,6 @@ module Google
581
488
  # @!attribute [rw] property
582
489
  # @return [::Google::Analytics::Admin::V1alpha::Property]
583
490
  # A snapshot of a Property resource in change history.
584
- # @!attribute [rw] web_data_stream
585
- # @return [::Google::Analytics::Admin::V1alpha::WebDataStream]
586
- # A snapshot of a WebDataStream resource in change history.
587
- # @!attribute [rw] android_app_data_stream
588
- # @return [::Google::Analytics::Admin::V1alpha::AndroidAppDataStream]
589
- # A snapshot of an AndroidAppDataStream resource in change history.
590
- # @!attribute [rw] ios_app_data_stream
591
- # @return [::Google::Analytics::Admin::V1alpha::IosAppDataStream]
592
- # A snapshot of an IosAppDataStream resource in change history.
593
491
  # @!attribute [rw] firebase_link
594
492
  # @return [::Google::Analytics::Admin::V1alpha::FirebaseLink]
595
493
  # A snapshot of a FirebaseLink resource in change history.
@@ -622,6 +520,9 @@ module Google
622
520
  # @!attribute [rw] data_retention_settings
623
521
  # @return [::Google::Analytics::Admin::V1alpha::DataRetentionSettings]
624
522
  # A snapshot of a data retention settings resource in change history.
523
+ # @!attribute [rw] data_stream
524
+ # @return [::Google::Analytics::Admin::V1alpha::DataStream]
525
+ # A snapshot of a DataStream resource in change history.
625
526
  class ChangeHistoryResource
626
527
  include ::Google::Protobuf::MessageExts
627
528
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -855,6 +756,11 @@ module Google
855
756
  # @!attribute [rw] scope
856
757
  # @return [::Google::Analytics::Admin::V1alpha::CustomMetric::MetricScope]
857
758
  # Required. Immutable. The scope of this custom metric.
759
+ # @!attribute [rw] restricted_metric_type
760
+ # @return [::Array<::Google::Analytics::Admin::V1alpha::CustomMetric::RestrictedMetricType>]
761
+ # Optional. Types of restricted data that this metric may contain. Required for metrics
762
+ # with CURRENCY measurement unit. Must be empty for metrics with a
763
+ # non-CURRENCY measurement unit.
858
764
  class CustomMetric
859
765
  include ::Google::Protobuf::MessageExts
860
766
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -906,6 +812,19 @@ module Google
906
812
  # Metric scoped to an event.
907
813
  EVENT = 1
908
814
  end
815
+
816
+ # Labels that mark the data in this custom metric as data that should be
817
+ # restricted to specific users.
818
+ module RestrictedMetricType
819
+ # Type unknown or unspecified.
820
+ RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0
821
+
822
+ # Metric reports cost data.
823
+ COST_DATA = 1
824
+
825
+ # Metric reports revenue data.
826
+ REVENUE_DATA = 2
827
+ end
909
828
  end
910
829
 
911
830
  # Settings values for data retention. This is a singleton resource.
@@ -1087,15 +1006,6 @@ module Google
1087
1006
  # Property resource
1088
1007
  PROPERTY = 2
1089
1008
 
1090
- # WebDataStream resource
1091
- WEB_DATA_STREAM = 3
1092
-
1093
- # AndroidAppDataStream resource
1094
- ANDROID_APP_DATA_STREAM = 4
1095
-
1096
- # IosAppDataStream resource
1097
- IOS_APP_DATA_STREAM = 5
1098
-
1099
1009
  # FirebaseLink resource
1100
1010
  FIREBASE_LINK = 6
1101
1011
 
@@ -1125,6 +1035,9 @@ module Google
1125
1035
 
1126
1036
  # DisplayVideo360AdvertiserLinkProposal resource
1127
1037
  DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15
1038
+
1039
+ # DataStream resource
1040
+ DATA_STREAM = 18
1128
1041
  end
1129
1042
 
1130
1043
  # Status of the Google Signals settings (i.e., whether this feature has been
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-analytics-admin-v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
210
  requirements: []
211
- rubygems_version: 3.3.4
211
+ rubygems_version: 3.3.5
212
212
  signing_key:
213
213
  specification_version: 4
214
214
  summary: API Client library for the Google Analytics Admin V1alpha API