Class: Google::Apis::LookerV1::IngressIpAllowlistRule
- Inherits:
-
Object
- Object
- Google::Apis::LookerV1::IngressIpAllowlistRule
- 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
-
#description ⇒ String
Optional.
-
#ip_range ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IngressIpAllowlistRule
constructor
A new instance of IngressIpAllowlistRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#description ⇒ String
Optional. Description for the IP range.
Corresponds to the JSON property description
445 446 447 |
# File 'lib/google/apis/looker_v1/classes.rb', line 445 def description @description end |
#ip_range ⇒ String
Optional. The IP range to allow ingress traffic from.
Corresponds to the JSON property ipRange
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 |