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
Deprecated Threshold to start a survey automatically 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
615 616 617 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 615 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_cost_per_response_nanos ⇒ Fixnum
Deprecated Threshold to start a survey automatically if the quoted prices is
less than or equal to this value. See Survey.Cost for more details. This will
no longer be available after June 2018.
Corresponds to the JSON property maxCostPerResponseNanos
613 614 615 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 613 def max_cost_per_response_nanos @max_cost_per_response_nanos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
620 621 622 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 620 def update!(**args) @max_cost_per_response_nanos = args[:max_cost_per_response_nanos] if args.key?(:max_cost_per_response_nanos) end |