Class: Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::WorkerResource

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 for resources used by Airflow workers.

Instance Attribute Summary collapse

Instance Attribute Details

#cpu::Float

Returns Optional. CPU request and limit for a single Airflow worker replica.

Returns:

  • (::Float)

    Optional. CPU request and limit for a single Airflow worker replica.



1602
1603
1604
1605
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1602

class WorkerResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#max_count::Integer

Returns Optional. Maximum number of workers for autoscaling.

Returns:

  • (::Integer)

    Optional. Maximum number of workers for autoscaling.



1602
1603
1604
1605
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1602

class WorkerResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#memory_gb::Float

Returns Optional. Memory (GB) request and limit for a single Airflow worker replica.

Returns:

  • (::Float)

    Optional. Memory (GB) request and limit for a single Airflow worker replica.



1602
1603
1604
1605
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1602

class WorkerResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#min_count::Integer

Returns Optional. Minimum number of workers for autoscaling.

Returns:

  • (::Integer)

    Optional. Minimum number of workers for autoscaling.



1602
1603
1604
1605
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1602

class WorkerResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#storage_gb::Float

Returns Optional. Storage (GB) request and limit for a single Airflow worker replica.

Returns:

  • (::Float)

    Optional. Storage (GB) request and limit for a single Airflow worker replica.



1602
1603
1604
1605
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1602

class WorkerResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end