public sealed class RestrictAllowedResourcesRequest : IMessage<RestrictAllowedResourcesRequest>, IEquatable<RestrictAllowedResourcesRequest>, IDeepCloneable<RestrictAllowedResourcesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Assured Workloads v1beta1 API class RestrictAllowedResourcesRequest.
Request for restricting list of available resources in Workload environment.
Implements
IMessageRestrictAllowedResourcesRequest, IEquatableRestrictAllowedResourcesRequest, IDeepCloneableRestrictAllowedResourcesRequest, IBufferMessage, IMessageNamespace
Google.Cloud.AssuredWorkloads.V1Beta1Assembly
Google.Cloud.AssuredWorkloads.V1Beta1.dll
Constructors
RestrictAllowedResourcesRequest()
public RestrictAllowedResourcesRequest()
RestrictAllowedResourcesRequest(RestrictAllowedResourcesRequest)
public RestrictAllowedResourcesRequest(RestrictAllowedResourcesRequest other)
Parameter | |
---|---|
Name | Description |
other |
RestrictAllowedResourcesRequest |
Properties
Name
public string Name { get; set; }
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".
Property Value | |
---|---|
Type | Description |
string |
RestrictionType
public RestrictAllowedResourcesRequest.Types.RestrictionType RestrictionType { get; set; }
Required. The type of restriction for using gcp products in the Workload environment.
Property Value | |
---|---|
Type | Description |
RestrictAllowedResourcesRequestTypesRestrictionType |