Class: Google::Apis::ComputeBeta::ProjectsSetManagedProtectionTierRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProjectsSetManagedProtectionTierRequest

Returns a new instance of ProjectsSetManagedProtectionTierRequest.



31844
31845
31846
# File 'lib/google/apis/compute_beta/classes.rb', line 31844

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)


31842
31843
31844
# File 'lib/google/apis/compute_beta/classes.rb', line 31842

def managed_protection_tier
  @managed_protection_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31849
31850
31851
# File 'lib/google/apis/compute_beta/classes.rb', line 31849

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