Class: Google::Apis::LoggingV1beta3::ListLogsResponse
- Inherits:
-
Object
- Object
- Google::Apis::LoggingV1beta3::ListLogsResponse
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/logging_v1beta3/classes.rb,
generated/google/apis/logging_v1beta3/representations.rb,
generated/google/apis/logging_v1beta3/representations.rb
Overview
Result returned from ListLogs.
Instance Attribute Summary collapse
-
#logs ⇒ Array<Google::Apis::LoggingV1beta3::Log>
A list of log descriptions matching the criteria.
-
#next_page_token ⇒ String
If there are more results, then
nextPageToken
is returned in the response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListLogsResponse
constructor
A new instance of ListLogsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListLogsResponse
Returns a new instance of ListLogsResponse
42 43 44 |
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 42 def initialize(**args) update!(**args) end |
Instance Attribute Details
#logs ⇒ Array<Google::Apis::LoggingV1beta3::Log>
A list of log descriptions matching the criteria.
Corresponds to the JSON property logs
32 33 34 |
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 32 def logs @logs end |
#next_page_token ⇒ String
If there are more results, then nextPageToken
is returned in the response.
To get the next batch of logs, use the value of nextPageToken
as pageToken
in the next call of ListLogs
. If nextPageToken
is empty, then there are no
more results.
Corresponds to the JSON property nextPageToken
40 41 42 |
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 40 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
47 48 49 50 |
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 47 def update!(**args) @logs = args[:logs] unless args[:logs].nil? @next_page_token = args[:next_page_token] unless args[:next_page_token].nil? end |