Package com.pulumi.gcp.cloudrun.outputs
Class ServiceMetadata
- java.lang.Object
-
- com.pulumi.gcp.cloudrun.outputs.ServiceMetadata
-
public final class ServiceMetadata extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
annotations()
static ServiceMetadata.Builder
builder()
static ServiceMetadata.Builder
builder(ServiceMetadata defaults)
java.util.Optional<java.lang.Integer>
generation()
java.util.Map<java.lang.String,java.lang.String>
labels()
java.util.Optional<java.lang.String>
namespace()
java.util.Optional<java.lang.String>
resourceVersion()
java.util.Optional<java.lang.String>
selfLink()
java.util.Optional<java.lang.String>
uid()
-
-
-
Method Detail
-
annotations
public java.util.Map<java.lang.String,java.lang.String> annotations()
- Returns:
- 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: http://kubernetes.io/docs/user-guide/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. Cloud Run (fully managed) uses the following annotation keys to configure features on a Service: - `run.googleapis.com/ingress` sets the [ingress settings](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--ingress) for the Service. For example, `"run.googleapis.com/ingress" = "all"`.
-
generation
public java.util.Optional<java.lang.Integer> generation()
- Returns:
- - A sequence number representing a specific generation of the desired state.
-
labels
public java.util.Map<java.lang.String,java.lang.String> labels()
- Returns:
- 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. More info: http://kubernetes.io/docs/user-guide/labels
-
namespace
public java.util.Optional<java.lang.String> namespace()
- Returns:
- In Cloud Run the namespace must be equal to either the project ID or project number.
-
resourceVersion
public java.util.Optional<java.lang.String> resourceVersion()
- Returns:
- - 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. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
-
selfLink
public java.util.Optional<java.lang.String> selfLink()
- Returns:
- - SelfLink is a URL representing this object.
-
uid
public java.util.Optional<java.lang.String> uid()
- Returns:
- - UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
-
builder
public static ServiceMetadata.Builder builder()
-
builder
public static ServiceMetadata.Builder builder(ServiceMetadata defaults)
-
-