Class: Google::Apis::LoggingV2beta1::ListLogEntriesResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#entriesArray<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_tokenString

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

Returns:

  • (String)


479
480
481
# File 'generated/google/apis/logging_v2beta1/classes.rb', line 479

def next_page_token
  @next_page_token
end

#project_id_errorsHash<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

Returns:



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