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.



100
101
102
# File 'lib/google/apis/areainsights_v1/classes.rb', line 100

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

Instance Attribute Details

#countFixnum

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

Returns:

  • (Fixnum)


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

def count
  @count
end

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