Class: Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociationDetails
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociationDetails
- 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
-
#name ⇒ String
Output only.
-
#network ⇒ String
Output only.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MirroringEndpointGroupAssociationDetails
constructor
A new instance of MirroringEndpointGroupAssociationDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MirroringEndpointGroupAssociationDetails
Returns a new instance of MirroringEndpointGroupAssociationDetails.
4210 4211 4212 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
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
4197 4198 4199 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4197 def name @name end |
#network ⇒ String
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
4203 4204 4205 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4203 def network @network end |
#state ⇒ String
Output only. Most recent known state of the association.
Corresponds to the JSON property state
4208 4209 4210 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4208 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4215 4216 4217 4218 4219 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4215 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 |