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.



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

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



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

def discovered_workload
  @discovered_workload
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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