Class: Google::Apis::ComputeV1::InstanceGroupManagerResourcePolicies

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerResourcePolicies

Returns a new instance of InstanceGroupManagerResourcePolicies.



23227
23228
23229
# File 'lib/google/apis/compute_v1/classes.rb', line 23227

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

Instance Attribute Details

#workload_policyString

The URL of the workload policy that is specified for this managed instance group. It can be a full or partial URL. For example, the following are all valid URLs to a workload policy:

Returns:

  • (String)


23225
23226
23227
# File 'lib/google/apis/compute_v1/classes.rb', line 23225

def workload_policy
  @workload_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23232
23233
23234
# File 'lib/google/apis/compute_v1/classes.rb', line 23232

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