Class: Google::Apis::AreainsightsV1::ComputeInsightsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AreainsightsV1::ComputeInsightsRequest
- 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
Request for the ComputeInsights RPC.
Instance Attribute Summary collapse
-
#filter ⇒ Google::Apis::AreainsightsV1::Filter
Filters for the ComputeInsights RPC.
-
#insights ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ComputeInsightsRequest
constructor
A new instance of ComputeInsightsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ComputeInsightsRequest
Returns a new instance of ComputeInsightsRequest.
75 76 77 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 75 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filter ⇒ Google::Apis::AreainsightsV1::Filter
Filters for the ComputeInsights RPC.
Corresponds to the JSON property filter
67 68 69 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 67 def filter @filter end |
#insights ⇒ Array<String>
Required. Insights to compute. Currently only INSIGHT_COUNT and INSIGHT_PLACES
are supported.
Corresponds to the JSON property insights
73 74 75 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 73 def insights @insights end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
80 81 82 83 |
# File 'lib/google/apis/areainsights_v1/classes.rb', line 80 def update!(**args) @filter = args[:filter] if args.key?(:filter) @insights = args[:insights] if args.key?(:insights) end |