1.0.1 (latest) 1.0.0 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Config Delivery V1 API class Google::Cloud::ConfigDelivery::V1::FleetPackage.

A `FleetPackage` resource in the Config Delivery API.


<br />

A `FleetPackage` defines a package through which kubernetes
configuration is deployed to a fleet of kubernetes clusters.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time at which the `FleetPackage` was created.

### #deletion_propagation_policy

    def deletion_propagation_policy() -> ::Google::Cloud::ConfigDelivery::V1::DeletionPropagationPolicy

**Returns**

- ([::Google::Cloud::ConfigDelivery::V1::DeletionPropagationPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-DeletionPropagationPolicy)) --- Optional. Information around how to handle kubernetes resources at the target clusters when the `FleetPackage` is deleted.

### #deletion_propagation_policy=

    def deletion_propagation_policy=(value) -> ::Google::Cloud::ConfigDelivery::V1::DeletionPropagationPolicy

**Parameter**

- **value** ([::Google::Cloud::ConfigDelivery::V1::DeletionPropagationPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-DeletionPropagationPolicy)) --- Optional. Information around how to handle kubernetes resources at the target clusters when the `FleetPackage` is deleted.
**Returns**

- ([::Google::Cloud::ConfigDelivery::V1::DeletionPropagationPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-DeletionPropagationPolicy)) --- Optional. Information around how to handle kubernetes resources at the target clusters when the `FleetPackage` is deleted.

### #info

    def info() -> ::Google::Cloud::ConfigDelivery::V1::FleetPackageInfo

**Returns**

- ([::Google::Cloud::ConfigDelivery::V1::FleetPackageInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-FleetPackageInfo)) --- Output only. Information containing the rollout status of the `FleetPackage` across all the target clusters.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels are attributes that can be set and used by both the user and by Config Delivery. Labels must meet the following constraints:

  - Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  - All characters must use UTF-8 encoding, and international characters are allowed.
  - Keys must start with a lowercase letter or international character.
  - Each resource is limited to a maximum of 64 labels.

  Both keys and values are additionally constrained to be \<= 128 bytes.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels are attributes that can be set and used by both the user and by Config Delivery. Labels must meet the following constraints:


  - Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  - All characters must use UTF-8 encoding, and international characters are allowed.
  - Keys must start with a lowercase letter or international character.
  - Each resource is limited to a maximum of 64 labels.

  Both keys and values are additionally constrained to be \<= 128 bytes.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels are attributes that can be set and used by both the user and by Config Delivery. Labels must meet the following constraints:

  - Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  - All characters must use UTF-8 encoding, and international characters are allowed.
  - Keys must start with a lowercase letter or international character.
  - Each resource is limited to a maximum of 64 labels.

  Both keys and values are additionally constrained to be \<= 128 bytes.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. Name of the `FleetPackage`. Format is `projects/{project}/locations/{location}/fleetPackages/{fleetPackage}`. The `fleetPackage` component must match `[a-z][a-z0-9\-]{0,62}`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. Name of the `FleetPackage`. Format is `projects/{project}/locations/{location}/fleetPackages/{fleetPackage}`. The `fleetPackage` component must match `[a-z][a-z0-9\-]{0,62}`
**Returns**

- (::String) --- Identifier. Name of the `FleetPackage`. Format is `projects/{project}/locations/{location}/fleetPackages/{fleetPackage}`. The `fleetPackage` component must match `[a-z][a-z0-9\-]{0,62}`

### #resource_bundle_selector

    def resource_bundle_selector() -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::ResourceBundleSelector

**Returns**

- ([::Google::Cloud::ConfigDelivery::V1::FleetPackage::ResourceBundleSelector](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-FleetPackage-ResourceBundleSelector)) --- Required. Information specifying the source of kubernetes configuration to deploy.

### #resource_bundle_selector=

    def resource_bundle_selector=(value) -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::ResourceBundleSelector

**Parameter**

- **value** ([::Google::Cloud::ConfigDelivery::V1::FleetPackage::ResourceBundleSelector](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-FleetPackage-ResourceBundleSelector)) --- Required. Information specifying the source of kubernetes configuration to deploy.
**Returns**

- ([::Google::Cloud::ConfigDelivery::V1::FleetPackage::ResourceBundleSelector](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-FleetPackage-ResourceBundleSelector)) --- Required. Information specifying the source of kubernetes configuration to deploy.

### #rollout_strategy

    def rollout_strategy() -> ::Google::Cloud::ConfigDelivery::V1::RolloutStrategy

**Returns**

- ([::Google::Cloud::ConfigDelivery::V1::RolloutStrategy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-RolloutStrategy)) --- Optional. The strategy to use to deploy kubernetes configuration to clusters.

### #rollout_strategy=

    def rollout_strategy=(value) -> ::Google::Cloud::ConfigDelivery::V1::RolloutStrategy

**Parameter**

- **value** ([::Google::Cloud::ConfigDelivery::V1::RolloutStrategy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-RolloutStrategy)) --- Optional. The strategy to use to deploy kubernetes configuration to clusters.
**Returns**

- ([::Google::Cloud::ConfigDelivery::V1::RolloutStrategy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-RolloutStrategy)) --- Optional. The strategy to use to deploy kubernetes configuration to clusters.

### #state

    def state() -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::State

**Returns**

- ([::Google::Cloud::ConfigDelivery::V1::FleetPackage::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-FleetPackage-State)) --- Optional. The desired state of the fleet package.

### #state=

    def state=(value) -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::State

**Parameter**

- **value** ([::Google::Cloud::ConfigDelivery::V1::FleetPackage::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-FleetPackage-State)) --- Optional. The desired state of the fleet package.
**Returns**

- ([::Google::Cloud::ConfigDelivery::V1::FleetPackage::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-FleetPackage-State)) --- Optional. The desired state of the fleet package.

### #target

    def target() -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::Target

**Returns**

- ([::Google::Cloud::ConfigDelivery::V1::FleetPackage::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-FleetPackage-Target)) --- Optional. Configuration to select target clusters to deploy kubernetes configuration to.

### #target=

    def target=(value) -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::Target

**Parameter**

- **value** ([::Google::Cloud::ConfigDelivery::V1::FleetPackage::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-FleetPackage-Target)) --- Optional. Configuration to select target clusters to deploy kubernetes configuration to.
**Returns**

- ([::Google::Cloud::ConfigDelivery::V1::FleetPackage::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-FleetPackage-Target)) --- Optional. Configuration to select target clusters to deploy kubernetes configuration to.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Most recent time at which the `FleetPackage` was updated.

### #variant_selector

    def variant_selector() -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector

**Returns**

- ([::Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-FleetPackage-VariantSelector)) --- Required. Information specifying how to map a `ResourceBundle` variant to a target cluster.

### #variant_selector=

    def variant_selector=(value) -> ::Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector

**Parameter**

- **value** ([::Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-FleetPackage-VariantSelector)) --- Required. Information specifying how to map a `ResourceBundle` variant to a target cluster.
**Returns**

- ([::Google::Cloud::ConfigDelivery::V1::FleetPackage::VariantSelector](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_delivery-v1/latest/Google-Cloud-ConfigDelivery-V1-FleetPackage-VariantSelector)) --- Required. Information specifying how to map a `ResourceBundle` variant to a target cluster.