Class: Google::Apis::ApphubV1alpha::LookupDiscoveredWorkloadResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apphub_v1alpha/classes.rb,
lib/google/apis/apphub_v1alpha/representations.rb,
lib/google/apis/apphub_v1alpha/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.



980
981
982
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 980

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

Instance Attribute Details

#discovered_workloadGoogle::Apis::ApphubV1alpha::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



978
979
980
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 978

def discovered_workload
  @discovered_workload
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



985
986
987
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 985

def update!(**args)
  @discovered_workload = args[:discovered_workload] if args.key?(:discovered_workload)
end