Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::SecretOccurrence.
The occurrence provides details of a secret.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data
def
data
()
-
>
::
Google
::
Protobuf
::
Any
Returns
- ( ::Google::Protobuf::Any ) — Scan result of the secret.
#data=
def
data=
(
value
)
-
>
::
Google
::
Protobuf
::
Any
Parameter
- value( ::Google::Protobuf::Any ) — Scan result of the secret.
Returns
- ( ::Google::Protobuf::Any ) — Scan result of the secret.
#digest
def
digest
()
-
>
::
Grafeas
::
V1
::
Digest
Returns
- ( ::Grafeas::V1::Digest ) — Hash value, typically a digest for the secret data, that allows unique identification of a specific secret.
#digest=
def
digest=
(
value
)
-
>
::
Grafeas
::
V1
::
Digest
Parameter
- value( ::Grafeas::V1::Digest ) — Hash value, typically a digest for the secret data, that allows unique identification of a specific secret.
Returns
- ( ::Grafeas::V1::Digest ) — Hash value, typically a digest for the secret data, that allows unique identification of a specific secret.
#kind
def
kind
()
-
>
::
Grafeas
::
V1
::
SecretKind
Returns
- ( ::Grafeas::V1::SecretKind ) — Type of secret.
#kind=
def
kind=
(
value
)
-
>
::
Grafeas
::
V1
::
SecretKind
Parameter
- value( ::Grafeas::V1::SecretKind ) — Type of secret.
Returns
- ( ::Grafeas::V1::SecretKind ) — Type of secret.
#locations
def
locations
()
-
>
::
Array
< ::
Grafeas
::
V1
::
SecretLocation
>
Returns
- (::Array< ::Grafeas::V1::SecretLocation >) — Locations where the secret is detected.
#locations=
def
locations=
(
value
)
-
>
::
Array
< ::
Grafeas
::
V1
::
SecretLocation
>
Parameter
- value(::Array< ::Grafeas::V1::SecretLocation >) — Locations where the secret is detected.
Returns
- (::Array< ::Grafeas::V1::SecretLocation >) — Locations where the secret is detected.
#statuses
def
statuses
()
-
>
::
Array
< ::
Grafeas
::
V1
::
SecretStatus
>
Returns
- (::Array< ::Grafeas::V1::SecretStatus >) — Status of the secret.
#statuses=
def
statuses=
(
value
)
-
>
::
Array
< ::
Grafeas
::
V1
::
SecretStatus
>
Parameter
- value(::Array< ::Grafeas::V1::SecretStatus >) — Status of the secret.
Returns
- (::Array< ::Grafeas::V1::SecretStatus >) — Status of the secret.

