Class: Google::Apis::MerchantapiDatasourcesV1beta::Destination
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiDatasourcesV1beta::Destination
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_datasources_v1beta/classes.rb,
lib/google/apis/merchantapi_datasources_v1beta/representations.rb,
lib/google/apis/merchantapi_datasources_v1beta/representations.rb
Overview
Destinations also known as Marketing methods selections.
Instance Attribute Summary collapse
-
#destination ⇒ String
Marketing methods ( also known as destination) selections.
-
#state ⇒ String
The state of the destination.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Destination
constructor
A new instance of Destination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Destination
Returns a new instance of Destination.
200 201 202 |
# File 'lib/google/apis/merchantapi_datasources_v1beta/classes.rb', line 200 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination ⇒ String
Marketing methods (
also known as destination) selections.
Corresponds to the JSON property destination
193 194 195 |
# File 'lib/google/apis/merchantapi_datasources_v1beta/classes.rb', line 193 def destination @destination end |
#state ⇒ String
The state of the destination.
Corresponds to the JSON property state
198 199 200 |
# File 'lib/google/apis/merchantapi_datasources_v1beta/classes.rb', line 198 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
205 206 207 208 |
# File 'lib/google/apis/merchantapi_datasources_v1beta/classes.rb', line 205 def update!(**args) @destination = args[:destination] if args.key?(:destination) @state = args[:state] if args.key?(:state) end |