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.



6990
6991
6992
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6990

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

Instance Attribute Details

#codeString

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

Returns:

  • (String)


6983
6984
6985
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6983

def code
  @code
end

#descriptionString

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

Returns:

  • (String)


6988
6989
6990
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 6988

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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