google-apis-analyticsadmin_v1alpha 0.16.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 580adde5d146df811d804e48bdbb795a5d6385c63899db3e7bab8819397b9965
4
- data.tar.gz: 392ddad13e21dd7b5344ff495c4c8b61a52498a3bfa80e5c61f750379440c9ec
3
+ metadata.gz: 86add195bfe121574aa45ded634258a96d78a40066fe488e4eddae71a625b474
4
+ data.tar.gz: d6441433468c71e53926f2d4572eb3e5ac6fda92e666c33ffcef420b87638701
5
5
  SHA512:
6
- metadata.gz: f610d66bdab64b44a4832dea1a9f3507cd583a19db2a6fb7b3606fb61d320517953ba9fc02d3de1817859e8dfe2312030fa0d41f4c58f439c1689d55dc842fa0
7
- data.tar.gz: 5ecf13a77732892293b1cb7599e56e0fb0704b11478fa28c9cb2d98af15d4df3460413dab37ff537f8cff598c9e9a4ead90dccba01ec9ce6678d526925c4426a
6
+ metadata.gz: 8f211930394ce524e274d6d5ccb73839a789b4b577a541a2d25ad033bd6f32a86815948c0355213be717cdc52a13dbe4c3dd67217c106eb3501adee6cd02979e
7
+ data.tar.gz: cfc23fe8958aa18c8c4918bb7c60d1e27d983103080d24ce1b059f6a3b85a7f6a3f7c38b3caa878cd5302a28824bf74f7ba5b75812414c9fdd93138c2306b0c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.20.0 (2021-12-02)
4
+
5
+ * Regenerated from discovery document revision 20211201
6
+
7
+ ### v0.19.0 (2021-11-03)
8
+
9
+ * Regenerated from discovery document revision 20211102
10
+
11
+ ### v0.18.0 (2021-10-22)
12
+
13
+ * Regenerated from discovery document revision 20211021
14
+
15
+ ### v0.17.0 (2021-10-06)
16
+
17
+ * Regenerated from discovery document revision 20211005
18
+
3
19
  ### v0.16.0 (2021-09-24)
4
20
 
5
21
  * Regenerated from discovery document revision 20210922
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Analyticsadmin service in particular.)
67
67
 
@@ -114,6 +114,43 @@ module Google
114
114
  end
115
115
  end
116
116
 
117
+ # Request message for AcknowledgeUserDataCollection RPC.
118
+ class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest
119
+ include Google::Apis::Core::Hashable
120
+
121
+ # Required. An acknowledgement that the caller of this method understands the
122
+ # terms of user data collection. This field must contain the exact value: "I
123
+ # acknowledge that I have the necessary privacy disclosures and rights from my
124
+ # end users for the collection and processing of their data, including the
125
+ # association of such data with the visitation information Google Analytics
126
+ # collects from my site and/or app property."
127
+ # Corresponds to the JSON property `acknowledgement`
128
+ # @return [String]
129
+ attr_accessor :acknowledgement
130
+
131
+ def initialize(**args)
132
+ update!(**args)
133
+ end
134
+
135
+ # Update properties of this object
136
+ def update!(**args)
137
+ @acknowledgement = args[:acknowledgement] if args.key?(:acknowledgement)
138
+ end
139
+ end
140
+
141
+ # Response message for AcknowledgeUserDataCollection RPC.
142
+ class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
143
+ include Google::Apis::Core::Hashable
144
+
145
+ def initialize(**args)
146
+ update!(**args)
147
+ end
148
+
149
+ # Update properties of this object
150
+ def update!(**args)
151
+ end
152
+ end
153
+
117
154
  # A resource message representing a Google Analytics Android app stream.
118
155
  class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
119
156
  include Google::Apis::Core::Hashable
@@ -231,7 +268,7 @@ module Google
231
268
  include Google::Apis::Core::Hashable
232
269
 
233
270
  # Roles directly assigned to this user for this entity. Format: predefinedRoles/
234
- # read Excludes roles that are inherited from an account (if this is for a
271
+ # viewer Excludes roles that are inherited from an account (if this is for a
235
272
  # property), group, or organization admin role.
236
273
  # Corresponds to the JSON property `directRoles`
237
274
  # @return [Array<String>]
@@ -239,7 +276,7 @@ module Google
239
276
 
240
277
  # Union of all permissions a user has at this account or property (includes
241
278
  # direct permissions, group-inherited permissions, etc.). Format:
242
- # predefinedRoles/read
279
+ # predefinedRoles/viewer
243
280
  # Corresponds to the JSON property `effectiveRoles`
244
281
  # @return [Array<String>]
245
282
  attr_accessor :effective_roles
@@ -541,7 +578,7 @@ module Google
541
578
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink]
542
579
  attr_accessor :display_video360_advertiser_link
543
580
 
544
- # A proposal for a link between an GA4 property and a Display & Video 360
581
+ # A proposal for a link between a GA4 property and a Display & Video 360
545
582
  # advertiser. A proposal is converted to a DisplayVideo360AdvertiserLink once
546
583
  # approved. Google Analytics admins approve inbound proposals while Display &
547
584
  # Video 360 admins approve outbound proposals.
@@ -549,12 +586,12 @@ module Google
549
586
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]
550
587
  attr_accessor :display_video360_advertiser_link_proposal
551
588
 
552
- # A link between an GA4 property and a Firebase project.
589
+ # A link between a GA4 property and a Firebase project.
553
590
  # Corresponds to the JSON property `firebaseLink`
554
591
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
555
592
  attr_accessor :firebase_link
556
593
 
557
- # A link between an GA4 property and a Google Ads account.
594
+ # A link between a GA4 property and a Google Ads account.
558
595
  # Corresponds to the JSON property `googleAdsLink`
559
596
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
560
597
  attr_accessor :google_ads_link
@@ -967,6 +1004,158 @@ module Google
967
1004
  end
968
1005
  end
969
1006
 
1007
+ # A resource message representing a data stream.
1008
+ class GoogleAnalyticsAdminV1alphaDataStream
1009
+ include Google::Apis::Core::Hashable
1010
+
1011
+ # Data specific to Android app streams.
1012
+ # Corresponds to the JSON property `androidAppStreamData`
1013
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData]
1014
+ attr_accessor :android_app_stream_data
1015
+
1016
+ # Output only. Time when this stream was originally created.
1017
+ # Corresponds to the JSON property `createTime`
1018
+ # @return [String]
1019
+ attr_accessor :create_time
1020
+
1021
+ # Human-readable display name for the Data Stream. Required for web data streams.
1022
+ # The max allowed display name length is 255 UTF-16 code units.
1023
+ # Corresponds to the JSON property `displayName`
1024
+ # @return [String]
1025
+ attr_accessor :display_name
1026
+
1027
+ # Data specific to iOS app streams.
1028
+ # Corresponds to the JSON property `iosAppStreamData`
1029
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData]
1030
+ attr_accessor :ios_app_stream_data
1031
+
1032
+ # Output only. Resource name of this Data Stream. Format: properties/`
1033
+ # property_id`/dataStreams/`stream_id` Example: "properties/1000/dataStreams/
1034
+ # 2000"
1035
+ # Corresponds to the JSON property `name`
1036
+ # @return [String]
1037
+ attr_accessor :name
1038
+
1039
+ # Required. Immutable. The type of this DataStream resource.
1040
+ # Corresponds to the JSON property `type`
1041
+ # @return [String]
1042
+ attr_accessor :type
1043
+
1044
+ # Output only. Time when stream payload fields were last updated.
1045
+ # Corresponds to the JSON property `updateTime`
1046
+ # @return [String]
1047
+ attr_accessor :update_time
1048
+
1049
+ # Data specific to web streams.
1050
+ # Corresponds to the JSON property `webStreamData`
1051
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamWebStreamData]
1052
+ attr_accessor :web_stream_data
1053
+
1054
+ def initialize(**args)
1055
+ update!(**args)
1056
+ end
1057
+
1058
+ # Update properties of this object
1059
+ def update!(**args)
1060
+ @android_app_stream_data = args[:android_app_stream_data] if args.key?(:android_app_stream_data)
1061
+ @create_time = args[:create_time] if args.key?(:create_time)
1062
+ @display_name = args[:display_name] if args.key?(:display_name)
1063
+ @ios_app_stream_data = args[:ios_app_stream_data] if args.key?(:ios_app_stream_data)
1064
+ @name = args[:name] if args.key?(:name)
1065
+ @type = args[:type] if args.key?(:type)
1066
+ @update_time = args[:update_time] if args.key?(:update_time)
1067
+ @web_stream_data = args[:web_stream_data] if args.key?(:web_stream_data)
1068
+ end
1069
+ end
1070
+
1071
+ # Data specific to Android app streams.
1072
+ class GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData
1073
+ include Google::Apis::Core::Hashable
1074
+
1075
+ # Output only. ID of the corresponding Android app in Firebase, if any. This ID
1076
+ # can change if the Android app is deleted and recreated.
1077
+ # Corresponds to the JSON property `firebaseAppId`
1078
+ # @return [String]
1079
+ attr_accessor :firebase_app_id
1080
+
1081
+ # Immutable. The package name for the app being measured. Example: "com.example.
1082
+ # myandroidapp"
1083
+ # Corresponds to the JSON property `packageName`
1084
+ # @return [String]
1085
+ attr_accessor :package_name
1086
+
1087
+ def initialize(**args)
1088
+ update!(**args)
1089
+ end
1090
+
1091
+ # Update properties of this object
1092
+ def update!(**args)
1093
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
1094
+ @package_name = args[:package_name] if args.key?(:package_name)
1095
+ end
1096
+ end
1097
+
1098
+ # Data specific to iOS app streams.
1099
+ class GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData
1100
+ include Google::Apis::Core::Hashable
1101
+
1102
+ # Required. Immutable. The Apple App Store Bundle ID for the app Example: "com.
1103
+ # example.myiosapp"
1104
+ # Corresponds to the JSON property `bundleId`
1105
+ # @return [String]
1106
+ attr_accessor :bundle_id
1107
+
1108
+ # Output only. ID of the corresponding iOS app in Firebase, if any. This ID can
1109
+ # change if the iOS app is deleted and recreated.
1110
+ # Corresponds to the JSON property `firebaseAppId`
1111
+ # @return [String]
1112
+ attr_accessor :firebase_app_id
1113
+
1114
+ def initialize(**args)
1115
+ update!(**args)
1116
+ end
1117
+
1118
+ # Update properties of this object
1119
+ def update!(**args)
1120
+ @bundle_id = args[:bundle_id] if args.key?(:bundle_id)
1121
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
1122
+ end
1123
+ end
1124
+
1125
+ # Data specific to web streams.
1126
+ class GoogleAnalyticsAdminV1alphaDataStreamWebStreamData
1127
+ include Google::Apis::Core::Hashable
1128
+
1129
+ # Immutable. Domain name of the web app being measured, or empty. Example: "http:
1130
+ # //www.google.com", "https://www.google.com"
1131
+ # Corresponds to the JSON property `defaultUri`
1132
+ # @return [String]
1133
+ attr_accessor :default_uri
1134
+
1135
+ # Output only. ID of the corresponding web app in Firebase, if any. This ID can
1136
+ # change if the web app is deleted and recreated.
1137
+ # Corresponds to the JSON property `firebaseAppId`
1138
+ # @return [String]
1139
+ attr_accessor :firebase_app_id
1140
+
1141
+ # Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-
1142
+ # 1A2BCD345E" would just be "1A2BCD345E"
1143
+ # Corresponds to the JSON property `measurementId`
1144
+ # @return [String]
1145
+ attr_accessor :measurement_id
1146
+
1147
+ def initialize(**args)
1148
+ update!(**args)
1149
+ end
1150
+
1151
+ # Update properties of this object
1152
+ def update!(**args)
1153
+ @default_uri = args[:default_uri] if args.key?(:default_uri)
1154
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
1155
+ @measurement_id = args[:measurement_id] if args.key?(:measurement_id)
1156
+ end
1157
+ end
1158
+
970
1159
  # Request message for DeleteUserLink RPC.
971
1160
  class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
972
1161
  include Google::Apis::Core::Hashable
@@ -1017,7 +1206,7 @@ module Google
1017
1206
  alias_method :campaign_data_sharing_enabled?, :campaign_data_sharing_enabled
1018
1207
 
1019
1208
  # Immutable. Enables the import of cost data from Display & Video 360 into the
1020
- # GA4 property. This can only be enabled if campaign_data_import_enabled is
1209
+ # GA4 property. This can only be enabled if campaign_data_sharing_enabled is
1021
1210
  # enabled. After link creation, this can only be updated from the Display &
1022
1211
  # Video 360 product. If this field is not set on create, it will be defaulted to
1023
1212
  # true.
@@ -1048,7 +1237,7 @@ module Google
1048
1237
  end
1049
1238
  end
1050
1239
 
1051
- # A proposal for a link between an GA4 property and a Display & Video 360
1240
+ # A proposal for a link between a GA4 property and a Display & Video 360
1052
1241
  # advertiser. A proposal is converted to a DisplayVideo360AdvertiserLink once
1053
1242
  # approved. Google Analytics admins approve inbound proposals while Display &
1054
1243
  # Video 360 admins approve outbound proposals.
@@ -1081,7 +1270,7 @@ module Google
1081
1270
  alias_method :campaign_data_sharing_enabled?, :campaign_data_sharing_enabled
1082
1271
 
1083
1272
  # Immutable. Enables the import of cost data from Display & Video 360. This can
1084
- # only be enabled if campaign_data_import_enabled is enabled. If this field is
1273
+ # only be enabled if campaign_data_sharing_enabled is enabled. If this field is
1085
1274
  # not set on create, it will be defaulted to true.
1086
1275
  # Corresponds to the JSON property `costDataSharingEnabled`
1087
1276
  # @return [Boolean]
@@ -1128,114 +1317,7 @@ module Google
1128
1317
  end
1129
1318
  end
1130
1319
 
1131
- # Singleton resource under a WebDataStream, configuring measurement of
1132
- # additional site interactions and content.
1133
- class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
1134
- include Google::Apis::Core::Hashable
1135
-
1136
- # If enabled, capture a file download event each time a link is clicked with a
1137
- # common document, compressed file, application, video, or audio extension.
1138
- # Corresponds to the JSON property `fileDownloadsEnabled`
1139
- # @return [Boolean]
1140
- attr_accessor :file_downloads_enabled
1141
- alias_method :file_downloads_enabled?, :file_downloads_enabled
1142
-
1143
- # Output only. Resource name of this Data Stream. Format: properties/`
1144
- # property_id`/webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "
1145
- # properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
1146
- # Corresponds to the JSON property `name`
1147
- # @return [String]
1148
- attr_accessor :name
1149
-
1150
- # If enabled, capture an outbound click event each time a visitor clicks a link
1151
- # that leads them away from your domain.
1152
- # Corresponds to the JSON property `outboundClicksEnabled`
1153
- # @return [Boolean]
1154
- attr_accessor :outbound_clicks_enabled
1155
- alias_method :outbound_clicks_enabled?, :outbound_clicks_enabled
1156
-
1157
- # If enabled, capture a page view event each time the website changes the
1158
- # browser history state.
1159
- # Corresponds to the JSON property `pageChangesEnabled`
1160
- # @return [Boolean]
1161
- attr_accessor :page_changes_enabled
1162
- alias_method :page_changes_enabled?, :page_changes_enabled
1163
-
1164
- # Output only. If enabled, capture a page view event each time a page loads.
1165
- # Corresponds to the JSON property `pageLoadsEnabled`
1166
- # @return [Boolean]
1167
- attr_accessor :page_loads_enabled
1168
- alias_method :page_loads_enabled?, :page_loads_enabled
1169
-
1170
- # Output only. If enabled, capture a page view event each time a page loads or
1171
- # the website changes the browser history state.
1172
- # Corresponds to the JSON property `pageViewsEnabled`
1173
- # @return [Boolean]
1174
- attr_accessor :page_views_enabled
1175
- alias_method :page_views_enabled?, :page_views_enabled
1176
-
1177
- # If enabled, capture scroll events each time a visitor gets to the bottom of a
1178
- # page.
1179
- # Corresponds to the JSON property `scrollsEnabled`
1180
- # @return [Boolean]
1181
- attr_accessor :scrolls_enabled
1182
- alias_method :scrolls_enabled?, :scrolls_enabled
1183
-
1184
- # Required. URL query parameters to interpret as site search parameters. Max
1185
- # length is 1024 characters. Must not be empty.
1186
- # Corresponds to the JSON property `searchQueryParameter`
1187
- # @return [String]
1188
- attr_accessor :search_query_parameter
1189
-
1190
- # If enabled, capture a view search results event each time a visitor performs a
1191
- # search on your site (based on a query parameter).
1192
- # Corresponds to the JSON property `siteSearchEnabled`
1193
- # @return [Boolean]
1194
- attr_accessor :site_search_enabled
1195
- alias_method :site_search_enabled?, :site_search_enabled
1196
-
1197
- # Indicates whether Enhanced Measurement Settings will be used to automatically
1198
- # measure interactions and content on this web stream. Changing this value does
1199
- # not affect the settings themselves, but determines whether they are respected.
1200
- # Corresponds to the JSON property `streamEnabled`
1201
- # @return [Boolean]
1202
- attr_accessor :stream_enabled
1203
- alias_method :stream_enabled?, :stream_enabled
1204
-
1205
- # Additional URL query parameters. Max length is 1024 characters.
1206
- # Corresponds to the JSON property `uriQueryParameter`
1207
- # @return [String]
1208
- attr_accessor :uri_query_parameter
1209
-
1210
- # If enabled, capture video play, progress, and complete events as visitors view
1211
- # embedded videos on your site.
1212
- # Corresponds to the JSON property `videoEngagementEnabled`
1213
- # @return [Boolean]
1214
- attr_accessor :video_engagement_enabled
1215
- alias_method :video_engagement_enabled?, :video_engagement_enabled
1216
-
1217
- def initialize(**args)
1218
- update!(**args)
1219
- end
1220
-
1221
- # Update properties of this object
1222
- def update!(**args)
1223
- @file_downloads_enabled = args[:file_downloads_enabled] if args.key?(:file_downloads_enabled)
1224
- @name = args[:name] if args.key?(:name)
1225
- @outbound_clicks_enabled = args[:outbound_clicks_enabled] if args.key?(:outbound_clicks_enabled)
1226
- @page_changes_enabled = args[:page_changes_enabled] if args.key?(:page_changes_enabled)
1227
- @page_loads_enabled = args[:page_loads_enabled] if args.key?(:page_loads_enabled)
1228
- @page_views_enabled = args[:page_views_enabled] if args.key?(:page_views_enabled)
1229
- @scrolls_enabled = args[:scrolls_enabled] if args.key?(:scrolls_enabled)
1230
- @search_query_parameter = args[:search_query_parameter] if args.key?(:search_query_parameter)
1231
- @site_search_enabled = args[:site_search_enabled] if args.key?(:site_search_enabled)
1232
- @stream_enabled = args[:stream_enabled] if args.key?(:stream_enabled)
1233
- @uri_query_parameter = args[:uri_query_parameter] if args.key?(:uri_query_parameter)
1234
- @video_engagement_enabled = args[:video_engagement_enabled] if args.key?(:video_engagement_enabled)
1235
- end
1236
- end
1237
-
1238
- # A link between an GA4 property and a Firebase project.
1320
+ # A link between a GA4 property and a Firebase project.
1239
1321
  class GoogleAnalyticsAdminV1alphaFirebaseLink
1240
1322
  include Google::Apis::Core::Hashable
1241
1323
 
@@ -1298,7 +1380,7 @@ module Google
1298
1380
  end
1299
1381
  end
1300
1382
 
1301
- # A link between an GA4 property and a Google Ads account.
1383
+ # A link between a GA4 property and a Google Ads account.
1302
1384
  class GoogleAnalyticsAdminV1alphaGoogleAdsLink
1303
1385
  include Google::Apis::Core::Hashable
1304
1386
 
@@ -1633,6 +1715,32 @@ module Google
1633
1715
  end
1634
1716
  end
1635
1717
 
1718
+ # Response message for ListDataStreams RPC.
1719
+ class GoogleAnalyticsAdminV1alphaListDataStreamsResponse
1720
+ include Google::Apis::Core::Hashable
1721
+
1722
+ # List of DataStreams.
1723
+ # Corresponds to the JSON property `dataStreams`
1724
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream>]
1725
+ attr_accessor :data_streams
1726
+
1727
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1728
+ # field is omitted, there are no subsequent pages.
1729
+ # Corresponds to the JSON property `nextPageToken`
1730
+ # @return [String]
1731
+ attr_accessor :next_page_token
1732
+
1733
+ def initialize(**args)
1734
+ update!(**args)
1735
+ end
1736
+
1737
+ # Update properties of this object
1738
+ def update!(**args)
1739
+ @data_streams = args[:data_streams] if args.key?(:data_streams)
1740
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1741
+ end
1742
+ end
1743
+
1636
1744
  # Response message for ListDisplayVideo360AdvertiserLinkProposals RPC.
1637
1745
  class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse
1638
1746
  include Google::Apis::Core::Hashable
@@ -2001,11 +2109,11 @@ module Google
2001
2109
  end
2002
2110
  end
2003
2111
 
2004
- # A virtual resource representing metadata for an GA4 property.
2112
+ # A virtual resource representing metadata for a GA4 property.
2005
2113
  class GoogleAnalyticsAdminV1alphaPropertySummary
2006
2114
  include Google::Apis::Core::Hashable
2007
2115
 
2008
- # Display name for the property referred to in this account summary.
2116
+ # Display name for the property referred to in this property summary.
2009
2117
  # Corresponds to the JSON property `displayName`
2010
2118
  # @return [String]
2011
2119
  attr_accessor :display_name
@@ -2194,10 +2302,11 @@ module Google
2194
2302
  include Google::Apis::Core::Hashable
2195
2303
 
2196
2304
  # Roles directly assigned to this user for this account or property. Valid
2197
- # values: predefinedRoles/read predefinedRoles/collaborate predefinedRoles/edit
2198
- # predefinedRoles/admin Excludes roles that are inherited from a higher-level
2199
- # entity, group, or organization admin role. A UserLink that is updated to have
2200
- # an empty list of direct_roles will be deleted.
2305
+ # values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor
2306
+ # predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-
2307
+ # data Excludes roles that are inherited from a higher-level entity, group, or
2308
+ # organization admin role. A UserLink that is updated to have an empty list of
2309
+ # direct_roles will be deleted.
2201
2310
  # Corresponds to the JSON property `directRoles`
2202
2311
  # @return [Array<String>]
2203
2312
  attr_accessor :direct_roles
@@ -2240,7 +2349,7 @@ module Google
2240
2349
  attr_accessor :default_uri
2241
2350
 
2242
2351
  # Required. Human-readable display name for the Data Stream. The max allowed
2243
- # display name length is 100 UTF-16 code units.
2352
+ # display name length is 255 UTF-16 code units.
2244
2353
  # Corresponds to the JSON property `displayName`
2245
2354
  # @return [String]
2246
2355
  attr_accessor :display_name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AnalyticsadminV1alpha
18
18
  # Version of the google-apis-analyticsadmin_v1alpha gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210922"
25
+ REVISION = "20211201"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,18 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
37
49
  class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
38
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
51
 
@@ -178,25 +190,43 @@ module Google
178
190
  include Google::Apis::Core::JsonObjectSupport
179
191
  end
180
192
 
181
- class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
193
+ class GoogleAnalyticsAdminV1alphaDataStream
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
184
196
  include Google::Apis::Core::JsonObjectSupport
185
197
  end
186
198
 
187
- class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink
199
+ class GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData
188
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
201
 
190
202
  include Google::Apis::Core::JsonObjectSupport
191
203
  end
192
204
 
193
- class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal
205
+ class GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleAnalyticsAdminV1alphaDataStreamWebStreamData
194
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
213
 
196
214
  include Google::Apis::Core::JsonObjectSupport
197
215
  end
198
216
 
199
- class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
217
+ class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal
200
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
231
 
202
232
  include Google::Apis::Core::JsonObjectSupport
@@ -274,6 +304,12 @@ module Google
274
304
  include Google::Apis::Core::JsonObjectSupport
275
305
  end
276
306
 
307
+ class GoogleAnalyticsAdminV1alphaListDataStreamsResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
277
313
  class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse
278
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
315
 
@@ -417,6 +453,19 @@ module Google
417
453
  end
418
454
  end
419
455
 
456
+ class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest
457
+ # @private
458
+ class Representation < Google::Apis::Core::JsonRepresentation
459
+ property :acknowledgement, as: 'acknowledgement'
460
+ end
461
+ end
462
+
463
+ class GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
464
+ # @private
465
+ class Representation < Google::Apis::Core::JsonRepresentation
466
+ end
467
+ end
468
+
420
469
  class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
421
470
  # @private
422
471
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -664,6 +713,48 @@ module Google
664
713
  end
665
714
  end
666
715
 
716
+ class GoogleAnalyticsAdminV1alphaDataStream
717
+ # @private
718
+ class Representation < Google::Apis::Core::JsonRepresentation
719
+ property :android_app_stream_data, as: 'androidAppStreamData', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData::Representation
720
+
721
+ property :create_time, as: 'createTime'
722
+ property :display_name, as: 'displayName'
723
+ property :ios_app_stream_data, as: 'iosAppStreamData', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData::Representation
724
+
725
+ property :name, as: 'name'
726
+ property :type, as: 'type'
727
+ property :update_time, as: 'updateTime'
728
+ property :web_stream_data, as: 'webStreamData', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamWebStreamData, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamWebStreamData::Representation
729
+
730
+ end
731
+ end
732
+
733
+ class GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData
734
+ # @private
735
+ class Representation < Google::Apis::Core::JsonRepresentation
736
+ property :firebase_app_id, as: 'firebaseAppId'
737
+ property :package_name, as: 'packageName'
738
+ end
739
+ end
740
+
741
+ class GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ property :bundle_id, as: 'bundleId'
745
+ property :firebase_app_id, as: 'firebaseAppId'
746
+ end
747
+ end
748
+
749
+ class GoogleAnalyticsAdminV1alphaDataStreamWebStreamData
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :default_uri, as: 'defaultUri'
753
+ property :firebase_app_id, as: 'firebaseAppId'
754
+ property :measurement_id, as: 'measurementId'
755
+ end
756
+ end
757
+
667
758
  class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
668
759
  # @private
669
760
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -698,24 +789,6 @@ module Google
698
789
  end
699
790
  end
700
791
 
701
- class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
702
- # @private
703
- class Representation < Google::Apis::Core::JsonRepresentation
704
- property :file_downloads_enabled, as: 'fileDownloadsEnabled'
705
- property :name, as: 'name'
706
- property :outbound_clicks_enabled, as: 'outboundClicksEnabled'
707
- property :page_changes_enabled, as: 'pageChangesEnabled'
708
- property :page_loads_enabled, as: 'pageLoadsEnabled'
709
- property :page_views_enabled, as: 'pageViewsEnabled'
710
- property :scrolls_enabled, as: 'scrollsEnabled'
711
- property :search_query_parameter, as: 'searchQueryParameter'
712
- property :site_search_enabled, as: 'siteSearchEnabled'
713
- property :stream_enabled, as: 'streamEnabled'
714
- property :uri_query_parameter, as: 'uriQueryParameter'
715
- property :video_engagement_enabled, as: 'videoEngagementEnabled'
716
- end
717
- end
718
-
719
792
  class GoogleAnalyticsAdminV1alphaFirebaseLink
720
793
  # @private
721
794
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -830,6 +903,15 @@ module Google
830
903
  end
831
904
  end
832
905
 
906
+ class GoogleAnalyticsAdminV1alphaListDataStreamsResponse
907
+ # @private
908
+ class Representation < Google::Apis::Core::JsonRepresentation
909
+ collection :data_streams, as: 'dataStreams', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
910
+
911
+ property :next_page_token, as: 'nextPageToken'
912
+ end
913
+ end
914
+
833
915
  class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse
834
916
  # @private
835
917
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -689,6 +689,41 @@ module Google
689
689
  execute_or_queue_command(command, &block)
690
690
  end
691
691
 
692
+ # Acknowledges the terms of user data collection for the specified property.
693
+ # This acknowledgement must be completed (either in the Google Analytics UI or
694
+ # via this API) before MeasurementProtocolSecret resources may be created.
695
+ # @param [String] property
696
+ # Required. The property for which to acknowledge user data collection.
697
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest] google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object
698
+ # @param [String] fields
699
+ # Selector specifying which fields to include in a partial response.
700
+ # @param [String] quota_user
701
+ # Available to use for quota purposes for server-side applications. Can be any
702
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
703
+ # @param [Google::Apis::RequestOptions] options
704
+ # Request-specific options
705
+ #
706
+ # @yield [result, err] Result & error if block supplied
707
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse] parsed result object
708
+ # @yieldparam err [StandardError] error object if request failed
709
+ #
710
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse]
711
+ #
712
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
713
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
714
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
715
+ def acknowledge_property_user_data_collection(property, google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
716
+ command = make_simple_command(:post, 'v1alpha/{+property}:acknowledgeUserDataCollection', options)
717
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest::Representation
718
+ command.request_object = google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object
719
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse::Representation
720
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
721
+ command.params['property'] = property unless property.nil?
722
+ command.query['fields'] = fields unless fields.nil?
723
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
724
+ execute_or_queue_command(command, &block)
725
+ end
726
+
692
727
  # Creates an "GA4" property with the specified location and attributes.
693
728
  # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] google_analytics_admin_v1alpha_property_object
694
729
  # @param [String] fields
@@ -1847,6 +1882,181 @@ module Google
1847
1882
  execute_or_queue_command(command, &block)
1848
1883
  end
1849
1884
 
1885
+ # Creates a DataStream.
1886
+ # @param [String] parent
1887
+ # Required. Example format: properties/1234
1888
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] google_analytics_admin_v1alpha_data_stream_object
1889
+ # @param [String] fields
1890
+ # Selector specifying which fields to include in a partial response.
1891
+ # @param [String] quota_user
1892
+ # Available to use for quota purposes for server-side applications. Can be any
1893
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1894
+ # @param [Google::Apis::RequestOptions] options
1895
+ # Request-specific options
1896
+ #
1897
+ # @yield [result, err] Result & error if block supplied
1898
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
1899
+ # @yieldparam err [StandardError] error object if request failed
1900
+ #
1901
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
1902
+ #
1903
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1904
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1905
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1906
+ def create_property_data_stream(parent, google_analytics_admin_v1alpha_data_stream_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1907
+ command = make_simple_command(:post, 'v1alpha/{+parent}/dataStreams', options)
1908
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
1909
+ command.request_object = google_analytics_admin_v1alpha_data_stream_object
1910
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
1911
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
1912
+ command.params['parent'] = parent unless parent.nil?
1913
+ command.query['fields'] = fields unless fields.nil?
1914
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1915
+ execute_or_queue_command(command, &block)
1916
+ end
1917
+
1918
+ # Deletes a DataStream on a property.
1919
+ # @param [String] name
1920
+ # Required. The name of the DataStream to delete. Example format: properties/
1921
+ # 1234/dataStreams/5678
1922
+ # @param [String] fields
1923
+ # Selector specifying which fields to include in a partial response.
1924
+ # @param [String] quota_user
1925
+ # Available to use for quota purposes for server-side applications. Can be any
1926
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1927
+ # @param [Google::Apis::RequestOptions] options
1928
+ # Request-specific options
1929
+ #
1930
+ # @yield [result, err] Result & error if block supplied
1931
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
1932
+ # @yieldparam err [StandardError] error object if request failed
1933
+ #
1934
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
1935
+ #
1936
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1937
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1938
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1939
+ def delete_property_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
1940
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1941
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
1942
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
1943
+ command.params['name'] = name unless name.nil?
1944
+ command.query['fields'] = fields unless fields.nil?
1945
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1946
+ execute_or_queue_command(command, &block)
1947
+ end
1948
+
1949
+ # Lookup for a single DataStream.
1950
+ # @param [String] name
1951
+ # Required. The name of the DataStream to get. Example format: properties/1234/
1952
+ # dataStreams/5678
1953
+ # @param [String] fields
1954
+ # Selector specifying which fields to include in a partial response.
1955
+ # @param [String] quota_user
1956
+ # Available to use for quota purposes for server-side applications. Can be any
1957
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1958
+ # @param [Google::Apis::RequestOptions] options
1959
+ # Request-specific options
1960
+ #
1961
+ # @yield [result, err] Result & error if block supplied
1962
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
1963
+ # @yieldparam err [StandardError] error object if request failed
1964
+ #
1965
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
1966
+ #
1967
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1968
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1969
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1970
+ def get_property_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
1971
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
1972
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
1973
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
1974
+ command.params['name'] = name unless name.nil?
1975
+ command.query['fields'] = fields unless fields.nil?
1976
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1977
+ execute_or_queue_command(command, &block)
1978
+ end
1979
+
1980
+ # Lists DataStreams on a property.
1981
+ # @param [String] parent
1982
+ # Required. Example format: properties/1234
1983
+ # @param [Fixnum] page_size
1984
+ # The maximum number of resources to return. If unspecified, at most 50
1985
+ # resources will be returned. The maximum value is 200 (higher values will be
1986
+ # coerced to the maximum).
1987
+ # @param [String] page_token
1988
+ # A page token, received from a previous `ListDataStreams` call. Provide this to
1989
+ # retrieve the subsequent page. When paginating, all other parameters provided
1990
+ # to `ListDataStreams` must match the call that provided the page token.
1991
+ # @param [String] fields
1992
+ # Selector specifying which fields to include in a partial response.
1993
+ # @param [String] quota_user
1994
+ # Available to use for quota purposes for server-side applications. Can be any
1995
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1996
+ # @param [Google::Apis::RequestOptions] options
1997
+ # Request-specific options
1998
+ #
1999
+ # @yield [result, err] Result & error if block supplied
2000
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse] parsed result object
2001
+ # @yieldparam err [StandardError] error object if request failed
2002
+ #
2003
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse]
2004
+ #
2005
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2006
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2007
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2008
+ def list_property_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2009
+ command = make_simple_command(:get, 'v1alpha/{+parent}/dataStreams', options)
2010
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse::Representation
2011
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse
2012
+ command.params['parent'] = parent unless parent.nil?
2013
+ command.query['pageSize'] = page_size unless page_size.nil?
2014
+ command.query['pageToken'] = page_token unless page_token.nil?
2015
+ command.query['fields'] = fields unless fields.nil?
2016
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2017
+ execute_or_queue_command(command, &block)
2018
+ end
2019
+
2020
+ # Updates a DataStream on a property.
2021
+ # @param [String] name
2022
+ # Output only. Resource name of this Data Stream. Format: properties/`
2023
+ # property_id`/dataStreams/`stream_id` Example: "properties/1000/dataStreams/
2024
+ # 2000"
2025
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] google_analytics_admin_v1alpha_data_stream_object
2026
+ # @param [String] update_mask
2027
+ # Required. The list of fields to be updated. Omitted fields will not be updated.
2028
+ # To replace the entire entity, use one path with the string "*" to match all
2029
+ # fields.
2030
+ # @param [String] fields
2031
+ # Selector specifying which fields to include in a partial response.
2032
+ # @param [String] quota_user
2033
+ # Available to use for quota purposes for server-side applications. Can be any
2034
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2035
+ # @param [Google::Apis::RequestOptions] options
2036
+ # Request-specific options
2037
+ #
2038
+ # @yield [result, err] Result & error if block supplied
2039
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
2040
+ # @yieldparam err [StandardError] error object if request failed
2041
+ #
2042
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
2043
+ #
2044
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2045
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2046
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2047
+ def patch_property_data_stream(name, google_analytics_admin_v1alpha_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2048
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
2049
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
2050
+ command.request_object = google_analytics_admin_v1alpha_data_stream_object
2051
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
2052
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
2053
+ command.params['name'] = name unless name.nil?
2054
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2055
+ command.query['fields'] = fields unless fields.nil?
2056
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2057
+ execute_or_queue_command(command, &block)
2058
+ end
2059
+
1850
2060
  # Approves a DisplayVideo360AdvertiserLinkProposal. The
1851
2061
  # DisplayVideo360AdvertiserLinkProposal will be deleted and a new
1852
2062
  # DisplayVideo360AdvertiserLink will be created.
@@ -3271,40 +3481,6 @@ module Google
3271
3481
  execute_or_queue_command(command, &block)
3272
3482
  end
3273
3483
 
3274
- # Returns the singleton enhanced measurement settings for this web stream. Note
3275
- # that the stream must enable enhanced measurement for these settings to take
3276
- # effect.
3277
- # @param [String] name
3278
- # Required. The name of the settings to lookup. Format: properties/`property_id`/
3279
- # webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "properties/
3280
- # 1000/webDataStreams/2000/enhancedMeasurementSettings"
3281
- # @param [String] fields
3282
- # Selector specifying which fields to include in a partial response.
3283
- # @param [String] quota_user
3284
- # Available to use for quota purposes for server-side applications. Can be any
3285
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3286
- # @param [Google::Apis::RequestOptions] options
3287
- # Request-specific options
3288
- #
3289
- # @yield [result, err] Result & error if block supplied
3290
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] parsed result object
3291
- # @yieldparam err [StandardError] error object if request failed
3292
- #
3293
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
3294
- #
3295
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3296
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3297
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3298
- def get_property_web_data_stream_enhanced_measurement_settings(name, fields: nil, quota_user: nil, options: nil, &block)
3299
- command = make_simple_command(:get, 'v1alpha/{+name}', options)
3300
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
3301
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
3302
- command.params['name'] = name unless name.nil?
3303
- command.query['fields'] = fields unless fields.nil?
3304
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3305
- execute_or_queue_command(command, &block)
3306
- end
3307
-
3308
3484
  # Returns the Site Tag for the specified web stream. Site Tags are immutable
3309
3485
  # singletons.
3310
3486
  # @param [String] name
@@ -3423,48 +3599,6 @@ module Google
3423
3599
  execute_or_queue_command(command, &block)
3424
3600
  end
3425
3601
 
3426
- # Updates the singleton enhanced measurement settings for this web stream. Note
3427
- # that the stream must enable enhanced measurement for these settings to take
3428
- # effect.
3429
- # @param [String] name
3430
- # Output only. Resource name of this Data Stream. Format: properties/`
3431
- # property_id`/webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "
3432
- # properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
3433
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] google_analytics_admin_v1alpha_enhanced_measurement_settings_object
3434
- # @param [String] update_mask
3435
- # Required. The list of fields to be updated. Field names must be in snake case (
3436
- # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
3437
- # entire entity, use one path with the string "*" to match all fields.
3438
- # @param [String] fields
3439
- # Selector specifying which fields to include in a partial response.
3440
- # @param [String] quota_user
3441
- # Available to use for quota purposes for server-side applications. Can be any
3442
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3443
- # @param [Google::Apis::RequestOptions] options
3444
- # Request-specific options
3445
- #
3446
- # @yield [result, err] Result & error if block supplied
3447
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings] parsed result object
3448
- # @yieldparam err [StandardError] error object if request failed
3449
- #
3450
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
3451
- #
3452
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3453
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3454
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3455
- def update_property_web_data_stream_enhanced_measurement_settings(name, google_analytics_admin_v1alpha_enhanced_measurement_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3456
- command = make_simple_command(:patch, 'v1alpha/{+name}', options)
3457
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
3458
- command.request_object = google_analytics_admin_v1alpha_enhanced_measurement_settings_object
3459
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
3460
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
3461
- command.params['name'] = name unless name.nil?
3462
- command.query['updateMask'] = update_mask unless update_mask.nil?
3463
- command.query['fields'] = fields unless fields.nil?
3464
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3465
- execute_or_queue_command(command, &block)
3466
- end
3467
-
3468
3602
  # Creates a measurement protocol secret.
3469
3603
  # @param [String] parent
3470
3604
  # Required. The parent resource where this secret will be created. Any type of
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-analyticsadmin_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.20.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: 2021-09-27 00:00:00.000000000 Z
11
+ date: 2021-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.16.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsadmin_v1alpha
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.20.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: