Class: Google::Apis::NetworkservicesV1::MulticastResourceState
- Inherits:
-
Object
- Object
- Google::Apis::NetworkservicesV1::MulticastResourceState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkservices_v1/classes.rb,
lib/google/apis/networkservices_v1/representations.rb,
lib/google/apis/networkservices_v1/representations.rb
Overview
The multicast resource's state.
Instance Attribute Summary collapse
-
#state ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MulticastResourceState
constructor
A new instance of MulticastResourceState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MulticastResourceState
Returns a new instance of MulticastResourceState.
4072 4073 4074 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4072 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ String
Optional. The state of the multicast resource.
Corresponds to the JSON property state
4070 4071 4072 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4070 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4077 4078 4079 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4077 def update!(**args) @state = args[:state] if args.key?(:state) end |