google-apis-playdeveloperreporting_v1beta1 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -227,6 +227,370 @@ module Google
227
227
  execute_or_queue_command(command, &block)
228
228
  end
229
229
 
230
+ # Describes the properties of the metrics set.
231
+ # @param [String] name
232
+ # Required. Name of the errors metric set. Format: apps/`app`/
233
+ # errorCountMetricSet
234
+ # @param [String] fields
235
+ # Selector specifying which fields to include in a partial response.
236
+ # @param [String] quota_user
237
+ # Available to use for quota purposes for server-side applications. Can be any
238
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
239
+ # @param [Google::Apis::RequestOptions] options
240
+ # Request-specific options
241
+ #
242
+ # @yield [result, err] Result & error if block supplied
243
+ # @yieldparam result [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet] parsed result object
244
+ # @yieldparam err [StandardError] error object if request failed
245
+ #
246
+ # @return [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet]
247
+ #
248
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
249
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
250
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
251
+ def get_vital_error_count(name, fields: nil, quota_user: nil, options: nil, &block)
252
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
253
+ command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet::Representation
254
+ command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet
255
+ command.params['name'] = name unless name.nil?
256
+ command.query['fields'] = fields unless fields.nil?
257
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
258
+ execute_or_queue_command(command, &block)
259
+ end
260
+
261
+ # Queries the metrics in the metrics set.
262
+ # @param [String] name
263
+ # Required. The resource name. Format: apps/`app`/errorCountMetricSet
264
+ # @param [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest] google_play_developer_reporting_v1beta1_query_error_count_metric_set_request_object
265
+ # @param [String] fields
266
+ # Selector specifying which fields to include in a partial response.
267
+ # @param [String] quota_user
268
+ # Available to use for quota purposes for server-side applications. Can be any
269
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
270
+ # @param [Google::Apis::RequestOptions] options
271
+ # Request-specific options
272
+ #
273
+ # @yield [result, err] Result & error if block supplied
274
+ # @yieldparam result [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse] parsed result object
275
+ # @yieldparam err [StandardError] error object if request failed
276
+ #
277
+ # @return [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse]
278
+ #
279
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
280
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
281
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
282
+ def query_vital_error_count(name, google_play_developer_reporting_v1beta1_query_error_count_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
283
+ command = make_simple_command(:post, 'v1beta1/{+name}:query', options)
284
+ command.request_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest::Representation
285
+ command.request_object = google_play_developer_reporting_v1beta1_query_error_count_metric_set_request_object
286
+ command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse::Representation
287
+ command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse
288
+ command.params['name'] = name unless name.nil?
289
+ command.query['fields'] = fields unless fields.nil?
290
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
291
+ execute_or_queue_command(command, &block)
292
+ end
293
+
294
+ # Searches all error issues in which reports have been grouped.
295
+ # @param [String] parent
296
+ # Required. Parent resource of the error issues, indicating the application for
297
+ # which they were received. Format: apps/`app`
298
+ # @param [String] filter
299
+ # A selection predicate to retrieve only a subset of the issues. Counts in the
300
+ # returned error issues will only reflect occurrences that matched the filter.
301
+ # For filtering basics, please check [AIP-160](https://google.aip.dev/160). **
302
+ # Supported field names:** * `apiLevel`: Matches error issues that occurred in
303
+ # the requested Android versions (specified as the numeric API level) only.
304
+ # Example: `apiLevel = 28 OR apiLevel = 29`. * `versionCode`: Matches error
305
+ # issues that occurred in the requested app version codes only. Example: `
306
+ # versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues
307
+ # that occurred in the requested devices. Example: `deviceModel = "walleye" OR
308
+ # deviceModel = "marlin"`. * `deviceType`: Matches error issues that occurred in
309
+ # the requested device types. Example: `deviceType = "PHONE"`. * `errorIssueType`
310
+ # : Matches error issues of the requested types only. Valid candidates: `CRASH`,
311
+ # `ANR`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `
312
+ # appProcessState`: Matches error issues on the process state of an app,
313
+ # indicating whether an app runs in the foreground (user-visible) or background.
314
+ # Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `appProcessState =
315
+ # FOREGROUND`. * `isUserPerceived`: Matches error issues that are user-perceived.
316
+ # It is not accompanied by any operators. Example: `isUserPerceived`. **
317
+ # Supported operators:** * Comparison operators: The only supported comparison
318
+ # operator is equality. The filtered field must appear on the left hand side of
319
+ # the comparison. * Logical Operators: Logical operators `AND` and `OR` can be
320
+ # used to build complex filters following a conjunctive normal form (CNF), i.e.,
321
+ # conjunctions of disjunctions. The `OR` operator takes precedence over `AND` so
322
+ # the use of parenthesis is not necessary when building CNF. The `OR` operator
323
+ # is only supported to build disjunctions that apply to the same field, e.g., `
324
+ # versionCode = 123 OR errorIssueType = ANR` is not a valid filter. ** Examples *
325
+ # * Some valid filtering expressions: * `versionCode = 123 AND errorIssueType =
326
+ # ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * `
327
+ # versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`
328
+ # @param [Fixnum] interval_end_time_day
329
+ # Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
330
+ # or 0 if specifying a datetime without a day.
331
+ # @param [Fixnum] interval_end_time_hours
332
+ # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
333
+ # 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
334
+ # like business closing time.
335
+ # @param [Fixnum] interval_end_time_minutes
336
+ # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
337
+ # @param [Fixnum] interval_end_time_month
338
+ # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
339
+ # without a month.
340
+ # @param [Fixnum] interval_end_time_nanos
341
+ # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
342
+ # defaults to 0.
343
+ # @param [Fixnum] interval_end_time_seconds
344
+ # Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
345
+ # defaults to 0. An API may allow the value 60 if it allows leap-seconds.
346
+ # @param [String] interval_end_time_time_zone_id
347
+ # IANA Time Zone Database time zone, e.g. "America/New_York".
348
+ # @param [String] interval_end_time_time_zone_version
349
+ # Optional. IANA Time Zone Database version number, e.g. "2019a".
350
+ # @param [String] interval_end_time_utc_offset
351
+ # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
352
+ # example, a UTC offset of -4:00 would be represented as ` seconds: -14400 `.
353
+ # @param [Fixnum] interval_end_time_year
354
+ # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime
355
+ # without a year.
356
+ # @param [Fixnum] interval_start_time_day
357
+ # Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
358
+ # or 0 if specifying a datetime without a day.
359
+ # @param [Fixnum] interval_start_time_hours
360
+ # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
361
+ # 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
362
+ # like business closing time.
363
+ # @param [Fixnum] interval_start_time_minutes
364
+ # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
365
+ # @param [Fixnum] interval_start_time_month
366
+ # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
367
+ # without a month.
368
+ # @param [Fixnum] interval_start_time_nanos
369
+ # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
370
+ # defaults to 0.
371
+ # @param [Fixnum] interval_start_time_seconds
372
+ # Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
373
+ # defaults to 0. An API may allow the value 60 if it allows leap-seconds.
374
+ # @param [String] interval_start_time_time_zone_id
375
+ # IANA Time Zone Database time zone, e.g. "America/New_York".
376
+ # @param [String] interval_start_time_time_zone_version
377
+ # Optional. IANA Time Zone Database version number, e.g. "2019a".
378
+ # @param [String] interval_start_time_utc_offset
379
+ # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
380
+ # example, a UTC offset of -4:00 would be represented as ` seconds: -14400 `.
381
+ # @param [Fixnum] interval_start_time_year
382
+ # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime
383
+ # without a year.
384
+ # @param [Fixnum] page_size
385
+ # The maximum number of error issues to return. The service may return fewer
386
+ # than this value. If unspecified, at most 50 error issues will be returned. The
387
+ # maximum value is 1000; values above 1000 will be coerced to 1000.
388
+ # @param [String] page_token
389
+ # A page token, received from a previous call. Provide this to retrieve the
390
+ # subsequent page. When paginating, all other parameters provided to the request
391
+ # must match the call that provided the page token.
392
+ # @param [String] fields
393
+ # Selector specifying which fields to include in a partial response.
394
+ # @param [String] quota_user
395
+ # Available to use for quota purposes for server-side applications. Can be any
396
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
397
+ # @param [Google::Apis::RequestOptions] options
398
+ # Request-specific options
399
+ #
400
+ # @yield [result, err] Result & error if block supplied
401
+ # @yieldparam result [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse] parsed result object
402
+ # @yieldparam err [StandardError] error object if request failed
403
+ #
404
+ # @return [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse]
405
+ #
406
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
407
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
408
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
409
+ def search_vital_error_issues(parent, filter: nil, interval_end_time_day: nil, interval_end_time_hours: nil, interval_end_time_minutes: nil, interval_end_time_month: nil, interval_end_time_nanos: nil, interval_end_time_seconds: nil, interval_end_time_time_zone_id: nil, interval_end_time_time_zone_version: nil, interval_end_time_utc_offset: nil, interval_end_time_year: nil, interval_start_time_day: nil, interval_start_time_hours: nil, interval_start_time_minutes: nil, interval_start_time_month: nil, interval_start_time_nanos: nil, interval_start_time_seconds: nil, interval_start_time_time_zone_id: nil, interval_start_time_time_zone_version: nil, interval_start_time_utc_offset: nil, interval_start_time_year: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
410
+ command = make_simple_command(:get, 'v1beta1/{+parent}/errorIssues:search', options)
411
+ command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse::Representation
412
+ command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse
413
+ command.params['parent'] = parent unless parent.nil?
414
+ command.query['filter'] = filter unless filter.nil?
415
+ command.query['interval.endTime.day'] = interval_end_time_day unless interval_end_time_day.nil?
416
+ command.query['interval.endTime.hours'] = interval_end_time_hours unless interval_end_time_hours.nil?
417
+ command.query['interval.endTime.minutes'] = interval_end_time_minutes unless interval_end_time_minutes.nil?
418
+ command.query['interval.endTime.month'] = interval_end_time_month unless interval_end_time_month.nil?
419
+ command.query['interval.endTime.nanos'] = interval_end_time_nanos unless interval_end_time_nanos.nil?
420
+ command.query['interval.endTime.seconds'] = interval_end_time_seconds unless interval_end_time_seconds.nil?
421
+ command.query['interval.endTime.timeZone.id'] = interval_end_time_time_zone_id unless interval_end_time_time_zone_id.nil?
422
+ command.query['interval.endTime.timeZone.version'] = interval_end_time_time_zone_version unless interval_end_time_time_zone_version.nil?
423
+ command.query['interval.endTime.utcOffset'] = interval_end_time_utc_offset unless interval_end_time_utc_offset.nil?
424
+ command.query['interval.endTime.year'] = interval_end_time_year unless interval_end_time_year.nil?
425
+ command.query['interval.startTime.day'] = interval_start_time_day unless interval_start_time_day.nil?
426
+ command.query['interval.startTime.hours'] = interval_start_time_hours unless interval_start_time_hours.nil?
427
+ command.query['interval.startTime.minutes'] = interval_start_time_minutes unless interval_start_time_minutes.nil?
428
+ command.query['interval.startTime.month'] = interval_start_time_month unless interval_start_time_month.nil?
429
+ command.query['interval.startTime.nanos'] = interval_start_time_nanos unless interval_start_time_nanos.nil?
430
+ command.query['interval.startTime.seconds'] = interval_start_time_seconds unless interval_start_time_seconds.nil?
431
+ command.query['interval.startTime.timeZone.id'] = interval_start_time_time_zone_id unless interval_start_time_time_zone_id.nil?
432
+ command.query['interval.startTime.timeZone.version'] = interval_start_time_time_zone_version unless interval_start_time_time_zone_version.nil?
433
+ command.query['interval.startTime.utcOffset'] = interval_start_time_utc_offset unless interval_start_time_utc_offset.nil?
434
+ command.query['interval.startTime.year'] = interval_start_time_year unless interval_start_time_year.nil?
435
+ command.query['pageSize'] = page_size unless page_size.nil?
436
+ command.query['pageToken'] = page_token unless page_token.nil?
437
+ command.query['fields'] = fields unless fields.nil?
438
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
439
+ execute_or_queue_command(command, &block)
440
+ end
441
+
442
+ # Searches all error reports received for an app.
443
+ # @param [String] parent
444
+ # Required. Parent resource of the reports, indicating the application for which
445
+ # they were received. Format: apps/`app`
446
+ # @param [String] filter
447
+ # A selection predicate to retrieve only a subset of the reports. For filtering
448
+ # basics, please check [AIP-160](https://google.aip.dev/160). ** Supported field
449
+ # names:** * `apiLevel`: Matches error reports that occurred in the requested
450
+ # Android versions (specified as the numeric API level) only. Example: `apiLevel
451
+ # = 28 OR apiLevel = 29`. * `versionCode`: Matches error reports that occurred
452
+ # in the requested app version codes only. Example: `versionCode = 123 OR
453
+ # versionCode = 456`. * `deviceModel`: Matches error reports that occurred in
454
+ # the requested devices. Example: `deviceModel = "walleye" OR deviceModel = "
455
+ # marlin"`. * `deviceType`: Matches error reports that occurred in the requested
456
+ # device types. Example: `deviceType = "PHONE"`. * `errorIssueType`: Matches
457
+ # error reports of the requested types only. Valid candidates: `JAVA_CRASH`, `
458
+ # NATIVE_CRASH`, `ANR`. Example: `errorIssueType = JAVA_CRASH OR errorIssueType =
459
+ # NATIVE_CRASH`. * `errorIssueId`: Matches error reports belonging to the
460
+ # requested error issue ids only. Example: `errorIssueId = 1234 OR errorIssueId =
461
+ # 4567`. * `appProcessState`: Matches error reports on the process state of an
462
+ # app, indicating whether an app runs in the foreground (user-visible) or
463
+ # background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `
464
+ # appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error reports that
465
+ # are user-perceived. It is not accompanied by any operators. Example: `
466
+ # isUserPerceived`. ** Supported operators:** * Comparison operators: The only
467
+ # supported comparison operator is equality. The filtered field must appear on
468
+ # the left hand side of the comparison. * Logical Operators: Logical operators `
469
+ # AND` and `OR` can be used to build complex filters following a conjunctive
470
+ # normal form (CNF), i.e., conjunctions of disjunctions. The `OR` operator takes
471
+ # precedence over `AND` so the use of parenthesis is not necessary when building
472
+ # CNF. The `OR` operator is only supported to build disjunctions that apply to
473
+ # the same field, e.g., `versionCode = 123 OR versionCode = ANR`. The filter
474
+ # expression `versionCode = 123 OR errorIssueType = ANR` is not valid. **
475
+ # Examples ** Some valid filtering expressions: * `versionCode = 123 AND
476
+ # errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR
477
+ # errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR
478
+ # errorIssueType = CRASH)`
479
+ # @param [Fixnum] interval_end_time_day
480
+ # Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
481
+ # or 0 if specifying a datetime without a day.
482
+ # @param [Fixnum] interval_end_time_hours
483
+ # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
484
+ # 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
485
+ # like business closing time.
486
+ # @param [Fixnum] interval_end_time_minutes
487
+ # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
488
+ # @param [Fixnum] interval_end_time_month
489
+ # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
490
+ # without a month.
491
+ # @param [Fixnum] interval_end_time_nanos
492
+ # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
493
+ # defaults to 0.
494
+ # @param [Fixnum] interval_end_time_seconds
495
+ # Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
496
+ # defaults to 0. An API may allow the value 60 if it allows leap-seconds.
497
+ # @param [String] interval_end_time_time_zone_id
498
+ # IANA Time Zone Database time zone, e.g. "America/New_York".
499
+ # @param [String] interval_end_time_time_zone_version
500
+ # Optional. IANA Time Zone Database version number, e.g. "2019a".
501
+ # @param [String] interval_end_time_utc_offset
502
+ # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
503
+ # example, a UTC offset of -4:00 would be represented as ` seconds: -14400 `.
504
+ # @param [Fixnum] interval_end_time_year
505
+ # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime
506
+ # without a year.
507
+ # @param [Fixnum] interval_start_time_day
508
+ # Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
509
+ # or 0 if specifying a datetime without a day.
510
+ # @param [Fixnum] interval_start_time_hours
511
+ # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
512
+ # 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
513
+ # like business closing time.
514
+ # @param [Fixnum] interval_start_time_minutes
515
+ # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
516
+ # @param [Fixnum] interval_start_time_month
517
+ # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
518
+ # without a month.
519
+ # @param [Fixnum] interval_start_time_nanos
520
+ # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
521
+ # defaults to 0.
522
+ # @param [Fixnum] interval_start_time_seconds
523
+ # Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
524
+ # defaults to 0. An API may allow the value 60 if it allows leap-seconds.
525
+ # @param [String] interval_start_time_time_zone_id
526
+ # IANA Time Zone Database time zone, e.g. "America/New_York".
527
+ # @param [String] interval_start_time_time_zone_version
528
+ # Optional. IANA Time Zone Database version number, e.g. "2019a".
529
+ # @param [String] interval_start_time_utc_offset
530
+ # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
531
+ # example, a UTC offset of -4:00 would be represented as ` seconds: -14400 `.
532
+ # @param [Fixnum] interval_start_time_year
533
+ # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime
534
+ # without a year.
535
+ # @param [Fixnum] page_size
536
+ # The maximum number of reports to return. The service may return fewer than
537
+ # this value. If unspecified, at most 50 reports will be returned. The maximum
538
+ # value is 1000; values above 1000 will be coerced to 1000.
539
+ # @param [String] page_token
540
+ # A page token, received from a previous `SearchErrorReports` call. Provide this
541
+ # to retrieve the subsequent page. When paginating, all other parameters
542
+ # provided to `SearchErrorReports` must match the call that provided the page
543
+ # token.
544
+ # @param [String] fields
545
+ # Selector specifying which fields to include in a partial response.
546
+ # @param [String] quota_user
547
+ # Available to use for quota purposes for server-side applications. Can be any
548
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
549
+ # @param [Google::Apis::RequestOptions] options
550
+ # Request-specific options
551
+ #
552
+ # @yield [result, err] Result & error if block supplied
553
+ # @yieldparam result [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse] parsed result object
554
+ # @yieldparam err [StandardError] error object if request failed
555
+ #
556
+ # @return [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse]
557
+ #
558
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
559
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
560
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
561
+ def search_vital_error_reports(parent, filter: nil, interval_end_time_day: nil, interval_end_time_hours: nil, interval_end_time_minutes: nil, interval_end_time_month: nil, interval_end_time_nanos: nil, interval_end_time_seconds: nil, interval_end_time_time_zone_id: nil, interval_end_time_time_zone_version: nil, interval_end_time_utc_offset: nil, interval_end_time_year: nil, interval_start_time_day: nil, interval_start_time_hours: nil, interval_start_time_minutes: nil, interval_start_time_month: nil, interval_start_time_nanos: nil, interval_start_time_seconds: nil, interval_start_time_time_zone_id: nil, interval_start_time_time_zone_version: nil, interval_start_time_utc_offset: nil, interval_start_time_year: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
562
+ command = make_simple_command(:get, 'v1beta1/{+parent}/errorReports:search', options)
563
+ command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse::Representation
564
+ command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse
565
+ command.params['parent'] = parent unless parent.nil?
566
+ command.query['filter'] = filter unless filter.nil?
567
+ command.query['interval.endTime.day'] = interval_end_time_day unless interval_end_time_day.nil?
568
+ command.query['interval.endTime.hours'] = interval_end_time_hours unless interval_end_time_hours.nil?
569
+ command.query['interval.endTime.minutes'] = interval_end_time_minutes unless interval_end_time_minutes.nil?
570
+ command.query['interval.endTime.month'] = interval_end_time_month unless interval_end_time_month.nil?
571
+ command.query['interval.endTime.nanos'] = interval_end_time_nanos unless interval_end_time_nanos.nil?
572
+ command.query['interval.endTime.seconds'] = interval_end_time_seconds unless interval_end_time_seconds.nil?
573
+ command.query['interval.endTime.timeZone.id'] = interval_end_time_time_zone_id unless interval_end_time_time_zone_id.nil?
574
+ command.query['interval.endTime.timeZone.version'] = interval_end_time_time_zone_version unless interval_end_time_time_zone_version.nil?
575
+ command.query['interval.endTime.utcOffset'] = interval_end_time_utc_offset unless interval_end_time_utc_offset.nil?
576
+ command.query['interval.endTime.year'] = interval_end_time_year unless interval_end_time_year.nil?
577
+ command.query['interval.startTime.day'] = interval_start_time_day unless interval_start_time_day.nil?
578
+ command.query['interval.startTime.hours'] = interval_start_time_hours unless interval_start_time_hours.nil?
579
+ command.query['interval.startTime.minutes'] = interval_start_time_minutes unless interval_start_time_minutes.nil?
580
+ command.query['interval.startTime.month'] = interval_start_time_month unless interval_start_time_month.nil?
581
+ command.query['interval.startTime.nanos'] = interval_start_time_nanos unless interval_start_time_nanos.nil?
582
+ command.query['interval.startTime.seconds'] = interval_start_time_seconds unless interval_start_time_seconds.nil?
583
+ command.query['interval.startTime.timeZone.id'] = interval_start_time_time_zone_id unless interval_start_time_time_zone_id.nil?
584
+ command.query['interval.startTime.timeZone.version'] = interval_start_time_time_zone_version unless interval_start_time_time_zone_version.nil?
585
+ command.query['interval.startTime.utcOffset'] = interval_start_time_utc_offset unless interval_start_time_utc_offset.nil?
586
+ command.query['interval.startTime.year'] = interval_start_time_year unless interval_start_time_year.nil?
587
+ command.query['pageSize'] = page_size unless page_size.nil?
588
+ command.query['pageToken'] = page_token unless page_token.nil?
589
+ command.query['fields'] = fields unless fields.nil?
590
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
591
+ execute_or_queue_command(command, &block)
592
+ end
593
+
230
594
  # Describes the properties of the metric set.
231
595
  # @param [String] name
232
596
  # Required. The resource name. Format: apps/`app`/excessiveWakeupRateMetricSet
@@ -290,6 +654,132 @@ module Google
290
654
  execute_or_queue_command(command, &block)
291
655
  end
292
656
 
657
+ # Describes the properties of the metric set.
658
+ # @param [String] name
659
+ # Required. The resource name. Format: apps/`app`/slowRenderingRateMetricSet
660
+ # @param [String] fields
661
+ # Selector specifying which fields to include in a partial response.
662
+ # @param [String] quota_user
663
+ # Available to use for quota purposes for server-side applications. Can be any
664
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
665
+ # @param [Google::Apis::RequestOptions] options
666
+ # Request-specific options
667
+ #
668
+ # @yield [result, err] Result & error if block supplied
669
+ # @yieldparam result [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet] parsed result object
670
+ # @yieldparam err [StandardError] error object if request failed
671
+ #
672
+ # @return [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet]
673
+ #
674
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
675
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
676
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
677
+ def get_vital_slowrenderingrate(name, fields: nil, quota_user: nil, options: nil, &block)
678
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
679
+ command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet::Representation
680
+ command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet
681
+ command.params['name'] = name unless name.nil?
682
+ command.query['fields'] = fields unless fields.nil?
683
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
684
+ execute_or_queue_command(command, &block)
685
+ end
686
+
687
+ # Queries the metrics in the metric set.
688
+ # @param [String] name
689
+ # Required. The resource name. Format: apps/`app`/slowRenderingRateMetricSet
690
+ # @param [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest] google_play_developer_reporting_v1beta1_query_slow_rendering_rate_metric_set_request_object
691
+ # @param [String] fields
692
+ # Selector specifying which fields to include in a partial response.
693
+ # @param [String] quota_user
694
+ # Available to use for quota purposes for server-side applications. Can be any
695
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
696
+ # @param [Google::Apis::RequestOptions] options
697
+ # Request-specific options
698
+ #
699
+ # @yield [result, err] Result & error if block supplied
700
+ # @yieldparam result [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse] parsed result object
701
+ # @yieldparam err [StandardError] error object if request failed
702
+ #
703
+ # @return [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse]
704
+ #
705
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
706
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
707
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
708
+ def query_vital_slowrenderingrate(name, google_play_developer_reporting_v1beta1_query_slow_rendering_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
709
+ command = make_simple_command(:post, 'v1beta1/{+name}:query', options)
710
+ command.request_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest::Representation
711
+ command.request_object = google_play_developer_reporting_v1beta1_query_slow_rendering_rate_metric_set_request_object
712
+ command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse::Representation
713
+ command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse
714
+ command.params['name'] = name unless name.nil?
715
+ command.query['fields'] = fields unless fields.nil?
716
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
717
+ execute_or_queue_command(command, &block)
718
+ end
719
+
720
+ # Describes the properties of the metric set.
721
+ # @param [String] name
722
+ # Required. The resource name. Format: apps/`app`/slowStartRateMetricSet
723
+ # @param [String] fields
724
+ # Selector specifying which fields to include in a partial response.
725
+ # @param [String] quota_user
726
+ # Available to use for quota purposes for server-side applications. Can be any
727
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
728
+ # @param [Google::Apis::RequestOptions] options
729
+ # Request-specific options
730
+ #
731
+ # @yield [result, err] Result & error if block supplied
732
+ # @yieldparam result [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet] parsed result object
733
+ # @yieldparam err [StandardError] error object if request failed
734
+ #
735
+ # @return [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet]
736
+ #
737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
740
+ def get_vital_slowstartrate(name, fields: nil, quota_user: nil, options: nil, &block)
741
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
742
+ command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet::Representation
743
+ command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet
744
+ command.params['name'] = name unless name.nil?
745
+ command.query['fields'] = fields unless fields.nil?
746
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
747
+ execute_or_queue_command(command, &block)
748
+ end
749
+
750
+ # Queries the metrics in the metric set.
751
+ # @param [String] name
752
+ # Required. The resource name. Format: apps/`app`/slowStartRateMetricSet
753
+ # @param [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest] google_play_developer_reporting_v1beta1_query_slow_start_rate_metric_set_request_object
754
+ # @param [String] fields
755
+ # Selector specifying which fields to include in a partial response.
756
+ # @param [String] quota_user
757
+ # Available to use for quota purposes for server-side applications. Can be any
758
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
759
+ # @param [Google::Apis::RequestOptions] options
760
+ # Request-specific options
761
+ #
762
+ # @yield [result, err] Result & error if block supplied
763
+ # @yieldparam result [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse] parsed result object
764
+ # @yieldparam err [StandardError] error object if request failed
765
+ #
766
+ # @return [Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse]
767
+ #
768
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
769
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
770
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
771
+ def query_vital_slowstartrate(name, google_play_developer_reporting_v1beta1_query_slow_start_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
772
+ command = make_simple_command(:post, 'v1beta1/{+name}:query', options)
773
+ command.request_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest::Representation
774
+ command.request_object = google_play_developer_reporting_v1beta1_query_slow_start_rate_metric_set_request_object
775
+ command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse::Representation
776
+ command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse
777
+ command.params['name'] = name unless name.nil?
778
+ command.query['fields'] = fields unless fields.nil?
779
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
780
+ execute_or_queue_command(command, &block)
781
+ end
782
+
293
783
  # Describes the properties of the metric set.
294
784
  # @param [String] name
295
785
  # Required. The resource name. Format: apps/`app`/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-playdeveloperreporting_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-12 00:00:00.000000000 Z
11
+ date: 2023-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-playdeveloperreporting_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-playdeveloperreporting_v1beta1/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-playdeveloperreporting_v1beta1/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-playdeveloperreporting_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []