Resource class Null safety
This message defines core attributes for a resource.
A resource is an addressable (named) entity provided by the destination service. For example, a file stored on a network storage service.
Constructors
Properties
-
annotations
↔ Map<
String, String> ? -
Annotations is an unstructured key-value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
read / write
- createTime ↔ String?
-
The timestamp when the resource was created.
read / write
- deleteTime ↔ String?
-
The timestamp when the resource was deleted.
read / write
- displayName ↔ String?
-
Mutable.
read / write
- etag ↔ String?
-
An opaque value that uniquely identifies a version or generation of a
resource.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
labels
↔ Map<
String, String> ? -
The labels or tags on the resource, such as AWS resource tags and
Kubernetes resource labels.
read / write
- location ↔ String?
-
The location of the resource.
read / write
- name ↔ String?
-
The stable identifier (name) of a resource on the
service
.read / write - runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- service ↔ String?
-
The name of the service that this resource belongs to, such as
pubsub.googleapis.com
.read / write - type ↔ String?
-
The type of the resource.
read / write
- uid ↔ String?
-
The unique identifier of the resource.
read / write
- updateTime ↔ String?
-
The timestamp when the resource was last updated.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited