Class: Google::Apis::SurveysV2::SurveysStartRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_nanosFixnum

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

Returns:

  • (Fixnum)


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