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.



3948
3949
3950
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3948

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)


3935
3936
3937
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3935

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)


3941
3942
3943
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3941

def network
  @network
end

#stateString

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

Returns:

  • (String)


3946
3947
3948
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3946

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3953
3954
3955
3956
3957
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3953

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