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:



1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1250

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.



1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1250

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