ResourceInfo class final

Describes the resource that is being accessed.

Inheritance
  • Object
  • ProtoMessage
  • ResourceInfo

Constructors

ResourceInfo({String resourceType = '', String resourceName = '', String owner = '', String description = ''})
ResourceInfo.fromJson(Map<String, dynamic> json)
factory

Properties

description String
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.
final
hashCode int
The hash code for this object.
no setterinherited
owner String
The owner of the resource (optional). For example, "user:
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
resourceName String
The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is google.rpc.Code.PERMISSION_DENIED.
final
resourceType String
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".
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String