REST Resource: projects.locations.services

Resource: Service

Service acts as a top-level container that manages a set of Routes and Configurations which implement a network service. Service exists to provide a singular abstraction which can be access controlled, reasoned about, and which encapsulates software lifecycle decisions such as rollout policy and team resource ownership. Service acts only as an orchestrator of the underlying Routes and Configurations (much as a kubernetes Deployment orchestrates ReplicaSets).

The Service's controller will track the statuses of its owned Configuration and Route, reflecting their statuses and conditions as its own.

See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#service

JSON representation
{
  "apiVersion": string,
  "kind": string,
  "metadata": {
    object (ObjectMeta)
  },
  "spec": {
    object (ServiceSpec)
  },
  "status": {
    object (ServiceStatus)
  }
}
Fields
apiVersion

string

The API version for this call such as "serving.knative.dev/v1alpha1".

kind

string

The kind of resource, in this case "Service".

metadata

object (ObjectMeta)

Metadata associated with this Service, including name, namespace, labels, and annotations.

spec

object (ServiceSpec)

Spec holds the desired state of the Service (from the client).

status

object (ServiceStatus)

Status communicates the observed state of the Service (from the controller).

Methods

create

Rpc to create a service.

delete

Rpc to delete a service.

get

Rpc to get information about a service.

getIamPolicy

Get the IAM Access Control policy currently in effect for the given Cloud Run service.

list

Rpc to list services.

replaceService

Rpc to replace a service.

setIamPolicy

Sets the IAM Access control policy for the specified Service.

testIamPermissions

Returns permissions that a caller has on the specified Project.
Hai trovato utile questa pagina? Facci sapere cosa ne pensi:

Invia feedback per...