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.



4087
4088
4089
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4087

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)


4085
4086
4087
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4085

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4092
4093
4094
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4092

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