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

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

Configuration for resources used by Airflow web server.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cpu

def cpu() -> ::Float
Returns
  • (::Float) — Optional. CPU request and limit for Airflow web server.

#cpu=

def cpu=(value) -> ::Float
Parameter
  • value (::Float) — Optional. CPU request and limit for Airflow web server.
Returns
  • (::Float) — Optional. CPU request and limit for Airflow web server.

#memory_gb

def memory_gb() -> ::Float
Returns
  • (::Float) — Optional. Memory (GB) request and limit for Airflow web server.

#memory_gb=

def memory_gb=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Memory (GB) request and limit for Airflow web server.
Returns
  • (::Float) — Optional. Memory (GB) request and limit for Airflow web server.

#storage_gb

def storage_gb() -> ::Float
Returns
  • (::Float) — Optional. Storage (GB) request and limit for Airflow web server.

#storage_gb=

def storage_gb=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Storage (GB) request and limit for Airflow web server.
Returns
  • (::Float) — Optional. Storage (GB) request and limit for Airflow web server.