Class: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/composer_v1beta1/classes.rb,
generated/google/apis/composer_v1beta1/representations.rb,
generated/google/apis/composer_v1beta1/representations.rb

Overview

Network-level access control policy for the Airflow web server.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WebServerNetworkAccessControl

Returns a new instance of WebServerNetworkAccessControl.



1048
1049
1050
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 1048

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

Instance Attribute Details

#allowed_ip_rangesArray<Google::Apis::ComposerV1beta1::AllowedIpRange>

A collection of allowed IP ranges with descriptions. Corresponds to the JSON property allowedIpRanges



1046
1047
1048
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 1046

def allowed_ip_ranges
  @allowed_ip_ranges
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1053
1054
1055
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 1053

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