Class: Google::Apis::ComputeAlpha::DiskSettings

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DiskSettings

Returns a new instance of DiskSettings.



8097
8098
8099
# File 'lib/google/apis/compute_alpha/classes.rb', line 8097

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

Instance Attribute Details

#default_resource_policiesHash<String,Google::Apis::ComputeAlpha::DiskSettingsResourcePolicyDetails>

An optional parameter for storing the default resource policies that will be used for the Disks created in the given scope. The Key is a string type, provided by customers to uniquely identify the default Resource Policy entry. The Value is a Default ResourcePolicyDetails Object used to represent the detailed information of the Resource Policy entry. Corresponds to the JSON property defaultResourcePolicies



8095
8096
8097
# File 'lib/google/apis/compute_alpha/classes.rb', line 8095

def default_resource_policies
  @default_resource_policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8102
8103
8104
# File 'lib/google/apis/compute_alpha/classes.rb', line 8102

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