Class: Google::Apis::NetworksecurityV1::FirewallEndpointAssociationReference
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1::FirewallEndpointAssociationReference
- 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
This is a subset of the FirewallEndpointAssociation message, containing fields to be used by the consumer.
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#network ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FirewallEndpointAssociationReference
constructor
A new instance of FirewallEndpointAssociationReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FirewallEndpointAssociationReference
Returns a new instance of FirewallEndpointAssociationReference.
642 643 644 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 642 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. The resource name of the FirewallEndpointAssociation. Format:
projects/project
/locations/location
/firewallEndpointAssociations/id
Corresponds to the JSON property name
634 635 636 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 634 def name @name end |
#network ⇒ String
Output only. The VPC network associated. Format: projects/project
/global/
networks/name
.
Corresponds to the JSON property network
640 641 642 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 640 def network @network end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
647 648 649 650 |
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 647 def update!(**args) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) end |