Cloud Composer V1 API - Class Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::TriggererResource (v0.11.0)

Reference documentation and code samples for the Cloud Composer V1 API class Google::Cloud::Orchestration::Airflow::Service::V1::WorkloadsConfig::TriggererResource.

Configuration for resources used by Airflow triggerers.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#count

def count() -> ::Integer
Returns
  • (::Integer) — Optional. The number of triggerers.

#count=

def count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The number of triggerers.
Returns
  • (::Integer) — Optional. The number of triggerers.

#cpu

def cpu() -> ::Float
Returns
  • (::Float) — Optional. CPU request and limit for a single Airflow triggerer replica.

#cpu=

def cpu=(value) -> ::Float
Parameter
  • value (::Float) — Optional. CPU request and limit for a single Airflow triggerer replica.
Returns
  • (::Float) — Optional. CPU request and limit for a single Airflow triggerer replica.

#memory_gb

def memory_gb() -> ::Float
Returns
  • (::Float) — Optional. Memory (GB) request and limit for a single Airflow triggerer replica.

#memory_gb=

def memory_gb=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Memory (GB) request and limit for a single Airflow triggerer replica.
Returns
  • (::Float) — Optional. Memory (GB) request and limit for a single Airflow triggerer replica.