Class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipState

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IdentityServiceMembershipState

Returns a new instance of IdentityServiceMembershipState.



3202
3203
3204
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3202

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

Instance Attribute Details

#failure_reasonString

The reason of the failure. Corresponds to the JSON property failureReason

Returns:

  • (String)


3184
3185
3186
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3184

def failure_reason
  @failure_reason
end

#installed_versionString

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

Returns:

  • (String)


3190
3191
3192
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3190

def installed_version
  @installed_version
end

#member_configGoogle::Apis::GkehubV1alpha::IdentityServiceMembershipSpec

Anthos Identity Service: Configuration for a single Membership. Corresponds to the JSON property memberConfig



3195
3196
3197
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3195

def member_config
  @member_config
end

#stateString

Deployment state on this member Corresponds to the JSON property state

Returns:

  • (String)


3200
3201
3202
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3200

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3207
3208
3209
3210
3211
3212
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3207

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