Class: Google::Apis::LoggingV1beta3::ListLogServicesResponse

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 ListLogServicesRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListLogServicesResponse

Returns a new instance of ListLogServicesResponse



386
387
388
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 386

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

Instance Attribute Details

#log_servicesArray<Google::Apis::LoggingV1beta3::LogService>

A list of log services. Corresponds to the JSON property logServices



376
377
378
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 376

def log_services
  @log_services
end

#next_page_tokenString

If there are more results, then nextPageToken is returned in the response. To get the next batch of services, use the value of nextPageToken as pageToken in the next call of ListLogServices. If nextPageToken is empty, then there are no more results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


384
385
386
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 384

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



391
392
393
394
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 391

def update!(**args)
  @log_services = args[:log_services] unless args[:log_services].nil?
  @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
end