Class: Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociationDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networksecurity_v1/classes.rb,
lib/google/apis/networksecurity_v1/representations.rb,
lib/google/apis/networksecurity_v1/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.



4071
4072
4073
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4071

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)


4058
4059
4060
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4058

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)


4064
4065
4066
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4064

def network
  @network
end

#stateString

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

Returns:

  • (String)


4069
4070
4071
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4069

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4076
4077
4078
4079
4080
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 4076

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