class Google::Apis::BinaryauthorizationV1beta1::Attestor

An attestor that attests to container image artifacts. An existing attestor cannot be modified except where indicated.

Attributes

description[RW]

Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs. Corresponds to the JSON property `description` @return [String]

name[RW]

Required. The resource name, in the format: `projects//attestors/`. This field may not be updated. Corresponds to the JSON property `name` @return [String]

update_time[RW]

Output only. Time when the attestor was last updated. Corresponds to the JSON property `updateTime` @return [String]

user_owned_drydock_note[RW]

An user owned drydock note references a Drydock ATTESTATION_AUTHORITY Note created by the user. Corresponds to the JSON property `userOwnedDrydockNote` @return [Google::Apis::BinaryauthorizationV1beta1::UserOwnedDrydockNote]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/binaryauthorization_v1beta1/classes.rb, line 169
def update!(**args)
  @description = args[:description] if args.key?(:description)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
  @user_owned_drydock_note = args[:user_owned_drydock_note] if args.key?(:user_owned_drydock_note)
end