Class: Google::Apis::ContentV2_1::CollectionStatusDestinationStatus

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

Overview

Destination status message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CollectionStatusDestinationStatus

Returns a new instance of CollectionStatusDestinationStatus.



1899
1900
1901
# File 'lib/google/apis/content_v2_1/classes.rb', line 1899

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

Instance Attribute Details

#destinationString

The name of the destination Corresponds to the JSON property destination

Returns:

  • (String)


1892
1893
1894
# File 'lib/google/apis/content_v2_1/classes.rb', line 1892

def destination
  @destination
end

#statusString

The status for the specified destination. Corresponds to the JSON property status

Returns:

  • (String)


1897
1898
1899
# File 'lib/google/apis/content_v2_1/classes.rb', line 1897

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1904
1905
1906
1907
# File 'lib/google/apis/content_v2_1/classes.rb', line 1904

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