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:



1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1692

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.



1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1692

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