Google Cloud Assured Workloads V1beta1 Client - Class ResourceInfo (0.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Assured Workloads V1beta1 Client class ResourceInfo.
Represent the resources that are children of this Workload.
Generated from protobuf message google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo
Namespace
Google \ Cloud \ AssuredWorkloads \ V1beta1 \ Workload
Methods
__construct
Parameters |
---|
Name | Description |
data |
array
Optional. Data for populating the Message object.
|
↳ resource_id |
int|string
Resource identifier. For a project this represents project_number.
|
↳ resource_type |
int
Indicates the type of resource.
|
getResourceId
Resource identifier.
For a project this represents project_number.
Returns |
---|
Type | Description |
int|string | |
setResourceId
Resource identifier.
For a project this represents project_number.
Parameter |
---|
Name | Description |
var |
int|string
|
Returns |
---|
Type | Description |
$this | |
getResourceType
Indicates the type of resource.
Returns |
---|
Type | Description |
int | |
setResourceType
Indicates the type of resource.
Parameter |
---|
Name | Description |
var |
int
|
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 2024-06-01 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"
}]