Class: Google::Apis::GkehubV1alpha::WorkloadIdentityIdentityProviderStateDetail

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

IdentityProviderStateDetail represents the state of an Identity Provider.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkloadIdentityIdentityProviderStateDetail

Returns a new instance of WorkloadIdentityIdentityProviderStateDetail.



7728
7729
7730
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7728

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

Instance Attribute Details

#codeString

The state of the Identity Provider. Corresponds to the JSON property code

Returns:

  • (String)


7721
7722
7723
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7721

def code
  @code
end

#descriptionString

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

Returns:

  • (String)


7726
7727
7728
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7726

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7733
7734
7735
7736
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 7733

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