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

#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



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

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



187
188
189
190
191
192
193
194
195
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 187

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



251
252
253
254
255
256
257
258
259
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 251

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



587
588
589
590
591
592
593
594
595
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 587

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_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



651
652
653
654
655
656
657
658
659
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 651

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



155
156
157
158
159
160
161
162
163
164
165
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 155

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



218
219
220
221
222
223
224
225
226
227
228
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 218

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



282
283
284
285
286
287
288
289
290
291
292
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 282

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



618
619
620
621
622
623
624
625
626
627
628
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 618

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_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



683
684
685
686
687
688
689
690
691
692
693
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 683

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_vital_error_issues(parent, filter: nil, interval_end_time_day: nil, interval_end_time_hours: nil, interval_end_time_minutes: nil, interval_end_time_month: nil, interval_end_time_nanos: nil, interval_end_time_seconds: nil, interval_end_time_time_zone_id: nil, interval_end_time_time_zone_version: nil, interval_end_time_utc_offset: nil, interval_end_time_year: nil, interval_start_time_day: nil, interval_start_time_hours: nil, interval_start_time_minutes: nil, interval_start_time_month: nil, interval_start_time_nanos: nil, interval_start_time_seconds: nil, interval_start_time_time_zone_id: nil, interval_start_time_time_zone_version: nil, interval_start_time_utc_offset: nil, interval_start_time_year: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|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 = "walleye" OR deviceModel = "marlin". * 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. ** 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 operators AND and OR can be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The OR operator takes precedence over AND so the use of parenthesis is not necessary when building CNF. The OR operator 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)

    Required. Day of month. Must be from 1 to 31 and valid for the year and month.

  • interval_end_time_hours (Fixnum) (defaults to: nil)

    Required. Hours of day in 24 hour format. Should be from 0 to 23. 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)

    Required. Minutes of hour of day. Must be from 0 to 59.

  • interval_end_time_month (Fixnum) (defaults to: nil)

    Required. Month of year. Must be from 1 to 12.

  • interval_end_time_nanos (Fixnum) (defaults to: nil)

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

  • interval_end_time_seconds (Fixnum) (defaults to: nil)

    Required. Seconds of minutes of the time. Must normally be from 0 to 59. 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)

    Required. Day of month. Must be from 1 to 31 and valid for the year and month.

  • interval_start_time_hours (Fixnum) (defaults to: nil)

    Required. Hours of day in 24 hour format. Should be from 0 to 23. 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)

    Required. Minutes of hour of day. Must be from 0 to 59.

  • interval_start_time_month (Fixnum) (defaults to: nil)

    Required. Month of year. Must be from 1 to 12.

  • interval_start_time_nanos (Fixnum) (defaults to: nil)

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

  • interval_start_time_seconds (Fixnum) (defaults to: nil)

    Required. Seconds of minutes of the time. Must normally be from 0 to 59. 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 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



396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 396

def search_vital_error_issues(parent, filter: nil, interval_end_time_day: nil, interval_end_time_hours: nil, interval_end_time_minutes: nil, interval_end_time_month: nil, interval_end_time_nanos: nil, interval_end_time_seconds: nil, interval_end_time_time_zone_id: nil, interval_end_time_time_zone_version: nil, interval_end_time_utc_offset: nil, interval_end_time_year: nil, interval_start_time_day: nil, interval_start_time_hours: nil, interval_start_time_minutes: nil, interval_start_time_month: nil, interval_start_time_nanos: nil, interval_start_time_seconds: nil, interval_start_time_time_zone_id: nil, interval_start_time_time_zone_version: nil, interval_start_time_utc_offset: nil, interval_start_time_year: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  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['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 reports that occurred in the requested devices. Example: deviceModel = "walleye" OR deviceModel = " marlin". * 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. ** 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 operators AND and OR can be used to build complex filters following a conjunctive normal form ( CNF), i.e., conjunctions of disjunctions. The OR operator takes precedence over AND so the use of parenthesis is not necessary when building CNF. The OR operator 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 = ANR is 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)

    Required. Day of month. Must be from 1 to 31 and valid for the year and month.

  • interval_end_time_hours (Fixnum) (defaults to: nil)

    Required. Hours of day in 24 hour format. Should be from 0 to 23. 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)

    Required. Minutes of hour of day. Must be from 0 to 59.

  • interval_end_time_month (Fixnum) (defaults to: nil)

    Required. Month of year. Must be from 1 to 12.

  • interval_end_time_nanos (Fixnum) (defaults to: nil)

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

  • interval_end_time_seconds (Fixnum) (defaults to: nil)

    Required. Seconds of minutes of the time. Must normally be from 0 to 59. 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)

    Required. Day of month. Must be from 1 to 31 and valid for the year and month.

  • interval_start_time_hours (Fixnum) (defaults to: nil)

    Required. Hours of day in 24 hour format. Should be from 0 to 23. 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)

    Required. Minutes of hour of day. Must be from 0 to 59.

  • interval_start_time_month (Fixnum) (defaults to: nil)

    Required. Month of year. Must be from 1 to 12.

  • interval_start_time_nanos (Fixnum) (defaults to: nil)

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

  • interval_start_time_seconds (Fixnum) (defaults to: nil)

    Required. Seconds of minutes of the time. Must normally be from 0 to 59. 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 1000; values above 1000 will be coerced to 1000.

  • 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



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/service.rb', line 534

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