public sealed class GetResourceRequest : IMessage<GetResourceRequest>, IEquatable<GetResourceRequest>, IDeepCloneable<GetResourceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Infrastructure Manager v1 API class GetResourceRequest.
A request to get a Resource from a 'GetResource' call.
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-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eGetResourceRequest\u003c/code\u003e API class is 1.7.0, part of the Google Cloud Config V1 package.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetResourceRequest\u003c/code\u003e is used to retrieve a Resource, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, with inheritance from object.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a \u003ccode\u003eName\u003c/code\u003e property of type string, essential for identifying the specific resource being requested in a structured format: 'projects/{project_id}/locations/{___location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.\u003c/p\u003e\n"],["\u003cp\u003eIt also has a \u003ccode\u003eResourceName\u003c/code\u003e property that provides a typed view of the resource name for the \u003ccode\u003eName\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetResourceRequest\u003c/code\u003e class includes constructors for default initialization and cloning from another \u003ccode\u003eGetResourceRequest\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]