UNPKG

googleapis

Version:
863 lines 260 kB
/// <reference types="node" /> import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common'; import { Readable } from 'stream'; export declare namespace run_v1 { export interface Options extends GlobalOptions { version: 'v1'; } interface StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient | BaseExternalAccountClient | GoogleAuth; /** * V1 error format. */ '$.xgafv'?: string; /** * OAuth access token. */ access_token?: string; /** * Data format for response. */ alt?: string; /** * JSONP */ callback?: string; /** * Selector specifying which fields to include in a partial response. */ fields?: string; /** * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** * OAuth 2.0 token for the current user. */ oauth_token?: string; /** * Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** * Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** * Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; } /** * Cloud Run Admin API * * Deploy and manage user provided container images that scale automatically based on HTTP traffic. * * @example * ```js * const {google} = require('googleapis'); * const run = google.run('v1'); * ``` */ export class Run { context: APIRequestContext; namespaces: Resource$Namespaces; projects: Resource$Projects; constructor(options: GlobalOptions, google?: GoogleConfigurable); } /** * Information for connecting over HTTP(s). */ export interface Schema$Addressable { url?: string | null; } /** * Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. */ export interface Schema$AuditConfig { /** * The configuration for logging of each type of permission. */ auditLogConfigs?: Schema$AuditLogConfig[]; /** * Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. */ service?: string | null; } /** * Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \} ] \} This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. */ export interface Schema$AuditLogConfig { /** * Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */ exemptedMembers?: string[] | null; /** * The log type that this config enables. */ logType?: string | null; } /** * A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via [Webmaster Central](https://www.google.com/webmasters/verification/home). */ export interface Schema$AuthorizedDomain { /** * Relative name of the domain authorized for use. Example: `example.com`. */ id?: string | null; /** * Deprecated Read only. Full path to the `AuthorizedDomain` resource in the API. Example: `projects/myproject/authorizedDomains/example.com`. */ name?: string | null; } /** * Associates `members` with a `role`. */ export interface Schema$Binding { /** * The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */ condition?: Schema$Expr; /** * Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. */ members?: string[] | null; /** * Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */ role?: string | null; } /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. */ export interface Schema$ConfigMapEnvSource { /** * This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. */ localObjectReference?: Schema$LocalObjectReference; /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported The ConfigMap to select from. */ name?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Specify whether the ConfigMap must be defined */ optional?: boolean | null; } /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported Selects a key from a ConfigMap. */ export interface Schema$ConfigMapKeySelector { /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported The key to select. */ key?: string | null; /** * This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. */ localObjectReference?: Schema$LocalObjectReference; /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported The ConfigMap to select from. */ name?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Specify whether the ConfigMap or its key must be defined */ optional?: boolean | null; } /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. */ export interface Schema$ConfigMapVolumeSource { /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. */ defaultMode?: number | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. */ items?: Schema$KeyToPath[]; /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported Name of the config. */ name?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Specify whether the Secret or its keys must be defined. */ optional?: boolean | null; } /** * Configuration represents the "floating HEAD" of a linear history of Revisions, and optionally how the containers those revisions reference are built. Users create new Revisions by updating the Configuration's spec. The "latest created" revision's name is available under status, as is the "latest ready" revision's name. See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration */ export interface Schema$Configuration { /** * The API version for this call such as "serving.knative.dev/v1". */ apiVersion?: string | null; /** * The kind of resource, in this case always "Configuration". */ kind?: string | null; /** * Metadata associated with this Configuration, including name, namespace, labels, and annotations. */ metadata?: Schema$ObjectMeta; /** * Spec holds the desired state of the Configuration (from the client). */ spec?: Schema$ConfigurationSpec; /** * Status communicates the observed state of the Configuration (from the controller). */ status?: Schema$ConfigurationStatus; } /** * ConfigurationSpec holds the desired state of the Configuration (from the client). */ export interface Schema$ConfigurationSpec { /** * Template holds the latest specification for the Revision to be stamped out. */ template?: Schema$RevisionTemplate; } /** * ConfigurationStatus communicates the observed state of the Configuration (from the controller). */ export interface Schema$ConfigurationStatus { /** * Conditions communicates information about ongoing/complete reconciliation processes that bring the "spec" inline with the observed state of the world. */ conditions?: Schema$GoogleCloudRunV1Condition[]; /** * LatestCreatedRevisionName is the last revision that was created from this Configuration. It might not be ready yet, for that use LatestReadyRevisionName. */ latestCreatedRevisionName?: string | null; /** * LatestReadyRevisionName holds the name of the latest Revision stamped out from this Configuration that has had its "Ready" condition become "True". */ latestReadyRevisionName?: string | null; /** * ObservedGeneration is the 'Generation' of the Configuration that was last processed by the controller. The observed generation is updated even if the controller failed to process the spec and create the Revision. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation, and the Ready condition's status is True or False. */ observedGeneration?: number | null; } /** * A single application container. This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that additional arguments may be supplied by the system to the container at runtime. */ export interface Schema$Container { /** * (Optional) Cloud Run fully managed: supported Cloud Run for Anthos: supported Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell */ args?: string[] | null; command?: string[] | null; /** * (Optional) Cloud Run fully managed: supported Cloud Run for Anthos: supported List of environment variables to set in the container. */ env?: Schema$EnvVar[]; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. */ envFrom?: Schema$EnvFromSource[]; /** * Cloud Run fully managed: only supports containers from Google Container Registry Cloud Run for Anthos: supported URL of the Container image. More info: https://kubernetes.io/docs/concepts/containers/images */ image?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images */ imagePullPolicy?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes */ livenessProbe?: Schema$Probe; /** * (Optional) Name of the container specified as a DNS_LABEL. */ name?: string | null; /** * (Optional) List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on. */ ports?: Schema$ContainerPort[]; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes */ readinessProbe?: Schema$Probe; /** * (Optional) Cloud Run fully managed: supported Cloud Run for Anthos: supported Compute Resources required by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources */ resources?: Schema$ResourceRequirements; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ */ securityContext?: Schema$SecurityContext; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. */ terminationMessagePath?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. */ terminationMessagePolicy?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Pod volumes to mount into the container's filesystem. */ volumeMounts?: Schema$VolumeMount[]; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. */ workingDir?: string | null; } /** * ContainerPort represents a network port in a single container. */ export interface Schema$ContainerPort { /** * (Optional) Port number the container listens on. This must be a valid port number, 0 < x < 65536. */ containerPort?: number | null; /** * (Optional) If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c". */ name?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Protocol for port. Must be "TCP". Defaults to "TCP". */ protocol?: string | null; } /** * Resource to hold the state and status of a user's domain mapping. NOTE: This resource is currently in Beta. */ export interface Schema$DomainMapping { /** * The API version for this call such as "domains.cloudrun.com/v1". */ apiVersion?: string | null; /** * The kind of resource, in this case "DomainMapping". */ kind?: string | null; /** * Metadata associated with this BuildTemplate. */ metadata?: Schema$ObjectMeta; /** * The spec for this DomainMapping. */ spec?: Schema$DomainMappingSpec; /** * The current status of the DomainMapping. */ status?: Schema$DomainMappingStatus; } /** * The desired state of the Domain Mapping. */ export interface Schema$DomainMappingSpec { /** * The mode of the certificate. */ certificateMode?: string | null; /** * If set, the mapping will override any mapping set before this spec was set. It is recommended that the user leaves this empty to receive an error warning about a potential conflict and only set it once the respective UI has given such a warning. */ forceOverride?: boolean | null; /** * The name of the Knative Route that this DomainMapping applies to. The route must exist. */ routeName?: string | null; } /** * The current state of the Domain Mapping. */ export interface Schema$DomainMappingStatus { /** * Array of observed DomainMappingConditions, indicating the current state of the DomainMapping. */ conditions?: Schema$GoogleCloudRunV1Condition[]; /** * The name of the route that the mapping currently points to. */ mappedRouteName?: string | null; /** * ObservedGeneration is the 'Generation' of the DomainMapping that was last processed by the controller. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False. */ observedGeneration?: number | null; /** * The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. */ resourceRecords?: Schema$ResourceRecord[]; /** * Cloud Run fully managed: not supported Cloud Run on GKE: supported Holds the URL that will serve the traffic of the DomainMapping. +optional */ url?: string | null; } /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported EnvFromSource represents the source of a set of ConfigMaps */ export interface Schema$EnvFromSource { /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported The ConfigMap to select from */ configMapRef?: Schema$ConfigMapEnvSource; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. */ prefix?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported The Secret to select from */ secretRef?: Schema$SecretEnvSource; } /** * EnvVar represents an environment variable present in a Container. */ export interface Schema$EnvVar { /** * Name of the environment variable. Must be a C_IDENTIFIER. */ name?: string | null; /** * (Optional) Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". */ value?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Source for the environment variable's value. Cannot be used if value is not empty. */ valueFrom?: Schema$EnvVarSource; } /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported EnvVarSource represents a source for the value of an EnvVar. */ export interface Schema$EnvVarSource { /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Selects a key of a ConfigMap. */ configMapKeyRef?: Schema$ConfigMapKeySelector; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Selects a key of a secret in the pod's namespace */ secretKeyRef?: Schema$SecretKeySelector; } /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported ExecAction describes a "run in container" action. */ export interface Schema$ExecAction { /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. */ command?: string[] | null; } /** * Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. */ export interface Schema$Expr { /** * Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */ description?: string | null; /** * Textual representation of an expression in Common Expression Language syntax. */ expression?: string | null; /** * Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */ location?: string | null; /** * Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */ title?: string | null; } /** * Condition defines a generic condition for a Resource */ export interface Schema$GoogleCloudRunV1Condition { /** * Optional. Last time the condition transitioned from one status to another. */ lastTransitionTime?: string | null; /** * Optional. Human readable message indicating details about the current status. */ message?: string | null; /** * Optional. One-word CamelCase reason for the condition's last transition. */ reason?: string | null; /** * Optional. How to interpret failures of this condition, one of Error, Warning, Info */ severity?: string | null; /** * Status of the condition, one of True, False, Unknown. */ status?: string | null; /** * type is used to communicate the status of the reconciliation process. See also: https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting Types common to all resources include: * "Ready": True when the Resource is ready. */ type?: string | null; } /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported HTTPGetAction describes an action based on HTTP Get requests. */ export interface Schema$HTTPGetAction { /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. */ host?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Custom headers to set in the request. HTTP allows repeated headers. */ httpHeaders?: Schema$HTTPHeader[]; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Path to access on the HTTP server. */ path?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Scheme to use for connecting to the host. Defaults to HTTP. */ scheme?: string | null; } /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported HTTPHeader describes a custom header to be used in HTTP probes */ export interface Schema$HTTPHeader { /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported The header field name */ name?: string | null; /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported The header field value */ value?: string | null; } /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported Maps a string key to a path within a volume. */ export interface Schema$KeyToPath { /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported The key to project. */ key?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Mode bits to use on this file, must be a value between 0000 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. */ mode?: number | null; /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. */ path?: string | null; } /** * A list of Authorized Domains. */ export interface Schema$ListAuthorizedDomainsResponse { /** * The authorized domains belonging to the user. */ domains?: Schema$AuthorizedDomain[]; /** * Continuation token for fetching the next page of results. */ nextPageToken?: string | null; } /** * ListConfigurationsResponse is a list of Configuration resources. */ export interface Schema$ListConfigurationsResponse { /** * The API version for this call such as "serving.knative.dev/v1". */ apiVersion?: string | null; /** * List of Configurations. */ items?: Schema$Configuration[]; /** * The kind of this resource, in this case "ConfigurationList". */ kind?: string | null; /** * Metadata associated with this Configuration list. */ metadata?: Schema$ListMeta; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * ListDomainMappingsResponse is a list of DomainMapping resources. */ export interface Schema$ListDomainMappingsResponse { /** * The API version for this call such as "domains.cloudrun.com/v1". */ apiVersion?: string | null; /** * List of DomainMappings. */ items?: Schema$DomainMapping[]; /** * The kind of this resource, in this case "DomainMappingList". */ kind?: string | null; /** * Metadata associated with this DomainMapping list. */ metadata?: Schema$ListMeta; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * The response message for Locations.ListLocations. */ export interface Schema$ListLocationsResponse { /** * A list of locations that matches the specified filter in the request. */ locations?: Schema$Location[]; /** * The standard List next-page token. */ nextPageToken?: string | null; } /** * ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta\}. */ export interface Schema$ListMeta { /** * continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response. */ continue?: string | null; /** * String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency +optional */ resourceVersion?: string | null; /** * SelfLink is a URL representing this object. Populated by the system. Read-only. +optional */ selfLink?: string | null; } /** * ListRevisionsResponse is a list of Revision resources. */ export interface Schema$ListRevisionsResponse { /** * The API version for this call such as "serving.knative.dev/v1". */ apiVersion?: string | null; /** * List of Revisions. */ items?: Schema$Revision[]; /** * The kind of this resource, in this case "RevisionList". */ kind?: string | null; /** * Metadata associated with this revision list. */ metadata?: Schema$ListMeta; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * ListRoutesResponse is a list of Route resources. */ export interface Schema$ListRoutesResponse { /** * The API version for this call such as "serving.knative.dev/v1". */ apiVersion?: string | null; /** * List of Routes. */ items?: Schema$Route[]; /** * The kind of this resource, in this case always "RouteList". */ kind?: string | null; /** * Metadata associated with this Route list. */ metadata?: Schema$ListMeta; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * A list of Service resources. */ export interface Schema$ListServicesResponse { /** * The API version for this call such as "serving.knative.dev/v1". */ apiVersion?: string | null; /** * List of Services. */ items?: Schema$Service[]; /** * The kind of this resource, in this case "ServiceList". */ kind?: string | null; /** * Metadata associated with this Service list. */ metadata?: Schema$ListMeta; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * Cloud Run fully managed: not supported Cloud Run for Anthos: supported LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. */ export interface Schema$LocalObjectReference { /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */ name?: string | null; } /** * A resource that represents Google Cloud Platform location. */ export interface Schema$Location { /** * The friendly name for this location, typically a nearby city name. For example, "Tokyo". */ displayName?: string | null; /** * Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"\} */ labels?: { [key: string]: string; } | null; /** * The canonical id for this location. For example: `"us-east1"`. */ locationId?: string | null; /** * Service-specific metadata. For example the available capacity at the given location. */ metadata?: { [key: string]: any; } | null; /** * Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */ name?: string | null; } /** * k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. */ export interface Schema$ObjectMeta { /** * (Optional) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations */ annotations?: { [key: string]: string; } | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. */ clusterName?: string | null; /** * (Optional) CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata */ creationTimestamp?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. */ deletionGracePeriodSeconds?: number | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata */ deletionTimestamp?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. +patchStrategy=merge */ finalizers?: string[] | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency string generateName = 2; */ generateName?: string | null; /** * (Optional) A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. */ generation?: number | null; /** * (Optional) 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 */ labels?: { [key: string]: string; } | null; /** * Name must be unique within a namespace, within a Cloud Run region. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names +optional */ name?: string | null; /** * Namespace defines the space within each name must be unique, within a Cloud Run region. In Cloud Run the namespace must be equal to either the project ID or project number. */ namespace?: string | null; /** * (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported List of objects that own this object. If ALL objects in the list have been deleted, this object will be garbage collected. */ ownerReferences?: Schema$OwnerReference[]; /** * (Optional) 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. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency */ resourceVersion?: string | null; /** * (Optional) SelfLink is a URL representing this object. Populated by the system. Read-only. string selfLink = 4; */ selfLink?: string | null; /** * (Optional) UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids */ uid?: string | null; } /** * OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field. */ export interface Schema$OwnerReference { /** * API version of the referent. */ apiVersion?: string | null; /** * If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. +optional */ blockOwnerDeletion?: boolean | null; /** * If true, this reference points to the managing controller. +optional */ controller?: boolean | null; /** * Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds */ kind?: string | null; /** * Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names */ name?: string | null; /** * UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids */ uid?: string | null; } /** * An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a l