Class: Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation
- 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 Association object
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#disabled ⇒ Boolean
(also: #disabled?)
Optional.
-
#firewall_endpoint ⇒ String
Required.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Immutable.
-
#network ⇒ String
Required.
-
#reconciling ⇒ Boolean
(also: #reconciling?)
Output only.
-
#state ⇒ String
Output only.
-
#tls_inspection_policy ⇒ String
Optional.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FirewallEndpointAssociation
constructor
A new instance of FirewallEndpointAssociation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FirewallEndpointAssociation
Returns a new instance of FirewallEndpointAssociation.
1391 1392 1393 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1391 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Create time stamp
Corresponds to the JSON property createTime
1340 1341 1342 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1340 def create_time @create_time end |
#disabled ⇒ Boolean Also known as: disabled?
Optional. Whether the association is disabled. True indicates that traffic won'
t be intercepted
Corresponds to the JSON property disabled
1346 1347 1348 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1346 def disabled @disabled end |
#firewall_endpoint ⇒ String
Required. The URL of the FirewallEndpoint that is being associated.
Corresponds to the JSON property firewallEndpoint
1352 1353 1354 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1352 def firewall_endpoint @firewall_endpoint end |
#labels ⇒ Hash<String,String>
Optional. Labels as key value pairs
Corresponds to the JSON property labels
1357 1358 1359 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1357 def labels @labels end |
#name ⇒ String
Immutable. Identifier. name of resource
Corresponds to the JSON property name
1362 1363 1364 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1362 def name @name end |
#network ⇒ String
Required. The URL of the network that is being associated.
Corresponds to the JSON property network
1367 1368 1369 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1367 def network @network 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
1373 1374 1375 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1373 def reconciling @reconciling end |
#state ⇒ String
Output only. Current state of the association.
Corresponds to the JSON property state
1379 1380 1381 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1379 def state @state end |
#tls_inspection_policy ⇒ String
Optional. The URL of the TlsInspectionPolicy that is being associated.
Corresponds to the JSON property tlsInspectionPolicy
1384 1385 1386 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1384 def tls_inspection_policy @tls_inspection_policy end |
#update_time ⇒ String
Output only. Update time stamp
Corresponds to the JSON property updateTime
1389 1390 1391 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1389 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1396 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @disabled = args[:disabled] if args.key?(:disabled) @firewall_endpoint = args[:firewall_endpoint] if args.key?(:firewall_endpoint) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @reconciling = args[:reconciling] if args.key?(:reconciling) @state = args[:state] if args.key?(:state) @tls_inspection_policy = args[:tls_inspection_policy] if args.key?(:tls_inspection_policy) @update_time = args[:update_time] if args.key?(:update_time) end |