GKE Hub V1 API - Class Google::Cloud::GkeHub::V1::TypeMeta (v0.7.0)

Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::V1::TypeMeta.

TypeMeta is the type information needed for content unmarshalling of Kubernetes resources in the manifest.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#api_version

def api_version() -> ::String
Returns
  • (::String) — APIVersion of the resource (e.g. v1).

#api_version=

def api_version=(value) -> ::String
Parameter
  • value (::String) — APIVersion of the resource (e.g. v1).
Returns
  • (::String) — APIVersion of the resource (e.g. v1).

#kind

def kind() -> ::String
Returns
  • (::String) — Kind of the resource (e.g. Deployment).

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — Kind of the resource (e.g. Deployment).
Returns
  • (::String) — Kind of the resource (e.g. Deployment).