Class: Google::Apis::PlaydeveloperreportingV1alpha1::PlaydeveloperreportingService

Inherits:
Core::BaseService
  • Object
show all
Defined in:
lib/google/apis/playdeveloperreporting_v1alpha1/service.rb

Overview

Google Play Developer Reporting API

Examples:

require 'google/apis/playdeveloperreporting_v1alpha1'

Playdeveloperreporting = Google::Apis::PlaydeveloperreportingV1alpha1 # Alias the module
service = Playdeveloperreporting::PlaydeveloperreportingService.new

See Also:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePlaydeveloperreportingService

Returns a new instance of PlaydeveloperreportingService.



45
46
47
48
49
50
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 45

def initialize
  super('https://playdeveloperreporting.googleapis.com/', '',
        client_name: 'google-apis-playdeveloperreporting_v1alpha1',
        client_version: Google::Apis::PlaydeveloperreportingV1alpha1::GEM_VERSION)
  @batch_path = 'batch'
end

Instance Attribute Details

#keyString

Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

Returns:

  • (String)

    API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.



38
39
40
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 38

def key
  @key
end

#quota_userString

Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

Returns:

  • (String)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.



43
44
45
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 43

def quota_user
  @quota_user
end

Instance Method Details

#fetch_app_release_filter_options(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions

Describes filtering options for releases.

Parameters:

  • name (String)

    Required. Name of the resource, i.e. app the filtering options are for. Format: apps/app

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



125
126
127
128
129
130
131
132
133
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 125

def fetch_app_release_filter_options(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}:fetchReleaseFilterOptions', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_vital_anrrate(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet

Describes the properties of the metric set.

Parameters:

  • name (String)

    Required. The resource name. Format: apps/app/anrRateMetricSet

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



193
194
195
196
197
198
199
200
201
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 193

def get_vital_anrrate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_vital_crashrate(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet

Describes the properties of the metric set.

Parameters:

  • name (String)

    Required. The resource name. Format: apps/app/crashRateMetricSet

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



256
257
258
259
260
261
262
263
264
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 256

def get_vital_crashrate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_vital_error_count(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet

Describes the properties of the metrics set.

Parameters:

  • name (String)

    Required. Name of the errors metric set. Format: apps/app/ errorCountMetricSet

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



320
321
322
323
324
325
326
327
328
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 320

def get_vital_error_count(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_vital_excessivewakeuprate(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet

Describes the properties of the metric set.

Parameters:

  • name (String)

    Required. The resource name. Format: apps/app/excessiveWakeupRateMetricSet

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



694
695
696
697
698
699
700
701
702
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 694

def get_vital_excessivewakeuprate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_vital_slowrenderingrate(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SlowRenderingRateMetricSet

Describes the properties of the metric set.

Parameters:

  • name (String)

    Required. The resource name. Format: apps/app/slowRenderingRateMetricSet

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



757
758
759
760
761
762
763
764
765
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 757

def get_vital_slowrenderingrate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SlowRenderingRateMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SlowRenderingRateMetricSet
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_vital_slowstartrate(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SlowStartRateMetricSet

Describes the properties of the metric set.

Parameters:

  • name (String)

    Required. The resource name. Format: apps/app/slowStartRateMetricSet

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



820
821
822
823
824
825
826
827
828
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 820

def get_vital_slowstartrate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SlowStartRateMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SlowStartRateMetricSet
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_vital_stuckbackgroundwakelockrate(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet

Describes the properties of the metric set.

Parameters:

  • name (String)

    Required. The resource name. Format: apps/app/ stuckBackgroundWakelockRateMetricSet

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



884
885
886
887
888
889
890
891
892
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 884

def get_vital_stuckbackgroundwakelockrate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_anomalies(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse

Lists anomalies in any of the datasets.

Parameters:

  • parent (String)

    Required. Parent app for which anomalies were detected. Format: apps/app

  • filter (String) (defaults to: nil)

    Filtering criteria for anomalies. For basic filter guidance, please check: https://google.aip.dev/160. Supported functions: * activeBetween( startTime, endTime): If specified, only list anomalies that were active in between startTime (inclusive) and endTime (exclusive). Both parameters are expected to conform to an RFC-3339 formatted string (e.g. 2012-04-21T11:30:00- 04:00). UTC offsets are supported. Both startTime and endTime accept the special value UNBOUNDED, to signify intervals with no lower or upper bound, respectively. Examples: * activeBetween("2021-04-21T11:30:00Z", "2021-07- 21T00:00:00Z") * activeBetween(UNBOUNDED, "2021-11-21T00:00:00-04:00") * activeBetween("2021-07-21T00:00:00-04:00", UNBOUNDED)

  • page_size (Fixnum) (defaults to: nil)

    Maximum size of the returned data. If unspecified, at most 10 anomalies will be returned. The maximum value is 100; values above 100 will be coerced to 100.

  • page_token (String) (defaults to: nil)

    A page token, received from a previous ListErrorReports call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListErrorReports must match the call that provided the page token.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 91

def list_anomalies(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/anomalies', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ListAnomaliesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#query_vital_anrrate(name, google_play_developer_reporting_v1alpha1_query_anr_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse

Queries the metrics in the metric set.

Parameters:

  • name (String)

    Required. The resource name. Format: apps/app/anrRateMetricSet

  • google_play_developer_reporting_v1alpha1_query_anr_rate_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



224
225
226
227
228
229
230
231
232
233
234
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 224

def query_vital_anrrate(name, google_play_developer_reporting_v1alpha1_query_anr_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1alpha1_query_anr_rate_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#query_vital_crashrate(name, google_play_developer_reporting_v1alpha1_query_crash_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse

Queries the metrics in the metric set.

Parameters:

  • name (String)

    Required. The resource name. Format: apps/app/crashRateMetricSet

  • google_play_developer_reporting_v1alpha1_query_crash_rate_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



287
288
289
290
291
292
293
294
295
296
297
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 287

def query_vital_crashrate(name, google_play_developer_reporting_v1alpha1_query_crash_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1alpha1_query_crash_rate_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#query_vital_error_count(name, google_play_developer_reporting_v1alpha1_query_error_count_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse

Queries the metrics in the metrics set.

Parameters:

  • name (String)

    Required. The resource name. Format: apps/app/errorCountMetricSet

  • google_play_developer_reporting_v1alpha1_query_error_count_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



351
352
353
354
355
356
357
358
359
360
361
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 351

def query_vital_error_count(name, google_play_developer_reporting_v1alpha1_query_error_count_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1alpha1_query_error_count_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#query_vital_excessivewakeuprate(name, google_play_developer_reporting_v1alpha1_query_excessive_wakeup_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse

Queries the metrics in the metric set.

Parameters:

  • name (String)

    Required. The resource name. Format: apps/app/excessiveWakeupRateMetricSet

  • google_play_developer_reporting_v1alpha1_query_excessive_wakeup_rate_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



725
726
727
728
729
730
731
732
733
734
735
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 725

def query_vital_excessivewakeuprate(name, google_play_developer_reporting_v1alpha1_query_excessive_wakeup_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1alpha1_query_excessive_wakeup_rate_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#query_vital_slowrenderingrate(name, google_play_developer_reporting_v1alpha1_query_slow_rendering_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetResponse

Queries the metrics in the metric set.

Parameters:

  • name (String)

    Required. The resource name. Format: apps/app/slowRenderingRateMetricSet

  • google_play_developer_reporting_v1alpha1_query_slow_rendering_rate_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



788
789
790
791
792
793
794
795
796
797
798
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 788

def query_vital_slowrenderingrate(name, google_play_developer_reporting_v1alpha1_query_slow_rendering_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1alpha1_query_slow_rendering_rate_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#query_vital_slowstartrate(name, google_play_developer_reporting_v1alpha1_query_slow_start_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetResponse

Queries the metrics in the metric set.

Parameters:

  • name (String)

    Required. The resource name. Format: apps/app/slowStartRateMetricSet

  • google_play_developer_reporting_v1alpha1_query_slow_start_rate_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



851
852
853
854
855
856
857
858
859
860
861
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 851

def query_vital_slowstartrate(name, google_play_developer_reporting_v1alpha1_query_slow_start_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1alpha1_query_slow_start_rate_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#query_vital_stuckbackgroundwakelockrate(name, google_play_developer_reporting_v1alpha1_query_stuck_background_wakelock_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse

Queries the metrics in the metric set.

Parameters:

  • name (String)

    Required. The resource name. Format: apps/app/ stuckBackgroundWakelockRateMetricSet

  • google_play_developer_reporting_v1alpha1_query_stuck_background_wakelock_rate_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



916
917
918
919
920
921
922
923
924
925
926
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 916

def query_vital_stuckbackgroundwakelockrate(name, google_play_developer_reporting_v1alpha1_query_stuck_background_wakelock_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1alpha1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1alpha1_query_stuck_background_wakelock_rate_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#search_apps(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse

Searches for Apps accessible by the user.

Parameters:

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of apps to return. The service may return fewer than this value. If unspecified, at most 50 apps will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • page_token (String) (defaults to: nil)

    A page token, received from a previous SearchAccessibleApps call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchAccessibleApps must match the call that provided the page token.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



162
163
164
165
166
167
168
169
170
171
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 162

def search_apps(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1alpha1/apps:search', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse

Searches all error issues in which reports have been grouped.

Parameters:

  • parent (String)

    Required. Parent resource of the error issues, indicating the application for which they were received. Format: apps/app

  • filter (String) (defaults to: nil)

    A selection predicate to retrieve only a subset of the issues. Counts in the returned error issues will only reflect occurrences that matched the filter. For filtering basics, please check AIP-160. ** Supported field names:** * apiLevel: Matches error issues that occurred in the requested Android versions (specified as the numeric API level) only. Example: apiLevel = 28 OR apiLevel = 29. * versionCode: Matches error issues that occurred in the requested app version codes only. Example: versionCode = 123 OR versionCode = 456. * deviceModel: Matches error issues that occurred in the requested devices. Example: deviceModel = "google/ walleye" OR deviceModel = "google/marlin". * deviceBrand: Matches error issues that occurred in the requested device brands. Example: deviceBrand = " Google". *deviceType: Matches error issues that occurred in the requested device types. Example:deviceType = "PHONE". *errorIssueType: Matches error issues of the requested types only. Valid candidates:CRASH,ANR. Example:errorIssueType = CRASH OR errorIssueType = ANR. *appProcessState: Matches error issues on the process state of an app, indicating whether an app runs in the foreground (user-visible) or background. Valid candidates: FOREGROUND,BACKGROUND. Example:appProcessState = FOREGROUND. * isUserPerceived: Matches error issues that are user-perceived. It is not accompanied by any operators. Example:isUserPerceived. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operatorsANDandORcan be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. TheORoperator takes precedence overANDso the use of parenthesis is not necessary when building CNF. TheORoperator is only supported to build disjunctions that apply to the same field, e.g., versionCode = 123 OR errorIssueType = ANR` is not a valid filter. ** Examples *

    • Some valid filtering expressions: * versionCode = 123 AND errorIssueType = ANR * versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH * versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)
  • interval_end_time_day (Fixnum) (defaults to: nil)

    Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.

  • interval_end_time_hours (Fixnum) (defaults to: nil)

    Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time.

  • interval_end_time_minutes (Fixnum) (defaults to: nil)

    Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.

  • interval_end_time_month (Fixnum) (defaults to: nil)

    Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.

  • interval_end_time_nanos (Fixnum) (defaults to: nil)

    Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.

  • interval_end_time_seconds (Fixnum) (defaults to: nil)

    Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.

  • interval_end_time_time_zone_id (String) (defaults to: nil)

    IANA Time Zone Database time zone, e.g. "America/New_York".

  • interval_end_time_time_zone_version (String) (defaults to: nil)

    Optional. IANA Time Zone Database version number, e.g. "2019a".

  • interval_end_time_utc_offset (String) (defaults to: nil)

    UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as seconds: -14400.

  • interval_end_time_year (Fixnum) (defaults to: nil)

    Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.

  • interval_start_time_day (Fixnum) (defaults to: nil)

    Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.

  • interval_start_time_hours (Fixnum) (defaults to: nil)

    Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time.

  • interval_start_time_minutes (Fixnum) (defaults to: nil)

    Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.

  • interval_start_time_month (Fixnum) (defaults to: nil)

    Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.

  • interval_start_time_nanos (Fixnum) (defaults to: nil)

    Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.

  • interval_start_time_seconds (Fixnum) (defaults to: nil)

    Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.

  • interval_start_time_time_zone_id (String) (defaults to: nil)

    IANA Time Zone Database time zone, e.g. "America/New_York".

  • interval_start_time_time_zone_version (String) (defaults to: nil)

    Optional. IANA Time Zone Database version number, e.g. "2019a".

  • interval_start_time_utc_offset (String) (defaults to: nil)

    UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as seconds: -14400.

  • interval_start_time_year (Fixnum) (defaults to: nil)

    Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.

  • order_by (String) (defaults to: nil)

    Specifies a field that will be used to order the results. ** Supported dimensions:** * errorReportCount: Orders issues by number of error reports. * distinctUsers: Orders issues by number of unique affected users. ** Supported operations:** * asc for ascending order. * desc for descending order. Format: A field and an operation, e.g., errorReportCount desc Note: currently only one field is supported at a time.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of error issues to return. The service may return fewer than this value. If unspecified, at most 50 error issues will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • page_token (String) (defaults to: nil)

    A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 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)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/errorIssues:search', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['interval.endTime.day'] = interval_end_time_day unless interval_end_time_day.nil?
  command.query['interval.endTime.hours'] = interval_end_time_hours unless interval_end_time_hours.nil?
  command.query['interval.endTime.minutes'] = interval_end_time_minutes unless interval_end_time_minutes.nil?
  command.query['interval.endTime.month'] = interval_end_time_month unless interval_end_time_month.nil?
  command.query['interval.endTime.nanos'] = interval_end_time_nanos unless interval_end_time_nanos.nil?
  command.query['interval.endTime.seconds'] = interval_end_time_seconds unless interval_end_time_seconds.nil?
  command.query['interval.endTime.timeZone.id'] = interval_end_time_time_zone_id unless interval_end_time_time_zone_id.nil?
  command.query['interval.endTime.timeZone.version'] = interval_end_time_time_zone_version unless interval_end_time_time_zone_version.nil?
  command.query['interval.endTime.utcOffset'] = interval_end_time_utc_offset unless interval_end_time_utc_offset.nil?
  command.query['interval.endTime.year'] = interval_end_time_year unless interval_end_time_year.nil?
  command.query['interval.startTime.day'] = interval_start_time_day unless interval_start_time_day.nil?
  command.query['interval.startTime.hours'] = interval_start_time_hours unless interval_start_time_hours.nil?
  command.query['interval.startTime.minutes'] = interval_start_time_minutes unless interval_start_time_minutes.nil?
  command.query['interval.startTime.month'] = interval_start_time_month unless interval_start_time_month.nil?
  command.query['interval.startTime.nanos'] = interval_start_time_nanos unless interval_start_time_nanos.nil?
  command.query['interval.startTime.seconds'] = interval_start_time_seconds unless interval_start_time_seconds.nil?
  command.query['interval.startTime.timeZone.id'] = interval_start_time_time_zone_id unless interval_start_time_time_zone_id.nil?
  command.query['interval.startTime.timeZone.version'] = interval_start_time_time_zone_version unless interval_start_time_time_zone_version.nil?
  command.query['interval.startTime.utcOffset'] = interval_start_time_utc_offset unless interval_start_time_utc_offset.nil?
  command.query['interval.startTime.year'] = interval_start_time_year unless interval_start_time_year.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#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) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse

Searches all error reports received for an app.

Parameters:

  • parent (String)

    Required. Parent resource of the reports, indicating the application for which they were received. Format: apps/app

  • filter (String) (defaults to: nil)

    A selection predicate to retrieve only a subset of the reports. For filtering basics, please check AIP-160. ** Supported field names:** * apiLevel: Matches error reports that occurred in the requested Android versions (specified as the numeric API level) only. Example: apiLevel = 28 OR apiLevel = 29. * versionCode: Matches error reports that occurred in the requested app version codes only. Example: versionCode = 123 OR versionCode = 456. * deviceModel: Matches error issues that occurred in the requested devices. Example: deviceModel = "google/walleye" OR deviceModel = " google/marlin". * deviceBrand: Matches error issues that occurred in the requested device brands. Example: deviceBrand = "Google". *deviceType: Matches error reports that occurred in the requested device types. Example: deviceType = "PHONE". *errorIssueType: Matches error reports of the requested types only. Valid candidates:JAVA_CRASH,NATIVE_CRASH,ANR. Example:errorIssueType = JAVA_CRASH OR errorIssueType = NATIVE_CRASH. * errorIssueId: Matches error reports belonging to the requested error issue ids only. Example:errorIssueId = 1234 OR errorIssueId = 4567. * appProcessState: Matches error reports on the process state of an app, indicating whether an app runs in the foreground (user-visible) or background. Valid candidates:FOREGROUND,BACKGROUND. Example:appProcessState = FOREGROUND. *isUserPerceived: Matches error reports that are user- perceived. It is not accompanied by any operators. Example:isUserPerceived. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operatorsANDand ORcan be used to build complex filters following a conjunctive normal form ( CNF), i.e., conjunctions of disjunctions. TheORoperator takes precedence overANDso the use of parenthesis is not necessary when building CNF. The ORoperator is only supported to build disjunctions that apply to the same field, e.g.,versionCode = 123 OR versionCode = ANR. The filter expression versionCode = 123 OR errorIssueType = ANRis not valid. ** Examples ** Some valid filtering expressions: *versionCode = 123 AND errorIssueType = ANR* versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH* versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`

  • interval_end_time_day (Fixnum) (defaults to: nil)

    Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.

  • interval_end_time_hours (Fixnum) (defaults to: nil)

    Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time.

  • interval_end_time_minutes (Fixnum) (defaults to: nil)

    Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.

  • interval_end_time_month (Fixnum) (defaults to: nil)

    Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.

  • interval_end_time_nanos (Fixnum) (defaults to: nil)

    Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.

  • interval_end_time_seconds (Fixnum) (defaults to: nil)

    Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.

  • interval_end_time_time_zone_id (String) (defaults to: nil)

    IANA Time Zone Database time zone, e.g. "America/New_York".

  • interval_end_time_time_zone_version (String) (defaults to: nil)

    Optional. IANA Time Zone Database version number, e.g. "2019a".

  • interval_end_time_utc_offset (String) (defaults to: nil)

    UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as seconds: -14400.

  • interval_end_time_year (Fixnum) (defaults to: nil)

    Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.

  • interval_start_time_day (Fixnum) (defaults to: nil)

    Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.

  • interval_start_time_hours (Fixnum) (defaults to: nil)

    Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time.

  • interval_start_time_minutes (Fixnum) (defaults to: nil)

    Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.

  • interval_start_time_month (Fixnum) (defaults to: nil)

    Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.

  • interval_start_time_nanos (Fixnum) (defaults to: nil)

    Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.

  • interval_start_time_seconds (Fixnum) (defaults to: nil)

    Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.

  • interval_start_time_time_zone_id (String) (defaults to: nil)

    IANA Time Zone Database time zone, e.g. "America/New_York".

  • interval_start_time_time_zone_version (String) (defaults to: nil)

    Optional. IANA Time Zone Database version number, e.g. "2019a".

  • interval_start_time_utc_offset (String) (defaults to: nil)

    UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as seconds: -14400.

  • interval_start_time_year (Fixnum) (defaults to: nil)

    Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.

  • page_size (Fixnum) (defaults to: nil)

    The maximum number of reports to return. The service may return fewer than this value. If unspecified, at most 50 reports will be returned. The maximum value is 100; values above 100 will be coerced to 100.

  • page_token (String) (defaults to: nil)

    A page token, received from a previous SearchErrorReports call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchErrorReports must match the call that provided the page token.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 641

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)
  command = make_simple_command(:get, 'v1alpha1/{+parent}/errorReports:search', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['interval.endTime.day'] = interval_end_time_day unless interval_end_time_day.nil?
  command.query['interval.endTime.hours'] = interval_end_time_hours unless interval_end_time_hours.nil?
  command.query['interval.endTime.minutes'] = interval_end_time_minutes unless interval_end_time_minutes.nil?
  command.query['interval.endTime.month'] = interval_end_time_month unless interval_end_time_month.nil?
  command.query['interval.endTime.nanos'] = interval_end_time_nanos unless interval_end_time_nanos.nil?
  command.query['interval.endTime.seconds'] = interval_end_time_seconds unless interval_end_time_seconds.nil?
  command.query['interval.endTime.timeZone.id'] = interval_end_time_time_zone_id unless interval_end_time_time_zone_id.nil?
  command.query['interval.endTime.timeZone.version'] = interval_end_time_time_zone_version unless interval_end_time_time_zone_version.nil?
  command.query['interval.endTime.utcOffset'] = interval_end_time_utc_offset unless interval_end_time_utc_offset.nil?
  command.query['interval.endTime.year'] = interval_end_time_year unless interval_end_time_year.nil?
  command.query['interval.startTime.day'] = interval_start_time_day unless interval_start_time_day.nil?
  command.query['interval.startTime.hours'] = interval_start_time_hours unless interval_start_time_hours.nil?
  command.query['interval.startTime.minutes'] = interval_start_time_minutes unless interval_start_time_minutes.nil?
  command.query['interval.startTime.month'] = interval_start_time_month unless interval_start_time_month.nil?
  command.query['interval.startTime.nanos'] = interval_start_time_nanos unless interval_start_time_nanos.nil?
  command.query['interval.startTime.seconds'] = interval_start_time_seconds unless interval_start_time_seconds.nil?
  command.query['interval.startTime.timeZone.id'] = interval_start_time_time_zone_id unless interval_start_time_time_zone_id.nil?
  command.query['interval.startTime.timeZone.version'] = interval_start_time_time_zone_version unless interval_start_time_time_zone_version.nil?
  command.query['interval.startTime.utcOffset'] = interval_start_time_utc_offset unless interval_start_time_utc_offset.nil?
  command.query['interval.startTime.year'] = interval_start_time_year unless interval_start_time_year.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end