Class: Google::Apis::LoggingV1beta3::ListLogsResponse

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

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

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

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

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

Returns:

  • (String)


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