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.



4072
4073
4074
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4072

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)


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