Class: Google::Apis::LoggingV1beta3::ListLogSinksResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListLogSinksResponse

Returns a new instance of ListLogSinksResponse.



471
472
473
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 471

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

Instance Attribute Details

#sinksArray<Google::Apis::LoggingV1beta3::LogSink>

The requested log sinks. If a returned LogSink object has an empty destination field, the client can retrieve the complete LogSink object by calling log.sinks.get. Corresponds to the JSON property sinks



469
470
471
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 469

def sinks
  @sinks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



476
477
478
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 476

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