Class: Google::Apis::ComputeAlpha::ProjectsSetManagedProtectionTierRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ProjectsSetManagedProtectionTierRequest
- 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
-
#managed_protection_tier ⇒ String
Managed protection tier to be set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProjectsSetManagedProtectionTierRequest
constructor
A new instance of ProjectsSetManagedProtectionTierRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProjectsSetManagedProtectionTierRequest
Returns a new instance of ProjectsSetManagedProtectionTierRequest.
34076 34077 34078 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 34076 def initialize(**args) update!(**args) end |
Instance Attribute Details
#managed_protection_tier ⇒ String
Managed protection tier to be set.
Corresponds to the JSON property managedProtectionTier
34074 34075 34076 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 34074 def managed_protection_tier @managed_protection_tier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34081 34082 34083 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 34081 def update!(**args) @managed_protection_tier = args[:managed_protection_tier] if args.key?(:managed_protection_tier) end |