Class: Google::Apis::NetappV1::VerifyKmsConfigResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/netapp_v1/classes.rb,
lib/google/apis/netapp_v1/representations.rb,
lib/google/apis/netapp_v1/representations.rb

Overview

VerifyKmsConfigResponse contains the information if the config is correctly and error message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VerifyKmsConfigResponse

Returns a new instance of VerifyKmsConfigResponse.



1987
1988
1989
# File 'lib/google/apis/netapp_v1/classes.rb', line 1987

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

Instance Attribute Details

#health_errorString

Output only. Error message if config is not healthy. Corresponds to the JSON property healthError

Returns:

  • (String)


1973
1974
1975
# File 'lib/google/apis/netapp_v1/classes.rb', line 1973

def health_error
  @health_error
end

#healthyBoolean Also known as: healthy?

Output only. If the customer key configured correctly to the encrypt volume. Corresponds to the JSON property healthy

Returns:

  • (Boolean)


1978
1979
1980
# File 'lib/google/apis/netapp_v1/classes.rb', line 1978

def healthy
  @healthy
end

#instructionsString

Output only. Instructions for the customers to provide the access to the encryption key. Corresponds to the JSON property instructions

Returns:

  • (String)


1985
1986
1987
# File 'lib/google/apis/netapp_v1/classes.rb', line 1985

def instructions
  @instructions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1992
1993
1994
1995
1996
# File 'lib/google/apis/netapp_v1/classes.rb', line 1992

def update!(**args)
  @health_error = args[:health_error] if args.key?(:health_error)
  @healthy = args[:healthy] if args.key?(:healthy)
  @instructions = args[:instructions] if args.key?(:instructions)
end