Interface Workload.ResourceInfoOrBuilder (2.1.0)
public static interface Workload.ResourceInfoOrBuilder extends MessageOrBuilder
Methods
getResourceId()
public abstract long getResourceId()
Resource identifier.
For a project this represents project_number.
int64 resource_id = 1;
Returns
Type | Description |
long | The resourceId.
|
getResourceType()
public abstract Workload.ResourceInfo.ResourceType getResourceType()
Indicates the type of resource.
.google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;
Returns
getResourceTypeValue()
public abstract int getResourceTypeValue()
Indicates the type of resource.
.google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for resourceType.
|
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 2022-08-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]