Class: Google::Apis::ComputeAlpha::DiskSettings
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::DiskSettings
- 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
-
#default_resource_policies ⇒ Hash<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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiskSettings
constructor
A new instance of DiskSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiskSettings
Returns a new instance of DiskSettings.
7997 7998 7999 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 7997 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_resource_policies ⇒ Hash<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
7995 7996 7997 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 7995 def default_resource_policies @default_resource_policies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8002 8003 8004 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8002 def update!(**args) @default_resource_policies = args[:default_resource_policies] if args.key?(:default_resource_policies) end |