Class: Google::Apis::ServiceusageV1::AnalyzeConsumerPolicyResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1::AnalyzeConsumerPolicyResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/serviceusage_v1/classes.rb,
lib/google/apis/serviceusage_v1/representations.rb,
lib/google/apis/serviceusage_v1/representations.rb
Overview
The response of analyzing a consumer policy update.
Instance Attribute Summary collapse
-
#analysis ⇒ Array<Google::Apis::ServiceusageV1::Analysis>
The list of analyses returned from performing the intended policy update analysis.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnalyzeConsumerPolicyResponse
constructor
A new instance of AnalyzeConsumerPolicyResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnalyzeConsumerPolicyResponse
Returns a new instance of AnalyzeConsumerPolicyResponse.
220 221 222 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 220 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analysis ⇒ Array<Google::Apis::ServiceusageV1::Analysis>
The list of analyses returned from performing the intended policy update
analysis. The analysis is grouped by service name and different analysis types.
The empty analysis list means that the consumer policy can be updated without
any warnings or blockers.
Corresponds to the JSON property analysis
218 219 220 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 218 def analysis @analysis end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
225 226 227 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 225 def update!(**args) @analysis = args[:analysis] if args.key?(:analysis) end |