Class: Google::Apis::ManufacturersV1::DestinationStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/manufacturers_v1/classes.rb,
lib/google/apis/manufacturers_v1/representations.rb,
lib/google/apis/manufacturers_v1/representations.rb

Overview

The destination status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DestinationStatus

Returns a new instance of DestinationStatus.



379
380
381
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 379

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

Instance Attribute Details

#destinationString

The name of the destination. Corresponds to the JSON property destination

Returns:

  • (String)


372
373
374
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 372

def destination
  @destination
end

#statusString

The status of the destination. Corresponds to the JSON property status

Returns:

  • (String)


377
378
379
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 377

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



384
385
386
387
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 384

def update!(**args)
  @destination = args[:destination] if args.key?(:destination)
  @status = args[:status] if args.key?(:status)
end