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 documentation covers the `RestrictAllowedResourcesRequest` class within the Google Cloud Assured Workloads v1 API, specifically version 2.2.0, which is used to manage allowed resources in a Workload environment."],["The `RestrictAllowedResourcesRequest` class is used to send requests for restricting the list of resources that can be used within a Workload environment."],["This class inherits from `Object` and implements `IMessage\u003cRestrictAllowedResourcesRequest\u003e`, `IEquatable\u003cRestrictAllowedResourcesRequest\u003e`, `IDeepCloneable\u003cRestrictAllowedResourcesRequest\u003e`, `IBufferMessage`, and `IMessage`."],["The class has two constructors, `RestrictAllowedResourcesRequest()` and `RestrictAllowedResourcesRequest(RestrictAllowedResourcesRequest other)`, which allow for creating new instances of the request."],["It contains two key properties: `Name`, a string representing the resource name of the Workload, and `RestrictionType`, an enum defining the type of restriction applied to the Workload environment."]]],[]]