Class: Google::Apis::ComputeAlpha::ProjectsSetDefaultNetworkTierRequest

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

Returns a new instance of ProjectsSetDefaultNetworkTierRequest.



32506
32507
32508
# File 'lib/google/apis/compute_alpha/classes.rb', line 32506

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)


32504
32505
32506
# File 'lib/google/apis/compute_alpha/classes.rb', line 32504

def network_tier
  @network_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32511
32512
32513
# File 'lib/google/apis/compute_alpha/classes.rb', line 32511

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