Class: Google::Apis::ComputeBeta::InstancesRemoveResourcePoliciesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::InstancesRemoveResourcePoliciesRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#resource_policies ⇒ Array<String>
Resource policies to be removed from this instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstancesRemoveResourcePoliciesRequest
constructor
A new instance of InstancesRemoveResourcePoliciesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstancesRemoveResourcePoliciesRequest
Returns a new instance of InstancesRemoveResourcePoliciesRequest.
19815 19816 19817 |
# File 'lib/google/apis/compute_beta/classes.rb', line 19815 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_policies ⇒ Array<String>
Resource policies to be removed from this instance.
Corresponds to the JSON property resourcePolicies
19813 19814 19815 |
# File 'lib/google/apis/compute_beta/classes.rb', line 19813 def resource_policies @resource_policies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19820 19821 19822 |
# File 'lib/google/apis/compute_beta/classes.rb', line 19820 def update!(**args) @resource_policies = args[:resource_policies] if args.key?(:resource_policies) end |