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.
-
#associations ⇒ Array<Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociationReference>
Output only.
-
#billing_project_id ⇒ String
Required.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Immutable.
-
#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.
1059 1060 1061 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1059 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
1008 1009 1010 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1008 def associated_networks @associated_networks end |
#associations ⇒ Array<Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociationReference>
Output only. List of FirewallEndpointAssociations that are associated to this
endpoint. An association will only appear in this list after traffic routing
is fully configured.
Corresponds to the JSON property associations
1015 1016 1017 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1015 def associations @associations end |
#billing_project_id ⇒ String
Required. Project to bill on endpoint uptime usage.
Corresponds to the JSON property billingProjectId
1020 1021 1022 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1020 def billing_project_id @billing_project_id end |
#create_time ⇒ String
Output only. Create time stamp
Corresponds to the JSON property createTime
1025 1026 1027 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1025 def create_time @create_time end |
#description ⇒ String
Optional. Description of the firewall endpoint. Max length 2048 characters.
Corresponds to the JSON property description
1030 1031 1032 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1030 def description @description end |
#labels ⇒ Hash<String,String>
Optional. Labels as key value pairs
Corresponds to the JSON property labels
1035 1036 1037 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1035 def labels @labels end |
#name ⇒ String
Immutable. Identifier. name of resource
Corresponds to the JSON property name
1040 1041 1042 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1040 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
1046 1047 1048 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1046 def reconciling @reconciling end |
#state ⇒ String
Output only. Current state of the endpoint.
Corresponds to the JSON property state
1052 1053 1054 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1052 def state @state end |
#update_time ⇒ String
Output only. Update time stamp
Corresponds to the JSON property updateTime
1057 1058 1059 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1057 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1064 def update!(**args) @associated_networks = args[:associated_networks] if args.key?(:associated_networks) @associations = args[:associations] if args.key?(:associations) @billing_project_id = args[:billing_project_id] if args.key?(:billing_project_id) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @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 |