public sealed class RestrictAllowedResourcesRequest : IMessage<RestrictAllowedResourcesRequest>, IEquatable<RestrictAllowedResourcesRequest>, IDeepCloneable<RestrictAllowedResourcesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Assured Workloads v1 API class RestrictAllowedResourcesRequest.
Request for restricting list of available resources in Workload environment.
Required. The resource name of the Workload. This is the workloads's
relative path in the API, formatted as
"organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
For example,
"organizations/123/locations/us-east1/workloads/assured-workload-1".
[[["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\u003eThis webpage provides documentation for the \u003ccode\u003eRestrictAllowedResourcesRequest\u003c/code\u003e class within the Google Cloud Assured Workloads v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRestrictAllowedResourcesRequest\u003c/code\u003e class is used to define a request for restricting the available resources within a Workload environment.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eRestrictAllowedResourcesRequest\u003c/code\u003e class is 2.6.0, with older versions down to 1.0.0 also documented.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRestrictAllowedResourcesRequest\u003c/code\u003e class has properties such as \u003ccode\u003eName\u003c/code\u003e, which represents the resource name of the workload and \u003ccode\u003eRestrictionType\u003c/code\u003e, which details the type of restrictions for using GCP products.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRestrictAllowedResourcesRequest\u003c/code\u003e class inherits from several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]