Class: Google::Apis::ComputeV1::ProjectsSetDefaultNetworkTierRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::ProjectsSetDefaultNetworkTierRequest
- 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
-
#network_tier ⇒ String
Default network tier to be set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProjectsSetDefaultNetworkTierRequest
constructor
A new instance of ProjectsSetDefaultNetworkTierRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProjectsSetDefaultNetworkTierRequest
Returns a new instance of ProjectsSetDefaultNetworkTierRequest.
30023 30024 30025 |
# File 'lib/google/apis/compute_v1/classes.rb', line 30023 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_tier ⇒ String
Default network tier to be set.
Corresponds to the JSON property networkTier
30021 30022 30023 |
# File 'lib/google/apis/compute_v1/classes.rb', line 30021 def network_tier @network_tier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30028 30029 30030 |
# File 'lib/google/apis/compute_v1/classes.rb', line 30028 def update!(**args) @network_tier = args[:network_tier] if args.key?(:network_tier) end |