google-apis-analyticsadmin_v1alpha 0.19.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +193 -266
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +81 -103
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +490 -1162
- metadata +4 -4
@@ -891,12 +891,13 @@ module Google
|
|
891
891
|
# @param [String] filter
|
892
892
|
# Required. An expression for filtering the results of the request. Fields
|
893
893
|
# eligible for filtering are: `parent:`(The resource name of the parent account)
|
894
|
-
# or `
|
895
|
-
#
|
896
|
-
#
|
897
|
-
#
|
898
|
-
#
|
899
|
-
# with
|
894
|
+
# or `ancestor:`(The resource name of the parent account) or `firebase_project:`(
|
895
|
+
# The id or number of the linked firebase project). Some examples of filters: ```
|
896
|
+
# | Filter | Description | |-----------------------------|----------------------
|
897
|
+
# ---------------------| | parent:accounts/123 | The account with account id:
|
898
|
+
# 123. | | ancestor:accounts/123 | The account with account id: 123. | |
|
899
|
+
# firebase_project:project-id | The firebase project with id: project-id. | |
|
900
|
+
# firebase_project:123 | The firebase project with number: 123. | ```
|
900
901
|
# @param [Fixnum] page_size
|
901
902
|
# The maximum number of resources to return. The service may return fewer than
|
902
903
|
# this value, even if there are additional pages. If unspecified, at most 50
|
@@ -1056,11 +1057,45 @@ module Google
|
|
1056
1057
|
execute_or_queue_command(command, &block)
|
1057
1058
|
end
|
1058
1059
|
|
1059
|
-
#
|
1060
|
+
# Creates a conversion event with the specified attributes.
|
1061
|
+
# @param [String] parent
|
1062
|
+
# Required. The resource name of the parent property where this conversion event
|
1063
|
+
# will be created. Format: properties/123
|
1064
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] google_analytics_admin_v1alpha_conversion_event_object
|
1065
|
+
# @param [String] fields
|
1066
|
+
# Selector specifying which fields to include in a partial response.
|
1067
|
+
# @param [String] quota_user
|
1068
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1069
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1070
|
+
# @param [Google::Apis::RequestOptions] options
|
1071
|
+
# Request-specific options
|
1072
|
+
#
|
1073
|
+
# @yield [result, err] Result & error if block supplied
|
1074
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] parsed result object
|
1075
|
+
# @yieldparam err [StandardError] error object if request failed
|
1076
|
+
#
|
1077
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent]
|
1078
|
+
#
|
1079
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1080
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1081
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1082
|
+
def create_property_conversion_event(parent, google_analytics_admin_v1alpha_conversion_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1083
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/conversionEvents', options)
|
1084
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
|
1085
|
+
command.request_object = google_analytics_admin_v1alpha_conversion_event_object
|
1086
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
|
1087
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent
|
1088
|
+
command.params['parent'] = parent unless parent.nil?
|
1089
|
+
command.query['fields'] = fields unless fields.nil?
|
1090
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1091
|
+
execute_or_queue_command(command, &block)
|
1092
|
+
end
|
1093
|
+
|
1094
|
+
# Deletes a conversion event in a property.
|
1060
1095
|
# @param [String] name
|
1061
|
-
# Required. The name of the
|
1062
|
-
# properties/`
|
1063
|
-
#
|
1096
|
+
# Required. The resource name of the conversion event to delete. Format:
|
1097
|
+
# properties/`property`/conversionEvents/`conversion_event` Example: "properties/
|
1098
|
+
# 123/conversionEvents/456"
|
1064
1099
|
# @param [String] fields
|
1065
1100
|
# Selector specifying which fields to include in a partial response.
|
1066
1101
|
# @param [String] quota_user
|
@@ -1078,7 +1113,7 @@ module Google
|
|
1078
1113
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1079
1114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1080
1115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1081
|
-
def
|
1116
|
+
def delete_property_conversion_event(name, fields: nil, quota_user: nil, options: nil, &block)
|
1082
1117
|
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1083
1118
|
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1084
1119
|
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
@@ -1088,11 +1123,11 @@ module Google
|
|
1088
1123
|
execute_or_queue_command(command, &block)
|
1089
1124
|
end
|
1090
1125
|
|
1091
|
-
#
|
1126
|
+
# Retrieve a single conversion event.
|
1092
1127
|
# @param [String] name
|
1093
|
-
# Required. The name of the
|
1094
|
-
# properties/`
|
1095
|
-
#
|
1128
|
+
# Required. The resource name of the conversion event to retrieve. Format:
|
1129
|
+
# properties/`property`/conversionEvents/`conversion_event` Example: "properties/
|
1130
|
+
# 123/conversionEvents/456"
|
1096
1131
|
# @param [String] fields
|
1097
1132
|
# Selector specifying which fields to include in a partial response.
|
1098
1133
|
# @param [String] quota_user
|
@@ -1102,38 +1137,37 @@ module Google
|
|
1102
1137
|
# Request-specific options
|
1103
1138
|
#
|
1104
1139
|
# @yield [result, err] Result & error if block supplied
|
1105
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1140
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] parsed result object
|
1106
1141
|
# @yieldparam err [StandardError] error object if request failed
|
1107
1142
|
#
|
1108
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1143
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent]
|
1109
1144
|
#
|
1110
1145
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1111
1146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1112
1147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1113
|
-
def
|
1148
|
+
def get_property_conversion_event(name, fields: nil, quota_user: nil, options: nil, &block)
|
1114
1149
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1115
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1116
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1150
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
|
1151
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent
|
1117
1152
|
command.params['name'] = name unless name.nil?
|
1118
1153
|
command.query['fields'] = fields unless fields.nil?
|
1119
1154
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1120
1155
|
execute_or_queue_command(command, &block)
|
1121
1156
|
end
|
1122
1157
|
|
1123
|
-
# Returns
|
1124
|
-
#
|
1125
|
-
# empty list if no relevant android app streams are found.
|
1158
|
+
# Returns a list of conversion events in the specified parent property. Returns
|
1159
|
+
# an empty list if no conversion events are found.
|
1126
1160
|
# @param [String] parent
|
1127
|
-
# Required. The name of the parent property.
|
1128
|
-
# app streams under the property with Id 123: "properties/123"
|
1161
|
+
# Required. The resource name of the parent property. Example: 'properties/123'
|
1129
1162
|
# @param [Fixnum] page_size
|
1130
1163
|
# The maximum number of resources to return. If unspecified, at most 50
|
1131
1164
|
# resources will be returned. The maximum value is 200; (higher values will be
|
1132
1165
|
# coerced to the maximum)
|
1133
1166
|
# @param [String] page_token
|
1134
|
-
# A page token, received from a previous call. Provide
|
1135
|
-
# subsequent page. When paginating, all other parameters
|
1136
|
-
#
|
1167
|
+
# A page token, received from a previous `ListConversionEvents` call. Provide
|
1168
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
1169
|
+
# provided to `ListConversionEvents` must match the call that provided the page
|
1170
|
+
# token.
|
1137
1171
|
# @param [String] fields
|
1138
1172
|
# Selector specifying which fields to include in a partial response.
|
1139
1173
|
# @param [String] quota_user
|
@@ -1143,18 +1177,18 @@ module Google
|
|
1143
1177
|
# Request-specific options
|
1144
1178
|
#
|
1145
1179
|
# @yield [result, err] Result & error if block supplied
|
1146
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1180
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse] parsed result object
|
1147
1181
|
# @yieldparam err [StandardError] error object if request failed
|
1148
1182
|
#
|
1149
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1183
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse]
|
1150
1184
|
#
|
1151
1185
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1152
1186
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1153
1187
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1154
|
-
def
|
1155
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/
|
1156
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1157
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1188
|
+
def list_property_conversion_events(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1189
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/conversionEvents', options)
|
1190
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse::Representation
|
1191
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListConversionEventsResponse
|
1158
1192
|
command.params['parent'] = parent unless parent.nil?
|
1159
1193
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1160
1194
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1163,16 +1197,11 @@ module Google
|
|
1163
1197
|
execute_or_queue_command(command, &block)
|
1164
1198
|
end
|
1165
1199
|
|
1166
|
-
#
|
1200
|
+
# Archives a CustomDimension on a property.
|
1167
1201
|
# @param [String] name
|
1168
|
-
#
|
1169
|
-
#
|
1170
|
-
#
|
1171
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream] google_analytics_admin_v1alpha_android_app_data_stream_object
|
1172
|
-
# @param [String] update_mask
|
1173
|
-
# Required. The list of fields to be updated. Field names must be in snake case (
|
1174
|
-
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
1175
|
-
# entire entity, use one path with the string "*" to match all fields.
|
1202
|
+
# Required. The name of the CustomDimension to archive. Example format:
|
1203
|
+
# properties/1234/customDimensions/5678
|
1204
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest] google_analytics_admin_v1alpha_archive_custom_dimension_request_object
|
1176
1205
|
# @param [String] fields
|
1177
1206
|
# Selector specifying which fields to include in a partial response.
|
1178
1207
|
# @param [String] quota_user
|
@@ -1182,33 +1211,30 @@ module Google
|
|
1182
1211
|
# Request-specific options
|
1183
1212
|
#
|
1184
1213
|
# @yield [result, err] Result & error if block supplied
|
1185
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1214
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1186
1215
|
# @yieldparam err [StandardError] error object if request failed
|
1187
1216
|
#
|
1188
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1217
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1189
1218
|
#
|
1190
1219
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1191
1220
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1192
1221
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1193
|
-
def
|
1194
|
-
command = make_simple_command(:
|
1195
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1196
|
-
command.request_object =
|
1197
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1198
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1222
|
+
def archive_property_custom_dimension(name, google_analytics_admin_v1alpha_archive_custom_dimension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1223
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
|
1224
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest::Representation
|
1225
|
+
command.request_object = google_analytics_admin_v1alpha_archive_custom_dimension_request_object
|
1226
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1227
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1199
1228
|
command.params['name'] = name unless name.nil?
|
1200
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1201
1229
|
command.query['fields'] = fields unless fields.nil?
|
1202
1230
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1203
1231
|
execute_or_queue_command(command, &block)
|
1204
1232
|
end
|
1205
1233
|
|
1206
|
-
# Creates a
|
1234
|
+
# Creates a CustomDimension.
|
1207
1235
|
# @param [String] parent
|
1208
|
-
# Required.
|
1209
|
-
#
|
1210
|
-
# Format: properties/`property`/webDataStreams/`webDataStream`
|
1211
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1236
|
+
# Required. Example format: properties/1234
|
1237
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] google_analytics_admin_v1alpha_custom_dimension_object
|
1212
1238
|
# @param [String] fields
|
1213
1239
|
# Selector specifying which fields to include in a partial response.
|
1214
1240
|
# @param [String] quota_user
|
@@ -1218,32 +1244,30 @@ module Google
|
|
1218
1244
|
# Request-specific options
|
1219
1245
|
#
|
1220
1246
|
# @yield [result, err] Result & error if block supplied
|
1221
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1247
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
|
1222
1248
|
# @yieldparam err [StandardError] error object if request failed
|
1223
1249
|
#
|
1224
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1250
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
|
1225
1251
|
#
|
1226
1252
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1227
1253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1228
1254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1229
|
-
def
|
1230
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/
|
1231
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1232
|
-
command.request_object =
|
1233
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1234
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1255
|
+
def create_property_custom_dimension(parent, google_analytics_admin_v1alpha_custom_dimension_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1256
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/customDimensions', options)
|
1257
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1258
|
+
command.request_object = google_analytics_admin_v1alpha_custom_dimension_object
|
1259
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1260
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension
|
1235
1261
|
command.params['parent'] = parent unless parent.nil?
|
1236
1262
|
command.query['fields'] = fields unless fields.nil?
|
1237
1263
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1238
1264
|
execute_or_queue_command(command, &block)
|
1239
1265
|
end
|
1240
1266
|
|
1241
|
-
#
|
1267
|
+
# Lookup for a single CustomDimension.
|
1242
1268
|
# @param [String] name
|
1243
|
-
# Required. The name of the
|
1244
|
-
#
|
1245
|
-
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
1246
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
1269
|
+
# Required. The name of the CustomDimension to get. Example format: properties/
|
1270
|
+
# 1234/customDimensions/5678
|
1247
1271
|
# @param [String] fields
|
1248
1272
|
# Selector specifying which fields to include in a partial response.
|
1249
1273
|
# @param [String] quota_user
|
@@ -1253,30 +1277,36 @@ module Google
|
|
1253
1277
|
# Request-specific options
|
1254
1278
|
#
|
1255
1279
|
# @yield [result, err] Result & error if block supplied
|
1256
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1280
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
|
1257
1281
|
# @yieldparam err [StandardError] error object if request failed
|
1258
1282
|
#
|
1259
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1283
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
|
1260
1284
|
#
|
1261
1285
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1262
1286
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1263
1287
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1264
|
-
def
|
1265
|
-
command = make_simple_command(:
|
1266
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1267
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1288
|
+
def get_property_custom_dimension(name, fields: nil, quota_user: nil, options: nil, &block)
|
1289
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1290
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1291
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension
|
1268
1292
|
command.params['name'] = name unless name.nil?
|
1269
1293
|
command.query['fields'] = fields unless fields.nil?
|
1270
1294
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1271
1295
|
execute_or_queue_command(command, &block)
|
1272
1296
|
end
|
1273
1297
|
|
1274
|
-
#
|
1275
|
-
# @param [String]
|
1276
|
-
# Required.
|
1277
|
-
#
|
1278
|
-
#
|
1279
|
-
#
|
1298
|
+
# Lists CustomDimensions on a property.
|
1299
|
+
# @param [String] parent
|
1300
|
+
# Required. Example format: properties/1234
|
1301
|
+
# @param [Fixnum] page_size
|
1302
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1303
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
1304
|
+
# coerced to the maximum).
|
1305
|
+
# @param [String] page_token
|
1306
|
+
# A page token, received from a previous `ListCustomDimensions` call. Provide
|
1307
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
1308
|
+
# provided to `ListCustomDimensions` must match the call that provided the page
|
1309
|
+
# token.
|
1280
1310
|
# @param [String] fields
|
1281
1311
|
# Selector specifying which fields to include in a partial response.
|
1282
1312
|
# @param [String] quota_user
|
@@ -1286,39 +1316,35 @@ module Google
|
|
1286
1316
|
# Request-specific options
|
1287
1317
|
#
|
1288
1318
|
# @yield [result, err] Result & error if block supplied
|
1289
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1319
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse] parsed result object
|
1290
1320
|
# @yieldparam err [StandardError] error object if request failed
|
1291
1321
|
#
|
1292
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1322
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse]
|
1293
1323
|
#
|
1294
1324
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1295
1325
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1296
1326
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1297
|
-
def
|
1298
|
-
command = make_simple_command(:get, 'v1alpha/{+
|
1299
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1300
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1301
|
-
command.params['
|
1327
|
+
def list_property_custom_dimensions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1328
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/customDimensions', options)
|
1329
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse::Representation
|
1330
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse
|
1331
|
+
command.params['parent'] = parent unless parent.nil?
|
1332
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1333
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1302
1334
|
command.query['fields'] = fields unless fields.nil?
|
1303
1335
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1304
1336
|
execute_or_queue_command(command, &block)
|
1305
1337
|
end
|
1306
1338
|
|
1307
|
-
#
|
1308
|
-
# @param [String]
|
1309
|
-
#
|
1310
|
-
#
|
1311
|
-
#
|
1312
|
-
#
|
1313
|
-
#
|
1314
|
-
#
|
1315
|
-
#
|
1316
|
-
# coerced to the maximum.
|
1317
|
-
# @param [String] page_token
|
1318
|
-
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
1319
|
-
# Provide this to retrieve the subsequent page. When paginating, all other
|
1320
|
-
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
1321
|
-
# that provided the page token.
|
1339
|
+
# Updates a CustomDimension on a property.
|
1340
|
+
# @param [String] name
|
1341
|
+
# Output only. Resource name for this CustomDimension resource. Format:
|
1342
|
+
# properties/`property`/customDimensions/`customDimension`
|
1343
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] google_analytics_admin_v1alpha_custom_dimension_object
|
1344
|
+
# @param [String] update_mask
|
1345
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
1346
|
+
# To replace the entire entity, use one path with the string "*" to match all
|
1347
|
+
# fields.
|
1322
1348
|
# @param [String] fields
|
1323
1349
|
# Selector specifying which fields to include in a partial response.
|
1324
1350
|
# @param [String] quota_user
|
@@ -1328,34 +1354,32 @@ module Google
|
|
1328
1354
|
# Request-specific options
|
1329
1355
|
#
|
1330
1356
|
# @yield [result, err] Result & error if block supplied
|
1331
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1357
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension] parsed result object
|
1332
1358
|
# @yieldparam err [StandardError] error object if request failed
|
1333
1359
|
#
|
1334
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1360
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension]
|
1335
1361
|
#
|
1336
1362
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1337
1363
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1338
1364
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1339
|
-
def
|
1340
|
-
command = make_simple_command(:
|
1341
|
-
command.
|
1342
|
-
command.
|
1343
|
-
command.
|
1344
|
-
command.
|
1345
|
-
command.
|
1365
|
+
def patch_property_custom_dimension(name, google_analytics_admin_v1alpha_custom_dimension_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1366
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1367
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1368
|
+
command.request_object = google_analytics_admin_v1alpha_custom_dimension_object
|
1369
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
|
1370
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension
|
1371
|
+
command.params['name'] = name unless name.nil?
|
1372
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1346
1373
|
command.query['fields'] = fields unless fields.nil?
|
1347
1374
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1348
1375
|
execute_or_queue_command(command, &block)
|
1349
1376
|
end
|
1350
1377
|
|
1351
|
-
#
|
1378
|
+
# Archives a CustomMetric on a property.
|
1352
1379
|
# @param [String] name
|
1353
|
-
#
|
1354
|
-
#
|
1355
|
-
#
|
1356
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1357
|
-
# @param [String] update_mask
|
1358
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
1380
|
+
# Required. The name of the CustomMetric to archive. Example format: properties/
|
1381
|
+
# 1234/customMetrics/5678
|
1382
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest] google_analytics_admin_v1alpha_archive_custom_metric_request_object
|
1359
1383
|
# @param [String] fields
|
1360
1384
|
# Selector specifying which fields to include in a partial response.
|
1361
1385
|
# @param [String] quota_user
|
@@ -1365,32 +1389,30 @@ module Google
|
|
1365
1389
|
# Request-specific options
|
1366
1390
|
#
|
1367
1391
|
# @yield [result, err] Result & error if block supplied
|
1368
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1392
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1369
1393
|
# @yieldparam err [StandardError] error object if request failed
|
1370
1394
|
#
|
1371
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1395
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1372
1396
|
#
|
1373
1397
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1374
1398
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1375
1399
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1376
|
-
def
|
1377
|
-
command = make_simple_command(:
|
1378
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1379
|
-
command.request_object =
|
1380
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1381
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1400
|
+
def archive_property_custom_metric(name, google_analytics_admin_v1alpha_archive_custom_metric_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1401
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
|
1402
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest::Representation
|
1403
|
+
command.request_object = google_analytics_admin_v1alpha_archive_custom_metric_request_object
|
1404
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1405
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1382
1406
|
command.params['name'] = name unless name.nil?
|
1383
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1384
1407
|
command.query['fields'] = fields unless fields.nil?
|
1385
1408
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1386
1409
|
execute_or_queue_command(command, &block)
|
1387
1410
|
end
|
1388
1411
|
|
1389
|
-
# Creates a
|
1412
|
+
# Creates a CustomMetric.
|
1390
1413
|
# @param [String] parent
|
1391
|
-
# Required.
|
1392
|
-
#
|
1393
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent] google_analytics_admin_v1alpha_conversion_event_object
|
1414
|
+
# Required. Example format: properties/1234
|
1415
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] google_analytics_admin_v1alpha_custom_metric_object
|
1394
1416
|
# @param [String] fields
|
1395
1417
|
# Selector specifying which fields to include in a partial response.
|
1396
1418
|
# @param [String] quota_user
|
@@ -1400,31 +1422,30 @@ module Google
|
|
1400
1422
|
# Request-specific options
|
1401
1423
|
#
|
1402
1424
|
# @yield [result, err] Result & error if block supplied
|
1403
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1425
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
|
1404
1426
|
# @yieldparam err [StandardError] error object if request failed
|
1405
1427
|
#
|
1406
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1428
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
1407
1429
|
#
|
1408
1430
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1409
1431
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1410
1432
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1411
|
-
def
|
1412
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/
|
1413
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1414
|
-
command.request_object =
|
1415
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1416
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1433
|
+
def create_property_custom_metric(parent, google_analytics_admin_v1alpha_custom_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1434
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/customMetrics', options)
|
1435
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1436
|
+
command.request_object = google_analytics_admin_v1alpha_custom_metric_object
|
1437
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1438
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
|
1417
1439
|
command.params['parent'] = parent unless parent.nil?
|
1418
1440
|
command.query['fields'] = fields unless fields.nil?
|
1419
1441
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1420
1442
|
execute_or_queue_command(command, &block)
|
1421
1443
|
end
|
1422
1444
|
|
1423
|
-
#
|
1445
|
+
# Lookup for a single CustomMetric.
|
1424
1446
|
# @param [String] name
|
1425
|
-
# Required. The
|
1426
|
-
#
|
1427
|
-
# 123/conversionEvents/456"
|
1447
|
+
# Required. The name of the CustomMetric to get. Example format: properties/1234/
|
1448
|
+
# customMetrics/5678
|
1428
1449
|
# @param [String] fields
|
1429
1450
|
# Selector specifying which fields to include in a partial response.
|
1430
1451
|
# @param [String] quota_user
|
@@ -1434,29 +1455,36 @@ module Google
|
|
1434
1455
|
# Request-specific options
|
1435
1456
|
#
|
1436
1457
|
# @yield [result, err] Result & error if block supplied
|
1437
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1458
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
|
1438
1459
|
# @yieldparam err [StandardError] error object if request failed
|
1439
1460
|
#
|
1440
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1461
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
1441
1462
|
#
|
1442
1463
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1443
1464
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1444
1465
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1445
|
-
def
|
1446
|
-
command = make_simple_command(:
|
1447
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1448
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1466
|
+
def get_property_custom_metric(name, fields: nil, quota_user: nil, options: nil, &block)
|
1467
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1468
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1469
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
|
1449
1470
|
command.params['name'] = name unless name.nil?
|
1450
1471
|
command.query['fields'] = fields unless fields.nil?
|
1451
1472
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1452
1473
|
execute_or_queue_command(command, &block)
|
1453
1474
|
end
|
1454
1475
|
|
1455
|
-
#
|
1456
|
-
# @param [String]
|
1457
|
-
# Required.
|
1458
|
-
#
|
1459
|
-
#
|
1476
|
+
# Lists CustomMetrics on a property.
|
1477
|
+
# @param [String] parent
|
1478
|
+
# Required. Example format: properties/1234
|
1479
|
+
# @param [Fixnum] page_size
|
1480
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
1481
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
1482
|
+
# coerced to the maximum).
|
1483
|
+
# @param [String] page_token
|
1484
|
+
# A page token, received from a previous `ListCustomMetrics` call. Provide this
|
1485
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
1486
|
+
# provided to `ListCustomMetrics` must match the call that provided the page
|
1487
|
+
# token.
|
1460
1488
|
# @param [String] fields
|
1461
1489
|
# Selector specifying which fields to include in a partial response.
|
1462
1490
|
# @param [String] quota_user
|
@@ -1466,37 +1494,35 @@ module Google
|
|
1466
1494
|
# Request-specific options
|
1467
1495
|
#
|
1468
1496
|
# @yield [result, err] Result & error if block supplied
|
1469
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1497
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse] parsed result object
|
1470
1498
|
# @yieldparam err [StandardError] error object if request failed
|
1471
1499
|
#
|
1472
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1500
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse]
|
1473
1501
|
#
|
1474
1502
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1475
1503
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1476
1504
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1477
|
-
def
|
1478
|
-
command = make_simple_command(:get, 'v1alpha/{+
|
1479
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1480
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1481
|
-
command.params['
|
1505
|
+
def list_property_custom_metrics(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1506
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/customMetrics', options)
|
1507
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse::Representation
|
1508
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListCustomMetricsResponse
|
1509
|
+
command.params['parent'] = parent unless parent.nil?
|
1510
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1511
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1482
1512
|
command.query['fields'] = fields unless fields.nil?
|
1483
1513
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1484
1514
|
execute_or_queue_command(command, &block)
|
1485
1515
|
end
|
1486
1516
|
|
1487
|
-
#
|
1488
|
-
#
|
1489
|
-
#
|
1490
|
-
#
|
1491
|
-
# @param [
|
1492
|
-
#
|
1493
|
-
#
|
1494
|
-
#
|
1495
|
-
#
|
1496
|
-
# A page token, received from a previous `ListConversionEvents` call. Provide
|
1497
|
-
# this to retrieve the subsequent page. When paginating, all other parameters
|
1498
|
-
# provided to `ListConversionEvents` must match the call that provided the page
|
1499
|
-
# token.
|
1517
|
+
# Updates a CustomMetric on a property.
|
1518
|
+
# @param [String] name
|
1519
|
+
# Output only. Resource name for this CustomMetric resource. Format: properties/`
|
1520
|
+
# property`/customMetrics/`customMetric`
|
1521
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] google_analytics_admin_v1alpha_custom_metric_object
|
1522
|
+
# @param [String] update_mask
|
1523
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
1524
|
+
# To replace the entire entity, use one path with the string "*" to match all
|
1525
|
+
# fields.
|
1500
1526
|
# @param [String] fields
|
1501
1527
|
# Selector specifying which fields to include in a partial response.
|
1502
1528
|
# @param [String] quota_user
|
@@ -1506,31 +1532,31 @@ module Google
|
|
1506
1532
|
# Request-specific options
|
1507
1533
|
#
|
1508
1534
|
# @yield [result, err] Result & error if block supplied
|
1509
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1535
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric] parsed result object
|
1510
1536
|
# @yieldparam err [StandardError] error object if request failed
|
1511
1537
|
#
|
1512
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1538
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
1513
1539
|
#
|
1514
1540
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1515
1541
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1516
1542
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1517
|
-
def
|
1518
|
-
command = make_simple_command(:
|
1519
|
-
command.
|
1520
|
-
command.
|
1521
|
-
command.
|
1522
|
-
command.
|
1523
|
-
command.
|
1543
|
+
def patch_property_custom_metric(name, google_analytics_admin_v1alpha_custom_metric_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1544
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1545
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1546
|
+
command.request_object = google_analytics_admin_v1alpha_custom_metric_object
|
1547
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1548
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
|
1549
|
+
command.params['name'] = name unless name.nil?
|
1550
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1524
1551
|
command.query['fields'] = fields unless fields.nil?
|
1525
1552
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1526
1553
|
execute_or_queue_command(command, &block)
|
1527
1554
|
end
|
1528
1555
|
|
1529
|
-
#
|
1530
|
-
# @param [String]
|
1531
|
-
# Required.
|
1532
|
-
#
|
1533
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest] google_analytics_admin_v1alpha_archive_custom_dimension_request_object
|
1556
|
+
# Creates a DataStream.
|
1557
|
+
# @param [String] parent
|
1558
|
+
# Required. Example format: properties/1234
|
1559
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] google_analytics_admin_v1alpha_data_stream_object
|
1534
1560
|
# @param [String] fields
|
1535
1561
|
# Selector specifying which fields to include in a partial response.
|
1536
1562
|
# @param [String] quota_user
|
@@ -1540,30 +1566,30 @@ module Google
|
|
1540
1566
|
# Request-specific options
|
1541
1567
|
#
|
1542
1568
|
# @yield [result, err] Result & error if block supplied
|
1543
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1569
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
|
1544
1570
|
# @yieldparam err [StandardError] error object if request failed
|
1545
1571
|
#
|
1546
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1572
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
|
1547
1573
|
#
|
1548
1574
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1549
1575
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1550
1576
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1551
|
-
def
|
1552
|
-
command = make_simple_command(:post, 'v1alpha/{+
|
1553
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1554
|
-
command.request_object =
|
1555
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1556
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1557
|
-
command.params['
|
1577
|
+
def create_property_data_stream(parent, google_analytics_admin_v1alpha_data_stream_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1578
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/dataStreams', options)
|
1579
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
|
1580
|
+
command.request_object = google_analytics_admin_v1alpha_data_stream_object
|
1581
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
|
1582
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
|
1583
|
+
command.params['parent'] = parent unless parent.nil?
|
1558
1584
|
command.query['fields'] = fields unless fields.nil?
|
1559
1585
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1560
1586
|
execute_or_queue_command(command, &block)
|
1561
1587
|
end
|
1562
1588
|
|
1563
|
-
#
|
1564
|
-
# @param [String]
|
1565
|
-
# Required. Example format: properties/
|
1566
|
-
#
|
1589
|
+
# Deletes a DataStream on a property.
|
1590
|
+
# @param [String] name
|
1591
|
+
# Required. The name of the DataStream to delete. Example format: properties/
|
1592
|
+
# 1234/dataStreams/5678
|
1567
1593
|
# @param [String] fields
|
1568
1594
|
# Selector specifying which fields to include in a partial response.
|
1569
1595
|
# @param [String] quota_user
|
@@ -1573,30 +1599,28 @@ module Google
|
|
1573
1599
|
# Request-specific options
|
1574
1600
|
#
|
1575
1601
|
# @yield [result, err] Result & error if block supplied
|
1576
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1602
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1577
1603
|
# @yieldparam err [StandardError] error object if request failed
|
1578
1604
|
#
|
1579
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1605
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1580
1606
|
#
|
1581
1607
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1582
1608
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1583
1609
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1584
|
-
def
|
1585
|
-
command = make_simple_command(:
|
1586
|
-
command.
|
1587
|
-
command.
|
1588
|
-
command.
|
1589
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension
|
1590
|
-
command.params['parent'] = parent unless parent.nil?
|
1610
|
+
def delete_property_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
1611
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1612
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1613
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1614
|
+
command.params['name'] = name unless name.nil?
|
1591
1615
|
command.query['fields'] = fields unless fields.nil?
|
1592
1616
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1593
1617
|
execute_or_queue_command(command, &block)
|
1594
1618
|
end
|
1595
1619
|
|
1596
|
-
# Lookup for a single
|
1620
|
+
# Lookup for a single DataStream.
|
1597
1621
|
# @param [String] name
|
1598
|
-
# Required. The name of the
|
1599
|
-
#
|
1622
|
+
# Required. The name of the DataStream to get. Example format: properties/1234/
|
1623
|
+
# dataStreams/5678
|
1600
1624
|
# @param [String] fields
|
1601
1625
|
# Selector specifying which fields to include in a partial response.
|
1602
1626
|
# @param [String] quota_user
|
@@ -1606,25 +1630,25 @@ module Google
|
|
1606
1630
|
# Request-specific options
|
1607
1631
|
#
|
1608
1632
|
# @yield [result, err] Result & error if block supplied
|
1609
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1633
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
|
1610
1634
|
# @yieldparam err [StandardError] error object if request failed
|
1611
1635
|
#
|
1612
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1636
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
|
1613
1637
|
#
|
1614
1638
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1615
1639
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1616
1640
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1617
|
-
def
|
1641
|
+
def get_property_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
1618
1642
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1619
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1620
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1643
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
|
1644
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
|
1621
1645
|
command.params['name'] = name unless name.nil?
|
1622
1646
|
command.query['fields'] = fields unless fields.nil?
|
1623
1647
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1624
1648
|
execute_or_queue_command(command, &block)
|
1625
1649
|
end
|
1626
1650
|
|
1627
|
-
# Lists
|
1651
|
+
# Lists DataStreams on a property.
|
1628
1652
|
# @param [String] parent
|
1629
1653
|
# Required. Example format: properties/1234
|
1630
1654
|
# @param [Fixnum] page_size
|
@@ -1632,10 +1656,9 @@ module Google
|
|
1632
1656
|
# resources will be returned. The maximum value is 200 (higher values will be
|
1633
1657
|
# coerced to the maximum).
|
1634
1658
|
# @param [String] page_token
|
1635
|
-
# A page token, received from a previous `
|
1636
|
-
#
|
1637
|
-
#
|
1638
|
-
# token.
|
1659
|
+
# A page token, received from a previous `ListDataStreams` call. Provide this to
|
1660
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
1661
|
+
# to `ListDataStreams` must match the call that provided the page token.
|
1639
1662
|
# @param [String] fields
|
1640
1663
|
# Selector specifying which fields to include in a partial response.
|
1641
1664
|
# @param [String] quota_user
|
@@ -1645,18 +1668,18 @@ module Google
|
|
1645
1668
|
# Request-specific options
|
1646
1669
|
#
|
1647
1670
|
# @yield [result, err] Result & error if block supplied
|
1648
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1671
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse] parsed result object
|
1649
1672
|
# @yieldparam err [StandardError] error object if request failed
|
1650
1673
|
#
|
1651
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1674
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse]
|
1652
1675
|
#
|
1653
1676
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1654
1677
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1655
1678
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1656
|
-
def
|
1657
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/
|
1658
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1659
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1679
|
+
def list_property_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1680
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/dataStreams', options)
|
1681
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse::Representation
|
1682
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse
|
1660
1683
|
command.params['parent'] = parent unless parent.nil?
|
1661
1684
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1662
1685
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1665,11 +1688,12 @@ module Google
|
|
1665
1688
|
execute_or_queue_command(command, &block)
|
1666
1689
|
end
|
1667
1690
|
|
1668
|
-
# Updates a
|
1691
|
+
# Updates a DataStream on a property.
|
1669
1692
|
# @param [String] name
|
1670
|
-
# Output only. Resource name
|
1671
|
-
#
|
1672
|
-
#
|
1693
|
+
# Output only. Resource name of this Data Stream. Format: properties/`
|
1694
|
+
# property_id`/dataStreams/`stream_id` Example: "properties/1000/dataStreams/
|
1695
|
+
# 2000"
|
1696
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] google_analytics_admin_v1alpha_data_stream_object
|
1673
1697
|
# @param [String] update_mask
|
1674
1698
|
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
1675
1699
|
# To replace the entire entity, use one path with the string "*" to match all
|
@@ -1683,20 +1707,20 @@ module Google
|
|
1683
1707
|
# Request-specific options
|
1684
1708
|
#
|
1685
1709
|
# @yield [result, err] Result & error if block supplied
|
1686
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1710
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
|
1687
1711
|
# @yieldparam err [StandardError] error object if request failed
|
1688
1712
|
#
|
1689
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1713
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
|
1690
1714
|
#
|
1691
1715
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1692
1716
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1693
1717
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1694
|
-
def
|
1718
|
+
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)
|
1695
1719
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1696
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1697
|
-
command.request_object =
|
1698
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1699
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1720
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
|
1721
|
+
command.request_object = google_analytics_admin_v1alpha_data_stream_object
|
1722
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
|
1723
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
|
1700
1724
|
command.params['name'] = name unless name.nil?
|
1701
1725
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1702
1726
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1704,11 +1728,11 @@ module Google
|
|
1704
1728
|
execute_or_queue_command(command, &block)
|
1705
1729
|
end
|
1706
1730
|
|
1707
|
-
#
|
1708
|
-
# @param [String]
|
1709
|
-
# Required. The
|
1710
|
-
#
|
1711
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::
|
1731
|
+
# Creates a measurement protocol secret.
|
1732
|
+
# @param [String] parent
|
1733
|
+
# Required. The parent resource where this secret will be created. Format:
|
1734
|
+
# properties/`property`/dataStreams/`dataStream`
|
1735
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1712
1736
|
# @param [String] fields
|
1713
1737
|
# Selector specifying which fields to include in a partial response.
|
1714
1738
|
# @param [String] quota_user
|
@@ -1718,30 +1742,31 @@ module Google
|
|
1718
1742
|
# Request-specific options
|
1719
1743
|
#
|
1720
1744
|
# @yield [result, err] Result & error if block supplied
|
1721
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1745
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1722
1746
|
# @yieldparam err [StandardError] error object if request failed
|
1723
1747
|
#
|
1724
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1748
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1725
1749
|
#
|
1726
1750
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1727
1751
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1728
1752
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1729
|
-
def
|
1730
|
-
command = make_simple_command(:post, 'v1alpha/{+
|
1731
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1732
|
-
command.request_object =
|
1733
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1734
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1735
|
-
command.params['
|
1753
|
+
def create_property_data_stream_measurement_protocol_secret(parent, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1754
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
1755
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1756
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1757
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1758
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1759
|
+
command.params['parent'] = parent unless parent.nil?
|
1736
1760
|
command.query['fields'] = fields unless fields.nil?
|
1737
1761
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1738
1762
|
execute_or_queue_command(command, &block)
|
1739
1763
|
end
|
1740
1764
|
|
1741
|
-
#
|
1742
|
-
# @param [String]
|
1743
|
-
# Required.
|
1744
|
-
#
|
1765
|
+
# Deletes target MeasurementProtocolSecret.
|
1766
|
+
# @param [String] name
|
1767
|
+
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
1768
|
+
# properties/`property`/dataStreams/`dataStream`/measurementProtocolSecrets/`
|
1769
|
+
# measurementProtocolSecret`
|
1745
1770
|
# @param [String] fields
|
1746
1771
|
# Selector specifying which fields to include in a partial response.
|
1747
1772
|
# @param [String] quota_user
|
@@ -1751,30 +1776,29 @@ module Google
|
|
1751
1776
|
# Request-specific options
|
1752
1777
|
#
|
1753
1778
|
# @yield [result, err] Result & error if block supplied
|
1754
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1779
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1755
1780
|
# @yieldparam err [StandardError] error object if request failed
|
1756
1781
|
#
|
1757
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1782
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1758
1783
|
#
|
1759
1784
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1760
1785
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1761
1786
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1762
|
-
def
|
1763
|
-
command = make_simple_command(:
|
1764
|
-
command.
|
1765
|
-
command.
|
1766
|
-
command.
|
1767
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric
|
1768
|
-
command.params['parent'] = parent unless parent.nil?
|
1787
|
+
def delete_property_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1788
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1789
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1790
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1791
|
+
command.params['name'] = name unless name.nil?
|
1769
1792
|
command.query['fields'] = fields unless fields.nil?
|
1770
1793
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1771
1794
|
execute_or_queue_command(command, &block)
|
1772
1795
|
end
|
1773
1796
|
|
1774
|
-
# Lookup for a single
|
1797
|
+
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
1775
1798
|
# @param [String] name
|
1776
|
-
# Required. The name of the
|
1777
|
-
#
|
1799
|
+
# Required. The name of the measurement protocol secret to lookup. Format:
|
1800
|
+
# properties/`property`/dataStreams/`dataStream`/measurementProtocolSecrets/`
|
1801
|
+
# measurementProtocolSecret`
|
1778
1802
|
# @param [String] fields
|
1779
1803
|
# Selector specifying which fields to include in a partial response.
|
1780
1804
|
# @param [String] quota_user
|
@@ -1784,36 +1808,37 @@ module Google
|
|
1784
1808
|
# Request-specific options
|
1785
1809
|
#
|
1786
1810
|
# @yield [result, err] Result & error if block supplied
|
1787
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1811
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1788
1812
|
# @yieldparam err [StandardError] error object if request failed
|
1789
1813
|
#
|
1790
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1814
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1791
1815
|
#
|
1792
1816
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1793
1817
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1794
1818
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1795
|
-
def
|
1819
|
+
def get_property_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1796
1820
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1797
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1798
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1821
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1822
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1799
1823
|
command.params['name'] = name unless name.nil?
|
1800
1824
|
command.query['fields'] = fields unless fields.nil?
|
1801
1825
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1802
1826
|
execute_or_queue_command(command, &block)
|
1803
1827
|
end
|
1804
1828
|
|
1805
|
-
#
|
1829
|
+
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
1806
1830
|
# @param [String] parent
|
1807
|
-
# Required.
|
1831
|
+
# Required. The resource name of the parent stream. Format: properties/`property`
|
1832
|
+
# /dataStreams/`dataStream`/measurementProtocolSecrets
|
1808
1833
|
# @param [Fixnum] page_size
|
1809
|
-
# The maximum number of resources to return. If unspecified, at most
|
1810
|
-
# resources will be returned. The maximum value is
|
1811
|
-
# coerced to the maximum
|
1834
|
+
# The maximum number of resources to return. If unspecified, at most 10
|
1835
|
+
# resources will be returned. The maximum value is 10. Higher values will be
|
1836
|
+
# coerced to the maximum.
|
1812
1837
|
# @param [String] page_token
|
1813
|
-
# A page token, received from a previous `
|
1814
|
-
# to retrieve the subsequent page. When paginating, all other
|
1815
|
-
# provided to `
|
1816
|
-
# token.
|
1838
|
+
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
1839
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
1840
|
+
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
1841
|
+
# that provided the page token.
|
1817
1842
|
# @param [String] fields
|
1818
1843
|
# Selector specifying which fields to include in a partial response.
|
1819
1844
|
# @param [String] quota_user
|
@@ -1823,18 +1848,18 @@ module Google
|
|
1823
1848
|
# Request-specific options
|
1824
1849
|
#
|
1825
1850
|
# @yield [result, err] Result & error if block supplied
|
1826
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1851
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
1827
1852
|
# @yieldparam err [StandardError] error object if request failed
|
1828
1853
|
#
|
1829
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1854
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
1830
1855
|
#
|
1831
1856
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1832
1857
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1833
1858
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1834
|
-
def
|
1835
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/
|
1836
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1837
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1859
|
+
def list_property_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1860
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
1861
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
1862
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
1838
1863
|
command.params['parent'] = parent unless parent.nil?
|
1839
1864
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1840
1865
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1843,15 +1868,14 @@ module Google
|
|
1843
1868
|
execute_or_queue_command(command, &block)
|
1844
1869
|
end
|
1845
1870
|
|
1846
|
-
# Updates a
|
1871
|
+
# Updates a measurement protocol secret.
|
1847
1872
|
# @param [String] name
|
1848
|
-
# Output only. Resource name
|
1849
|
-
# property`/
|
1850
|
-
#
|
1873
|
+
# Output only. Resource name of this secret. This secret may be a child of any
|
1874
|
+
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
1875
|
+
# measurementProtocolSecrets/`measurementProtocolSecret`
|
1876
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1851
1877
|
# @param [String] update_mask
|
1852
|
-
#
|
1853
|
-
# To replace the entire entity, use one path with the string "*" to match all
|
1854
|
-
# fields.
|
1878
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
1855
1879
|
# @param [String] fields
|
1856
1880
|
# Selector specifying which fields to include in a partial response.
|
1857
1881
|
# @param [String] quota_user
|
@@ -1861,20 +1885,20 @@ module Google
|
|
1861
1885
|
# Request-specific options
|
1862
1886
|
#
|
1863
1887
|
# @yield [result, err] Result & error if block supplied
|
1864
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
1888
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1865
1889
|
# @yieldparam err [StandardError] error object if request failed
|
1866
1890
|
#
|
1867
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
1891
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1868
1892
|
#
|
1869
1893
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1870
1894
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1871
1895
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1872
|
-
def
|
1896
|
+
def patch_property_data_stream_measurement_protocol_secret(name, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1873
1897
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1874
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
1875
|
-
command.request_object =
|
1876
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
1877
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
1898
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1899
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1900
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1901
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1878
1902
|
command.params['name'] = name unless name.nil?
|
1879
1903
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1880
1904
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2522,697 +2546,15 @@ module Google
|
|
2522
2546
|
execute_or_queue_command(command, &block)
|
2523
2547
|
end
|
2524
2548
|
|
2525
|
-
#
|
2526
|
-
#
|
2527
|
-
#
|
2528
|
-
#
|
2529
|
-
#
|
2530
|
-
#
|
2531
|
-
# Selector specifying which fields to include in a partial response.
|
2532
|
-
# @param [String] quota_user
|
2533
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2534
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2535
|
-
# @param [Google::Apis::RequestOptions] options
|
2536
|
-
# Request-specific options
|
2537
|
-
#
|
2538
|
-
# @yield [result, err] Result & error if block supplied
|
2539
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
2540
|
-
# @yieldparam err [StandardError] error object if request failed
|
2541
|
-
#
|
2542
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
2543
|
-
#
|
2544
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2545
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2546
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2547
|
-
def delete_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
2548
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2549
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
2550
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
2551
|
-
command.params['name'] = name unless name.nil?
|
2552
|
-
command.query['fields'] = fields unless fields.nil?
|
2553
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2554
|
-
execute_or_queue_command(command, &block)
|
2555
|
-
end
|
2556
|
-
|
2557
|
-
# Lookup for a single IosAppDataStream
|
2558
|
-
# @param [String] name
|
2559
|
-
# Required. The name of the iOS app data stream to lookup. Format: properties/`
|
2560
|
-
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
|
2561
|
-
# iosAppDataStreams/456"
|
2562
|
-
# @param [String] fields
|
2563
|
-
# Selector specifying which fields to include in a partial response.
|
2564
|
-
# @param [String] quota_user
|
2565
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2566
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2567
|
-
# @param [Google::Apis::RequestOptions] options
|
2568
|
-
# Request-specific options
|
2569
|
-
#
|
2570
|
-
# @yield [result, err] Result & error if block supplied
|
2571
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
|
2572
|
-
# @yieldparam err [StandardError] error object if request failed
|
2573
|
-
#
|
2574
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
2575
|
-
#
|
2576
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2577
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2578
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2579
|
-
def get_property_ios_app_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
|
2580
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2581
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
2582
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
|
2583
|
-
command.params['name'] = name unless name.nil?
|
2584
|
-
command.query['fields'] = fields unless fields.nil?
|
2585
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2586
|
-
execute_or_queue_command(command, &block)
|
2587
|
-
end
|
2588
|
-
|
2589
|
-
# Returns child iOS app data streams under the specified parent property. iOS
|
2590
|
-
# app data streams will be excluded if the caller does not have access. Returns
|
2591
|
-
# an empty list if no relevant iOS app data streams are found.
|
2592
|
-
# @param [String] parent
|
2593
|
-
# Required. The name of the parent property. For example, to list results of app
|
2594
|
-
# streams under the property with Id 123: "properties/123"
|
2595
|
-
# @param [Fixnum] page_size
|
2596
|
-
# The maximum number of resources to return. If unspecified, at most 50
|
2597
|
-
# resources will be returned. The maximum value is 200; (higher values will be
|
2598
|
-
# coerced to the maximum)
|
2599
|
-
# @param [String] page_token
|
2600
|
-
# A page token, received from a previous `ListIosAppDataStreams` call. Provide
|
2601
|
-
# this to retrieve the subsequent page. When paginating, all other parameters
|
2602
|
-
# provided to `ListIosAppDataStreams` must match the call that provided the page
|
2603
|
-
# token.
|
2604
|
-
# @param [String] fields
|
2605
|
-
# Selector specifying which fields to include in a partial response.
|
2606
|
-
# @param [String] quota_user
|
2607
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2608
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2609
|
-
# @param [Google::Apis::RequestOptions] options
|
2610
|
-
# Request-specific options
|
2611
|
-
#
|
2612
|
-
# @yield [result, err] Result & error if block supplied
|
2613
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse] parsed result object
|
2614
|
-
# @yieldparam err [StandardError] error object if request failed
|
2615
|
-
#
|
2616
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse]
|
2617
|
-
#
|
2618
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2619
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2620
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2621
|
-
def list_property_ios_app_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2622
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/iosAppDataStreams', options)
|
2623
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse::Representation
|
2624
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
|
2625
|
-
command.params['parent'] = parent unless parent.nil?
|
2626
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
2627
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
2628
|
-
command.query['fields'] = fields unless fields.nil?
|
2629
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2630
|
-
execute_or_queue_command(command, &block)
|
2631
|
-
end
|
2632
|
-
|
2633
|
-
# Updates an iOS app stream on a property.
|
2634
|
-
# @param [String] name
|
2635
|
-
# Output only. Resource name of this Data Stream. Format: properties/`
|
2636
|
-
# property_id`/iosAppDataStreams/`stream_id` Example: "properties/1000/
|
2637
|
-
# iosAppDataStreams/2000"
|
2638
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] google_analytics_admin_v1alpha_ios_app_data_stream_object
|
2639
|
-
# @param [String] update_mask
|
2640
|
-
# Required. The list of fields to be updated. Field names must be in snake case (
|
2641
|
-
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
2642
|
-
# entire entity, use one path with the string "*" to match all fields.
|
2643
|
-
# @param [String] fields
|
2644
|
-
# Selector specifying which fields to include in a partial response.
|
2645
|
-
# @param [String] quota_user
|
2646
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2647
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2648
|
-
# @param [Google::Apis::RequestOptions] options
|
2649
|
-
# Request-specific options
|
2650
|
-
#
|
2651
|
-
# @yield [result, err] Result & error if block supplied
|
2652
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream] parsed result object
|
2653
|
-
# @yieldparam err [StandardError] error object if request failed
|
2654
|
-
#
|
2655
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
2656
|
-
#
|
2657
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2658
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2659
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2660
|
-
def patch_property_ios_app_data_stream(name, google_analytics_admin_v1alpha_ios_app_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2661
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2662
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
2663
|
-
command.request_object = google_analytics_admin_v1alpha_ios_app_data_stream_object
|
2664
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
2665
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream
|
2666
|
-
command.params['name'] = name unless name.nil?
|
2667
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2668
|
-
command.query['fields'] = fields unless fields.nil?
|
2669
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2670
|
-
execute_or_queue_command(command, &block)
|
2671
|
-
end
|
2672
|
-
|
2673
|
-
# Creates a measurement protocol secret.
|
2674
|
-
# @param [String] parent
|
2675
|
-
# Required. The parent resource where this secret will be created. Any type of
|
2676
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2677
|
-
# Format: properties/`property`/webDataStreams/`webDataStream`
|
2678
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2679
|
-
# @param [String] fields
|
2680
|
-
# Selector specifying which fields to include in a partial response.
|
2681
|
-
# @param [String] quota_user
|
2682
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2683
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2684
|
-
# @param [Google::Apis::RequestOptions] options
|
2685
|
-
# Request-specific options
|
2686
|
-
#
|
2687
|
-
# @yield [result, err] Result & error if block supplied
|
2688
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2689
|
-
# @yieldparam err [StandardError] error object if request failed
|
2690
|
-
#
|
2691
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2692
|
-
#
|
2693
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2694
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2695
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2696
|
-
def create_property_ios_app_data_stream_measurement_protocol_secret(parent, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2697
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
2698
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2699
|
-
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2700
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2701
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2702
|
-
command.params['parent'] = parent unless parent.nil?
|
2703
|
-
command.query['fields'] = fields unless fields.nil?
|
2704
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2705
|
-
execute_or_queue_command(command, &block)
|
2706
|
-
end
|
2707
|
-
|
2708
|
-
# Deletes target MeasurementProtocolSecret.
|
2709
|
-
# @param [String] name
|
2710
|
-
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
2711
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
2712
|
-
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
2713
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2714
|
-
# @param [String] fields
|
2715
|
-
# Selector specifying which fields to include in a partial response.
|
2716
|
-
# @param [String] quota_user
|
2717
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2718
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2719
|
-
# @param [Google::Apis::RequestOptions] options
|
2720
|
-
# Request-specific options
|
2721
|
-
#
|
2722
|
-
# @yield [result, err] Result & error if block supplied
|
2723
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
2724
|
-
# @yieldparam err [StandardError] error object if request failed
|
2725
|
-
#
|
2726
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
2727
|
-
#
|
2728
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2729
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2730
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2731
|
-
def delete_property_ios_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
2732
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2733
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
2734
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
2735
|
-
command.params['name'] = name unless name.nil?
|
2736
|
-
command.query['fields'] = fields unless fields.nil?
|
2737
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2738
|
-
execute_or_queue_command(command, &block)
|
2739
|
-
end
|
2740
|
-
|
2741
|
-
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
2742
|
-
# @param [String] name
|
2743
|
-
# Required. The name of the measurement protocol secret to lookup. Format:
|
2744
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
2745
|
-
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
2746
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2747
|
-
# @param [String] fields
|
2748
|
-
# Selector specifying which fields to include in a partial response.
|
2749
|
-
# @param [String] quota_user
|
2750
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2751
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2752
|
-
# @param [Google::Apis::RequestOptions] options
|
2753
|
-
# Request-specific options
|
2754
|
-
#
|
2755
|
-
# @yield [result, err] Result & error if block supplied
|
2756
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2757
|
-
# @yieldparam err [StandardError] error object if request failed
|
2758
|
-
#
|
2759
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2760
|
-
#
|
2761
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2762
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2763
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2764
|
-
def get_property_ios_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
2765
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2766
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2767
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2768
|
-
command.params['name'] = name unless name.nil?
|
2769
|
-
command.query['fields'] = fields unless fields.nil?
|
2770
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2771
|
-
execute_or_queue_command(command, &block)
|
2772
|
-
end
|
2773
|
-
|
2774
|
-
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
2775
|
-
# @param [String] parent
|
2776
|
-
# Required. The resource name of the parent stream. Any type of stream (
|
2777
|
-
# WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
|
2778
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
2779
|
-
# measurementProtocolSecrets
|
2780
|
-
# @param [Fixnum] page_size
|
2781
|
-
# The maximum number of resources to return. If unspecified, at most 10
|
2782
|
-
# resources will be returned. The maximum value is 10. Higher values will be
|
2783
|
-
# coerced to the maximum.
|
2784
|
-
# @param [String] page_token
|
2785
|
-
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
2786
|
-
# Provide this to retrieve the subsequent page. When paginating, all other
|
2787
|
-
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
2788
|
-
# that provided the page token.
|
2789
|
-
# @param [String] fields
|
2790
|
-
# Selector specifying which fields to include in a partial response.
|
2791
|
-
# @param [String] quota_user
|
2792
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2793
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2794
|
-
# @param [Google::Apis::RequestOptions] options
|
2795
|
-
# Request-specific options
|
2796
|
-
#
|
2797
|
-
# @yield [result, err] Result & error if block supplied
|
2798
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
2799
|
-
# @yieldparam err [StandardError] error object if request failed
|
2800
|
-
#
|
2801
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
2802
|
-
#
|
2803
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2804
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2805
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2806
|
-
def list_property_ios_app_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2807
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
2808
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
2809
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
2810
|
-
command.params['parent'] = parent unless parent.nil?
|
2811
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
2812
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
2813
|
-
command.query['fields'] = fields unless fields.nil?
|
2814
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2815
|
-
execute_or_queue_command(command, &block)
|
2816
|
-
end
|
2817
|
-
|
2818
|
-
# Updates a measurement protocol secret.
|
2819
|
-
# @param [String] name
|
2820
|
-
# Output only. Resource name of this secret. This secret may be a child of any
|
2821
|
-
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
2822
|
-
# measurementProtocolSecrets/`measurementProtocolSecret`
|
2823
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2824
|
-
# @param [String] update_mask
|
2825
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
2826
|
-
# @param [String] fields
|
2827
|
-
# Selector specifying which fields to include in a partial response.
|
2828
|
-
# @param [String] quota_user
|
2829
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2830
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2831
|
-
# @param [Google::Apis::RequestOptions] options
|
2832
|
-
# Request-specific options
|
2833
|
-
#
|
2834
|
-
# @yield [result, err] Result & error if block supplied
|
2835
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2836
|
-
# @yieldparam err [StandardError] error object if request failed
|
2837
|
-
#
|
2838
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2839
|
-
#
|
2840
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2841
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2842
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2843
|
-
def patch_property_ios_app_data_stream_measurement_protocol_secret(name, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2844
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2845
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2846
|
-
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2847
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2848
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2849
|
-
command.params['name'] = name unless name.nil?
|
2850
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2851
|
-
command.query['fields'] = fields unless fields.nil?
|
2852
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2853
|
-
execute_or_queue_command(command, &block)
|
2854
|
-
end
|
2855
|
-
|
2856
|
-
# Lists all user links on an account or property, including implicit ones that
|
2857
|
-
# come from effective permissions granted by groups or organization admin roles.
|
2858
|
-
# If a returned user link does not have direct permissions, they cannot be
|
2859
|
-
# removed from the account or property directly with the DeleteUserLink command.
|
2860
|
-
# They have to be removed from the group/etc that gives them permissions, which
|
2861
|
-
# is currently only usable/discoverable in the GA or GMP UIs.
|
2862
|
-
# @param [String] parent
|
2863
|
-
# Required. Example format: accounts/1234
|
2864
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest] google_analytics_admin_v1alpha_audit_user_links_request_object
|
2865
|
-
# @param [String] fields
|
2866
|
-
# Selector specifying which fields to include in a partial response.
|
2867
|
-
# @param [String] quota_user
|
2868
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2869
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2870
|
-
# @param [Google::Apis::RequestOptions] options
|
2871
|
-
# Request-specific options
|
2872
|
-
#
|
2873
|
-
# @yield [result, err] Result & error if block supplied
|
2874
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse] parsed result object
|
2875
|
-
# @yieldparam err [StandardError] error object if request failed
|
2876
|
-
#
|
2877
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse]
|
2878
|
-
#
|
2879
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2880
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2881
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2882
|
-
def audit_property_user_link(parent, google_analytics_admin_v1alpha_audit_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2883
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:audit', options)
|
2884
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest::Representation
|
2885
|
-
command.request_object = google_analytics_admin_v1alpha_audit_user_links_request_object
|
2886
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse::Representation
|
2887
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
|
2888
|
-
command.params['parent'] = parent unless parent.nil?
|
2889
|
-
command.query['fields'] = fields unless fields.nil?
|
2890
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2891
|
-
execute_or_queue_command(command, &block)
|
2892
|
-
end
|
2893
|
-
|
2894
|
-
# Creates information about multiple users' links to an account or property.
|
2895
|
-
# This method is transactional. If any UserLink cannot be created, none of the
|
2896
|
-
# UserLinks will be created.
|
2897
|
-
# @param [String] parent
|
2898
|
-
# Required. The account or property that all user links in the request are for.
|
2899
|
-
# This field is required. The parent field in the CreateUserLinkRequest messages
|
2900
|
-
# must either be empty or match this field. Example format: accounts/1234
|
2901
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest] google_analytics_admin_v1alpha_batch_create_user_links_request_object
|
2902
|
-
# @param [String] fields
|
2903
|
-
# Selector specifying which fields to include in a partial response.
|
2904
|
-
# @param [String] quota_user
|
2905
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2906
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2907
|
-
# @param [Google::Apis::RequestOptions] options
|
2908
|
-
# Request-specific options
|
2909
|
-
#
|
2910
|
-
# @yield [result, err] Result & error if block supplied
|
2911
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse] parsed result object
|
2912
|
-
# @yieldparam err [StandardError] error object if request failed
|
2913
|
-
#
|
2914
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse]
|
2915
|
-
#
|
2916
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2917
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2918
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2919
|
-
def batch_property_user_link_create(parent, google_analytics_admin_v1alpha_batch_create_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2920
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchCreate', options)
|
2921
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest::Representation
|
2922
|
-
command.request_object = google_analytics_admin_v1alpha_batch_create_user_links_request_object
|
2923
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse::Representation
|
2924
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
|
2925
|
-
command.params['parent'] = parent unless parent.nil?
|
2926
|
-
command.query['fields'] = fields unless fields.nil?
|
2927
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2928
|
-
execute_or_queue_command(command, &block)
|
2929
|
-
end
|
2930
|
-
|
2931
|
-
# Deletes information about multiple users' links to an account or property.
|
2932
|
-
# @param [String] parent
|
2933
|
-
# Required. The account or property that all user links in the request are for.
|
2934
|
-
# The parent of all values for user link names to delete must match this field.
|
2935
|
-
# Example format: accounts/1234
|
2936
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest] google_analytics_admin_v1alpha_batch_delete_user_links_request_object
|
2937
|
-
# @param [String] fields
|
2938
|
-
# Selector specifying which fields to include in a partial response.
|
2939
|
-
# @param [String] quota_user
|
2940
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2941
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2942
|
-
# @param [Google::Apis::RequestOptions] options
|
2943
|
-
# Request-specific options
|
2944
|
-
#
|
2945
|
-
# @yield [result, err] Result & error if block supplied
|
2946
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
2947
|
-
# @yieldparam err [StandardError] error object if request failed
|
2948
|
-
#
|
2949
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
2950
|
-
#
|
2951
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2952
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2953
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2954
|
-
def batch_property_user_link_delete(parent, google_analytics_admin_v1alpha_batch_delete_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2955
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchDelete', options)
|
2956
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest::Representation
|
2957
|
-
command.request_object = google_analytics_admin_v1alpha_batch_delete_user_links_request_object
|
2958
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
2959
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
2960
|
-
command.params['parent'] = parent unless parent.nil?
|
2961
|
-
command.query['fields'] = fields unless fields.nil?
|
2962
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2963
|
-
execute_or_queue_command(command, &block)
|
2964
|
-
end
|
2965
|
-
|
2966
|
-
# Gets information about multiple users' links to an account or property.
|
2967
|
-
# @param [String] parent
|
2968
|
-
# Required. The account or property that all user links in the request are for.
|
2969
|
-
# The parent of all provided values for the 'names' field must match this field.
|
2970
|
-
# Example format: accounts/1234
|
2971
|
-
# @param [Array<String>, String] names
|
2972
|
-
# Required. The names of the user links to retrieve. A maximum of 1000 user
|
2973
|
-
# links can be retrieved in a batch. Format: accounts/`accountId`/userLinks/`
|
2974
|
-
# userLinkId`
|
2975
|
-
# @param [String] fields
|
2976
|
-
# Selector specifying which fields to include in a partial response.
|
2977
|
-
# @param [String] quota_user
|
2978
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2979
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2980
|
-
# @param [Google::Apis::RequestOptions] options
|
2981
|
-
# Request-specific options
|
2982
|
-
#
|
2983
|
-
# @yield [result, err] Result & error if block supplied
|
2984
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse] parsed result object
|
2985
|
-
# @yieldparam err [StandardError] error object if request failed
|
2986
|
-
#
|
2987
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse]
|
2988
|
-
#
|
2989
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2990
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2991
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2992
|
-
def batch_property_user_link_get(parent, names: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2993
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/userLinks:batchGet', options)
|
2994
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse::Representation
|
2995
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
|
2996
|
-
command.params['parent'] = parent unless parent.nil?
|
2997
|
-
command.query['names'] = names unless names.nil?
|
2998
|
-
command.query['fields'] = fields unless fields.nil?
|
2999
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3000
|
-
execute_or_queue_command(command, &block)
|
3001
|
-
end
|
3002
|
-
|
3003
|
-
# Updates information about multiple users' links to an account or property.
|
3004
|
-
# @param [String] parent
|
3005
|
-
# Required. The account or property that all user links in the request are for.
|
3006
|
-
# The parent field in the UpdateUserLinkRequest messages must either be empty or
|
3007
|
-
# match this field. Example format: accounts/1234
|
3008
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest] google_analytics_admin_v1alpha_batch_update_user_links_request_object
|
3009
|
-
# @param [String] fields
|
3010
|
-
# Selector specifying which fields to include in a partial response.
|
3011
|
-
# @param [String] quota_user
|
3012
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3013
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3014
|
-
# @param [Google::Apis::RequestOptions] options
|
3015
|
-
# Request-specific options
|
3016
|
-
#
|
3017
|
-
# @yield [result, err] Result & error if block supplied
|
3018
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse] parsed result object
|
3019
|
-
# @yieldparam err [StandardError] error object if request failed
|
3020
|
-
#
|
3021
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse]
|
3022
|
-
#
|
3023
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3024
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3025
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3026
|
-
def batch_property_user_link_update(parent, google_analytics_admin_v1alpha_batch_update_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3027
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchUpdate', options)
|
3028
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest::Representation
|
3029
|
-
command.request_object = google_analytics_admin_v1alpha_batch_update_user_links_request_object
|
3030
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse::Representation
|
3031
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse
|
3032
|
-
command.params['parent'] = parent unless parent.nil?
|
3033
|
-
command.query['fields'] = fields unless fields.nil?
|
3034
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3035
|
-
execute_or_queue_command(command, &block)
|
3036
|
-
end
|
3037
|
-
|
3038
|
-
# Creates a user link on an account or property. If the user with the specified
|
3039
|
-
# email already has permissions on the account or property, then the user's
|
3040
|
-
# existing permissions will be unioned with the permissions specified in the new
|
3041
|
-
# UserLink.
|
3042
|
-
# @param [String] parent
|
3043
|
-
# Required. Example format: accounts/1234
|
3044
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
|
3045
|
-
# @param [Boolean] notify_new_user
|
3046
|
-
# Optional. If set, then email the new user notifying them that they've been
|
3047
|
-
# granted permissions to the resource.
|
3048
|
-
# @param [String] fields
|
3049
|
-
# Selector specifying which fields to include in a partial response.
|
3050
|
-
# @param [String] quota_user
|
3051
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3052
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3053
|
-
# @param [Google::Apis::RequestOptions] options
|
3054
|
-
# Request-specific options
|
3055
|
-
#
|
3056
|
-
# @yield [result, err] Result & error if block supplied
|
3057
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
|
3058
|
-
# @yieldparam err [StandardError] error object if request failed
|
3059
|
-
#
|
3060
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
|
3061
|
-
#
|
3062
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3063
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3064
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3065
|
-
def create_property_user_link(parent, google_analytics_admin_v1alpha_user_link_object = nil, notify_new_user: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3066
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks', options)
|
3067
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
3068
|
-
command.request_object = google_analytics_admin_v1alpha_user_link_object
|
3069
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
3070
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
|
3071
|
-
command.params['parent'] = parent unless parent.nil?
|
3072
|
-
command.query['notifyNewUser'] = notify_new_user unless notify_new_user.nil?
|
3073
|
-
command.query['fields'] = fields unless fields.nil?
|
3074
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3075
|
-
execute_or_queue_command(command, &block)
|
3076
|
-
end
|
3077
|
-
|
3078
|
-
# Deletes a user link on an account or property.
|
3079
|
-
# @param [String] name
|
3080
|
-
# Required. Example format: accounts/1234/userLinks/5678
|
3081
|
-
# @param [String] fields
|
3082
|
-
# Selector specifying which fields to include in a partial response.
|
3083
|
-
# @param [String] quota_user
|
3084
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3085
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3086
|
-
# @param [Google::Apis::RequestOptions] options
|
3087
|
-
# Request-specific options
|
3088
|
-
#
|
3089
|
-
# @yield [result, err] Result & error if block supplied
|
3090
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
3091
|
-
# @yieldparam err [StandardError] error object if request failed
|
3092
|
-
#
|
3093
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
3094
|
-
#
|
3095
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3096
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3097
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3098
|
-
def delete_property_user_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
3099
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
3100
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
3101
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
3102
|
-
command.params['name'] = name unless name.nil?
|
3103
|
-
command.query['fields'] = fields unless fields.nil?
|
3104
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3105
|
-
execute_or_queue_command(command, &block)
|
3106
|
-
end
|
3107
|
-
|
3108
|
-
# Gets information about a user's link to an account or property.
|
3109
|
-
# @param [String] name
|
3110
|
-
# Required. Example format: accounts/1234/userLinks/5678
|
3111
|
-
# @param [String] fields
|
3112
|
-
# Selector specifying which fields to include in a partial response.
|
3113
|
-
# @param [String] quota_user
|
3114
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3115
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3116
|
-
# @param [Google::Apis::RequestOptions] options
|
3117
|
-
# Request-specific options
|
3118
|
-
#
|
3119
|
-
# @yield [result, err] Result & error if block supplied
|
3120
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
|
3121
|
-
# @yieldparam err [StandardError] error object if request failed
|
3122
|
-
#
|
3123
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
|
3124
|
-
#
|
3125
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3126
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3127
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3128
|
-
def get_property_user_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
3129
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
3130
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
3131
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
|
3132
|
-
command.params['name'] = name unless name.nil?
|
3133
|
-
command.query['fields'] = fields unless fields.nil?
|
3134
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3135
|
-
execute_or_queue_command(command, &block)
|
3136
|
-
end
|
3137
|
-
|
3138
|
-
# Lists all user links on an account or property.
|
2549
|
+
# Lists all user links on an account or property, including implicit ones that
|
2550
|
+
# come from effective permissions granted by groups or organization admin roles.
|
2551
|
+
# If a returned user link does not have direct permissions, they cannot be
|
2552
|
+
# removed from the account or property directly with the DeleteUserLink command.
|
2553
|
+
# They have to be removed from the group/etc that gives them permissions, which
|
2554
|
+
# is currently only usable/discoverable in the GA or GMP UIs.
|
3139
2555
|
# @param [String] parent
|
3140
2556
|
# Required. Example format: accounts/1234
|
3141
|
-
# @param [
|
3142
|
-
# The maximum number of user links to return. The service may return fewer than
|
3143
|
-
# this value. If unspecified, at most 200 user links will be returned. The
|
3144
|
-
# maximum value is 500; values above 500 will be coerced to 500.
|
3145
|
-
# @param [String] page_token
|
3146
|
-
# A page token, received from a previous `ListUserLinks` call. Provide this to
|
3147
|
-
# retrieve the subsequent page. When paginating, all other parameters provided
|
3148
|
-
# to `ListUserLinks` must match the call that provided the page token.
|
3149
|
-
# @param [String] fields
|
3150
|
-
# Selector specifying which fields to include in a partial response.
|
3151
|
-
# @param [String] quota_user
|
3152
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3153
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3154
|
-
# @param [Google::Apis::RequestOptions] options
|
3155
|
-
# Request-specific options
|
3156
|
-
#
|
3157
|
-
# @yield [result, err] Result & error if block supplied
|
3158
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse] parsed result object
|
3159
|
-
# @yieldparam err [StandardError] error object if request failed
|
3160
|
-
#
|
3161
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse]
|
3162
|
-
#
|
3163
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3164
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3165
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3166
|
-
def list_property_user_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3167
|
-
command = make_simple_command(:get, 'v1alpha/{+parent}/userLinks', options)
|
3168
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse::Representation
|
3169
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse
|
3170
|
-
command.params['parent'] = parent unless parent.nil?
|
3171
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
3172
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
3173
|
-
command.query['fields'] = fields unless fields.nil?
|
3174
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3175
|
-
execute_or_queue_command(command, &block)
|
3176
|
-
end
|
3177
|
-
|
3178
|
-
# Updates a user link on an account or property.
|
3179
|
-
# @param [String] name
|
3180
|
-
# Output only. Example format: properties/1234/userLinks/5678
|
3181
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
|
3182
|
-
# @param [String] fields
|
3183
|
-
# Selector specifying which fields to include in a partial response.
|
3184
|
-
# @param [String] quota_user
|
3185
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3186
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3187
|
-
# @param [Google::Apis::RequestOptions] options
|
3188
|
-
# Request-specific options
|
3189
|
-
#
|
3190
|
-
# @yield [result, err] Result & error if block supplied
|
3191
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
|
3192
|
-
# @yieldparam err [StandardError] error object if request failed
|
3193
|
-
#
|
3194
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
|
3195
|
-
#
|
3196
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3197
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3198
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3199
|
-
def patch_property_user_link(name, google_analytics_admin_v1alpha_user_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3200
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
3201
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
3202
|
-
command.request_object = google_analytics_admin_v1alpha_user_link_object
|
3203
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
3204
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
|
3205
|
-
command.params['name'] = name unless name.nil?
|
3206
|
-
command.query['fields'] = fields unless fields.nil?
|
3207
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3208
|
-
execute_or_queue_command(command, &block)
|
3209
|
-
end
|
3210
|
-
|
3211
|
-
# Creates a web stream with the specified location and attributes.
|
3212
|
-
# @param [String] parent
|
3213
|
-
# Required. The parent resource where this web data stream will be created.
|
3214
|
-
# Format: properties/123
|
3215
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream] google_analytics_admin_v1alpha_web_data_stream_object
|
2557
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest] google_analytics_admin_v1alpha_audit_user_links_request_object
|
3216
2558
|
# @param [String] fields
|
3217
2559
|
# Selector specifying which fields to include in a partial response.
|
3218
2560
|
# @param [String] quota_user
|
@@ -3222,31 +2564,34 @@ module Google
|
|
3222
2564
|
# Request-specific options
|
3223
2565
|
#
|
3224
2566
|
# @yield [result, err] Result & error if block supplied
|
3225
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2567
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse] parsed result object
|
3226
2568
|
# @yieldparam err [StandardError] error object if request failed
|
3227
2569
|
#
|
3228
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2570
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse]
|
3229
2571
|
#
|
3230
2572
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3231
2573
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3232
2574
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3233
|
-
def
|
3234
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/
|
3235
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
3236
|
-
command.request_object =
|
3237
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
3238
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
2575
|
+
def audit_property_user_link(parent, google_analytics_admin_v1alpha_audit_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2576
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:audit', options)
|
2577
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest::Representation
|
2578
|
+
command.request_object = google_analytics_admin_v1alpha_audit_user_links_request_object
|
2579
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse::Representation
|
2580
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
|
3239
2581
|
command.params['parent'] = parent unless parent.nil?
|
3240
2582
|
command.query['fields'] = fields unless fields.nil?
|
3241
2583
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3242
2584
|
execute_or_queue_command(command, &block)
|
3243
2585
|
end
|
3244
2586
|
|
3245
|
-
#
|
3246
|
-
#
|
3247
|
-
#
|
3248
|
-
#
|
3249
|
-
#
|
2587
|
+
# Creates information about multiple users' links to an account or property.
|
2588
|
+
# This method is transactional. If any UserLink cannot be created, none of the
|
2589
|
+
# UserLinks will be created.
|
2590
|
+
# @param [String] parent
|
2591
|
+
# Required. The account or property that all user links in the request are for.
|
2592
|
+
# This field is required. The parent field in the CreateUserLinkRequest messages
|
2593
|
+
# must either be empty or match this field. Example format: accounts/1234
|
2594
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest] google_analytics_admin_v1alpha_batch_create_user_links_request_object
|
3250
2595
|
# @param [String] fields
|
3251
2596
|
# Selector specifying which fields to include in a partial response.
|
3252
2597
|
# @param [String] quota_user
|
@@ -3256,29 +2601,32 @@ module Google
|
|
3256
2601
|
# Request-specific options
|
3257
2602
|
#
|
3258
2603
|
# @yield [result, err] Result & error if block supplied
|
3259
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2604
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse] parsed result object
|
3260
2605
|
# @yieldparam err [StandardError] error object if request failed
|
3261
2606
|
#
|
3262
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2607
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse]
|
3263
2608
|
#
|
3264
2609
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3265
2610
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3266
2611
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3267
|
-
def
|
3268
|
-
command = make_simple_command(:
|
3269
|
-
command.
|
3270
|
-
command.
|
3271
|
-
command.
|
2612
|
+
def batch_property_user_link_create(parent, google_analytics_admin_v1alpha_batch_create_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2613
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchCreate', options)
|
2614
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest::Representation
|
2615
|
+
command.request_object = google_analytics_admin_v1alpha_batch_create_user_links_request_object
|
2616
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse::Representation
|
2617
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
|
2618
|
+
command.params['parent'] = parent unless parent.nil?
|
3272
2619
|
command.query['fields'] = fields unless fields.nil?
|
3273
2620
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3274
2621
|
execute_or_queue_command(command, &block)
|
3275
2622
|
end
|
3276
2623
|
|
3277
|
-
#
|
3278
|
-
# @param [String]
|
3279
|
-
# Required. The
|
3280
|
-
#
|
3281
|
-
#
|
2624
|
+
# Deletes information about multiple users' links to an account or property.
|
2625
|
+
# @param [String] parent
|
2626
|
+
# Required. The account or property that all user links in the request are for.
|
2627
|
+
# The parent of all values for user link names to delete must match this field.
|
2628
|
+
# Example format: accounts/1234
|
2629
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest] google_analytics_admin_v1alpha_batch_delete_user_links_request_object
|
3282
2630
|
# @param [String] fields
|
3283
2631
|
# Selector specifying which fields to include in a partial response.
|
3284
2632
|
# @param [String] quota_user
|
@@ -3288,31 +2636,35 @@ module Google
|
|
3288
2636
|
# Request-specific options
|
3289
2637
|
#
|
3290
2638
|
# @yield [result, err] Result & error if block supplied
|
3291
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2639
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
3292
2640
|
# @yieldparam err [StandardError] error object if request failed
|
3293
2641
|
#
|
3294
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2642
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
3295
2643
|
#
|
3296
2644
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3297
2645
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3298
2646
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3299
|
-
def
|
3300
|
-
command = make_simple_command(:
|
3301
|
-
command.
|
3302
|
-
command.
|
3303
|
-
command.
|
2647
|
+
def batch_property_user_link_delete(parent, google_analytics_admin_v1alpha_batch_delete_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2648
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchDelete', options)
|
2649
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest::Representation
|
2650
|
+
command.request_object = google_analytics_admin_v1alpha_batch_delete_user_links_request_object
|
2651
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
2652
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
2653
|
+
command.params['parent'] = parent unless parent.nil?
|
3304
2654
|
command.query['fields'] = fields unless fields.nil?
|
3305
2655
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3306
2656
|
execute_or_queue_command(command, &block)
|
3307
2657
|
end
|
3308
2658
|
|
3309
|
-
#
|
3310
|
-
#
|
3311
|
-
#
|
3312
|
-
#
|
3313
|
-
#
|
3314
|
-
#
|
3315
|
-
#
|
2659
|
+
# Gets information about multiple users' links to an account or property.
|
2660
|
+
# @param [String] parent
|
2661
|
+
# Required. The account or property that all user links in the request are for.
|
2662
|
+
# The parent of all provided values for the 'names' field must match this field.
|
2663
|
+
# Example format: accounts/1234
|
2664
|
+
# @param [Array<String>, String] names
|
2665
|
+
# Required. The names of the user links to retrieve. A maximum of 1000 user
|
2666
|
+
# links can be retrieved in a batch. Format: accounts/`accountId`/userLinks/`
|
2667
|
+
# userLinkId`
|
3316
2668
|
# @param [String] fields
|
3317
2669
|
# Selector specifying which fields to include in a partial response.
|
3318
2670
|
# @param [String] quota_user
|
@@ -3322,39 +2674,31 @@ module Google
|
|
3322
2674
|
# Request-specific options
|
3323
2675
|
#
|
3324
2676
|
# @yield [result, err] Result & error if block supplied
|
3325
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2677
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse] parsed result object
|
3326
2678
|
# @yieldparam err [StandardError] error object if request failed
|
3327
2679
|
#
|
3328
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2680
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse]
|
3329
2681
|
#
|
3330
2682
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3331
2683
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3332
2684
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3333
|
-
def
|
3334
|
-
command = make_simple_command(:get, 'v1alpha/{+
|
3335
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
3336
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
3337
|
-
command.params['
|
2685
|
+
def batch_property_user_link_get(parent, names: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2686
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/userLinks:batchGet', options)
|
2687
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse::Representation
|
2688
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
|
2689
|
+
command.params['parent'] = parent unless parent.nil?
|
2690
|
+
command.query['names'] = names unless names.nil?
|
3338
2691
|
command.query['fields'] = fields unless fields.nil?
|
3339
2692
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3340
2693
|
execute_or_queue_command(command, &block)
|
3341
2694
|
end
|
3342
2695
|
|
3343
|
-
#
|
3344
|
-
# streams will be excluded if the caller does not have access. Returns an empty
|
3345
|
-
# list if no relevant web data streams are found.
|
2696
|
+
# Updates information about multiple users' links to an account or property.
|
3346
2697
|
# @param [String] parent
|
3347
|
-
# Required. The
|
3348
|
-
#
|
3349
|
-
#
|
3350
|
-
#
|
3351
|
-
# resources will be returned. The maximum value is 200; (higher values will be
|
3352
|
-
# coerced to the maximum)
|
3353
|
-
# @param [String] page_token
|
3354
|
-
# A page token, received from a previous `ListWebDataStreams` call. Provide this
|
3355
|
-
# to retrieve the subsequent page. When paginating, all other parameters
|
3356
|
-
# provided to `ListWebDataStreams` must match the call that provided the page
|
3357
|
-
# token.
|
2698
|
+
# Required. The account or property that all user links in the request are for.
|
2699
|
+
# The parent field in the UpdateUserLinkRequest messages must either be empty or
|
2700
|
+
# match this field. Example format: accounts/1234
|
2701
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest] google_analytics_admin_v1alpha_batch_update_user_links_request_object
|
3358
2702
|
# @param [String] fields
|
3359
2703
|
# Selector specifying which fields to include in a partial response.
|
3360
2704
|
# @param [String] quota_user
|
@@ -3364,36 +2708,36 @@ module Google
|
|
3364
2708
|
# Request-specific options
|
3365
2709
|
#
|
3366
2710
|
# @yield [result, err] Result & error if block supplied
|
3367
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2711
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse] parsed result object
|
3368
2712
|
# @yieldparam err [StandardError] error object if request failed
|
3369
2713
|
#
|
3370
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2714
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse]
|
3371
2715
|
#
|
3372
2716
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3373
2717
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3374
2718
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3375
|
-
def
|
3376
|
-
command = make_simple_command(:
|
3377
|
-
command.
|
3378
|
-
command.
|
2719
|
+
def batch_property_user_link_update(parent, google_analytics_admin_v1alpha_batch_update_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2720
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchUpdate', options)
|
2721
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest::Representation
|
2722
|
+
command.request_object = google_analytics_admin_v1alpha_batch_update_user_links_request_object
|
2723
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse::Representation
|
2724
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse
|
3379
2725
|
command.params['parent'] = parent unless parent.nil?
|
3380
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
3381
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
3382
2726
|
command.query['fields'] = fields unless fields.nil?
|
3383
2727
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3384
2728
|
execute_or_queue_command(command, &block)
|
3385
2729
|
end
|
3386
2730
|
|
3387
|
-
#
|
3388
|
-
#
|
3389
|
-
#
|
3390
|
-
#
|
3391
|
-
#
|
3392
|
-
#
|
3393
|
-
# @param [
|
3394
|
-
#
|
3395
|
-
#
|
3396
|
-
#
|
2731
|
+
# Creates a user link on an account or property. If the user with the specified
|
2732
|
+
# email already has permissions on the account or property, then the user's
|
2733
|
+
# existing permissions will be unioned with the permissions specified in the new
|
2734
|
+
# UserLink.
|
2735
|
+
# @param [String] parent
|
2736
|
+
# Required. Example format: accounts/1234
|
2737
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
|
2738
|
+
# @param [Boolean] notify_new_user
|
2739
|
+
# Optional. If set, then email the new user notifying them that they've been
|
2740
|
+
# granted permissions to the resource.
|
3397
2741
|
# @param [String] fields
|
3398
2742
|
# Selector specifying which fields to include in a partial response.
|
3399
2743
|
# @param [String] quota_user
|
@@ -3403,33 +2747,30 @@ module Google
|
|
3403
2747
|
# Request-specific options
|
3404
2748
|
#
|
3405
2749
|
# @yield [result, err] Result & error if block supplied
|
3406
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2750
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
|
3407
2751
|
# @yieldparam err [StandardError] error object if request failed
|
3408
2752
|
#
|
3409
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2753
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
|
3410
2754
|
#
|
3411
2755
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3412
2756
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3413
2757
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3414
|
-
def
|
3415
|
-
command = make_simple_command(:
|
3416
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::
|
3417
|
-
command.request_object =
|
3418
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
3419
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
3420
|
-
command.params['
|
3421
|
-
command.query['
|
2758
|
+
def create_property_user_link(parent, google_analytics_admin_v1alpha_user_link_object = nil, notify_new_user: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2759
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks', options)
|
2760
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
2761
|
+
command.request_object = google_analytics_admin_v1alpha_user_link_object
|
2762
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
2763
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
|
2764
|
+
command.params['parent'] = parent unless parent.nil?
|
2765
|
+
command.query['notifyNewUser'] = notify_new_user unless notify_new_user.nil?
|
3422
2766
|
command.query['fields'] = fields unless fields.nil?
|
3423
2767
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3424
2768
|
execute_or_queue_command(command, &block)
|
3425
2769
|
end
|
3426
2770
|
|
3427
|
-
#
|
3428
|
-
# @param [String]
|
3429
|
-
# Required.
|
3430
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3431
|
-
# Format: properties/`property`/webDataStreams/`webDataStream`
|
3432
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2771
|
+
# Deletes a user link on an account or property.
|
2772
|
+
# @param [String] name
|
2773
|
+
# Required. Example format: accounts/1234/userLinks/5678
|
3433
2774
|
# @param [String] fields
|
3434
2775
|
# Selector specifying which fields to include in a partial response.
|
3435
2776
|
# @param [String] quota_user
|
@@ -3439,32 +2780,27 @@ module Google
|
|
3439
2780
|
# Request-specific options
|
3440
2781
|
#
|
3441
2782
|
# @yield [result, err] Result & error if block supplied
|
3442
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2783
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
3443
2784
|
# @yieldparam err [StandardError] error object if request failed
|
3444
2785
|
#
|
3445
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2786
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
3446
2787
|
#
|
3447
2788
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3448
2789
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3449
2790
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3450
|
-
def
|
3451
|
-
command = make_simple_command(:
|
3452
|
-
command.
|
3453
|
-
command.
|
3454
|
-
command.
|
3455
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3456
|
-
command.params['parent'] = parent unless parent.nil?
|
2791
|
+
def delete_property_user_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
2792
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2793
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
2794
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
2795
|
+
command.params['name'] = name unless name.nil?
|
3457
2796
|
command.query['fields'] = fields unless fields.nil?
|
3458
2797
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3459
2798
|
execute_or_queue_command(command, &block)
|
3460
2799
|
end
|
3461
2800
|
|
3462
|
-
#
|
2801
|
+
# Gets information about a user's link to an account or property.
|
3463
2802
|
# @param [String] name
|
3464
|
-
# Required.
|
3465
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
3466
|
-
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
3467
|
-
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2803
|
+
# Required. Example format: accounts/1234/userLinks/5678
|
3468
2804
|
# @param [String] fields
|
3469
2805
|
# Selector specifying which fields to include in a partial response.
|
3470
2806
|
# @param [String] quota_user
|
@@ -3474,30 +2810,35 @@ module Google
|
|
3474
2810
|
# Request-specific options
|
3475
2811
|
#
|
3476
2812
|
# @yield [result, err] Result & error if block supplied
|
3477
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2813
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
|
3478
2814
|
# @yieldparam err [StandardError] error object if request failed
|
3479
2815
|
#
|
3480
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2816
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
|
3481
2817
|
#
|
3482
2818
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3483
2819
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3484
2820
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3485
|
-
def
|
3486
|
-
command = make_simple_command(:
|
3487
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
3488
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
2821
|
+
def get_property_user_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
2822
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2823
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
2824
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
|
3489
2825
|
command.params['name'] = name unless name.nil?
|
3490
2826
|
command.query['fields'] = fields unless fields.nil?
|
3491
2827
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3492
2828
|
execute_or_queue_command(command, &block)
|
3493
2829
|
end
|
3494
2830
|
|
3495
|
-
#
|
3496
|
-
# @param [String]
|
3497
|
-
# Required.
|
3498
|
-
#
|
3499
|
-
#
|
3500
|
-
#
|
2831
|
+
# Lists all user links on an account or property.
|
2832
|
+
# @param [String] parent
|
2833
|
+
# Required. Example format: accounts/1234
|
2834
|
+
# @param [Fixnum] page_size
|
2835
|
+
# The maximum number of user links to return. The service may return fewer than
|
2836
|
+
# this value. If unspecified, at most 200 user links will be returned. The
|
2837
|
+
# maximum value is 500; values above 500 will be coerced to 500.
|
2838
|
+
# @param [String] page_token
|
2839
|
+
# A page token, received from a previous `ListUserLinks` call. Provide this to
|
2840
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
2841
|
+
# to `ListUserLinks` must match the call that provided the page token.
|
3501
2842
|
# @param [String] fields
|
3502
2843
|
# Selector specifying which fields to include in a partial response.
|
3503
2844
|
# @param [String] quota_user
|
@@ -3507,39 +2848,30 @@ module Google
|
|
3507
2848
|
# Request-specific options
|
3508
2849
|
#
|
3509
2850
|
# @yield [result, err] Result & error if block supplied
|
3510
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2851
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse] parsed result object
|
3511
2852
|
# @yieldparam err [StandardError] error object if request failed
|
3512
2853
|
#
|
3513
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2854
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse]
|
3514
2855
|
#
|
3515
2856
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3516
2857
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3517
2858
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3518
|
-
def
|
3519
|
-
command = make_simple_command(:get, 'v1alpha/{+
|
3520
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::
|
3521
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::
|
3522
|
-
command.params['
|
2859
|
+
def list_property_user_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2860
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/userLinks', options)
|
2861
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse::Representation
|
2862
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse
|
2863
|
+
command.params['parent'] = parent unless parent.nil?
|
2864
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2865
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3523
2866
|
command.query['fields'] = fields unless fields.nil?
|
3524
2867
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3525
2868
|
execute_or_queue_command(command, &block)
|
3526
2869
|
end
|
3527
2870
|
|
3528
|
-
#
|
3529
|
-
# @param [String]
|
3530
|
-
#
|
3531
|
-
#
|
3532
|
-
# properties/`property`/webDataStreams/`webDataStream`/
|
3533
|
-
# measurementProtocolSecrets
|
3534
|
-
# @param [Fixnum] page_size
|
3535
|
-
# The maximum number of resources to return. If unspecified, at most 10
|
3536
|
-
# resources will be returned. The maximum value is 10. Higher values will be
|
3537
|
-
# coerced to the maximum.
|
3538
|
-
# @param [String] page_token
|
3539
|
-
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
3540
|
-
# Provide this to retrieve the subsequent page. When paginating, all other
|
3541
|
-
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
3542
|
-
# that provided the page token.
|
2871
|
+
# Updates a user link on an account or property.
|
2872
|
+
# @param [String] name
|
2873
|
+
# Output only. Example format: properties/1234/userLinks/5678
|
2874
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
|
3543
2875
|
# @param [String] fields
|
3544
2876
|
# Selector specifying which fields to include in a partial response.
|
3545
2877
|
# @param [String] quota_user
|
@@ -3549,34 +2881,33 @@ module Google
|
|
3549
2881
|
# Request-specific options
|
3550
2882
|
#
|
3551
2883
|
# @yield [result, err] Result & error if block supplied
|
3552
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2884
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
|
3553
2885
|
# @yieldparam err [StandardError] error object if request failed
|
3554
2886
|
#
|
3555
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2887
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
|
3556
2888
|
#
|
3557
2889
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3558
2890
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3559
2891
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3560
|
-
def
|
3561
|
-
command = make_simple_command(:
|
3562
|
-
command.
|
3563
|
-
command.
|
3564
|
-
command.
|
3565
|
-
command.
|
3566
|
-
command.
|
2892
|
+
def patch_property_user_link(name, google_analytics_admin_v1alpha_user_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2893
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2894
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
2895
|
+
command.request_object = google_analytics_admin_v1alpha_user_link_object
|
2896
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
|
2897
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
|
2898
|
+
command.params['name'] = name unless name.nil?
|
3567
2899
|
command.query['fields'] = fields unless fields.nil?
|
3568
2900
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3569
2901
|
execute_or_queue_command(command, &block)
|
3570
2902
|
end
|
3571
2903
|
|
3572
|
-
#
|
2904
|
+
# Returns the Site Tag for the specified web stream. Site Tags are immutable
|
2905
|
+
# singletons.
|
3573
2906
|
# @param [String] name
|
3574
|
-
#
|
3575
|
-
#
|
3576
|
-
#
|
3577
|
-
#
|
3578
|
-
# @param [String] update_mask
|
3579
|
-
# The list of fields to be updated. Omitted fields will not be updated.
|
2907
|
+
# Required. The name of the site tag to lookup. Note that site tags are
|
2908
|
+
# singletons and do not have unique IDs. Format: properties/`property_id`/
|
2909
|
+
# webDataStreams/`stream_id`/globalSiteTag Example: "properties/123/
|
2910
|
+
# webDataStreams/456/globalSiteTag"
|
3580
2911
|
# @param [String] fields
|
3581
2912
|
# Selector specifying which fields to include in a partial response.
|
3582
2913
|
# @param [String] quota_user
|
@@ -3586,22 +2917,19 @@ module Google
|
|
3586
2917
|
# Request-specific options
|
3587
2918
|
#
|
3588
2919
|
# @yield [result, err] Result & error if block supplied
|
3589
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::
|
2920
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag] parsed result object
|
3590
2921
|
# @yieldparam err [StandardError] error object if request failed
|
3591
2922
|
#
|
3592
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::
|
2923
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag]
|
3593
2924
|
#
|
3594
2925
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3595
2926
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3596
2927
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3597
|
-
def
|
3598
|
-
command = make_simple_command(:
|
3599
|
-
command.
|
3600
|
-
command.
|
3601
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3602
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2928
|
+
def get_property_web_data_stream_global_site_tag(name, fields: nil, quota_user: nil, options: nil, &block)
|
2929
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2930
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag::Representation
|
2931
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGlobalSiteTag
|
3603
2932
|
command.params['name'] = name unless name.nil?
|
3604
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3605
2933
|
command.query['fields'] = fields unless fields.nil?
|
3606
2934
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3607
2935
|
execute_or_queue_command(command, &block)
|