ResourceInfo

com.google.rpc.error_details.ResourceInfo
See theResourceInfo companion object
final case class ResourceInfo(resourceType: String, resourceName: String, owner: String, description: String, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[ResourceInfo]

Describes the resource that is being accessed.

Attributes

description

Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the writer permission on the developer console project.

owner

The owner of the resource (optional). For example, "user:<owner email>" or "project:<Google developer project id>".

resourceName

The name of the resource being accessed. For example, a shared calendar name: "[email protected]", if the current error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].

resourceType

A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".

Companion:
object
Source:
ResourceInfo.scala
Graph
Supertypes
trait Updatable[ResourceInfo]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

Source:
ResourceInfo.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source:
ResourceInfo.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source:
ResourceInfo.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
ResourceInfo.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns:

human-readable representation of this message.

Source:
ResourceInfo.scala

Attributes

Source:
ResourceInfo.scala
def withUnknownFields(`__v`: UnknownFieldSet): ResourceInfo

Attributes

Source:
ResourceInfo.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source:
ResourceInfo.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
def update(ms: Lens[ResourceInfo, ResourceInfo] => () => ResourceInfo*): A

Attributes

Inherited from:
Updatable
Source:
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala