Class: Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociationDetails
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociationDetails
- 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
This is a subset of the InterceptEndpointGroupAssociation message, containing fields to be used by the consumer.
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#network ⇒ String
Output only.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InterceptEndpointGroupAssociationDetails
constructor
A new instance of InterceptEndpointGroupAssociationDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterceptEndpointGroupAssociationDetails
Returns a new instance of InterceptEndpointGroupAssociationDetails.
2071 2072 2073 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2071 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. The resource name of the InterceptEndpointGroupAssociation.
Format: projects/project
/locations/location
/
interceptEndpointGroupAssociations/interceptEndpointGroupAssociation
Corresponds to the JSON property name
2058 2059 2060 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2058 def name @name end |
#network ⇒ String
Output only. The VPC network associated. Format: projects/project
/global/
networks/name
.
Corresponds to the JSON property network
2064 2065 2066 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2064 def network @network end |
#state ⇒ String
Output only. Current state of the association.
Corresponds to the JSON property state
2069 2070 2071 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2069 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2076 2077 2078 2079 2080 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2076 def update!(**args) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @state = args[:state] if args.key?(:state) end |