Class: Google::Apis::AreainsightsV1::ComputeInsightsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AreainsightsV1::ComputeInsightsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/areainsights_v1/classes.rb,
lib/google/apis/areainsights_v1/representations.rb,
lib/google/apis/areainsights_v1/representations.rb
Overview
Response for the ComputeInsights RPC.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
Result for Insights.INSIGHT_COUNT.
-
#place_insights ⇒ Array<Google::Apis::AreainsightsV1::PlaceInsight>
Result for Insights.INSIGHT_PLACES.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ComputeInsightsResponse
constructor
A new instance of ComputeInsightsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ComputeInsightsResponse
Returns a new instance of ComputeInsightsResponse.
101 102 103 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 101 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Result for Insights.INSIGHT_COUNT.
Corresponds to the JSON property count
94 95 96 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 94 def count @count end |
#place_insights ⇒ Array<Google::Apis::AreainsightsV1::PlaceInsight>
Result for Insights.INSIGHT_PLACES.
Corresponds to the JSON property placeInsights
99 100 101 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 99 def place_insights @place_insights end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
106 107 108 109 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 106 def update!(**args) @count = args[:count] if args.key?(:count) @place_insights = args[:place_insights] if args.key?(:place_insights) end |