Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::Config::V1::GetResourceRequest.
A request to get a Resource from a 'GetResource' call.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#name
defname()->::String
Returns
(::String) — Required. The name of the Resource in the format:
'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
#name=
defname=(value)->::String
Parameter
value (::String) — Required. The name of the Resource in the format:
'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
Returns
(::String) — Required. The name of the Resource in the format:
'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Infrastructure Manager V1 API - Class Google::Cloud::Config::V1::GetResourceRequest (v0.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.2.0 (latest)](/ruby/docs/reference/google-cloud-config-v1/latest/Google-Cloud-Config-V1-GetResourceRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-config-v1/0.1.0/Google-Cloud-Config-V1-GetResourceRequest) \nReference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::Config::V1::GetResourceRequest.\n\nA request to get a Resource from a 'GetResource' call. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The name of the Resource in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The name of the Resource in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'. \n**Returns**\n\n- (::String) --- Required. The name of the Resource in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'."]]