Class: Google::Apis::GkehubV1beta::WorkloadIdentityIdentityProviderStateDetail

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/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.



6999
7000
7001
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6999

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

Instance Attribute Details

#codeString

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

Returns:

  • (String)


6992
6993
6994
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6992

def code
  @code
end

#descriptionString

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

Returns:

  • (String)


6997
6998
6999
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6997

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7004
7005
7006
7007
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 7004

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