Reference documentation and code samples for the Google Cloud Config Delivery V1 Client class FleetPackage.
A FleetPackage
resource in the Config Delivery API.
A FleetPackage
defines a package through which kubernetes
configuration is deployed to a fleet of kubernetes clusters.
Generated from protobuf message google.cloud.configdelivery.v1.FleetPackage
Namespace
Google \ Cloud \ ConfigDelivery \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
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}
↳ create_time
↳ update_time
↳ labels
array| Google\Protobuf\Internal\MapField
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.
↳ resource_bundle_selector
FleetPackage\ResourceBundleSelector
Required. Information specifying the source of kubernetes configuration to deploy.
↳ target
FleetPackage\Target
Optional. Configuration to select target clusters to deploy kubernetes configuration to.
↳ rollout_strategy
↳ variant_selector
FleetPackage\VariantSelector
Required. Information specifying how to map a ResourceBundle
variant to a target cluster.
↳ info
FleetPackageInfo
Output only. Information containing the rollout status of the FleetPackage
across all the target clusters.
↳ deletion_propagation_policy
int
Optional. Information around how to handle kubernetes resources at the target clusters when the FleetPackage
is deleted.
↳ state
int
Optional. The desired state of the fleet package.
getName
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}
string
setName
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}
var
string
$this
getCreateTime
Output only. Time at which the FleetPackage
was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Time at which the FleetPackage
was created.
$this
getUpdateTime
Output only. Most recent time at which the FleetPackage
was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Most recent time at which the FleetPackage
was updated.
$this
getLabels
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.
setLabels
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.
$this
getResourceBundleSelector
Required. Information specifying the source of kubernetes configuration to deploy.
hasResourceBundleSelector
clearResourceBundleSelector
setResourceBundleSelector
Required. Information specifying the source of kubernetes configuration to deploy.
$this
getTarget
Optional. Configuration to select target clusters to deploy kubernetes configuration to.
hasTarget
clearTarget
setTarget
Optional. Configuration to select target clusters to deploy kubernetes configuration to.
$this
getRolloutStrategy
Optional. The strategy to use to deploy kubernetes configuration to clusters.
hasRolloutStrategy
clearRolloutStrategy
setRolloutStrategy
Optional. The strategy to use to deploy kubernetes configuration to clusters.
$this
getVariantSelector
Required. Information specifying how to map a ResourceBundle
variant to a
target cluster.
hasVariantSelector
clearVariantSelector
setVariantSelector
Required. Information specifying how to map a ResourceBundle
variant to a
target cluster.
$this
getInfo
Output only. Information containing the rollout status of the FleetPackage
across all the target clusters.
hasInfo
clearInfo
setInfo
Output only. Information containing the rollout status of the FleetPackage
across all the target clusters.
$this
getDeletionPropagationPolicy
Optional. Information around how to handle kubernetes resources at the
target clusters when the FleetPackage
is deleted.
int
setDeletionPropagationPolicy
Optional. Information around how to handle kubernetes resources at the
target clusters when the FleetPackage
is deleted.
var
int
$this
getState
Optional. The desired state of the fleet package.
int
setState
Optional. The desired state of the fleet package.
var
int
$this