Interface ResourceInfoOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    The name of the resource referenced in the request.
    com.google.protobuf.ByteString
    The name of the resource referenced in the request.
    The resource permission needed for this request.
    com.google.protobuf.ByteString
    The resource permission needed for this request.
    The resource type in the format of "{service}/{kind}".
    com.google.protobuf.ByteString
    The resource type in the format of "{service}/{kind}".

    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()
       The name of the resource referenced in the request.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the resource referenced in the request.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getType

      String getType()
       The resource type in the format of "{service}/{kind}".
       
      string type = 2;
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
       The resource type in the format of "{service}/{kind}".
       
      string type = 2;
      Returns:
      The bytes for type.
    • getPermission

      String getPermission()
       The resource permission needed for this request.
       The format must be "{service}/{plural}.{verb}".
       
      string permission = 3;
      Returns:
      The permission.
    • getPermissionBytes

      com.google.protobuf.ByteString getPermissionBytes()
       The resource permission needed for this request.
       The format must be "{service}/{plural}.{verb}".
       
      string permission = 3;
      Returns:
      The bytes for permission.
    • getContainer

      String getContainer()
       Optional. The identifier of the container of this resource. For Google
       Cloud APIs, the resource container must be one of the following formats:
       - `projects/<project-id or project-number>`
       - `folders/<folder-number>`
       - `organizations/<organization-number>`
       Required for the policy enforcement on the container level (e.g. VPCSC,
       Location Policy check, Org Policy check).
       
      string container = 4;
      Returns:
      The container.
    • getContainerBytes

      com.google.protobuf.ByteString getContainerBytes()
       Optional. The identifier of the container of this resource. For Google
       Cloud APIs, the resource container must be one of the following formats:
       - `projects/<project-id or project-number>`
       - `folders/<folder-number>`
       - `organizations/<organization-number>`
       Required for the policy enforcement on the container level (e.g. VPCSC,
       Location Policy check, Org Policy check).
       
      string container = 4;
      Returns:
      The bytes for container.
    • getLocation

      String getLocation()
       Optional. The location of the resource, it must be a valid zone, region or
       multiregion, for example: "europe-west4", "northamerica-northeast1-a".
       Required for location policy check.
       
      string location = 5;
      Returns:
      The location.
    • getLocationBytes

      com.google.protobuf.ByteString getLocationBytes()
       Optional. The location of the resource, it must be a valid zone, region or
       multiregion, for example: "europe-west4", "northamerica-northeast1-a".
       Required for location policy check.
       
      string location = 5;
      Returns:
      The bytes for location.