Class: Google::Cloud::Orchestration::Airflow::Service::V1::MasterAuthorizedNetworksConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb

Overview

Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.

Defined Under Namespace

Classes: CidrBlock

Instance Attribute Summary collapse

Instance Attribute Details

#cidr_blocks::Array<::Google::Cloud::Orchestration::Airflow::Service::V1::MasterAuthorizedNetworksConfig::CidrBlock>

Returns Up to 50 external networks that could access Kubernetes master through HTTPS.

Returns:



1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1715

class MasterAuthorizedNetworksConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # CIDR block with an optional name.
  # @!attribute [rw] display_name
  #   @return [::String]
  #     User-defined name that identifies the CIDR block.
  # @!attribute [rw] cidr_block
  #   @return [::String]
  #     CIDR block that must be specified in CIDR notation.
  class CidrBlock
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#enabled::Boolean

Returns Whether or not master authorized networks feature is enabled.

Returns:

  • (::Boolean)

    Whether or not master authorized networks feature is enabled.



1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1715

class MasterAuthorizedNetworksConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # CIDR block with an optional name.
  # @!attribute [rw] display_name
  #   @return [::String]
  #     User-defined name that identifies the CIDR block.
  # @!attribute [rw] cidr_block
  #   @return [::String]
  #     CIDR block that must be specified in CIDR notation.
  class CidrBlock
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end