Class: Google::Apis::BinaryauthorizationV1beta1::Attestor
- Inherits:
-
Object
- Object
- Google::Apis::BinaryauthorizationV1beta1::Attestor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/binaryauthorization_v1beta1/classes.rb,
generated/google/apis/binaryauthorization_v1beta1/representations.rb,
generated/google/apis/binaryauthorization_v1beta1/representations.rb
Overview
An attestor that attests to container image artifacts. An existing attestor cannot be modified except where indicated.
Instance Attribute Summary collapse
-
#description ⇒ String
Optional.
-
#name ⇒ String
Required.
-
#update_time ⇒ String
Output only.
-
#user_owned_drydock_note ⇒ Google::Apis::BinaryauthorizationV1beta1::UserOwnedDrydockNote
An user owned drydock note references a Drydock ATTESTATION_AUTHORITY Note created by the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Attestor
constructor
A new instance of Attestor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Attestor
Returns a new instance of Attestor
118 119 120 |
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 118 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Optional. A descriptive comment. This field may be updated.
The field may be displayed in chooser dialogs.
Corresponds to the JSON property description
99 100 101 |
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 99 def description @description end |
#name ⇒ String
Required. The resource name, in the format:
projects/*/attestors/*
. This field may not be updated.
Corresponds to the JSON property name
105 106 107 |
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 105 def name @name end |
#update_time ⇒ String
Output only. Time when the attestor was last updated.
Corresponds to the JSON property updateTime
110 111 112 |
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 110 def update_time @update_time end |
#user_owned_drydock_note ⇒ Google::Apis::BinaryauthorizationV1beta1::UserOwnedDrydockNote
An user owned drydock note references a Drydock
ATTESTATION_AUTHORITY Note created by the user.
Corresponds to the JSON property userOwnedDrydockNote
116 117 118 |
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 116 def user_owned_drydock_note @user_owned_drydock_note end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
123 124 125 126 127 128 |
# File 'generated/google/apis/binaryauthorization_v1beta1/classes.rb', line 123 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 |