Class: Google::Apis::GkehubV2alpha::IdentityServiceState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2alpha::IdentityServiceState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v2alpha/classes.rb,
lib/google/apis/gkehub_v2alpha/representations.rb,
lib/google/apis/gkehub_v2alpha/representations.rb
Overview
IdentityService: State for a single membership, analyzed and reported by feature controller.
Instance Attribute Summary collapse
-
#failure_reason ⇒ String
The reason of the failure.
-
#installed_version ⇒ String
Installed AIS version.
-
#member_config ⇒ Google::Apis::GkehubV2alpha::IdentityServiceSpec
IdentityService: Configuration for a single membership.
-
#state ⇒ String
Deployment state on this member Corresponds to the JSON property
state
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IdentityServiceState
constructor
A new instance of IdentityServiceState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IdentityServiceState
Returns a new instance of IdentityServiceState.
2119 2120 2121 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2119 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failure_reason ⇒ String
The reason of the failure.
Corresponds to the JSON property failureReason
2101 2102 2103 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2101 def failure_reason @failure_reason end |
#installed_version ⇒ String
Installed AIS version. This is the AIS version installed on this member. The
values makes sense iff state is OK.
Corresponds to the JSON property installedVersion
2107 2108 2109 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2107 def installed_version @installed_version end |
#member_config ⇒ Google::Apis::GkehubV2alpha::IdentityServiceSpec
IdentityService: Configuration for a single membership.
Corresponds to the JSON property memberConfig
2112 2113 2114 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2112 def member_config @member_config end |
#state ⇒ String
Deployment state on this member
Corresponds to the JSON property state
2117 2118 2119 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2117 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2124 2125 2126 2127 2128 2129 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 2124 def update!(**args) @failure_reason = args[:failure_reason] if args.key?(:failure_reason) @installed_version = args[:installed_version] if args.key?(:installed_version) @member_config = args[:member_config] if args.key?(:member_config) @state = args[:state] if args.key?(:state) end |