Class: Google::Apis::LoggingV1beta3::ListSinksResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListSinksResponse

Returns a new instance of ListSinksResponse



685
686
687
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 685

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

Instance Attribute Details

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

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



683
684
685
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 683

def sinks
  @sinks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



690
691
692
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 690

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