Class: Google::Apis::GkehubV1alpha::WorkloadIdentityNamespaceStateDetail

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb

Overview

NamespaceStateDetail represents the state of a IAM namespace.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkloadIdentityNamespaceStateDetail

Returns a new instance of WorkloadIdentityNamespaceStateDetail.



7417
7418
7419
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7417

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#codeString

The state of the IAM namespace. Corresponds to the JSON property code

Returns:

  • (String)


7410
7411
7412
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7410

def code
  @code
end

#descriptionString

A human-readable description of the current state or returned error. Corresponds to the JSON property description

Returns:

  • (String)


7415
7416
7417
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7415

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7422
7423
7424
7425
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7422

def update!(**args)
  @code = args[:code] if args.key?(:code)
  @description = args[:description] if args.key?(:description)
end