Class: Google::Apis::GkehubV1::IdentityServiceMembershipState

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



2883
2884
2885
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2883

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

Instance Attribute Details

#failure_reasonString

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

Returns:

  • (String)


2865
2866
2867
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2865

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)


2871
2872
2873
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2871

def installed_version
  @installed_version
end

#member_configGoogle::Apis::GkehubV1::IdentityServiceMembershipSpec

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



2876
2877
2878
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2876

def member_config
  @member_config
end

#stateString

Deployment state on this member Corresponds to the JSON property state

Returns:

  • (String)


2881
2882
2883
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2881

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2888
2889
2890
2891
2892
2893
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2888

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