Class: Google::Apis::ApphubV1::LookupDiscoveredWorkloadResponse

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

Instance Method Summary collapse

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_workloadGoogle::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