Class: Google::Apis::LookerV1::IngressIpAllowlistRule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/looker_v1/classes.rb,
lib/google/apis/looker_v1/representations.rb,
lib/google/apis/looker_v1/representations.rb

Overview

Ingress IP allowlist rule.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IngressIpAllowlistRule

Returns a new instance of IngressIpAllowlistRule.



452
453
454
# File 'lib/google/apis/looker_v1/classes.rb', line 452

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

Instance Attribute Details

#descriptionString

Optional. Description for the IP range. Corresponds to the JSON property description

Returns:

  • (String)


445
446
447
# File 'lib/google/apis/looker_v1/classes.rb', line 445

def description
  @description
end

#ip_rangeString

Optional. The IP range to allow ingress traffic from. Corresponds to the JSON property ipRange

Returns:

  • (String)


450
451
452
# File 'lib/google/apis/looker_v1/classes.rb', line 450

def ip_range
  @ip_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



457
458
459
460
# File 'lib/google/apis/looker_v1/classes.rb', line 457

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @ip_range = args[:ip_range] if args.key?(:ip_range)
end