Class: Google::Cloud::Orchestration::Airflow::Service::V1::Environment

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

An environment for running orchestration tasks.

Defined Under Namespace

Modules: State Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#config::Google::Cloud::Orchestration::Airflow::Service::V1::EnvironmentConfig

Returns Configuration parameters for this environment.

Returns:



1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1301

class Environment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the environment.
  module State
    # The state of the environment is unknown.
    STATE_UNSPECIFIED = 0

    # The environment is in the process of being created.
    CREATING = 1

    # The environment is currently running and healthy. It is ready for use.
    RUNNING = 2

    # The environment is being updated. It remains usable but cannot receive
    # additional update requests or be deleted at this time.
    UPDATING = 3

    # The environment is undergoing deletion. It cannot be used.
    DELETING = 4

    # The environment has encountered an error and cannot be used.
    ERROR = 5
  end
end

#create_time::Google::Protobuf::Timestamp

Returns Output only. The time at which this environment was created.

Returns:



1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1301

class Environment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the environment.
  module State
    # The state of the environment is unknown.
    STATE_UNSPECIFIED = 0

    # The environment is in the process of being created.
    CREATING = 1

    # The environment is currently running and healthy. It is ready for use.
    RUNNING = 2

    # The environment is being updated. It remains usable but cannot receive
    # additional update requests or be deleted at this time.
    UPDATING = 3

    # The environment is undergoing deletion. It cannot be used.
    DELETING = 4

    # The environment has encountered an error and cannot be used.
    ERROR = 5
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Optional. User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions:

  • Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
  • Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
  • Both keys and values are additionally constrained to be <= 128 bytes in size.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Optional. User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions:

    • Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
    • Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
    • Both keys and values are additionally constrained to be <= 128 bytes in size.


1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1301

class Environment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the environment.
  module State
    # The state of the environment is unknown.
    STATE_UNSPECIFIED = 0

    # The environment is in the process of being created.
    CREATING = 1

    # The environment is currently running and healthy. It is ready for use.
    RUNNING = 2

    # The environment is being updated. It remains usable but cannot receive
    # additional update requests or be deleted at this time.
    UPDATING = 3

    # The environment is undergoing deletion. It cannot be used.
    DELETING = 4

    # The environment has encountered an error and cannot be used.
    ERROR = 5
  end
end

#name::String

Returns The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

Returns:

  • (::String)

    The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

    EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.



1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1301

class Environment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the environment.
  module State
    # The state of the environment is unknown.
    STATE_UNSPECIFIED = 0

    # The environment is in the process of being created.
    CREATING = 1

    # The environment is currently running and healthy. It is ready for use.
    RUNNING = 2

    # The environment is being updated. It remains usable but cannot receive
    # additional update requests or be deleted at this time.
    UPDATING = 3

    # The environment is undergoing deletion. It cannot be used.
    DELETING = 4

    # The environment has encountered an error and cannot be used.
    ERROR = 5
  end
end

#state::Google::Cloud::Orchestration::Airflow::Service::V1::Environment::State

Returns The current state of the environment.

Returns:



1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1301

class Environment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the environment.
  module State
    # The state of the environment is unknown.
    STATE_UNSPECIFIED = 0

    # The environment is in the process of being created.
    CREATING = 1

    # The environment is currently running and healthy. It is ready for use.
    RUNNING = 2

    # The environment is being updated. It remains usable but cannot receive
    # additional update requests or be deleted at this time.
    UPDATING = 3

    # The environment is undergoing deletion. It cannot be used.
    DELETING = 4

    # The environment has encountered an error and cannot be used.
    ERROR = 5
  end
end

#update_time::Google::Protobuf::Timestamp

Returns Output only. The time at which this environment was last modified.

Returns:



1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1301

class Environment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the environment.
  module State
    # The state of the environment is unknown.
    STATE_UNSPECIFIED = 0

    # The environment is in the process of being created.
    CREATING = 1

    # The environment is currently running and healthy. It is ready for use.
    RUNNING = 2

    # The environment is being updated. It remains usable but cannot receive
    # additional update requests or be deleted at this time.
    UPDATING = 3

    # The environment is undergoing deletion. It cannot be used.
    DELETING = 4

    # The environment has encountered an error and cannot be used.
    ERROR = 5
  end
end

#uuid::String

Returns Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.

Returns:

  • (::String)

    Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.



1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
# File 'proto_docs/google/cloud/orchestration/airflow/service/v1/environments.rb', line 1301

class Environment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the environment.
  module State
    # The state of the environment is unknown.
    STATE_UNSPECIFIED = 0

    # The environment is in the process of being created.
    CREATING = 1

    # The environment is currently running and healthy. It is ready for use.
    RUNNING = 2

    # The environment is being updated. It remains usable but cannot receive
    # additional update requests or be deleted at this time.
    UPDATING = 3

    # The environment is undergoing deletion. It cannot be used.
    DELETING = 4

    # The environment has encountered an error and cannot be used.
    ERROR = 5
  end
end