Interface GetPolicyRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GetPolicyRequest, GetPolicyRequest.Builder

@Generated public interface GetPolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Required. The resource name of the policy to retrieve. Format:
       `policies/{attachment_point}/denypolicies/{policy_id}`
      
      
       Use the URL-encoded full resource name, which means that the forward-slash
       character, `/`, must be written as `%2F`. For example,
       `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
      
       For organizations and folders, use the numeric ID in the full resource
       name. For projects, you can use the alphanumeric or the numeric ID.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The resource name of the policy to retrieve. Format:
       `policies/{attachment_point}/denypolicies/{policy_id}`
      
      
       Use the URL-encoded full resource name, which means that the forward-slash
       character, `/`, must be written as `%2F`. For example,
       `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`.
      
       For organizations and folders, use the numeric ID in the full resource
       name. For projects, you can use the alphanumeric or the numeric ID.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for name.