GKE Hub V1 API - Class Google::Cloud::GkeHub::V1::Fleet (v2.5.0)

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

#default_cluster_config

def default_cluster_config() -> ::Google::Cloud::GkeHub::V1::DefaultClusterConfig
Returns

#default_cluster_config=

def default_cluster_config=(value) -> ::Google::Cloud::GkeHub::V1::DefaultClusterConfig
Parameter
Returns

#delete_time

def delete_time() -> ::Google::Protobuf::Timestamp
Returns

#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

#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