ObjectMetaResponse class

google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

Constructors

ObjectMetaResponse({required Input<Map<String, String>> annotations, required Input<String> clusterName, required Input<String> creationTimestamp, required Input<int> deletionGracePeriodSeconds, required Input<String> deletionTimestamp, required Input<List<String>> finalizers, required Input<String> generateName, required Input<int> generation, required Input<Map<String, String>> labels, required Input<String> name, required Input<String> namespace, required Input<List<OwnerReferenceResponse>> ownerReferences, required Input<String> resourceVersion, required Input<String> selfLink, required Input<String> uid})
Creates a new ObjectMetaResponse. annotations Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * autoscaling.knative.dev/maxScale: Revision. * autoscaling.knative.dev/minScale: Revision. * run.googleapis.com/binary-authorization-breakglass: Service, Job, * run.googleapis.com/binary-authorization: Service, Job, Execution. * run.googleapis.com/client-name: All resources. * run.googleapis.com/cloudsql-instances: Revision, Execution. * run.googleapis.com/container-dependencies: Revision. * run.googleapis.com/cpu-throttling: Revision. * run.googleapis.com/custom-audiences: Service. * run.googleapis.com/description: Service. * run.googleapis.com/disable-default-url: Service. * run.googleapis.com/encryption-key-shutdown-hours: Revision * run.googleapis.com/encryption-key: Revision, Execution. * run.googleapis.com/execution-environment: Revision, Execution. * run.googleapis.com/gc-traffic-tags: Service. * run.googleapis.com/ingress: Service. * run.googleapis.com/launch-stage: Service, Job. * run.googleapis.com/minScale: Service (ALPHA) * run.googleapis.com/network-interfaces: Revision, Execution. * run.googleapis.com/post-key-revocation-action-type: Revision. * run.googleapis.com/secrets: Revision, Execution. * run.googleapis.com/secure-session-agent: Revision. * run.googleapis.com/sessionAffinity: Revision. * run.googleapis.com/startup-cpu-boost: Revision. * run.googleapis.com/vpc-access-connector: Revision, Execution. * run.googleapis.com/vpc-access-egress: Revision, Execution. clusterName Not supported by Cloud Run creationTimestamp UTC timestamp representing the server time when this object was created. deletionGracePeriodSeconds Not supported by Cloud Run deletionTimestamp The read-only soft deletion timestamp for this resource. In Cloud Run, users are not able to set this field. Instead, they must call the corresponding Delete API. finalizers Not supported by Cloud Run generateName Not supported by Cloud Run generation A system-provided sequence number representing a specific generation of the desired state. labels Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. name The name of the resource. Name is required when creating top-level resources (Service, Job), must be unique within a Cloud Run project/region, and cannot be changed once created. namespace Defines the space within each name must be unique within a Cloud Run region. In Cloud Run, it must be project ID or number. ownerReferences Not supported by Cloud Run resourceVersion Opaque, system-generated value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection. selfLink URL representing this object. uid Unique, system-generated identifier for this resource.
const
ObjectMetaResponse.fromMap(Map<String, dynamic> map)
factory

Properties

annotations → Input<Map<String, String>>
Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * autoscaling.knative.dev/maxScale: Revision. * autoscaling.knative.dev/minScale: Revision. * run.googleapis.com/binary-authorization-breakglass: Service, Job, * run.googleapis.com/binary-authorization: Service, Job, Execution. * run.googleapis.com/client-name: All resources. * run.googleapis.com/cloudsql-instances: Revision, Execution. * run.googleapis.com/container-dependencies: Revision. * run.googleapis.com/cpu-throttling: Revision. * run.googleapis.com/custom-audiences: Service. * run.googleapis.com/description: Service. * run.googleapis.com/disable-default-url: Service. * run.googleapis.com/encryption-key-shutdown-hours: Revision * run.googleapis.com/encryption-key: Revision, Execution. * run.googleapis.com/execution-environment: Revision, Execution. * run.googleapis.com/gc-traffic-tags: Service. * run.googleapis.com/ingress: Service. * run.googleapis.com/launch-stage: Service, Job. * run.googleapis.com/minScale: Service (ALPHA) * run.googleapis.com/network-interfaces: Revision, Execution. * run.googleapis.com/post-key-revocation-action-type: Revision. * run.googleapis.com/secrets: Revision, Execution. * run.googleapis.com/secure-session-agent: Revision. * run.googleapis.com/sessionAffinity: Revision. * run.googleapis.com/startup-cpu-boost: Revision. * run.googleapis.com/vpc-access-connector: Revision, Execution. * run.googleapis.com/vpc-access-egress: Revision, Execution.
final
clusterName → Input<String>
Not supported by Cloud Run
final
creationTimestamp → Input<String>
UTC timestamp representing the server time when this object was created.
final
deletionGracePeriodSeconds → Input<int>
Not supported by Cloud Run
final
deletionTimestamp → Input<String>
The read-only soft deletion timestamp for this resource. In Cloud Run, users are not able to set this field. Instead, they must call the corresponding Delete API.
final
finalizers → Input<List<String>>
Not supported by Cloud Run
final
generateName → Input<String>
Not supported by Cloud Run
final
generation → Input<int>
A system-provided sequence number representing a specific generation of the desired state.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes.
final
name → Input<String>
The name of the resource. Name is required when creating top-level resources (Service, Job), must be unique within a Cloud Run project/region, and cannot be changed once created.
final
namespace → Input<String>
Defines the space within each name must be unique within a Cloud Run region. In Cloud Run, it must be project ID or number.
final
ownerReferences → Input<List<OwnerReferenceResponse>>
Not supported by Cloud Run
final
resourceVersion → Input<String>
Opaque, system-generated value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
URL representing this object.
final
uid → Input<String>
Unique, system-generated identifier for this resource.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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