Class: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1beta1/classes.rb,
lib/google/apis/composer_v1beta1/representations.rb,
lib/google/apis/composer_v1beta1/representations.rb
Overview
Network-level access control policy for the Airflow web server.
Instance Attribute Summary collapse
-
#allowed_ip_ranges ⇒ Array<Google::Apis::ComposerV1beta1::AllowedIpRange>
A collection of allowed IP ranges with descriptions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WebServerNetworkAccessControl
constructor
A new instance of WebServerNetworkAccessControl.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WebServerNetworkAccessControl
Returns a new instance of WebServerNetworkAccessControl.
2418 2419 2420 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 2418 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_ip_ranges ⇒ Array<Google::Apis::ComposerV1beta1::AllowedIpRange>
A collection of allowed IP ranges with descriptions.
Corresponds to the JSON property allowedIpRanges
2416 2417 2418 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 2416 def allowed_ip_ranges @allowed_ip_ranges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2423 2424 2425 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 2423 def update!(**args) @allowed_ip_ranges = args[:allowed_ip_ranges] if args.key?(:allowed_ip_ranges) end |