Interface CreateOSPolicyAssignmentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateOSPolicyAssignmentRequest,CreateOSPolicyAssignmentRequest.Builder
public interface CreateOSPolicyAssignmentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OSPolicyAssignmentgetOsPolicyAssignment()Required.StringgetOsPolicyAssignmentId()Required.com.google.protobuf.ByteStringgetOsPolicyAssignmentIdBytes()Required.OSPolicyAssignmentOrBuildergetOsPolicyAssignmentOrBuilder()Required.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.booleanhasOsPolicyAssignment()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 name in the form: 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 name in the form: projects/{project}/locations/{location}string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasOsPolicyAssignment
boolean hasOsPolicyAssignment()
Required. The OS policy assignment to be created.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the osPolicyAssignment field is set.
-
getOsPolicyAssignment
OSPolicyAssignment getOsPolicyAssignment()
Required. The OS policy assignment to be created.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The osPolicyAssignment.
-
getOsPolicyAssignmentOrBuilder
OSPolicyAssignmentOrBuilder getOsPolicyAssignmentOrBuilder()
Required. The OS policy assignment to be created.
.google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignment = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOsPolicyAssignmentId
String getOsPolicyAssignmentId()
Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.
string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The osPolicyAssignmentId.
-
getOsPolicyAssignmentIdBytes
com.google.protobuf.ByteString getOsPolicyAssignmentIdBytes()
Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.
string os_policy_assignment_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for osPolicyAssignmentId.
-
-