Class: Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Unit

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb

Overview

A unit of deployment that has its lifecycle via a CRUD API using an actuation engine under the hood (e.g. based on Terraform, Helm or a custom implementation provided by a service producer). A building block of a SaaS Tenant.

Defined Under Namespace

Modules: ManagementMode, SystemManagedState, UnitState Classes: AnnotationsEntry, LabelsEntry, MaintenanceSettings

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects.

More info: https://kubernetes.io/docs/user-guide/annotations.

Returns:

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

    Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects.

    More info: https://kubernetes.io/docs/user-guide/annotations



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#conditions::Array<::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitCondition> (readonly)

Returns Optional. Output only. A set of conditions which indicate the various conditions this resource can have.

Returns:



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when the resource was created.

Returns:



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#dependencies::Array<::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitDependency> (readonly)

Returns Optional. Output only. Set of dependencies for this unit. Maximum 10.

Returns:



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#dependents::Array<::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitDependency> (readonly)

Returns Optional. Output only. List of Units that depend on this unit. Unit can only be deprovisioned if this list is empty. Maximum 1000.

Returns:



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#etag::String (readonly)

Returns Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.

Returns:

  • (::String)

    Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#input_variables::Array<::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitVariable> (readonly)

Returns Optional. Output only. Indicates the current input variables deployed by the unit.

Returns:



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

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

Returns Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.

Returns:

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

    Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#maintenance::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Unit::MaintenanceSettings

Returns Optional. Captures requested directives for performing future maintenance on the unit. This includes a request for the unit to skip maintenance for a period of time and remain pinned to its current release as well as controls for postponing maintenance scheduled in future.

Returns:



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#management_mode::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Unit::ManagementMode

Returns Optional. Immutable. Indicates whether the Unit life cycle is controlled by the user or by the system. Immutable once created.

Returns:



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#name::String

Returns Identifier. The resource name (full URI of the resource) following the standard naming scheme:

"projects/{project}/locations/{location}/units/{unit}".

Returns:

  • (::String)

    Identifier. The resource name (full URI of the resource) following the standard naming scheme:

    "projects/{project}/locations/{location}/units/{unit}"



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#ongoing_operations::Array<::String> (readonly)

Returns Optional. Output only. List of concurrent UnitOperations that are operating on this Unit.

Returns:

  • (::Array<::String>)

    Optional. Output only. List of concurrent UnitOperations that are operating on this Unit.



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#output_variables::Array<::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitVariable> (readonly)

Returns Optional. Output only. Set of key/value pairs corresponding to output variables from execution of actuation templates. The variables are declared in actuation configs (e.g in helm chart or terraform) and the values are fetched and returned by the actuation engine upon completion of execution.

Returns:

  • (::Array<::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitVariable>)

    Optional. Output only. Set of key/value pairs corresponding to output variables from execution of actuation templates. The variables are declared in actuation configs (e.g in helm chart or terraform) and the values are fetched and returned by the actuation engine upon completion of execution.



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#pending_operations::Array<::String> (readonly)

Returns Optional. Output only. List of pending (wait to be executed) UnitOperations for this unit.

Returns:

  • (::Array<::String>)

    Optional. Output only. List of pending (wait to be executed) UnitOperations for this unit.



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#release::String (readonly)

Returns Optional. Output only. The current Release object for this Unit.

Returns:

  • (::String)

    Optional. Output only. The current Release object for this Unit.



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#scheduled_operations::Array<::String> (readonly)

Returns Optional. Output only. List of scheduled UnitOperations for this unit.

Returns:

  • (::Array<::String>)

    Optional. Output only. List of scheduled UnitOperations for this unit.



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#state::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Unit::UnitState (readonly)

Returns Optional. Output only. Current lifecycle state of the resource (e.g. if it's being created or ready to use).

Returns:



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#system_cleanup_at::Google::Protobuf::Timestamp (readonly)

Returns Optional. Output only. If set, indicates the time when the system will start removing the unit.

Returns:



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#system_managed_state::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Unit::SystemManagedState (readonly)

Returns Optional. Output only. Indicates the system managed state of the unit.

Returns:



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#tenant::String

Returns Optional. Reference to the Saas Tenant resource this unit belongs to. This for example informs the maintenance policies to use for scheduling future updates on a unit. (optional and immutable once created).

Returns:

  • (::String)

    Optional. Reference to the Saas Tenant resource this unit belongs to. This for example informs the maintenance policies to use for scheduling future updates on a unit. (optional and immutable once created)



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#uid::String (readonly)

Returns Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.

Returns:

  • (::String)

    Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#unit_kind::String

Returns Optional. Reference to the UnitKind this Unit belongs to. Immutable once set.

Returns:

  • (::String)

    Optional. Reference to the UnitKind this Unit belongs to. Immutable once set.



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.

Returns:

  • (::Google::Protobuf::Timestamp)

    Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.



383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb', line 383

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

  # Captures requested directives for performing future maintenance on the
  # unit. This includes a request for the unit to skip maintenance for a period
  # of time and remain pinned to its current release as well as controls for
  # postponing maintenance scheduled in future.
  # @!attribute [rw] pinned_until_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Optional. If present, it fixes the release on the unit until the given
  #     time; i.e. changes to the release field will be rejected. Rollouts should
  #     and will also respect this by not requesting an upgrade in the first
  #     place.
  class MaintenanceSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # UnitState annotates what is the current state of the unit itself.
  module UnitState
    # Unspecified state.
    UNIT_STATE_UNSPECIFIED = 0

    # Unit is not provisioned.
    UNIT_STATE_NOT_PROVISIONED = 1

    # Unit is being provisioned.
    UNIT_STATE_PROVISIONING = 2

    # Unit is being updated. This is typically when a unit is being upgraded to
    # a new release or some of the input variables on the Unit is being
    # changed. Certain kinds of updates may cause the Unit to become unusable
    # while the update is in progress.
    UNIT_STATE_UPDATING = 3

    # Unit is being deleted.
    UNIT_STATE_DEPROVISIONING = 4

    # Unit has been provisioned and is ready for use
    UNIT_STATE_READY = 5

    # Unit has error, when it is not ready and some error operation
    UNIT_STATE_ERROR = 6
  end

  # ManagementMode describes who is responsible for the management of the unit.
  module ManagementMode
    MANAGEMENT_MODE_UNSPECIFIED = 0

    # Unit's lifecycle is managed by the user.
    MANAGEMENT_MODE_USER = 1

    # The system will decide when to deprovision and delete the unit.
    # User still can deprovision or delete the unit manually.
    MANAGEMENT_MODE_SYSTEM = 2
  end

  module SystemManagedState
    SYSTEM_MANAGED_STATE_UNSPECIFIED = 0

    # Unit has dependents attached.
    SYSTEM_MANAGED_STATE_ACTIVE = 1

    # Unit has no dependencies attached, but attachment is allowed.
    SYSTEM_MANAGED_STATE_INACTIVE = 2

    # Unit has no dependencies attached, and attachment is not allowed.
    SYSTEM_MANAGED_STATE_DECOMMISSIONED = 3
  end
end