Grafeas V1 Client - Class ResourceDescriptor (1.2.2)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
Reference documentation and code samples for the Grafeas V1 Client class ResourceDescriptor.
Generated from protobuf message grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor
Namespace
Grafeas \ V1 \ InTotoSlsaProvenanceV1
Methods
__construct
getName
Generated from protobuf field string name = 1;
Returns
Type
Description
string
setName
Generated from protobuf field string name = 1;
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getUri
Generated from protobuf field string uri = 2;
Returns
Type
Description
string
setUri
Generated from protobuf field string uri = 2;
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDigest
Generated from protobuf field map<string, string> digest = 3;
setDigest
Generated from protobuf field map<string, string> digest = 3;
Returns
Type
Description
$this
getContent
Generated from protobuf field bytes content = 4;
Returns
Type
Description
string
setContent
Generated from protobuf field bytes content = 4;
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDownloadLocation
Generated from protobuf field string download_location = 5;
Returns
Type
Description
string
setDownloadLocation
Generated from protobuf field string download_location = 5;
Parameter
Name
Description
var
string
Returns
Type
Description
$this
Generated from protobuf field string media_type = 6;
Returns
Type
Description
string
Generated from protobuf field string media_type = 6;
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getAnnotations
Generated from protobuf field map<string, .google.protobuf.Value> annotations = 7;
setAnnotations
Generated from protobuf field map<string, .google.protobuf.Value> annotations = 7;
Returns
Type
Description
$this
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]