Interface CreateAuthorizationPolicyRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateAuthorizationPolicyRequest
,CreateAuthorizationPolicyRequest.Builder
public interface CreateAuthorizationPolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorizationPolicy
getAuthorizationPolicy()
Required.String
getAuthorizationPolicyId()
Required.com.google.protobuf.ByteString
getAuthorizationPolicyIdBytes()
Required.AuthorizationPolicyOrBuilder
getAuthorizationPolicyOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasAuthorizationPolicy()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The parent resource of the AuthorizationPolicy. Must be in the format `projects/{project}/locations/{location}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The parent resource of the AuthorizationPolicy. Must be in the format `projects/{project}/locations/{location}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
getAuthorizationPolicyId
String getAuthorizationPolicyId()
Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy".
string authorization_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The authorizationPolicyId.
-
getAuthorizationPolicyIdBytes
com.google.protobuf.ByteString getAuthorizationPolicyIdBytes()
Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy".
string authorization_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for authorizationPolicyId.
-
hasAuthorizationPolicy
boolean hasAuthorizationPolicy()
Required. AuthorizationPolicy resource to be created.
.google.cloud.networksecurity.v1.AuthorizationPolicy authorization_policy = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the authorizationPolicy field is set.
-
getAuthorizationPolicy
AuthorizationPolicy getAuthorizationPolicy()
Required. AuthorizationPolicy resource to be created.
.google.cloud.networksecurity.v1.AuthorizationPolicy authorization_policy = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The authorizationPolicy.
-
getAuthorizationPolicyOrBuilder
AuthorizationPolicyOrBuilder getAuthorizationPolicyOrBuilder()
Required. AuthorizationPolicy resource to be created.
.google.cloud.networksecurity.v1.AuthorizationPolicy authorization_policy = 3 [(.google.api.field_behavior) = REQUIRED];
-
-