Class: Google::Apis::ComputeV1::ProjectsSetDefaultNetworkTierRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProjectsSetDefaultNetworkTierRequest

Returns a new instance of ProjectsSetDefaultNetworkTierRequest.



22411
22412
22413
# File 'generated/google/apis/compute_v1/classes.rb', line 22411

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)


22409
22410
22411
# File 'generated/google/apis/compute_v1/classes.rb', line 22409

def network_tier
  @network_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22416
22417
22418
# File 'generated/google/apis/compute_v1/classes.rb', line 22416

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