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.
205 206 207 |
# File 'lib/google/apis/merchantapi_datasources_v1beta/classes.rb', line 205 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination ⇒ String
Marketing methods (
also known as destination) selections.
Corresponds to the JSON property destination
198 199 200 |
# File 'lib/google/apis/merchantapi_datasources_v1beta/classes.rb', line 198 def destination @destination end |
#state ⇒ String
The state of the destination.
Corresponds to the JSON property state
203 204 205 |
# File 'lib/google/apis/merchantapi_datasources_v1beta/classes.rb', line 203 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
210 211 212 213 |
# File 'lib/google/apis/merchantapi_datasources_v1beta/classes.rb', line 210 def update!(**args) @destination = args[:destination] if args.key?(:destination) @state = args[:state] if args.key?(:state) end |