google-apis-playdeveloperreporting_v1alpha1 0.19.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PlaydeveloperreportingV1alpha1
18
18
  # Version of the google-apis-playdeveloperreporting_v1alpha1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230504"
25
+ REVISION = "20230701"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,18 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class GooglePlayDeveloperReportingV1alpha1App
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GooglePlayDeveloperReportingV1alpha1AppVersion
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
37
49
  class GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet
38
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
51
 
@@ -46,6 +58,18 @@ module Google
46
58
  include Google::Apis::Core::JsonObjectSupport
47
59
  end
48
60
 
61
+ class GooglePlayDeveloperReportingV1alpha1DeviceId
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GooglePlayDeveloperReportingV1alpha1DeviceModelSummary
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
49
73
  class GooglePlayDeveloperReportingV1alpha1DimensionValue
50
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
75
 
@@ -106,6 +130,12 @@ module Google
106
130
  include Google::Apis::Core::JsonObjectSupport
107
131
  end
108
132
 
133
+ class GooglePlayDeveloperReportingV1alpha1OsVersion
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
109
139
  class GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest
110
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
141
 
@@ -190,6 +220,24 @@ module Google
190
220
  include Google::Apis::Core::JsonObjectSupport
191
221
  end
192
222
 
223
+ class GooglePlayDeveloperReportingV1alpha1Release
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
193
241
  class GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse
194
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
243
 
@@ -226,6 +274,12 @@ module Google
226
274
  include Google::Apis::Core::JsonObjectSupport
227
275
  end
228
276
 
277
+ class GooglePlayDeveloperReportingV1alpha1Track
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
229
283
  class GoogleTypeDateTime
230
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
285
 
@@ -267,6 +321,22 @@ module Google
267
321
  end
268
322
  end
269
323
 
324
+ class GooglePlayDeveloperReportingV1alpha1App
325
+ # @private
326
+ class Representation < Google::Apis::Core::JsonRepresentation
327
+ property :display_name, as: 'displayName'
328
+ property :name, as: 'name'
329
+ property :package_name, as: 'packageName'
330
+ end
331
+ end
332
+
333
+ class GooglePlayDeveloperReportingV1alpha1AppVersion
334
+ # @private
335
+ class Representation < Google::Apis::Core::JsonRepresentation
336
+ property :version_code, :numeric_string => true, as: 'versionCode'
337
+ end
338
+ end
339
+
270
340
  class GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet
271
341
  # @private
272
342
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -286,6 +356,24 @@ module Google
286
356
  end
287
357
  end
288
358
 
359
+ class GooglePlayDeveloperReportingV1alpha1DeviceId
360
+ # @private
361
+ class Representation < Google::Apis::Core::JsonRepresentation
362
+ property :build_brand, as: 'buildBrand'
363
+ property :build_device, as: 'buildDevice'
364
+ end
365
+ end
366
+
367
+ class GooglePlayDeveloperReportingV1alpha1DeviceModelSummary
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ property :device_id, as: 'deviceId', class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1DeviceId, decorator: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1DeviceId::Representation
371
+
372
+ property :device_uri, as: 'deviceUri'
373
+ property :marketing_name, as: 'marketingName'
374
+ end
375
+ end
376
+
289
377
  class GooglePlayDeveloperReportingV1alpha1DimensionValue
290
378
  # @private
291
379
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -309,6 +397,20 @@ module Google
309
397
  # @private
310
398
  class Representation < Google::Apis::Core::JsonRepresentation
311
399
  property :cause, as: 'cause'
400
+ property :distinct_users, :numeric_string => true, as: 'distinctUsers'
401
+ property :distinct_users_percent, as: 'distinctUsersPercent', class: Google::Apis::PlaydeveloperreportingV1alpha1::GoogleTypeDecimal, decorator: Google::Apis::PlaydeveloperreportingV1alpha1::GoogleTypeDecimal::Representation
402
+
403
+ property :error_report_count, :numeric_string => true, as: 'errorReportCount'
404
+ property :first_app_version, as: 'firstAppVersion', class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1AppVersion, decorator: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1AppVersion::Representation
405
+
406
+ property :first_os_version, as: 'firstOsVersion', class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1OsVersion, decorator: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1OsVersion::Representation
407
+
408
+ property :issue_uri, as: 'issueUri'
409
+ property :last_app_version, as: 'lastAppVersion', class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1AppVersion, decorator: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1AppVersion::Representation
410
+
411
+ property :last_error_report_time, as: 'lastErrorReportTime'
412
+ property :last_os_version, as: 'lastOsVersion', class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1OsVersion, decorator: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1OsVersion::Representation
413
+
312
414
  property :location, as: 'location'
313
415
  property :name, as: 'name'
314
416
  property :type, as: 'type'
@@ -318,8 +420,13 @@ module Google
318
420
  class GooglePlayDeveloperReportingV1alpha1ErrorReport
319
421
  # @private
320
422
  class Representation < Google::Apis::Core::JsonRepresentation
423
+ property :device_model, as: 'deviceModel', class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1DeviceModelSummary, decorator: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1DeviceModelSummary::Representation
424
+
425
+ property :event_time, as: 'eventTime'
321
426
  property :issue, as: 'issue'
322
427
  property :name, as: 'name'
428
+ property :os_version, as: 'osVersion', class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1OsVersion, decorator: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1OsVersion::Representation
429
+
323
430
  property :report_text, as: 'reportText'
324
431
  property :type, as: 'type'
325
432
  end
@@ -384,6 +491,13 @@ module Google
384
491
  end
385
492
  end
386
493
 
494
+ class GooglePlayDeveloperReportingV1alpha1OsVersion
495
+ # @private
496
+ class Representation < Google::Apis::Core::JsonRepresentation
497
+ property :api_level, :numeric_string => true, as: 'apiLevel'
498
+ end
499
+ end
500
+
387
501
  class GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest
388
502
  # @private
389
503
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -544,6 +658,31 @@ module Google
544
658
  end
545
659
  end
546
660
 
661
+ class GooglePlayDeveloperReportingV1alpha1Release
662
+ # @private
663
+ class Representation < Google::Apis::Core::JsonRepresentation
664
+ property :display_name, as: 'displayName'
665
+ collection :version_codes, as: 'versionCodes'
666
+ end
667
+ end
668
+
669
+ class GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions
670
+ # @private
671
+ class Representation < Google::Apis::Core::JsonRepresentation
672
+ collection :tracks, as: 'tracks', class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1Track, decorator: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1Track::Representation
673
+
674
+ end
675
+ end
676
+
677
+ class GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ collection :apps, as: 'apps', class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1App, decorator: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1App::Representation
681
+
682
+ property :next_page_token, as: 'nextPageToken'
683
+ end
684
+ end
685
+
547
686
  class GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse
548
687
  # @private
549
688
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -600,6 +739,16 @@ module Google
600
739
  end
601
740
  end
602
741
 
742
+ class GooglePlayDeveloperReportingV1alpha1Track
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ property :display_name, as: 'displayName'
746
+ collection :serving_releases, as: 'servingReleases', class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1Release, decorator: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1Release::Representation
747
+
748
+ property :type, as: 'type'
749
+ end
750
+ end
751
+
603
752
  class GoogleTypeDateTime
604
753
  # @private
605
754
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -101,6 +101,75 @@ module Google
101
101
  execute_or_queue_command(command, &block)
102
102
  end
103
103
 
104
+ # Describes filtering options for releases.
105
+ # @param [String] name
106
+ # Required. Name of the resource, i.e. app the filtering options are for. Format:
107
+ # apps/`app`
108
+ # @param [String] fields
109
+ # Selector specifying which fields to include in a partial response.
110
+ # @param [String] quota_user
111
+ # Available to use for quota purposes for server-side applications. Can be any
112
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
113
+ # @param [Google::Apis::RequestOptions] options
114
+ # Request-specific options
115
+ #
116
+ # @yield [result, err] Result & error if block supplied
117
+ # @yieldparam result [Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions] parsed result object
118
+ # @yieldparam err [StandardError] error object if request failed
119
+ #
120
+ # @return [Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions]
121
+ #
122
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
123
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
124
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
125
+ def fetch_app_release_filter_options(name, fields: nil, quota_user: nil, options: nil, &block)
126
+ command = make_simple_command(:get, 'v1alpha1/{+name}:fetchReleaseFilterOptions', options)
127
+ command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions::Representation
128
+ command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions
129
+ command.params['name'] = name unless name.nil?
130
+ command.query['fields'] = fields unless fields.nil?
131
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
132
+ execute_or_queue_command(command, &block)
133
+ end
134
+
135
+ # Searches for Apps accessible by the user.
136
+ # @param [Fixnum] page_size
137
+ # The maximum number of apps to return. The service may return fewer than this
138
+ # value. If unspecified, at most 50 apps will be returned. The maximum value is
139
+ # 1000; values above 1000 will be coerced to 1000.
140
+ # @param [String] page_token
141
+ # A page token, received from a previous `SearchAccessibleApps` call. Provide
142
+ # this to retrieve the subsequent page. When paginating, all other parameters
143
+ # provided to `SearchAccessibleApps` must match the call that provided the page
144
+ # token.
145
+ # @param [String] fields
146
+ # Selector specifying which fields to include in a partial response.
147
+ # @param [String] quota_user
148
+ # Available to use for quota purposes for server-side applications. Can be any
149
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
150
+ # @param [Google::Apis::RequestOptions] options
151
+ # Request-specific options
152
+ #
153
+ # @yield [result, err] Result & error if block supplied
154
+ # @yieldparam result [Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse] parsed result object
155
+ # @yieldparam err [StandardError] error object if request failed
156
+ #
157
+ # @return [Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse]
158
+ #
159
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
160
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
161
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
162
+ def search_apps(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
163
+ command = make_simple_command(:get, 'v1alpha1/apps:search', options)
164
+ command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse::Representation
165
+ command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse
166
+ command.query['pageSize'] = page_size unless page_size.nil?
167
+ command.query['pageToken'] = page_token unless page_token.nil?
168
+ command.query['fields'] = fields unless fields.nil?
169
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
170
+ execute_or_queue_command(command, &block)
171
+ end
172
+
104
173
  # Describes the properties of the metric set.
105
174
  # @param [String] name
106
175
  # Required. The resource name. Format: apps/`app`/anrRateMetricSet
@@ -383,6 +452,13 @@ module Google
383
452
  # @param [Fixnum] interval_start_time_year
384
453
  # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime
385
454
  # without a year.
455
+ # @param [String] order_by
456
+ # Specifies a field that will be used to order the results. ** Supported
457
+ # dimensions:** * `errorReportCount`: Orders issues by number of error reports. *
458
+ # `distinctUsers`: Orders issues by number of unique affected users. **
459
+ # Supported operations:** * `asc` for ascending order. * `desc` for descending
460
+ # order. Format: A field and an operation, e.g., `errorReportCount desc` *Note:*
461
+ # currently only one field is supported at a time.
386
462
  # @param [Fixnum] page_size
387
463
  # The maximum number of error issues to return. The service may return fewer
388
464
  # than this value. If unspecified, at most 50 error issues will be returned. The
@@ -408,7 +484,7 @@ module Google
408
484
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
409
485
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
410
486
  # @raise [Google::Apis::AuthorizationError] Authorization is required
411
- 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)
487
+ 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, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
412
488
  command = make_simple_command(:get, 'v1alpha1/{+parent}/errorIssues:search', options)
413
489
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse::Representation
414
490
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse
@@ -434,6 +510,7 @@ module Google
434
510
  command.query['interval.startTime.timeZone.version'] = interval_start_time_time_zone_version unless interval_start_time_time_zone_version.nil?
435
511
  command.query['interval.startTime.utcOffset'] = interval_start_time_utc_offset unless interval_start_time_utc_offset.nil?
436
512
  command.query['interval.startTime.year'] = interval_start_time_year unless interval_start_time_year.nil?
513
+ command.query['orderBy'] = order_by unless order_by.nil?
437
514
  command.query['pageSize'] = page_size unless page_size.nil?
438
515
  command.query['pageToken'] = page_token unless page_token.nil?
439
516
  command.query['fields'] = fields unless fields.nil?
@@ -538,7 +615,7 @@ module Google
538
615
  # @param [Fixnum] page_size
539
616
  # The maximum number of reports to return. The service may return fewer than
540
617
  # this value. If unspecified, at most 50 reports will be returned. The maximum
541
- # value is 1000; values above 1000 will be coerced to 1000.
618
+ # value is 100; values above 100 will be coerced to 100.
542
619
  # @param [String] page_token
543
620
  # A page token, received from a previous `SearchErrorReports` call. Provide this
544
621
  # to retrieve the subsequent page. When paginating, all other parameters
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-playdeveloperreporting_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.21.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-05-14 00:00:00.000000000 Z
11
+ date: 2023-07-09 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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-playdeveloperreporting_v1alpha1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-playdeveloperreporting_v1alpha1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-playdeveloperreporting_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []