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"]],[["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."],[[["\u003cp\u003eThe \u003ccode\u003eGetResourceRequest\u003c/code\u003e class is part of the Infrastructure Manager v1 API, designed to facilitate fetching a specific resource.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<GetResourceRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<GetResourceRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing capabilities for message handling, equality checks, deep cloning, and buffer-based operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetResourceRequest\u003c/code\u003e class provides two constructors, a parameterless one and another that accepts an existing \u003ccode\u003eGetResourceRequest\u003c/code\u003e object for cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property, a string, is a required field representing the resource's full name in the format 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourceName\u003c/code\u003e property offers a strongly-typed view of the resource name, utilizing the \u003ccode\u003eResourceName\u003c/code\u003e type.\u003c/p\u003e\n"]]],[],null,[]]