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

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ WebServerNetworkAccessControl

Returns a new instance of WebServerNetworkAccessControl.



933
934
935
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 933

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



931
932
933
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 931

def allowed_ip_ranges
  @allowed_ip_ranges
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



938
939
940
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 938

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