Class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::IdentityServiceMembershipState
- 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
Anthos Identity Service: State for a single Membership.
Instance Attribute Summary collapse
-
#failure_reason ⇒ String
The reason of the failure.
-
#installed_version ⇒ String
Installed AIS version.
-
#member_config ⇒ Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec
Anthos Identity Service: Configuration for a single Membership.
-
#state ⇒ String
Deployment state on this member Corresponds to the JSON property
state
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IdentityServiceMembershipState
constructor
A new instance of IdentityServiceMembershipState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IdentityServiceMembershipState
Returns a new instance of IdentityServiceMembershipState.
3178 3179 3180 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3178 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failure_reason ⇒ String
The reason of the failure.
Corresponds to the JSON property failureReason
3160 3161 3162 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3160 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
3166 3167 3168 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3166 def installed_version @installed_version end |
#member_config ⇒ Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec
Anthos Identity Service: Configuration for a single Membership.
Corresponds to the JSON property memberConfig
3171 3172 3173 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3171 def member_config @member_config end |
#state ⇒ String
Deployment state on this member
Corresponds to the JSON property state
3176 3177 3178 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3176 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3183 3184 3185 3186 3187 3188 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3183 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 |