Class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaAnalysis

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleApiServiceusageV2betaAnalysis

Returns a new instance of GoogleApiServiceusageV2betaAnalysis.



2629
2630
2631
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 2629

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

Instance Attribute Details

#analysisGoogle::Apis::ServiceusageV1::GoogleApiServiceusageV2betaAnalysisResult

An analysis result including blockers and warnings. Corresponds to the JSON property analysis



2610
2611
2612
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 2610

def analysis
  @analysis
end

#analysis_typeString

Output only. The type of analysis. Corresponds to the JSON property analysisType

Returns:

  • (String)


2615
2616
2617
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 2615

def analysis_type
  @analysis_type
end

#display_nameString

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

Returns:

  • (String)


2621
2622
2623
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 2621

def display_name
  @display_name
end

#serviceString

The names of the service that has analysis result of warnings or blockers. Example: services/storage.googleapis.com. Corresponds to the JSON property service

Returns:

  • (String)


2627
2628
2629
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 2627

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2634
2635
2636
2637
2638
2639
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 2634

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