Class: Google::Apis::ComputeAlpha::ProjectsSetManagedProtectionTierRequest

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) ⇒ ProjectsSetManagedProtectionTierRequest

Returns a new instance of ProjectsSetManagedProtectionTierRequest.



38744
38745
38746
# File 'lib/google/apis/compute_alpha/classes.rb', line 38744

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

Instance Attribute Details

#managed_protection_tierString

Managed protection tier to be set. Corresponds to the JSON property managedProtectionTier

Returns:

  • (String)


38742
38743
38744
# File 'lib/google/apis/compute_alpha/classes.rb', line 38742

def managed_protection_tier
  @managed_protection_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



38749
38750
38751
# File 'lib/google/apis/compute_alpha/classes.rb', line 38749

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