Class: Google::Apis::NetworksecurityV1::MirroringLocation
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1::MirroringLocation
- 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
Details about mirroring in a specific cloud location.
Instance Attribute Summary collapse
-
#location ⇒ String
Output only.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MirroringLocation
constructor
A new instance of MirroringLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MirroringLocation
Returns a new instance of MirroringLocation.
3965 3966 3967 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 3965 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
Output only. The cloud location, e.g. "us-central1-a" or "asia-south1".
Corresponds to the JSON property location
3958 3959 3960 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 3958 def location @location end |
#state ⇒ String
Output only. The current state of the association in this location.
Corresponds to the JSON property state
3963 3964 3965 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 3963 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3970 3971 3972 3973 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 3970 def update!(**args) @location = args[:location] if args.key?(:location) @state = args[:state] if args.key?(:state) end |