Class: Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociationDetails

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

The endpoint group's view of a connected association.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MirroringEndpointGroupAssociationDetails

Returns a new instance of MirroringEndpointGroupAssociationDetails.



4040
4041
4042
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4040

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

Instance Attribute Details

#nameString

Output only. The connected association's resource name, for example: projects/ 123456789/locations/global/mirroringEndpointGroupAssociations/my-ega. See https://google.aip.dev/124. Corresponds to the JSON property name

Returns:

  • (String)


4027
4028
4029
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4027

def name
  @name
end

#networkString

Output only. The associated network, for example: projects/123456789/global/ networks/my-network. See https://google.aip.dev/124. Corresponds to the JSON property network

Returns:

  • (String)


4033
4034
4035
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4033

def network
  @network
end

#stateString

Output only. Most recent known state of the association. Corresponds to the JSON property state

Returns:

  • (String)


4038
4039
4040
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4038

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4045
4046
4047
4048
4049
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4045

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