Class: Google::Apis::NetworksecurityV1beta1::FirewallEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1beta1::FirewallEndpoint
- 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
Message describing Endpoint object
Instance Attribute Summary collapse
-
#associated_networks ⇒ Array<String>
Output only.
-
#create_time ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Labels as key value pairs Corresponds to the JSON property
labels. -
#name ⇒ String
Output only.
-
#reconciling ⇒ Boolean
(also: #reconciling?)
Output only.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FirewallEndpoint
constructor
A new instance of FirewallEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FirewallEndpoint
Returns a new instance of FirewallEndpoint.
485 486 487 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 485 def initialize(**args) update!(**args) end |
Instance Attribute Details
#associated_networks ⇒ Array<String>
Output only. List of networks that are associated with this endpoint in the
local zone. This is a projection of the FirewallEndpointAssociations pointing
at this endpoint. A network will only appear in this list after traffic
routing is fully configured. Format: projects/project/global/networks/name.
Corresponds to the JSON property associatedNetworks
451 452 453 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 451 def associated_networks @associated_networks end |
#create_time ⇒ String
Output only. Create time stamp
Corresponds to the JSON property createTime
456 457 458 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 456 def create_time @create_time end |
#labels ⇒ Hash<String,String>
Labels as key value pairs
Corresponds to the JSON property labels
461 462 463 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 461 def labels @labels end |
#name ⇒ String
Output only. name of resource
Corresponds to the JSON property name
466 467 468 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 466 def name @name end |
#reconciling ⇒ Boolean Also known as: reconciling?
Output only. Whether reconciling is in progress, recommended per https://
google.aip.dev/128.
Corresponds to the JSON property reconciling
472 473 474 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 472 def reconciling @reconciling end |
#state ⇒ String
Output only. Current state of the endpoint.
Corresponds to the JSON property state
478 479 480 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 478 def state @state end |
#update_time ⇒ String
Output only. Update time stamp
Corresponds to the JSON property updateTime
483 484 485 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 483 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
490 491 492 493 494 495 496 497 498 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 490 def update!(**args) @associated_networks = args[:associated_networks] if args.key?(:associated_networks) @create_time = args[:create_time] if args.key?(:create_time) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @reconciling = args[:reconciling] if args.key?(:reconciling) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |