Class: Google::Apis::LoggingV2beta1::ListLogEntriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::LoggingV2beta1::ListLogEntriesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/logging_v2beta1/classes.rb,
generated/google/apis/logging_v2beta1/representations.rb,
generated/google/apis/logging_v2beta1/representations.rb
Overview
Result returned from ListLogEntries
.
Instance Attribute Summary collapse
-
#entries ⇒ Array<Google::Apis::LoggingV2beta1::LogEntry>
A list of log entries.
-
#next_page_token ⇒ String
If there are more results than were returned, then
nextPageToken
is included in the response. -
#project_id_errors ⇒ Hash<String,Google::Apis::LoggingV2beta1::Status>
If partial_success is true, contains the project ids that had errors and the associated errors.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListLogEntriesResponse
constructor
A new instance of ListLogEntriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListLogEntriesResponse
Returns a new instance of ListLogEntriesResponse.
487 488 489 |
# File 'generated/google/apis/logging_v2beta1/classes.rb', line 487 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entries ⇒ Array<Google::Apis::LoggingV2beta1::LogEntry>
A list of log entries.
Corresponds to the JSON property entries
472 473 474 |
# File 'generated/google/apis/logging_v2beta1/classes.rb', line 472 def entries @entries end |
#next_page_token ⇒ String
If there are more results than were returned, then nextPageToken
is included
in the response. To get the next set of results, call this method again using
the value of nextPageToken
as pageToken
.
Corresponds to the JSON property nextPageToken
479 480 481 |
# File 'generated/google/apis/logging_v2beta1/classes.rb', line 479 def next_page_token @next_page_token end |
#project_id_errors ⇒ Hash<String,Google::Apis::LoggingV2beta1::Status>
If partial_success is true, contains the project ids that had errors and the
associated errors.
Corresponds to the JSON property projectIdErrors
485 486 487 |
# File 'generated/google/apis/logging_v2beta1/classes.rb', line 485 def project_id_errors @project_id_errors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
492 493 494 495 496 |
# File 'generated/google/apis/logging_v2beta1/classes.rb', line 492 def update!(**args) @entries = args[:entries] if args.key?(:entries) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @project_id_errors = args[:project_id_errors] if args.key?(:project_id_errors) end |