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-06-12 UTC."],[[["The `GetResourceRequest` class is part of the Infrastructure Manager v1 API, designed to facilitate fetching a specific resource."],["This class implements multiple interfaces, including `IMessage`, `IEquatable\u003cGetResourceRequest\u003e`, `IDeepCloneable\u003cGetResourceRequest\u003e`, and `IBufferMessage`, providing capabilities for message handling, equality checks, deep cloning, and buffer-based operations."],["The `GetResourceRequest` class provides two constructors, a parameterless one and another that accepts an existing `GetResourceRequest` object for cloning."],["The `Name` 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}'."],["The `ResourceName` property offers a strongly-typed view of the resource name, utilizing the `ResourceName` type."]]],[]]