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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/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.



29997
29998
29999
# File 'lib/google/apis/compute_v1/classes.rb', line 29997

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)


29995
29996
29997
# File 'lib/google/apis/compute_v1/classes.rb', line 29995

def network_tier
  @network_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30002
30003
30004
# File 'lib/google/apis/compute_v1/classes.rb', line 30002

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