Class: Google::Apis::SurveysV2::SurveysStartRequest
- Inherits:
-
Object
- Object
- Google::Apis::SurveysV2::SurveysStartRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/surveys_v2/classes.rb,
generated/google/apis/surveys_v2/representations.rb,
generated/google/apis/surveys_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 Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SurveysStartRequest
Returns a new instance of SurveysStartRequest
718 719 720 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 718 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
716 717 718 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 716 def max_cost_per_response_nanos @max_cost_per_response_nanos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
723 724 725 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 723 def update!(**args) @max_cost_per_response_nanos = args[:max_cost_per_response_nanos] if args.key?(:max_cost_per_response_nanos) end |