Interface RestrictAllowedServicesRequestOrBuilder (2.1.0)

public interface RestrictAllowedServicesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

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".

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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".

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getRestrictionType()

public abstract RestrictAllowedServicesRequest.RestrictionType getRestrictionType()

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

.google.cloud.assuredworkloads.v1beta1.RestrictAllowedServicesRequest.RestrictionType restriction_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RestrictAllowedServicesRequest.RestrictionType

The restrictionType.

getRestrictionTypeValue()

public abstract int getRestrictionTypeValue()

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

.google.cloud.assuredworkloads.v1beta1.RestrictAllowedServicesRequest.RestrictionType restriction_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for restrictionType.