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: 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: - `run.googleapis.com/binary-authorization-breakglass` sets the [Binary Authorization breakglass](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--breakglass). - `run.googleapis.com/binary-authorization` sets the [Binary Authorization](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--binary-authorization). - `run.googleapis.com/client-name` sets the client name calling the Cloud Run API. - `run.googleapis.com/custom-audiences` sets the [custom audiences](https://cloud.google.com/sdk/gcloud/reference/alpha/run/deploy#--add-custom-audiences) that can be used in the audience field of ID token for authenticated requests. - `run.googleapis.com/description` sets a user defined description for the 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"`. - `run.googleapis.com/launch-stage` sets the [launch stage](https://cloud.google.com/run/docs/troubleshooting#launch-stage-validation) when a preview feature is used. For example, `"run.googleapis.com/launch-stage": "BETA"`
-
generation
public java.util.Optional<java.lang.Integer> generation()
- Returns:
- (Output) 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.
-
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:
- (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.
-
selfLink
public java.util.Optional<java.lang.String> selfLink()
- Returns:
- (Output) SelfLink is a URL representing this object.
-
uid
public java.util.Optional<java.lang.String> uid()
- Returns:
- (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.
-
builder
public static ServiceMetadata.Builder builder()
-
builder
public static ServiceMetadata.Builder builder(ServiceMetadata defaults)
-
-