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.



993
994
995
# File 'lib/google/apis/iap_v1/classes.rb', line 993

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

Instance Attribute Details

#cidrsArray<String>

null List of CIDRs that this group applies to. Corresponds to the JSON property cidrs

Returns:

  • (Array<String>)


980
981
982
# File 'lib/google/apis/iap_v1/classes.rb', line 980

def cidrs
  @cidrs
end

#fqdnsArray<String>

null List of FQDNs that this group applies to. Corresponds to the JSON property fqdns

Returns:

  • (Array<String>)


985
986
987
# File 'lib/google/apis/iap_v1/classes.rb', line 985

def fqdns
  @fqdns
end

#nameString

Required. Immutable. Identifier for the TunnelDestGroup. Must be unique within the project. Corresponds to the JSON property name

Returns:

  • (String)


991
992
993
# File 'lib/google/apis/iap_v1/classes.rb', line 991

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



998
999
1000
1001
1002
# File 'lib/google/apis/iap_v1/classes.rb', line 998

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