Class: Google::Apis::IapV1::TunnelDestGroup

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TunnelDestGroup

Returns a new instance of TunnelDestGroup.



1321
1322
1323
# File 'lib/google/apis/iap_v1/classes.rb', line 1321

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cidrsArray<String>

Optional. Unordered list. List of CIDRs that this group applies to. Corresponds to the JSON property cidrs

Returns:

  • (Array<String>)


1308
1309
1310
# File 'lib/google/apis/iap_v1/classes.rb', line 1308

def cidrs
  @cidrs
end

#fqdnsArray<String>

Optional. Unordered list. List of FQDNs that this group applies to. Corresponds to the JSON property fqdns

Returns:

  • (Array<String>)


1313
1314
1315
# File 'lib/google/apis/iap_v1/classes.rb', line 1313

def fqdns
  @fqdns
end

#nameString

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

Returns:

  • (String)


1319
1320
1321
# File 'lib/google/apis/iap_v1/classes.rb', line 1319

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1326
1327
1328
1329
1330
# File 'lib/google/apis/iap_v1/classes.rb', line 1326

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