google_api_cloud_run v0.1.0 GoogleApi.CloudRun.V1alpha1.Model.ServiceSpec View Source
ServiceSpec holds the desired state of the Route (from the client), which is used to manipulate the underlying Route and Configuration(s).
Attributes
- generation (integer()): Deprecated and not currently populated by Cloud Run. See metadata.generation instead, which is the sequence number containing the latest generation of the desired state.
Read-only. Defaults to nil
.
- manual (GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecManualType.t): Manual contains the options for configuring a manual service. See ServiceSpec for more details.
Not currently supported by Cloud Run. Defaults to nil
.
- pinned (GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecPinnedType.t): Pins this service to a specific revision name. The revision must be owned by the configuration provided.
Deprecated and not supported by Cloud Run.
+optional Defaults to nil
.
- release (GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecReleaseType.t): Release enables gradual promotion of new revisions by allowing traffic to be split between two revisions. This type replaces the deprecated Pinned type.
Not currently supported by Cloud Run. Defaults to nil
.
- runLatest (GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecRunLatest.t): RunLatest defines a simple Service. It will automatically
configure a route that keeps the latest ready revision
from the supplied configuration running.
+optional Defaults to
nil
. - template (GoogleApi.CloudRun.V1alpha1.Model.RevisionTemplate.t): Template holds the latest specification for the Revision to be stamped out.
Not currently supported by Cloud Run. Defaults to nil
.
- traffic (list(GoogleApi.CloudRun.V1alpha1.Model.TrafficTarget.t)): Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations. This will replace existing service specs (ServiceSpecRunLatest, ServiceSpecPinnedType, ServiceSpecReleaseType, and ServiceSpecManualType).
Not currently supported by Cloud Run. Defaults to nil
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.CloudRun.V1alpha1.Model.ServiceSpec{
generation: integer(),
manual: GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecManualType.t(),
pinned: GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecPinnedType.t(),
release: GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecReleaseType.t(),
runLatest: GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecRunLatest.t(),
template: GoogleApi.CloudRun.V1alpha1.Model.RevisionTemplate.t(),
traffic: [GoogleApi.CloudRun.V1alpha1.Model.TrafficTarget.t()]
}
t() :: %GoogleApi.CloudRun.V1alpha1.Model.ServiceSpec{ generation: integer(), manual: GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecManualType.t(), pinned: GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecPinnedType.t(), release: GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecReleaseType.t(), runLatest: GoogleApi.CloudRun.V1alpha1.Model.ServiceSpecRunLatest.t(), template: GoogleApi.CloudRun.V1alpha1.Model.RevisionTemplate.t(), traffic: [GoogleApi.CloudRun.V1alpha1.Model.TrafficTarget.t()] }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.