Class: Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaListReportsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/checks_v1alpha/classes.rb,
lib/google/apis/checks_v1alpha/representations.rb,
lib/google/apis/checks_v1alpha/representations.rb

Overview

The response message for ReportService.ListReports.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChecksReportV1alphaListReportsResponse

Returns a new instance of GoogleChecksReportV1alphaListReportsResponse.



1534
1535
1536
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1534

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1527
1528
1529
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1527

def next_page_token
  @next_page_token
end

#reportsArray<Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaReport>

The reports for the specified app. Corresponds to the JSON property reports



1532
1533
1534
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1532

def reports
  @reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1539
1540
1541
1542
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1539

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @reports = args[:reports] if args.key?(:reports)
end