Class: Google::Apis::PlaydeveloperreportingV1beta1::PlaydeveloperreportingService

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

Overview

Google Play Developer Reporting API

Examples:

require 'google/apis/playdeveloperreporting_v1beta1'

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

See Also:

Constant Summary collapse

DEFAULT_ENDPOINT_TEMPLATE =
"https://playdeveloperreporting.$UNIVERSE_DOMAIN$/"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePlaydeveloperreportingService

Returns a new instance of PlaydeveloperreportingService.



47
48
49
50
51
52
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 47

def initialize
  super(DEFAULT_ENDPOINT_TEMPLATE, '',
        client_name: 'google-apis-playdeveloperreporting_v1beta1',
        client_version: Google::Apis::PlaydeveloperreportingV1beta1::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.



40
41
42
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 40

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.



45
46
47
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 45

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::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions

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



127
128
129
130
131
132
133
134
135
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 127

def fetch_app_release_filter_options(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1beta1/{+name}:fetchReleaseFilterOptions', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions
  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::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1AnrRateMetricSet

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



195
196
197
198
199
200
201
202
203
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 195

def get_vital_anrrate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1AnrRateMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1AnrRateMetricSet
  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::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1CrashRateMetricSet

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



258
259
260
261
262
263
264
265
266
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 258

def get_vital_crashrate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1CrashRateMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1CrashRateMetricSet
  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::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet

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



322
323
324
325
326
327
328
329
330
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 322

def get_vital_error_count(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet
  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::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet

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



702
703
704
705
706
707
708
709
710
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 702

def get_vital_excessivewakeuprate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet
  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::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet

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



765
766
767
768
769
770
771
772
773
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 765

def get_vital_slowrenderingrate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet
  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::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet

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



828
829
830
831
832
833
834
835
836
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 828

def get_vital_slowstartrate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet
  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::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet

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



892
893
894
895
896
897
898
899
900
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 892

def get_vital_stuckbackgroundwakelockrate(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet
  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::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse

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



93
94
95
96
97
98
99
100
101
102
103
104
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 93

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, 'v1beta1/{+parent}/anomalies', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse
  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_v1beta1_query_anr_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse

Queries the metrics in the metric set.

Parameters:

  • name (String)

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

  • google_play_developer_reporting_v1beta1_query_anr_rate_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest) (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



226
227
228
229
230
231
232
233
234
235
236
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 226

def query_vital_anrrate(name, google_play_developer_reporting_v1beta1_query_anr_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1beta1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1beta1_query_anr_rate_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse
  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_v1beta1_query_crash_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse

Queries the metrics in the metric set.

Parameters:

  • name (String)

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

  • google_play_developer_reporting_v1beta1_query_crash_rate_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest) (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



289
290
291
292
293
294
295
296
297
298
299
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 289

def query_vital_crashrate(name, google_play_developer_reporting_v1beta1_query_crash_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1beta1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1beta1_query_crash_rate_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse
  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_v1beta1_query_error_count_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse

Queries the metrics in the metrics set.

Parameters:

  • name (String)

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

  • google_play_developer_reporting_v1beta1_query_error_count_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest) (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



353
354
355
356
357
358
359
360
361
362
363
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 353

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)
  command = make_simple_command(:post, 'v1beta1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1beta1_query_error_count_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse
  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_v1beta1_query_excessive_wakeup_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse

Queries the metrics in the metric set.

Parameters:

  • name (String)

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

  • google_play_developer_reporting_v1beta1_query_excessive_wakeup_rate_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest) (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



733
734
735
736
737
738
739
740
741
742
743
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 733

def query_vital_excessivewakeuprate(name, google_play_developer_reporting_v1beta1_query_excessive_wakeup_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1beta1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1beta1_query_excessive_wakeup_rate_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse
  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_v1beta1_query_slow_rendering_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse

Queries the metrics in the metric set.

Parameters:

  • name (String)

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

  • google_play_developer_reporting_v1beta1_query_slow_rendering_rate_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest) (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



796
797
798
799
800
801
802
803
804
805
806
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 796

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)
  command = make_simple_command(:post, 'v1beta1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1beta1_query_slow_rendering_rate_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse
  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_v1beta1_query_slow_start_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse

Queries the metrics in the metric set.

Parameters:

  • name (String)

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

  • google_play_developer_reporting_v1beta1_query_slow_start_rate_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest) (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



859
860
861
862
863
864
865
866
867
868
869
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 859

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)
  command = make_simple_command(:post, 'v1beta1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1beta1_query_slow_start_rate_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse
  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_v1beta1_query_stuck_background_wakelock_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse

Queries the metrics in the metric set.

Parameters:

  • name (String)

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

  • google_play_developer_reporting_v1beta1_query_stuck_background_wakelock_rate_metric_set_request_object (Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest) (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



924
925
926
927
928
929
930
931
932
933
934
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 924

def query_vital_stuckbackgroundwakelockrate(name, google_play_developer_reporting_v1beta1_query_stuck_background_wakelock_rate_metric_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1beta1/{+name}:query', options)
  command.request_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest::Representation
  command.request_object = google_play_developer_reporting_v1beta1_query_stuck_background_wakelock_rate_metric_set_request_object
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse
  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::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse

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



164
165
166
167
168
169
170
171
172
173
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 164

def search_apps(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1beta1/apps:search', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse
  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, sample_error_report_limit: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse

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.

  • sample_error_report_limit (Fixnum) (defaults to: nil)

    Optional. Number of sample error reports to return per ErrorIssue. If unspecified, 0 will be used. Note: currently only 0 and 1 are supported.

  • 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



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
520
521
522
523
524
525
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 492

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, sample_error_report_limit: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1beta1/{+parent}/errorIssues:search', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse
  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['sampleErrorReportLimit'] = sample_error_report_limit unless sample_error_report_limit.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::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse

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:CRASH,ANR. Example: errorIssueType = CRASH OR errorIssueType = ANR. *errorIssueId: Matches error reports belonging to the requested error issue ids only. Example: errorIssueId = 1234 OR errorIssueId = 4567. *errorReportId: Matches error reports with the requested error report id. Example:errorReportId = 1234 OR errorReportId = 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 operatorsANDandORcan be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. TheOR operator 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 versionCode = ANR. The filter expressionversionCode = 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



649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
# File 'lib/google/apis/playdeveloperreporting_v1beta1/service.rb', line 649

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, 'v1beta1/{+parent}/errorReports:search', options)
  command.response_representation = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse::Representation
  command.response_class = Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse
  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