Class: Google::Apis::NetworkservicesV1::MulticastResourceState

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MulticastResourceState

Returns a new instance of MulticastResourceState.



4700
4701
4702
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4700

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#stateString

Optional. The state of the multicast resource. Corresponds to the JSON property state

Returns:

  • (String)


4698
4699
4700
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4698

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4705
4706
4707
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4705

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