class Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings

Settings specific to the Key Management Service.

Attributes

next_rotation_time[RW]

Required. Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary. Corresponds to the JSON property `nextRotationTime` @return [String]

rotation_period[RW]

Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key Management Service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours. Corresponds to the JSON property `rotationPeriod` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/assuredworkloads_v1/classes.rb, line 201
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/assuredworkloads_v1/classes.rb, line 206
def update!(**args)
  @next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time)
  @rotation_period = args[:rotation_period] if args.key?(:rotation_period)
end