ServiceTemplateMetadata class
Constructors
-
ServiceTemplateMetadata({Input<Map<String, String>?>? annotations, Input<int?>? generation, Input<Map<String, String>?>? labels, Input<String?>? name, Input<String?>? namespace, Input<String?>? resourceVersion, Input<String?>? selfLink, Input<String?>? uid})
-
Creates a new ServiceTemplateMetadata.
annotations Annotations is a key value map stored with a resource that
generation (Output)
labels Map of string keys and values that can be used to organize and categorize
name Name must be unique within a Google Cloud project and region.
namespace In Cloud Run the namespace must be equal to either the
resourceVersion (Output)
selfLink (Output)
uid (Output)
const
-
ServiceTemplateMetadata.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
annotations
→ Input<Map<String, String>?>?
-
Annotations is a key value map stored with a resource that
may be set by external tools to store and retrieve arbitrary metadata.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
Note: The Cloud Run API may add additional annotations that were not provided in your config.
If the provider plan shows a diff where a server-side annotation is added, you can add it to your config
or apply the lifecycle.ignore_changes rule to the metadata.0.annotations field.
Annotations with
run.googleapis.com/ and autoscaling.knative.dev are restricted. Use the following annotation
keys to configure features on a Service:
final
-
generation
→ Input<int?>?
-
(Output)
A 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.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabels for all of the labels present on the resource.
final
-
name
→ Input<String?>?
-
Name must be unique within a Google Cloud project and region.
Is required when creating resources. Name is primarily intended
for creation idempotence and configuration definition. Cannot be updated.
final
-
namespace
→ Input<String?>?
-
In Cloud Run the namespace must be equal to either the
project ID or project number.
final
-
resourceVersion
→ Input<String?>?
-
(Output)
An opaque 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. They may only be valid for a
particular resource or set of resources.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
selfLink
→ Input<String?>?
-
(Output)
SelfLink is a URL representing this object.
final
-
uid
→ Input<String?>?
-
(Output)
UID is a unique id generated by the server on successful creation of a resource and is not
allowed to change on PUT operations.
final