Class: Google::Apis::ApphubV1::LookupDiscoveredWorkloadResponse
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1::LookupDiscoveredWorkloadResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apphub_v1/classes.rb,
lib/google/apis/apphub_v1/representations.rb,
lib/google/apis/apphub_v1/representations.rb
Overview
Response for LookupDiscoveredWorkload.
Instance Attribute Summary collapse
-
#discovered_workload ⇒ Google::Apis::ApphubV1::DiscoveredWorkload
DiscoveredWorkload is a binary deployment (such as managed instance groups ( MIGs) and GKE deployments) that performs the smallest logical subset of business functionality.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LookupDiscoveredWorkloadResponse
constructor
A new instance of LookupDiscoveredWorkloadResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LookupDiscoveredWorkloadResponse
Returns a new instance of LookupDiscoveredWorkloadResponse.
1160 1161 1162 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#discovered_workload ⇒ Google::Apis::ApphubV1::DiscoveredWorkload
DiscoveredWorkload is a binary deployment (such as managed instance groups (
MIGs) and GKE deployments) that performs the smallest logical subset of
business functionality. A discovered workload can be registered to an App Hub
Workload.
Corresponds to the JSON property discoveredWorkload
1158 1159 1160 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1158 def discovered_workload @discovered_workload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1165 1166 1167 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1165 def update!(**args) @discovered_workload = args[:discovered_workload] if args.key?(:discovered_workload) end |