Class: Google::Apis::ComputeBeta::ProjectsSetDefaultNetworkTierRequest

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

Returns a new instance of ProjectsSetDefaultNetworkTierRequest.



31949
31950
31951
# File 'lib/google/apis/compute_beta/classes.rb', line 31949

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

Instance Attribute Details

#network_tierString

Default network tier to be set. Corresponds to the JSON property networkTier

Returns:

  • (String)


31947
31948
31949
# File 'lib/google/apis/compute_beta/classes.rb', line 31947

def network_tier
  @network_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31954
31955
31956
# File 'lib/google/apis/compute_beta/classes.rb', line 31954

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