Reference documentation and code samples for the Binary Authorization V1 API class Google::Cloud::BinaryAuthorization::V1::Attestor.
An attestor that attests to container image artifacts. An existing attestor cannot be modified except where indicated.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String
Returns
- (::String) — Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.
Returns
- (::String) — Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.
#name
def name() -> ::String
Returns
-
(::String) — Required. The resource name, in the format:
projects/*/attestors/*
. This field may not be updated.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name, in the format:
projects/*/attestors/*
. This field may not be updated.
Returns
-
(::String) — Required. The resource name, in the format:
projects/*/attestors/*
. This field may not be updated.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when the attestor was last updated.
#user_owned_grafeas_note
def user_owned_grafeas_note() -> ::Google::Cloud::BinaryAuthorization::V1::UserOwnedGrafeasNote
Returns
- (::Google::Cloud::BinaryAuthorization::V1::UserOwnedGrafeasNote) — This specifies how an attestation will be read, and how it will be used during policy enforcement.
#user_owned_grafeas_note=
def user_owned_grafeas_note=(value) -> ::Google::Cloud::BinaryAuthorization::V1::UserOwnedGrafeasNote
Parameter
- value (::Google::Cloud::BinaryAuthorization::V1::UserOwnedGrafeasNote) — This specifies how an attestation will be read, and how it will be used during policy enforcement.
Returns
- (::Google::Cloud::BinaryAuthorization::V1::UserOwnedGrafeasNote) — This specifies how an attestation will be read, and how it will be used during policy enforcement.