Class: Google::Apis::IapV1::TunnelDestGroup
- Inherits:
-
Object
- Object
- Google::Apis::IapV1::TunnelDestGroup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iap_v1/classes.rb,
lib/google/apis/iap_v1/representations.rb,
lib/google/apis/iap_v1/representations.rb
Overview
A TunnelDestGroup.
Instance Attribute Summary collapse
-
#cidrs ⇒ Array<String>
Optional.
-
#fqdns ⇒ Array<String>
Optional.
-
#name ⇒ String
Identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TunnelDestGroup
constructor
A new instance of TunnelDestGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TunnelDestGroup
Returns a new instance of TunnelDestGroup.
1202 1203 1204 |
# File 'lib/google/apis/iap_v1/classes.rb', line 1202 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cidrs ⇒ Array<String>
Optional. Unordered list. List of CIDRs that this group applies to.
Corresponds to the JSON property cidrs
1189 1190 1191 |
# File 'lib/google/apis/iap_v1/classes.rb', line 1189 def cidrs @cidrs end |
#fqdns ⇒ Array<String>
Optional. Unordered list. List of FQDNs that this group applies to.
Corresponds to the JSON property fqdns
1194 1195 1196 |
# File 'lib/google/apis/iap_v1/classes.rb', line 1194 def fqdns @fqdns end |
#name ⇒ String
Identifier. Identifier for the TunnelDestGroup. Must be unique within the
project and contain only lower case letters (a-z) and dashes (-).
Corresponds to the JSON property name
1200 1201 1202 |
# File 'lib/google/apis/iap_v1/classes.rb', line 1200 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1207 1208 1209 1210 1211 |
# File 'lib/google/apis/iap_v1/classes.rb', line 1207 def update!(**args) @cidrs = args[:cidrs] if args.key?(:cidrs) @fqdns = args[:fqdns] if args.key?(:fqdns) @name = args[:name] if args.key?(:name) end |