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-03-21 UTC."],[[["This document provides reference documentation for the `RestrictAllowedResourcesRequest` class within the Google Cloud Assured Workloads v1 API, specifically for version 2.4.0."],["The `RestrictAllowedResourcesRequest` class is used to define a request for limiting the available resources within a Workload environment, implementing interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes properties such as `Name`, which represents the resource name of the Workload, and `RestrictionType`, defining the type of restrictions applied to GCP products within the Workload environment."],["The `RestrictAllowedResourcesRequest` class has two constructors, a default parameter-less constructor, and one that takes another `RestrictAllowedResourcesRequest` object."],["The document lists previous versions of the API, ranging from `1.0.0` to `2.6.0` (latest)."]]],[]]