Class RestrictAllowedServicesRequest (2.0.0-beta03)

public sealed class RestrictAllowedServicesRequest : IMessage<RestrictAllowedServicesRequest>, IEquatable<RestrictAllowedServicesRequest>, IDeepCloneable<RestrictAllowedServicesRequest>, IBufferMessage, IMessage

Request for restricting list of available services in Workload environment.

Inheritance

Object > RestrictAllowedServicesRequest

Namespace

Google.Cloud.AssuredWorkloads.V1Beta1

Assembly

Google.Cloud.AssuredWorkloads.V1Beta1.dll

Constructors

RestrictAllowedServicesRequest()

public RestrictAllowedServicesRequest()

RestrictAllowedServicesRequest(RestrictAllowedServicesRequest)

public RestrictAllowedServicesRequest(RestrictAllowedServicesRequest other)
Parameter
NameDescription
otherRestrictAllowedServicesRequest

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
TypeDescription
String

RestrictionType

public RestrictAllowedServicesRequest.Types.RestrictionType RestrictionType { get; set; }

Required. The type of restriction for using gcp services in the Workload environment.

Property Value
TypeDescription
RestrictAllowedServicesRequest.Types.RestrictionType