Class: Google::Apis::ConsumersurveysV2::SurveysStartRequest
- Inherits:
-
Object
- Object
- Google::Apis::ConsumersurveysV2::SurveysStartRequest
- Defined in:
- generated/google/apis/consumersurveys_v2/classes.rb,
generated/google/apis/consumersurveys_v2/representations.rb,
generated/google/apis/consumersurveys_v2/representations.rb
Instance Attribute Summary collapse
-
#max_cost_per_response_nanos ⇒ Fixnum
Threshold to start a survey automically if the quoted prices is less than or equal to this value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SurveysStartRequest
constructor
A new instance of SurveysStartRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SurveysStartRequest
Returns a new instance of SurveysStartRequest
660 661 662 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 660 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_cost_per_response_nanos ⇒ Fixnum
Threshold to start a survey automically if the quoted prices is less than or
equal to this value. See Survey.Cost for more details.
Corresponds to the JSON property maxCostPerResponseNanos
658 659 660 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 658 def max_cost_per_response_nanos @max_cost_per_response_nanos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
665 666 667 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 665 def update!(**args) @max_cost_per_response_nanos = args[:max_cost_per_response_nanos] if args.key?(:max_cost_per_response_nanos) end |