Class: Google::Apis::SurveysV2::SurveysStopResponse

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) ⇒ SurveysStopResponse

Returns a new instance of SurveysStopResponse



769
770
771
# File 'generated/google/apis/surveys_v2/classes.rb', line 769

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#request_idString

Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests. Corresponds to the JSON property requestId

Returns:

  • (String)


762
763
764
# File 'generated/google/apis/surveys_v2/classes.rb', line 762

def request_id
  @request_id
end

#resourceGoogle::Apis::SurveysV2::Survey

Representation of an individual survey object. Corresponds to the JSON property resource



767
768
769
# File 'generated/google/apis/surveys_v2/classes.rb', line 767

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



774
775
776
777
# File 'generated/google/apis/surveys_v2/classes.rb', line 774

def update!(**args)
  @request_id = args[:request_id] if args.key?(:request_id)
  @resource = args[:resource] if args.key?(:resource)
end