Class: Google::Apis::ServiceusageV1::Analysis
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1::Analysis
- 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
A message to group the analysis information.
Instance Attribute Summary collapse
-
#analysis ⇒ Google::Apis::ServiceusageV1::AnalysisResult
An analysis result including blockers and warnings.
-
#analysis_type ⇒ String
Output only.
-
#display_name ⇒ String
Output only.
-
#service ⇒ String
The names of the service that has analysis result of warnings or blockers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Analysis
constructor
A new instance of Analysis.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Analysis
Returns a new instance of Analysis.
156 157 158 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 156 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analysis ⇒ Google::Apis::ServiceusageV1::AnalysisResult
An analysis result including blockers and warnings.
Corresponds to the JSON property analysis
137 138 139 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 137 def analysis @analysis end |
#analysis_type ⇒ String
Output only. The type of analysis.
Corresponds to the JSON property analysisType
142 143 144 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 142 def analysis_type @analysis_type end |
#display_name ⇒ String
Output only. The user friendly display name of the analysis type. E.g. service
dependency analysis, service resource usage analysis, etc.
Corresponds to the JSON property displayName
148 149 150 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 148 def display_name @display_name end |
#service ⇒ String
The names of the service that has analysis result of warnings or blockers.
Example: services/storage.googleapis.com
.
Corresponds to the JSON property service
154 155 156 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 154 def service @service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
161 162 163 164 165 166 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 161 def update!(**args) @analysis = args[:analysis] if args.key?(:analysis) @analysis_type = args[:analysis_type] if args.key?(:analysis_type) @display_name = args[:display_name] if args.key?(:display_name) @service = args[:service] if args.key?(:service) end |