Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::V1::Fleet.
Fleet contains the Fleet-wide metadata and configuration.
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) — Output only. When the Fleet was created.
#default_cluster_config
def default_cluster_config() -> ::Google::Cloud::GkeHub::V1::DefaultClusterConfig
Returns
- (::Google::Cloud::GkeHub::V1::DefaultClusterConfig) — Optional. The default cluster configurations to apply across the fleet.
#default_cluster_config=
def default_cluster_config=(value) -> ::Google::Cloud::GkeHub::V1::DefaultClusterConfig
Parameter
- value (::Google::Cloud::GkeHub::V1::DefaultClusterConfig) — Optional. The default cluster configurations to apply across the fleet.
Returns
- (::Google::Cloud::GkeHub::V1::DefaultClusterConfig) — Optional. The default cluster configurations to apply across the fleet.
#delete_time
def delete_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. When the Fleet was deleted.
#display_name
def display_name() -> ::String
Returns
-
(::String) — Optional. A user-assigned display name of the Fleet.
When present, it must be between 4 to 30 characters.
Allowed characters are: lowercase and uppercase letters, numbers,
hyphen, single-quote, double-quote, space, and exclamation point.
Example:
Production Fleet
#display_name=
def display_name=(value) -> ::String
Parameter
-
value (::String) — Optional. A user-assigned display name of the Fleet.
When present, it must be between 4 to 30 characters.
Allowed characters are: lowercase and uppercase letters, numbers,
hyphen, single-quote, double-quote, space, and exclamation point.
Example:
Production Fleet
Returns
-
(::String) — Optional. A user-assigned display name of the Fleet.
When present, it must be between 4 to 30 characters.
Allowed characters are: lowercase and uppercase letters, numbers,
hyphen, single-quote, double-quote, space, and exclamation point.
Example:
Production Fleet
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels for this Fleet.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels for this Fleet.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels for this Fleet.
#name
def name() -> ::String
Returns
-
(::String) — Output only. The full, unique resource name of this fleet in the format of
projects/{project}/locations/{location}/fleets/{fleet}.Each Google Cloud project can have at most one fleet resource, named "default".
#state
def state() -> ::Google::Cloud::GkeHub::V1::FleetLifecycleState
Returns
- (::Google::Cloud::GkeHub::V1::FleetLifecycleState) — Output only. State of the namespace resource.
#uid
def uid() -> ::String
Returns
- (::String) — Output only. Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. When the Fleet was last updated.