Class: Google::Apis::GkehubV2::WorkloadIdentityIdentityProviderStateDetail

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



3580
3581
3582
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3580

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

Instance Attribute Details

#codeString

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

Returns:

  • (String)


3573
3574
3575
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3573

def code
  @code
end

#descriptionString

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

Returns:

  • (String)


3578
3579
3580
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3578

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3585
3586
3587
3588
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3585

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