Class: Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociationLocationDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networksecurity_v1beta1/classes.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb

Overview

Details about the association status in a specific cloud location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MirroringEndpointGroupAssociationLocationDetails

Returns a new instance of MirroringEndpointGroupAssociationLocationDetails.



3211
3212
3213
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3211

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

Instance Attribute Details

#locationString

Output only. The cloud location. Corresponds to the JSON property location

Returns:

  • (String)


3204
3205
3206
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3204

def location
  @location
end

#stateString

Output only. The association state in this location. Corresponds to the JSON property state

Returns:

  • (String)


3209
3210
3211
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3209

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3216
3217
3218
3219
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3216

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