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.



4098
4099
4100
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4098

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)


4096
4097
4098
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4096

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4103
4104
4105
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4103

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