Class: Google::Apis::CloudkmsV1::RequiredActionQuorumReply

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

Overview

The reply to RequiredActionQuorumParameters for approving the proposal.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RequiredActionQuorumReply

Returns a new instance of RequiredActionQuorumReply.



3497
3498
3499
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 3497

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

Instance Attribute Details

#quorum_challenge_repliesArray<Google::Apis::CloudkmsV1::ChallengeReply>

Required. Quorum members' signed challenge replies. These can be provided across multiple requests. The proposal will be approved when required_approver_count quorum_challenge_replies are provided and when all required_challenge_replies are provided. Corresponds to the JSON property quorumChallengeReplies



3489
3490
3491
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 3489

def quorum_challenge_replies
  @quorum_challenge_replies
end

#required_challenge_repliesArray<Google::Apis::CloudkmsV1::ChallengeReply>

Required. All required challenges must be signed for the proposal to be approved. These can be sent across multiple requests. Corresponds to the JSON property requiredChallengeReplies



3495
3496
3497
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 3495

def required_challenge_replies
  @required_challenge_replies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3502
3503
3504
3505
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 3502

def update!(**args)
  @quorum_challenge_replies = args[:quorum_challenge_replies] if args.key?(:quorum_challenge_replies)
  @required_challenge_replies = args[:required_challenge_replies] if args.key?(:required_challenge_replies)
end