Class: Google::Apis::ComputeAlpha::MultiMigResourcePolicies

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

Overview

Resource policies message for a multi-MIG. Specifies the workload policy configuration of the multi-MIG.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MultiMigResourcePolicies

Returns a new instance of MultiMigResourcePolicies.



40984
40985
40986
# File 'lib/google/apis/compute_alpha/classes.rb', line 40984

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

Instance Attribute Details

#workload_policyString

The URL of the workload policy for this multi-MIG. It can be a full or partial URL. For example, the following are all valid URLs to a workload policy:

Returns:

  • (String)


40982
40983
40984
# File 'lib/google/apis/compute_alpha/classes.rb', line 40982

def workload_policy
  @workload_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40989
40990
40991
# File 'lib/google/apis/compute_alpha/classes.rb', line 40989

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