Interface GuestPolicies.CreateGuestPolicyRequestOrBuilder

    • Method Detail

      • 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];