Class: Google::Apis::LoggingV2::AppHubService
- Inherits:
-
Object
- Object
- Google::Apis::LoggingV2::AppHubService
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/logging_v2/classes.rb,
lib/google/apis/logging_v2/representations.rb,
lib/google/apis/logging_v2/representations.rb
Overview
Metadata associated with an App Hub service.
Instance Attribute Summary collapse
-
#criticality_type ⇒ String
Service criticality type Example: "CRITICAL" Corresponds to the JSON property
criticalityType. -
#environment_type ⇒ String
Service environment type Example: "DEV" Corresponds to the JSON property
environmentType. -
#id ⇒ String
Service Id.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppHubService
constructor
A new instance of AppHubService.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppHubService
Returns a new instance of AppHubService.
113 114 115 |
# File 'lib/google/apis/logging_v2/classes.rb', line 113 def initialize(**args) update!(**args) end |
Instance Attribute Details
#criticality_type ⇒ String
Service criticality type Example: "CRITICAL"
Corresponds to the JSON property criticalityType
101 102 103 |
# File 'lib/google/apis/logging_v2/classes.rb', line 101 def criticality_type @criticality_type end |
#environment_type ⇒ String
Service environment type Example: "DEV"
Corresponds to the JSON property environmentType
106 107 108 |
# File 'lib/google/apis/logging_v2/classes.rb', line 106 def environment_type @environment_type end |
#id ⇒ String
Service Id. Example: "my-service"
Corresponds to the JSON property id
111 112 113 |
# File 'lib/google/apis/logging_v2/classes.rb', line 111 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
118 119 120 121 122 |
# File 'lib/google/apis/logging_v2/classes.rb', line 118 def update!(**args) @criticality_type = args[:criticality_type] if args.key?(:criticality_type) @environment_type = args[:environment_type] if args.key?(:environment_type) @id = args[:id] if args.key?(:id) end |