Package com.google.cloud.osconfig.v1beta
Interface GuestPolicies.CreateGuestPolicyRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GuestPolicies.CreateGuestPolicyRequest,GuestPolicies.CreateGuestPolicyRequest.Builder
- Enclosing class:
- GuestPolicies
public static interface GuestPolicies.CreateGuestPolicyRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The resource name of the parent using one of the following forms: `projects/{project_number}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The resource name of the parent using one of the following forms: `projects/{project_number}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getGuestPolicyId
String getGuestPolicyId()Required. The logical name of the guest policy 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 guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The guestPolicyId.
-
getGuestPolicyIdBytes
com.google.protobuf.ByteString getGuestPolicyIdBytes()Required. The logical name of the guest policy 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 guest_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for guestPolicyId.
-
hasGuestPolicy
boolean hasGuestPolicy()Required. The GuestPolicy to create.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the guestPolicy field is set.
-
getGuestPolicy
GuestPolicies.GuestPolicy getGuestPolicy()Required. The GuestPolicy to create.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The guestPolicy.
-
getGuestPolicyOrBuilder
GuestPolicies.GuestPolicyOrBuilder getGuestPolicyOrBuilder()Required. The GuestPolicy to create.
.google.cloud.osconfig.v1beta.GuestPolicy guest_policy = 3 [(.google.api.field_behavior) = REQUIRED];
-