Class: Google::Apis::AreainsightsV1::ComputeInsightsResponse

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

Instance Method Summary collapse

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

#countFixnum

Result for Insights.INSIGHT_COUNT. Corresponds to the JSON property count

Returns:

  • (Fixnum)


94
95
96
# File 'lib/google/apis/areainsights_v1/classes.rb', line 94

def count
  @count
end

#place_insightsArray<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