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.



3886
3887
3888
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 3886

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)


3873
3874
3875
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 3873

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)


3879
3880
3881
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 3879

def network
  @network
end

#stateString

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

Returns:

  • (String)


3884
3885
3886
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 3884

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3891
3892
3893
3894
3895
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 3891

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