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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ProjectsSetDefaultNetworkTierRequest

Returns a new instance of ProjectsSetDefaultNetworkTierRequest



13762
13763
13764
# File 'generated/google/apis/compute_beta/classes.rb', line 13762

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)


13760
13761
13762
# File 'generated/google/apis/compute_beta/classes.rb', line 13760

def network_tier
  @network_tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13767
13768
13769
# File 'generated/google/apis/compute_beta/classes.rb', line 13767

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