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.
100 101 102 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 100 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Result for Insights.INSIGHT_COUNT.
Corresponds to the JSON property count
93 94 95 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 93 def count @count end |
#place_insights ⇒ Array<Google::Apis::AreainsightsV1::PlaceInsight>
Result for Insights.INSIGHT_PLACES.
Corresponds to the JSON property placeInsights
98 99 100 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 98 def place_insights @place_insights end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
105 106 107 108 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 105 def update!(**args) @count = args[:count] if args.key?(:count) @place_insights = args[:place_insights] if args.key?(:place_insights) end |