Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="run_v1alpha1.html">Cloud Run API</a> . <a href="run_v1alpha1.namespaces.html">namespaces</a> . <a href="run_v1alpha1.namespaces.cloudschedulersources.html">cloudschedulersources</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p> |
| 79 | <p class="firstline">Creates a new cloudschedulersource.</p> |
| 80 | <p class="toc_element"> |
| 81 | <code><a href="#delete">delete(name, propagationPolicy=None, kind=None, apiVersion=None, x__xgafv=None)</a></code></p> |
| 82 | <p class="firstline">Rpc to delete a cloudschedulersource.</p> |
| 83 | <p class="toc_element"> |
| 84 | <code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 85 | <p class="firstline">Rpc to get information about a cloudschedulersource.</p> |
| 86 | <p class="toc_element"> |
| 87 | <code><a href="#list">list(parent, resourceVersion=None, includeUninitialized=None, fieldSelector=None, continue=None, limit=None, watch=None, labelSelector=None, x__xgafv=None)</a></code></p> |
| 88 | <p class="firstline">Rpc to list cloudschedulersources.</p> |
| 89 | <p class="toc_element"> |
| 90 | <code><a href="#replaceCloudSchedulerSource">replaceCloudSchedulerSource(name, body=None, x__xgafv=None)</a></code></p> |
| 91 | <p class="firstline">Rpc to replace a cloudschedulersource.</p> |
| 92 | <h3>Method Details</h3> |
| 93 | <div class="method"> |
| 94 | <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code> |
| 95 | <pre>Creates a new cloudschedulersource. |
| 96 | |
| 97 | Args: |
| 98 | parent: string, Required. The project ID or project number in which this cloudschedulersource should |
| 99 | be created. (required) |
| 100 | body: object, The request body. |
| 101 | The object takes the form of: |
| 102 | |
| 103 | { # The CloudSchedulerSource resource. |
| 104 | "status": { # CloudSchedulerSourceStatus represents the current state of a # Status represents the current state of the CloudSchedulerSource. This data |
| 105 | # may be out of date. |
| 106 | # CloudSchedulerSource. |
| 107 | "conditions": [ # Array of observed CloudSchedulerSourceConditions, indicating the current |
| 108 | # state of the CloudSchedulerSource. |
| 109 | { # Condition defines a generic condition for a Resource |
| 110 | "severity": "A String", # Optional. How to interpret failures of this condition, one of Error, Warning, Info |
| 111 | "reason": "A String", # Optional. One-word CamelCase reason for the condition's last transition. |
| 112 | "type": "A String", # type is used to communicate the status of the reconciliation process. |
| 113 | # See also: |
| 114 | # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting |
| 115 | # Types common to all resources include: |
| 116 | # * "Ready": True when the Resource is ready. |
| 117 | "message": "A String", # Optional. Human readable message indicating details about the current status. |
| 118 | "lastTransitionTime": "A String", # Optional. Last time the condition transitioned from one status to another. |
| 119 | "status": "A String", # Status of the condition, one of True, False, Unknown. |
| 120 | }, |
| 121 | ], |
| 122 | "observedGeneration": 42, # ObservedGeneration is the 'Generation' of the CloudSchedulerSource that |
| 123 | # was last processed by the controller. |
| 124 | "sinkUri": "A String", # SinkURI is the current active sink URI that has been configured for the |
| 125 | # Source. |
| 126 | }, |
| 127 | "apiVersion": "A String", # The API version for this call such as "events.cloud.google.com/v1alpha1". |
| 128 | "spec": { # The desired state of the CloudSchedulerSource. # Spec defines the desired state of the CloudSchedulerSource. |
| 129 | "data": "A String", # Data to send in the payload of the Event. |
| 130 | "ceOverrides": { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and |
| 131 | # modifications of the event sent to the sink. |
| 132 | # format of the CloudEvents produced by the Source. |
| 133 | "extensions": { # Extensions specify what attribute are added or overridden on the outbound |
| 134 | # event. Each `Extensions` key-value pair are set on the event as an |
| 135 | # attribute extension independently. |
| 136 | # +optional |
| 137 | "a_key": "A String", |
| 138 | }, |
| 139 | }, |
| 140 | "schedule": "A String", # Schedule in cron format, for example: "* * * * *" would be run |
| 141 | # every minute. |
| 142 | "secret": { # Cloud Run fully managed: not supported # Secret is the credential to use to create the Scheduler Job. |
| 143 | # If not specified, defaults to: |
| 144 | # Name: google-cloud-key |
| 145 | # Key: key.json |
| 146 | # |
| 147 | # Cloud Run on GKE: supported |
| 148 | # |
| 149 | # SecretKeySelector selects a key of a Secret. |
| 150 | "localObjectReference": { # LocalObjectReference contains enough information to let you locate the # This field should not be used directly as it is meant to be inlined |
| 151 | # directly into the message. Use the "name" field instead. |
| 152 | # referenced object inside the same namespace. |
| 153 | "name": "A String", # Name of the referent. |
| 154 | # More info: |
| 155 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 156 | }, |
| 157 | "optional": True or False, # Cloud Run fully managed: not supported |
| 158 | # |
| 159 | # Cloud Run on GKE: supported |
| 160 | # |
| 161 | # Specify whether the Secret or its key must be defined |
| 162 | # +optional |
| 163 | "key": "A String", # Cloud Run fully managed: not supported |
| 164 | # |
| 165 | # Cloud Run on GKE: supported |
| 166 | # |
| 167 | # The key of the secret to select from. Must be a valid secret key. |
| 168 | "name": "A String", # Cloud Run fully managed: not supported |
| 169 | # |
| 170 | # Cloud Run on GKE: supported |
| 171 | # |
| 172 | # The name of the secret in the pod's namespace to select from. |
| 173 | }, |
| 174 | "project": "A String", # Project is the ID of the Google Cloud Project that the CloudPubSubSource |
| 175 | # Topic exists in. If omitted, defaults to same as the cluster. |
| 176 | "pubsubSecret": { # Cloud Run fully managed: not supported # CloudPubSubSourceSecret is the credential to use to create |
| 177 | # Topic / PullSubscription resources. If omitted, uses Secret. |
| 178 | # |
| 179 | # Cloud Run on GKE: supported |
| 180 | # |
| 181 | # SecretKeySelector selects a key of a Secret. |
| 182 | "localObjectReference": { # LocalObjectReference contains enough information to let you locate the # This field should not be used directly as it is meant to be inlined |
| 183 | # directly into the message. Use the "name" field instead. |
| 184 | # referenced object inside the same namespace. |
| 185 | "name": "A String", # Name of the referent. |
| 186 | # More info: |
| 187 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 188 | }, |
| 189 | "optional": True or False, # Cloud Run fully managed: not supported |
| 190 | # |
| 191 | # Cloud Run on GKE: supported |
| 192 | # |
| 193 | # Specify whether the Secret or its key must be defined |
| 194 | # +optional |
| 195 | "key": "A String", # Cloud Run fully managed: not supported |
| 196 | # |
| 197 | # Cloud Run on GKE: supported |
| 198 | # |
| 199 | # The key of the secret to select from. Must be a valid secret key. |
| 200 | "name": "A String", # Cloud Run fully managed: not supported |
| 201 | # |
| 202 | # Cloud Run on GKE: supported |
| 203 | # |
| 204 | # The name of the secret in the pod's namespace to select from. |
| 205 | }, |
| 206 | "sink": { # Sink is a reference to an object that will resolve to a domain name or a |
| 207 | # URI directly to use as the sink. |
| 208 | "uri": "A String", # URI is for direct URI Designations or used with the resulting URL from |
| 209 | # Addressable ObjectReference. If used with an ObjectReference, will be |
| 210 | # appended to the path of the resulting URL from the Addressable. |
| 211 | # + optional |
| 212 | "ref": { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable. |
| 213 | # + optional |
| 214 | # referred object. |
| 215 | "apiVersion": "A String", # API version of the referent. |
| 216 | # +optional |
| 217 | "resourceVersion": "A String", # Specific resourceVersion to which this reference is made, if any. |
| 218 | # More info: |
| 219 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 220 | # +optional |
| 221 | "name": "A String", # Name of the referent. |
| 222 | # More info: |
| 223 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 224 | # +optional |
| 225 | "uid": "A String", # UID of the referent. |
| 226 | # More info: |
| 227 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids |
| 228 | # +optional |
| 229 | "fieldPath": "A String", # If referring to a piece of an object instead of an entire object, this |
| 230 | # string should contain a valid JSON/Go field access statement, such as |
| 231 | # desiredState.manifest.containers[2]. For example, if the object reference |
| 232 | # is to a container within a pod, this would take on a value like: |
| 233 | # "spec.containers{name}" (where "name" refers to the name of the container |
| 234 | # that triggered the event) or if no container name is specified |
| 235 | # "spec.containers[2]" (container with index 2 in this pod). This syntax is |
| 236 | # chosen only to have some well-defined way of referencing a part of an |
| 237 | # object. |
| 238 | "namespace": "A String", # Namespace of the referent. |
| 239 | # More info: |
| 240 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ |
| 241 | # +optional |
| 242 | "kind": "A String", # Kind of the referent. |
| 243 | # More info: |
| 244 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
| 245 | # +optional |
| 246 | }, |
| 247 | }, |
| 248 | "location": "A String", # Location to create the Scheduler job in. |
| 249 | }, |
| 250 | "kind": "A String", # The kind of resource, in this case "CloudSchedulerSource". |
| 251 | "metadata": { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this CloudSchedulerSource. |
| 252 | # all objects users must create. |
| 253 | "annotations": { # Annotations is an unstructured key value map stored with a resource that |
| 254 | # may be set by external tools to store and retrieve arbitrary metadata. They |
| 255 | # are not queryable and should be preserved when modifying objects. More |
| 256 | # info: http://kubernetes.io/docs/user-guide/annotations +optional |
| 257 | "a_key": "A String", |
| 258 | }, |
| 259 | "generateName": "A String", # Not currently supported by Cloud Run. |
| 260 | # |
| 261 | # GenerateName is an optional prefix, used by the server, to generate a |
| 262 | # unique name ONLY IF the Name field has not been provided. If this field is |
| 263 | # used, the name returned to the client will be different than the name |
| 264 | # passed. This value will also be combined with a unique suffix. The provided |
| 265 | # value has the same validation rules as the Name field, and may be truncated |
| 266 | # by the length of the suffix required to make the value unique on the |
| 267 | # server. |
| 268 | # |
| 269 | # If this field is specified and the generated name exists, the server will |
| 270 | # NOT return a 409 - instead, it will either return 201 Created or 500 with |
| 271 | # Reason ServerTimeout indicating a unique name could not be found in the |
| 272 | # time allotted, and the client should retry (optionally after the time |
| 273 | # indicated in the Retry-After header). |
| 274 | # |
| 275 | # Applied only if Name is not specified. |
| 276 | # More info: |
| 277 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency |
| 278 | # +optional |
| 279 | # string generateName = 2; |
| 280 | "name": "A String", # Name must be unique within a namespace, within a Cloud Run region. |
| 281 | # Is required when creating |
| 282 | # resources, although some resources may allow a client to request the |
| 283 | # generation of an appropriate name automatically. Name is primarily intended |
| 284 | # for creation idempotence and configuration definition. Cannot be updated. |
| 285 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 286 | # +optional |
| 287 | "clusterName": "A String", # Not currently supported by Cloud Run. |
| 288 | # |
| 289 | # The name of the cluster which the object belongs to. |
| 290 | # This is used to distinguish resources with same name and namespace in |
| 291 | # different clusters. This field is not set anywhere right now and apiserver |
| 292 | # is going to ignore it if set in create or update request. +optional |
| 293 | "deletionGracePeriodSeconds": 42, # Not currently supported by Cloud Run. |
| 294 | # |
| 295 | # Number of seconds allowed for this object to gracefully terminate before |
| 296 | # it will be removed from the system. Only set when deletionTimestamp is also |
| 297 | # set. May only be shortened. Read-only. +optional |
| 298 | "finalizers": [ # Not currently supported by Cloud Run. |
| 299 | # |
| 300 | # Must be empty before the object is deleted from the registry. Each entry |
| 301 | # is an identifier for the responsible component that will remove the entry |
| 302 | # from the list. If the deletionTimestamp of the object is non-nil, entries |
| 303 | # in this list can only be removed. |
| 304 | # +optional |
| 305 | # +patchStrategy=merge |
| 306 | "A String", |
| 307 | ], |
| 308 | "deletionTimestamp": "A String", # DeletionTimestamp is RFC 3339 date and time at which this resource will be |
| 309 | # deleted. This field is set by the server when a graceful deletion is |
| 310 | # requested by the user, and is not directly settable by a client. The |
| 311 | # resource is expected to be deleted (no longer visible from resource lists, |
| 312 | # and not reachable by name) after the time in this field, once the |
| 313 | # finalizers list is empty. As long as the finalizers list contains items, |
| 314 | # deletion is blocked. Once the deletionTimestamp is set, this value may not |
| 315 | # be unset or be set further into the future, although it may be shortened or |
| 316 | # the resource may be deleted prior to this time. For example, a user may |
| 317 | # request that a pod is deleted in 30 seconds. The Kubelet will react by |
| 318 | # sending a graceful termination signal to the containers in the pod. After |
| 319 | # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) |
| 320 | # to the container and after cleanup, remove the pod from the API. In the |
| 321 | # presence of network partitions, this object may still exist after this |
| 322 | # timestamp, until an administrator or automated process can determine the |
| 323 | # resource is fully terminated. |
| 324 | # If not set, graceful deletion of the object has not been requested. |
| 325 | # |
| 326 | # Populated by the system when a graceful deletion is requested. |
| 327 | # Read-only. |
| 328 | # More info: |
| 329 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 330 | # +optional |
| 331 | "ownerReferences": [ # List of objects that own this object. If ALL objects in the list have |
| 332 | # been deleted, this object will be garbage collected. |
| 333 | # +optional |
| 334 | { # OwnerReference contains enough information to let you identify an owning |
| 335 | # object. Currently, an owning object must be in the same namespace, so there |
| 336 | # is no namespace field. |
| 337 | "apiVersion": "A String", # API version of the referent. |
| 338 | "name": "A String", # Name of the referent. |
| 339 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 340 | "uid": "A String", # UID of the referent. |
| 341 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 342 | "controller": True or False, # If true, this reference points to the managing controller. |
| 343 | # +optional |
| 344 | "kind": "A String", # Kind of the referent. |
| 345 | # More info: |
| 346 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
| 347 | "blockOwnerDeletion": True or False, # If true, AND if the owner has the "foregroundDeletion" finalizer, then |
| 348 | # the owner cannot be deleted from the key-value store until this |
| 349 | # reference is removed. |
| 350 | # Defaults to false. |
| 351 | # To set this field, a user needs "delete" permission of the owner, |
| 352 | # otherwise 422 (Unprocessable Entity) will be returned. |
| 353 | # +optional |
| 354 | }, |
| 355 | ], |
| 356 | "creationTimestamp": "A String", # CreationTimestamp is a timestamp representing the server time when this |
| 357 | # object was created. It is not guaranteed to be set in happens-before order |
| 358 | # across separate operations. Clients may not set this value. It is |
| 359 | # represented in RFC3339 form and is in UTC. |
| 360 | # |
| 361 | # Populated by the system. |
| 362 | # Read-only. |
| 363 | # Null for lists. |
| 364 | # More info: |
| 365 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 366 | # +optional |
| 367 | "labels": { # Map of string keys and values that can be used to organize and categorize |
| 368 | # (scope and select) objects. May match selectors of replication controllers |
| 369 | # and routes. |
| 370 | # More info: http://kubernetes.io/docs/user-guide/labels |
| 371 | # +optional |
| 372 | "a_key": "A String", |
| 373 | }, |
| 374 | "generation": 42, # A sequence number representing a specific generation of the desired state. |
| 375 | # Populated by the system. Read-only. |
| 376 | # +optional |
| 377 | "resourceVersion": "A String", # An opaque value that represents the internal version of this object that |
| 378 | # can be used by clients to determine when objects have changed. May be used |
| 379 | # for optimistic concurrency, change detection, and the watch operation on a |
| 380 | # resource or set of resources. Clients must treat these values as opaque and |
| 381 | # passed unmodified back to the server. They may only be valid for a |
| 382 | # particular resource or set of resources. |
| 383 | # |
| 384 | # Populated by the system. |
| 385 | # Read-only. |
| 386 | # Value must be treated as opaque by clients and . |
| 387 | # More info: |
| 388 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 389 | # +optional |
| 390 | "uid": "A String", # UID is the unique in time and space value for this object. It is typically |
| 391 | # generated by the server on successful creation of a resource and is not |
| 392 | # allowed to change on PUT operations. |
| 393 | # |
| 394 | # Populated by the system. |
| 395 | # Read-only. |
| 396 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 397 | # +optional |
| 398 | "selfLink": "A String", # SelfLink is a URL representing this object. |
| 399 | # Populated by the system. |
| 400 | # Read-only. |
| 401 | # +optional |
| 402 | # string selfLink = 4; |
| 403 | "namespace": "A String", # Namespace defines the space within each name must be unique, within a |
| 404 | # Cloud Run region. In Cloud Run the namespace must be equal to either the |
| 405 | # project ID or project number. |
| 406 | }, |
| 407 | } |
| 408 | |
| 409 | x__xgafv: string, V1 error format. |
| 410 | Allowed values |
| 411 | 1 - v1 error format |
| 412 | 2 - v2 error format |
| 413 | |
| 414 | Returns: |
| 415 | An object of the form: |
| 416 | |
| 417 | { # The CloudSchedulerSource resource. |
| 418 | "status": { # CloudSchedulerSourceStatus represents the current state of a # Status represents the current state of the CloudSchedulerSource. This data |
| 419 | # may be out of date. |
| 420 | # CloudSchedulerSource. |
| 421 | "conditions": [ # Array of observed CloudSchedulerSourceConditions, indicating the current |
| 422 | # state of the CloudSchedulerSource. |
| 423 | { # Condition defines a generic condition for a Resource |
| 424 | "severity": "A String", # Optional. How to interpret failures of this condition, one of Error, Warning, Info |
| 425 | "reason": "A String", # Optional. One-word CamelCase reason for the condition's last transition. |
| 426 | "type": "A String", # type is used to communicate the status of the reconciliation process. |
| 427 | # See also: |
| 428 | # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting |
| 429 | # Types common to all resources include: |
| 430 | # * "Ready": True when the Resource is ready. |
| 431 | "message": "A String", # Optional. Human readable message indicating details about the current status. |
| 432 | "lastTransitionTime": "A String", # Optional. Last time the condition transitioned from one status to another. |
| 433 | "status": "A String", # Status of the condition, one of True, False, Unknown. |
| 434 | }, |
| 435 | ], |
| 436 | "observedGeneration": 42, # ObservedGeneration is the 'Generation' of the CloudSchedulerSource that |
| 437 | # was last processed by the controller. |
| 438 | "sinkUri": "A String", # SinkURI is the current active sink URI that has been configured for the |
| 439 | # Source. |
| 440 | }, |
| 441 | "apiVersion": "A String", # The API version for this call such as "events.cloud.google.com/v1alpha1". |
| 442 | "spec": { # The desired state of the CloudSchedulerSource. # Spec defines the desired state of the CloudSchedulerSource. |
| 443 | "data": "A String", # Data to send in the payload of the Event. |
| 444 | "ceOverrides": { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and |
| 445 | # modifications of the event sent to the sink. |
| 446 | # format of the CloudEvents produced by the Source. |
| 447 | "extensions": { # Extensions specify what attribute are added or overridden on the outbound |
| 448 | # event. Each `Extensions` key-value pair are set on the event as an |
| 449 | # attribute extension independently. |
| 450 | # +optional |
| 451 | "a_key": "A String", |
| 452 | }, |
| 453 | }, |
| 454 | "schedule": "A String", # Schedule in cron format, for example: "* * * * *" would be run |
| 455 | # every minute. |
| 456 | "secret": { # Cloud Run fully managed: not supported # Secret is the credential to use to create the Scheduler Job. |
| 457 | # If not specified, defaults to: |
| 458 | # Name: google-cloud-key |
| 459 | # Key: key.json |
| 460 | # |
| 461 | # Cloud Run on GKE: supported |
| 462 | # |
| 463 | # SecretKeySelector selects a key of a Secret. |
| 464 | "localObjectReference": { # LocalObjectReference contains enough information to let you locate the # This field should not be used directly as it is meant to be inlined |
| 465 | # directly into the message. Use the "name" field instead. |
| 466 | # referenced object inside the same namespace. |
| 467 | "name": "A String", # Name of the referent. |
| 468 | # More info: |
| 469 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 470 | }, |
| 471 | "optional": True or False, # Cloud Run fully managed: not supported |
| 472 | # |
| 473 | # Cloud Run on GKE: supported |
| 474 | # |
| 475 | # Specify whether the Secret or its key must be defined |
| 476 | # +optional |
| 477 | "key": "A String", # Cloud Run fully managed: not supported |
| 478 | # |
| 479 | # Cloud Run on GKE: supported |
| 480 | # |
| 481 | # The key of the secret to select from. Must be a valid secret key. |
| 482 | "name": "A String", # Cloud Run fully managed: not supported |
| 483 | # |
| 484 | # Cloud Run on GKE: supported |
| 485 | # |
| 486 | # The name of the secret in the pod's namespace to select from. |
| 487 | }, |
| 488 | "project": "A String", # Project is the ID of the Google Cloud Project that the CloudPubSubSource |
| 489 | # Topic exists in. If omitted, defaults to same as the cluster. |
| 490 | "pubsubSecret": { # Cloud Run fully managed: not supported # CloudPubSubSourceSecret is the credential to use to create |
| 491 | # Topic / PullSubscription resources. If omitted, uses Secret. |
| 492 | # |
| 493 | # Cloud Run on GKE: supported |
| 494 | # |
| 495 | # SecretKeySelector selects a key of a Secret. |
| 496 | "localObjectReference": { # LocalObjectReference contains enough information to let you locate the # This field should not be used directly as it is meant to be inlined |
| 497 | # directly into the message. Use the "name" field instead. |
| 498 | # referenced object inside the same namespace. |
| 499 | "name": "A String", # Name of the referent. |
| 500 | # More info: |
| 501 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 502 | }, |
| 503 | "optional": True or False, # Cloud Run fully managed: not supported |
| 504 | # |
| 505 | # Cloud Run on GKE: supported |
| 506 | # |
| 507 | # Specify whether the Secret or its key must be defined |
| 508 | # +optional |
| 509 | "key": "A String", # Cloud Run fully managed: not supported |
| 510 | # |
| 511 | # Cloud Run on GKE: supported |
| 512 | # |
| 513 | # The key of the secret to select from. Must be a valid secret key. |
| 514 | "name": "A String", # Cloud Run fully managed: not supported |
| 515 | # |
| 516 | # Cloud Run on GKE: supported |
| 517 | # |
| 518 | # The name of the secret in the pod's namespace to select from. |
| 519 | }, |
| 520 | "sink": { # Sink is a reference to an object that will resolve to a domain name or a |
| 521 | # URI directly to use as the sink. |
| 522 | "uri": "A String", # URI is for direct URI Designations or used with the resulting URL from |
| 523 | # Addressable ObjectReference. If used with an ObjectReference, will be |
| 524 | # appended to the path of the resulting URL from the Addressable. |
| 525 | # + optional |
| 526 | "ref": { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable. |
| 527 | # + optional |
| 528 | # referred object. |
| 529 | "apiVersion": "A String", # API version of the referent. |
| 530 | # +optional |
| 531 | "resourceVersion": "A String", # Specific resourceVersion to which this reference is made, if any. |
| 532 | # More info: |
| 533 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 534 | # +optional |
| 535 | "name": "A String", # Name of the referent. |
| 536 | # More info: |
| 537 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 538 | # +optional |
| 539 | "uid": "A String", # UID of the referent. |
| 540 | # More info: |
| 541 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids |
| 542 | # +optional |
| 543 | "fieldPath": "A String", # If referring to a piece of an object instead of an entire object, this |
| 544 | # string should contain a valid JSON/Go field access statement, such as |
| 545 | # desiredState.manifest.containers[2]. For example, if the object reference |
| 546 | # is to a container within a pod, this would take on a value like: |
| 547 | # "spec.containers{name}" (where "name" refers to the name of the container |
| 548 | # that triggered the event) or if no container name is specified |
| 549 | # "spec.containers[2]" (container with index 2 in this pod). This syntax is |
| 550 | # chosen only to have some well-defined way of referencing a part of an |
| 551 | # object. |
| 552 | "namespace": "A String", # Namespace of the referent. |
| 553 | # More info: |
| 554 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ |
| 555 | # +optional |
| 556 | "kind": "A String", # Kind of the referent. |
| 557 | # More info: |
| 558 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
| 559 | # +optional |
| 560 | }, |
| 561 | }, |
| 562 | "location": "A String", # Location to create the Scheduler job in. |
| 563 | }, |
| 564 | "kind": "A String", # The kind of resource, in this case "CloudSchedulerSource". |
| 565 | "metadata": { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this CloudSchedulerSource. |
| 566 | # all objects users must create. |
| 567 | "annotations": { # Annotations is an unstructured key value map stored with a resource that |
| 568 | # may be set by external tools to store and retrieve arbitrary metadata. They |
| 569 | # are not queryable and should be preserved when modifying objects. More |
| 570 | # info: http://kubernetes.io/docs/user-guide/annotations +optional |
| 571 | "a_key": "A String", |
| 572 | }, |
| 573 | "generateName": "A String", # Not currently supported by Cloud Run. |
| 574 | # |
| 575 | # GenerateName is an optional prefix, used by the server, to generate a |
| 576 | # unique name ONLY IF the Name field has not been provided. If this field is |
| 577 | # used, the name returned to the client will be different than the name |
| 578 | # passed. This value will also be combined with a unique suffix. The provided |
| 579 | # value has the same validation rules as the Name field, and may be truncated |
| 580 | # by the length of the suffix required to make the value unique on the |
| 581 | # server. |
| 582 | # |
| 583 | # If this field is specified and the generated name exists, the server will |
| 584 | # NOT return a 409 - instead, it will either return 201 Created or 500 with |
| 585 | # Reason ServerTimeout indicating a unique name could not be found in the |
| 586 | # time allotted, and the client should retry (optionally after the time |
| 587 | # indicated in the Retry-After header). |
| 588 | # |
| 589 | # Applied only if Name is not specified. |
| 590 | # More info: |
| 591 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency |
| 592 | # +optional |
| 593 | # string generateName = 2; |
| 594 | "name": "A String", # Name must be unique within a namespace, within a Cloud Run region. |
| 595 | # Is required when creating |
| 596 | # resources, although some resources may allow a client to request the |
| 597 | # generation of an appropriate name automatically. Name is primarily intended |
| 598 | # for creation idempotence and configuration definition. Cannot be updated. |
| 599 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 600 | # +optional |
| 601 | "clusterName": "A String", # Not currently supported by Cloud Run. |
| 602 | # |
| 603 | # The name of the cluster which the object belongs to. |
| 604 | # This is used to distinguish resources with same name and namespace in |
| 605 | # different clusters. This field is not set anywhere right now and apiserver |
| 606 | # is going to ignore it if set in create or update request. +optional |
| 607 | "deletionGracePeriodSeconds": 42, # Not currently supported by Cloud Run. |
| 608 | # |
| 609 | # Number of seconds allowed for this object to gracefully terminate before |
| 610 | # it will be removed from the system. Only set when deletionTimestamp is also |
| 611 | # set. May only be shortened. Read-only. +optional |
| 612 | "finalizers": [ # Not currently supported by Cloud Run. |
| 613 | # |
| 614 | # Must be empty before the object is deleted from the registry. Each entry |
| 615 | # is an identifier for the responsible component that will remove the entry |
| 616 | # from the list. If the deletionTimestamp of the object is non-nil, entries |
| 617 | # in this list can only be removed. |
| 618 | # +optional |
| 619 | # +patchStrategy=merge |
| 620 | "A String", |
| 621 | ], |
| 622 | "deletionTimestamp": "A String", # DeletionTimestamp is RFC 3339 date and time at which this resource will be |
| 623 | # deleted. This field is set by the server when a graceful deletion is |
| 624 | # requested by the user, and is not directly settable by a client. The |
| 625 | # resource is expected to be deleted (no longer visible from resource lists, |
| 626 | # and not reachable by name) after the time in this field, once the |
| 627 | # finalizers list is empty. As long as the finalizers list contains items, |
| 628 | # deletion is blocked. Once the deletionTimestamp is set, this value may not |
| 629 | # be unset or be set further into the future, although it may be shortened or |
| 630 | # the resource may be deleted prior to this time. For example, a user may |
| 631 | # request that a pod is deleted in 30 seconds. The Kubelet will react by |
| 632 | # sending a graceful termination signal to the containers in the pod. After |
| 633 | # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) |
| 634 | # to the container and after cleanup, remove the pod from the API. In the |
| 635 | # presence of network partitions, this object may still exist after this |
| 636 | # timestamp, until an administrator or automated process can determine the |
| 637 | # resource is fully terminated. |
| 638 | # If not set, graceful deletion of the object has not been requested. |
| 639 | # |
| 640 | # Populated by the system when a graceful deletion is requested. |
| 641 | # Read-only. |
| 642 | # More info: |
| 643 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 644 | # +optional |
| 645 | "ownerReferences": [ # List of objects that own this object. If ALL objects in the list have |
| 646 | # been deleted, this object will be garbage collected. |
| 647 | # +optional |
| 648 | { # OwnerReference contains enough information to let you identify an owning |
| 649 | # object. Currently, an owning object must be in the same namespace, so there |
| 650 | # is no namespace field. |
| 651 | "apiVersion": "A String", # API version of the referent. |
| 652 | "name": "A String", # Name of the referent. |
| 653 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 654 | "uid": "A String", # UID of the referent. |
| 655 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 656 | "controller": True or False, # If true, this reference points to the managing controller. |
| 657 | # +optional |
| 658 | "kind": "A String", # Kind of the referent. |
| 659 | # More info: |
| 660 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
| 661 | "blockOwnerDeletion": True or False, # If true, AND if the owner has the "foregroundDeletion" finalizer, then |
| 662 | # the owner cannot be deleted from the key-value store until this |
| 663 | # reference is removed. |
| 664 | # Defaults to false. |
| 665 | # To set this field, a user needs "delete" permission of the owner, |
| 666 | # otherwise 422 (Unprocessable Entity) will be returned. |
| 667 | # +optional |
| 668 | }, |
| 669 | ], |
| 670 | "creationTimestamp": "A String", # CreationTimestamp is a timestamp representing the server time when this |
| 671 | # object was created. It is not guaranteed to be set in happens-before order |
| 672 | # across separate operations. Clients may not set this value. It is |
| 673 | # represented in RFC3339 form and is in UTC. |
| 674 | # |
| 675 | # Populated by the system. |
| 676 | # Read-only. |
| 677 | # Null for lists. |
| 678 | # More info: |
| 679 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 680 | # +optional |
| 681 | "labels": { # Map of string keys and values that can be used to organize and categorize |
| 682 | # (scope and select) objects. May match selectors of replication controllers |
| 683 | # and routes. |
| 684 | # More info: http://kubernetes.io/docs/user-guide/labels |
| 685 | # +optional |
| 686 | "a_key": "A String", |
| 687 | }, |
| 688 | "generation": 42, # A sequence number representing a specific generation of the desired state. |
| 689 | # Populated by the system. Read-only. |
| 690 | # +optional |
| 691 | "resourceVersion": "A String", # An opaque value that represents the internal version of this object that |
| 692 | # can be used by clients to determine when objects have changed. May be used |
| 693 | # for optimistic concurrency, change detection, and the watch operation on a |
| 694 | # resource or set of resources. Clients must treat these values as opaque and |
| 695 | # passed unmodified back to the server. They may only be valid for a |
| 696 | # particular resource or set of resources. |
| 697 | # |
| 698 | # Populated by the system. |
| 699 | # Read-only. |
| 700 | # Value must be treated as opaque by clients and . |
| 701 | # More info: |
| 702 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 703 | # +optional |
| 704 | "uid": "A String", # UID is the unique in time and space value for this object. It is typically |
| 705 | # generated by the server on successful creation of a resource and is not |
| 706 | # allowed to change on PUT operations. |
| 707 | # |
| 708 | # Populated by the system. |
| 709 | # Read-only. |
| 710 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 711 | # +optional |
| 712 | "selfLink": "A String", # SelfLink is a URL representing this object. |
| 713 | # Populated by the system. |
| 714 | # Read-only. |
| 715 | # +optional |
| 716 | # string selfLink = 4; |
| 717 | "namespace": "A String", # Namespace defines the space within each name must be unique, within a |
| 718 | # Cloud Run region. In Cloud Run the namespace must be equal to either the |
| 719 | # project ID or project number. |
| 720 | }, |
| 721 | }</pre> |
| 722 | </div> |
| 723 | |
| 724 | <div class="method"> |
| 725 | <code class="details" id="delete">delete(name, propagationPolicy=None, kind=None, apiVersion=None, x__xgafv=None)</code> |
| 726 | <pre>Rpc to delete a cloudschedulersource. |
| 727 | |
| 728 | Args: |
| 729 | name: string, Required. The name of the cloudschedulersource being deleted. If needed, replace |
| 730 | {namespace_id} with the project ID. (required) |
| 731 | propagationPolicy: string, Specifies the propagation policy of delete. Cloud Run currently ignores |
| 732 | this setting, and deletes in the background. Please see |
| 733 | kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for |
| 734 | more information. |
| 735 | kind: string, Cloud Run currently ignores this parameter. |
| 736 | apiVersion: string, Cloud Run currently ignores this parameter. |
| 737 | x__xgafv: string, V1 error format. |
| 738 | Allowed values |
| 739 | 1 - v1 error format |
| 740 | 2 - v2 error format |
| 741 | |
| 742 | Returns: |
| 743 | An object of the form: |
| 744 | |
| 745 | { # A generic empty message that you can re-use to avoid defining duplicated |
| 746 | # empty messages in your APIs. A typical example is to use it as the request |
| 747 | # or the response type of an API method. For instance: |
| 748 | # |
| 749 | # service Foo { |
| 750 | # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); |
| 751 | # } |
| 752 | # |
| 753 | # The JSON representation for `Empty` is empty JSON object `{}`. |
| 754 | }</pre> |
| 755 | </div> |
| 756 | |
| 757 | <div class="method"> |
| 758 | <code class="details" id="get">get(name, x__xgafv=None)</code> |
| 759 | <pre>Rpc to get information about a cloudschedulersource. |
| 760 | |
| 761 | Args: |
| 762 | name: string, Required. The name of the cloudschedulersource being retrieved. If needed, replace |
| 763 | {namespace_id} with the project ID. (required) |
| 764 | x__xgafv: string, V1 error format. |
| 765 | Allowed values |
| 766 | 1 - v1 error format |
| 767 | 2 - v2 error format |
| 768 | |
| 769 | Returns: |
| 770 | An object of the form: |
| 771 | |
| 772 | { # The CloudSchedulerSource resource. |
| 773 | "status": { # CloudSchedulerSourceStatus represents the current state of a # Status represents the current state of the CloudSchedulerSource. This data |
| 774 | # may be out of date. |
| 775 | # CloudSchedulerSource. |
| 776 | "conditions": [ # Array of observed CloudSchedulerSourceConditions, indicating the current |
| 777 | # state of the CloudSchedulerSource. |
| 778 | { # Condition defines a generic condition for a Resource |
| 779 | "severity": "A String", # Optional. How to interpret failures of this condition, one of Error, Warning, Info |
| 780 | "reason": "A String", # Optional. One-word CamelCase reason for the condition's last transition. |
| 781 | "type": "A String", # type is used to communicate the status of the reconciliation process. |
| 782 | # See also: |
| 783 | # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting |
| 784 | # Types common to all resources include: |
| 785 | # * "Ready": True when the Resource is ready. |
| 786 | "message": "A String", # Optional. Human readable message indicating details about the current status. |
| 787 | "lastTransitionTime": "A String", # Optional. Last time the condition transitioned from one status to another. |
| 788 | "status": "A String", # Status of the condition, one of True, False, Unknown. |
| 789 | }, |
| 790 | ], |
| 791 | "observedGeneration": 42, # ObservedGeneration is the 'Generation' of the CloudSchedulerSource that |
| 792 | # was last processed by the controller. |
| 793 | "sinkUri": "A String", # SinkURI is the current active sink URI that has been configured for the |
| 794 | # Source. |
| 795 | }, |
| 796 | "apiVersion": "A String", # The API version for this call such as "events.cloud.google.com/v1alpha1". |
| 797 | "spec": { # The desired state of the CloudSchedulerSource. # Spec defines the desired state of the CloudSchedulerSource. |
| 798 | "data": "A String", # Data to send in the payload of the Event. |
| 799 | "ceOverrides": { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and |
| 800 | # modifications of the event sent to the sink. |
| 801 | # format of the CloudEvents produced by the Source. |
| 802 | "extensions": { # Extensions specify what attribute are added or overridden on the outbound |
| 803 | # event. Each `Extensions` key-value pair are set on the event as an |
| 804 | # attribute extension independently. |
| 805 | # +optional |
| 806 | "a_key": "A String", |
| 807 | }, |
| 808 | }, |
| 809 | "schedule": "A String", # Schedule in cron format, for example: "* * * * *" would be run |
| 810 | # every minute. |
| 811 | "secret": { # Cloud Run fully managed: not supported # Secret is the credential to use to create the Scheduler Job. |
| 812 | # If not specified, defaults to: |
| 813 | # Name: google-cloud-key |
| 814 | # Key: key.json |
| 815 | # |
| 816 | # Cloud Run on GKE: supported |
| 817 | # |
| 818 | # SecretKeySelector selects a key of a Secret. |
| 819 | "localObjectReference": { # LocalObjectReference contains enough information to let you locate the # This field should not be used directly as it is meant to be inlined |
| 820 | # directly into the message. Use the "name" field instead. |
| 821 | # referenced object inside the same namespace. |
| 822 | "name": "A String", # Name of the referent. |
| 823 | # More info: |
| 824 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 825 | }, |
| 826 | "optional": True or False, # Cloud Run fully managed: not supported |
| 827 | # |
| 828 | # Cloud Run on GKE: supported |
| 829 | # |
| 830 | # Specify whether the Secret or its key must be defined |
| 831 | # +optional |
| 832 | "key": "A String", # Cloud Run fully managed: not supported |
| 833 | # |
| 834 | # Cloud Run on GKE: supported |
| 835 | # |
| 836 | # The key of the secret to select from. Must be a valid secret key. |
| 837 | "name": "A String", # Cloud Run fully managed: not supported |
| 838 | # |
| 839 | # Cloud Run on GKE: supported |
| 840 | # |
| 841 | # The name of the secret in the pod's namespace to select from. |
| 842 | }, |
| 843 | "project": "A String", # Project is the ID of the Google Cloud Project that the CloudPubSubSource |
| 844 | # Topic exists in. If omitted, defaults to same as the cluster. |
| 845 | "pubsubSecret": { # Cloud Run fully managed: not supported # CloudPubSubSourceSecret is the credential to use to create |
| 846 | # Topic / PullSubscription resources. If omitted, uses Secret. |
| 847 | # |
| 848 | # Cloud Run on GKE: supported |
| 849 | # |
| 850 | # SecretKeySelector selects a key of a Secret. |
| 851 | "localObjectReference": { # LocalObjectReference contains enough information to let you locate the # This field should not be used directly as it is meant to be inlined |
| 852 | # directly into the message. Use the "name" field instead. |
| 853 | # referenced object inside the same namespace. |
| 854 | "name": "A String", # Name of the referent. |
| 855 | # More info: |
| 856 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 857 | }, |
| 858 | "optional": True or False, # Cloud Run fully managed: not supported |
| 859 | # |
| 860 | # Cloud Run on GKE: supported |
| 861 | # |
| 862 | # Specify whether the Secret or its key must be defined |
| 863 | # +optional |
| 864 | "key": "A String", # Cloud Run fully managed: not supported |
| 865 | # |
| 866 | # Cloud Run on GKE: supported |
| 867 | # |
| 868 | # The key of the secret to select from. Must be a valid secret key. |
| 869 | "name": "A String", # Cloud Run fully managed: not supported |
| 870 | # |
| 871 | # Cloud Run on GKE: supported |
| 872 | # |
| 873 | # The name of the secret in the pod's namespace to select from. |
| 874 | }, |
| 875 | "sink": { # Sink is a reference to an object that will resolve to a domain name or a |
| 876 | # URI directly to use as the sink. |
| 877 | "uri": "A String", # URI is for direct URI Designations or used with the resulting URL from |
| 878 | # Addressable ObjectReference. If used with an ObjectReference, will be |
| 879 | # appended to the path of the resulting URL from the Addressable. |
| 880 | # + optional |
| 881 | "ref": { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable. |
| 882 | # + optional |
| 883 | # referred object. |
| 884 | "apiVersion": "A String", # API version of the referent. |
| 885 | # +optional |
| 886 | "resourceVersion": "A String", # Specific resourceVersion to which this reference is made, if any. |
| 887 | # More info: |
| 888 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 889 | # +optional |
| 890 | "name": "A String", # Name of the referent. |
| 891 | # More info: |
| 892 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 893 | # +optional |
| 894 | "uid": "A String", # UID of the referent. |
| 895 | # More info: |
| 896 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids |
| 897 | # +optional |
| 898 | "fieldPath": "A String", # If referring to a piece of an object instead of an entire object, this |
| 899 | # string should contain a valid JSON/Go field access statement, such as |
| 900 | # desiredState.manifest.containers[2]. For example, if the object reference |
| 901 | # is to a container within a pod, this would take on a value like: |
| 902 | # "spec.containers{name}" (where "name" refers to the name of the container |
| 903 | # that triggered the event) or if no container name is specified |
| 904 | # "spec.containers[2]" (container with index 2 in this pod). This syntax is |
| 905 | # chosen only to have some well-defined way of referencing a part of an |
| 906 | # object. |
| 907 | "namespace": "A String", # Namespace of the referent. |
| 908 | # More info: |
| 909 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ |
| 910 | # +optional |
| 911 | "kind": "A String", # Kind of the referent. |
| 912 | # More info: |
| 913 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
| 914 | # +optional |
| 915 | }, |
| 916 | }, |
| 917 | "location": "A String", # Location to create the Scheduler job in. |
| 918 | }, |
| 919 | "kind": "A String", # The kind of resource, in this case "CloudSchedulerSource". |
| 920 | "metadata": { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this CloudSchedulerSource. |
| 921 | # all objects users must create. |
| 922 | "annotations": { # Annotations is an unstructured key value map stored with a resource that |
| 923 | # may be set by external tools to store and retrieve arbitrary metadata. They |
| 924 | # are not queryable and should be preserved when modifying objects. More |
| 925 | # info: http://kubernetes.io/docs/user-guide/annotations +optional |
| 926 | "a_key": "A String", |
| 927 | }, |
| 928 | "generateName": "A String", # Not currently supported by Cloud Run. |
| 929 | # |
| 930 | # GenerateName is an optional prefix, used by the server, to generate a |
| 931 | # unique name ONLY IF the Name field has not been provided. If this field is |
| 932 | # used, the name returned to the client will be different than the name |
| 933 | # passed. This value will also be combined with a unique suffix. The provided |
| 934 | # value has the same validation rules as the Name field, and may be truncated |
| 935 | # by the length of the suffix required to make the value unique on the |
| 936 | # server. |
| 937 | # |
| 938 | # If this field is specified and the generated name exists, the server will |
| 939 | # NOT return a 409 - instead, it will either return 201 Created or 500 with |
| 940 | # Reason ServerTimeout indicating a unique name could not be found in the |
| 941 | # time allotted, and the client should retry (optionally after the time |
| 942 | # indicated in the Retry-After header). |
| 943 | # |
| 944 | # Applied only if Name is not specified. |
| 945 | # More info: |
| 946 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency |
| 947 | # +optional |
| 948 | # string generateName = 2; |
| 949 | "name": "A String", # Name must be unique within a namespace, within a Cloud Run region. |
| 950 | # Is required when creating |
| 951 | # resources, although some resources may allow a client to request the |
| 952 | # generation of an appropriate name automatically. Name is primarily intended |
| 953 | # for creation idempotence and configuration definition. Cannot be updated. |
| 954 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 955 | # +optional |
| 956 | "clusterName": "A String", # Not currently supported by Cloud Run. |
| 957 | # |
| 958 | # The name of the cluster which the object belongs to. |
| 959 | # This is used to distinguish resources with same name and namespace in |
| 960 | # different clusters. This field is not set anywhere right now and apiserver |
| 961 | # is going to ignore it if set in create or update request. +optional |
| 962 | "deletionGracePeriodSeconds": 42, # Not currently supported by Cloud Run. |
| 963 | # |
| 964 | # Number of seconds allowed for this object to gracefully terminate before |
| 965 | # it will be removed from the system. Only set when deletionTimestamp is also |
| 966 | # set. May only be shortened. Read-only. +optional |
| 967 | "finalizers": [ # Not currently supported by Cloud Run. |
| 968 | # |
| 969 | # Must be empty before the object is deleted from the registry. Each entry |
| 970 | # is an identifier for the responsible component that will remove the entry |
| 971 | # from the list. If the deletionTimestamp of the object is non-nil, entries |
| 972 | # in this list can only be removed. |
| 973 | # +optional |
| 974 | # +patchStrategy=merge |
| 975 | "A String", |
| 976 | ], |
| 977 | "deletionTimestamp": "A String", # DeletionTimestamp is RFC 3339 date and time at which this resource will be |
| 978 | # deleted. This field is set by the server when a graceful deletion is |
| 979 | # requested by the user, and is not directly settable by a client. The |
| 980 | # resource is expected to be deleted (no longer visible from resource lists, |
| 981 | # and not reachable by name) after the time in this field, once the |
| 982 | # finalizers list is empty. As long as the finalizers list contains items, |
| 983 | # deletion is blocked. Once the deletionTimestamp is set, this value may not |
| 984 | # be unset or be set further into the future, although it may be shortened or |
| 985 | # the resource may be deleted prior to this time. For example, a user may |
| 986 | # request that a pod is deleted in 30 seconds. The Kubelet will react by |
| 987 | # sending a graceful termination signal to the containers in the pod. After |
| 988 | # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) |
| 989 | # to the container and after cleanup, remove the pod from the API. In the |
| 990 | # presence of network partitions, this object may still exist after this |
| 991 | # timestamp, until an administrator or automated process can determine the |
| 992 | # resource is fully terminated. |
| 993 | # If not set, graceful deletion of the object has not been requested. |
| 994 | # |
| 995 | # Populated by the system when a graceful deletion is requested. |
| 996 | # Read-only. |
| 997 | # More info: |
| 998 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 999 | # +optional |
| 1000 | "ownerReferences": [ # List of objects that own this object. If ALL objects in the list have |
| 1001 | # been deleted, this object will be garbage collected. |
| 1002 | # +optional |
| 1003 | { # OwnerReference contains enough information to let you identify an owning |
| 1004 | # object. Currently, an owning object must be in the same namespace, so there |
| 1005 | # is no namespace field. |
| 1006 | "apiVersion": "A String", # API version of the referent. |
| 1007 | "name": "A String", # Name of the referent. |
| 1008 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 1009 | "uid": "A String", # UID of the referent. |
| 1010 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 1011 | "controller": True or False, # If true, this reference points to the managing controller. |
| 1012 | # +optional |
| 1013 | "kind": "A String", # Kind of the referent. |
| 1014 | # More info: |
| 1015 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
| 1016 | "blockOwnerDeletion": True or False, # If true, AND if the owner has the "foregroundDeletion" finalizer, then |
| 1017 | # the owner cannot be deleted from the key-value store until this |
| 1018 | # reference is removed. |
| 1019 | # Defaults to false. |
| 1020 | # To set this field, a user needs "delete" permission of the owner, |
| 1021 | # otherwise 422 (Unprocessable Entity) will be returned. |
| 1022 | # +optional |
| 1023 | }, |
| 1024 | ], |
| 1025 | "creationTimestamp": "A String", # CreationTimestamp is a timestamp representing the server time when this |
| 1026 | # object was created. It is not guaranteed to be set in happens-before order |
| 1027 | # across separate operations. Clients may not set this value. It is |
| 1028 | # represented in RFC3339 form and is in UTC. |
| 1029 | # |
| 1030 | # Populated by the system. |
| 1031 | # Read-only. |
| 1032 | # Null for lists. |
| 1033 | # More info: |
| 1034 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 1035 | # +optional |
| 1036 | "labels": { # Map of string keys and values that can be used to organize and categorize |
| 1037 | # (scope and select) objects. May match selectors of replication controllers |
| 1038 | # and routes. |
| 1039 | # More info: http://kubernetes.io/docs/user-guide/labels |
| 1040 | # +optional |
| 1041 | "a_key": "A String", |
| 1042 | }, |
| 1043 | "generation": 42, # A sequence number representing a specific generation of the desired state. |
| 1044 | # Populated by the system. Read-only. |
| 1045 | # +optional |
| 1046 | "resourceVersion": "A String", # An opaque value that represents the internal version of this object that |
| 1047 | # can be used by clients to determine when objects have changed. May be used |
| 1048 | # for optimistic concurrency, change detection, and the watch operation on a |
| 1049 | # resource or set of resources. Clients must treat these values as opaque and |
| 1050 | # passed unmodified back to the server. They may only be valid for a |
| 1051 | # particular resource or set of resources. |
| 1052 | # |
| 1053 | # Populated by the system. |
| 1054 | # Read-only. |
| 1055 | # Value must be treated as opaque by clients and . |
| 1056 | # More info: |
| 1057 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 1058 | # +optional |
| 1059 | "uid": "A String", # UID is the unique in time and space value for this object. It is typically |
| 1060 | # generated by the server on successful creation of a resource and is not |
| 1061 | # allowed to change on PUT operations. |
| 1062 | # |
| 1063 | # Populated by the system. |
| 1064 | # Read-only. |
| 1065 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 1066 | # +optional |
| 1067 | "selfLink": "A String", # SelfLink is a URL representing this object. |
| 1068 | # Populated by the system. |
| 1069 | # Read-only. |
| 1070 | # +optional |
| 1071 | # string selfLink = 4; |
| 1072 | "namespace": "A String", # Namespace defines the space within each name must be unique, within a |
| 1073 | # Cloud Run region. In Cloud Run the namespace must be equal to either the |
| 1074 | # project ID or project number. |
| 1075 | }, |
| 1076 | }</pre> |
| 1077 | </div> |
| 1078 | |
| 1079 | <div class="method"> |
| 1080 | <code class="details" id="list">list(parent, resourceVersion=None, includeUninitialized=None, fieldSelector=None, continue=None, limit=None, watch=None, labelSelector=None, x__xgafv=None)</code> |
| 1081 | <pre>Rpc to list cloudschedulersources. |
| 1082 | |
| 1083 | Args: |
| 1084 | parent: string, Required. The project ID or project number from which the cloudschedulersources |
| 1085 | should be listed. (required) |
| 1086 | resourceVersion: string, The baseline resource version from which the list or watch operation should |
| 1087 | start. Not currently used by Cloud Run. |
| 1088 | includeUninitialized: boolean, Not currently used by Cloud Run. |
| 1089 | fieldSelector: string, Allows to filter resources based on a specific value for a field name. |
| 1090 | Send this in a query string format. i.e. 'metadata.name%3Dlorem'. |
| 1091 | Not currently used by Cloud Run. |
| 1092 | continue: string, Optional encoded string to continue paging. |
| 1093 | limit: integer, The maximum number of records that should be returned. |
| 1094 | watch: boolean, Flag that indicates that the client expects to watch this resource as well. |
| 1095 | Not currently used by Cloud Run. |
| 1096 | labelSelector: string, Allows to filter resources based on a label. Supported operations are |
| 1097 | =, !=, exists, in, and notIn. |
| 1098 | x__xgafv: string, V1 error format. |
| 1099 | Allowed values |
| 1100 | 1 - v1 error format |
| 1101 | 2 - v2 error format |
| 1102 | |
| 1103 | Returns: |
| 1104 | An object of the form: |
| 1105 | |
| 1106 | { # ListCloudSchedulerSourcesResponse is a list of CloudSchedulerSource |
| 1107 | # resources. |
| 1108 | "apiVersion": "A String", # The API version for this call such as "events.cloud.google.com/v1alpha1". |
| 1109 | "kind": "A String", # The kind of this resource, in this case "CloudSchedulerSourceList". |
| 1110 | "unreachable": [ # Locations that could not be reached. |
| 1111 | "A String", |
| 1112 | ], |
| 1113 | "metadata": { # ListMeta describes metadata that synthetic resources must have, including # Metadata associated with this CloudSchedulerSource list. |
| 1114 | # lists and various status objects. A resource may have only one of |
| 1115 | # {ObjectMeta, ListMeta}. |
| 1116 | "resourceVersion": "A String", # String that identifies the server's internal version of this object that |
| 1117 | # can be used by clients to determine when objects have changed. Value must |
| 1118 | # be treated as opaque by clients and passed unmodified back to the server. |
| 1119 | # Populated by the system. |
| 1120 | # Read-only. |
| 1121 | # More info: |
| 1122 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 1123 | # +optional |
| 1124 | "continue": "A String", # continue may be set if the user set a limit on the number of items |
| 1125 | # returned, and indicates that the server has more data available. The value |
| 1126 | # is opaque and may be used to issue another request to the endpoint that |
| 1127 | # served this list to retrieve the next set of available objects. Continuing |
| 1128 | # a list may not be possible if the server configuration has changed or more |
| 1129 | # than a few minutes have passed. The resourceVersion field returned when |
| 1130 | # using this continue value will be identical to the value in the first |
| 1131 | # response. |
| 1132 | "selfLink": "A String", # SelfLink is a URL representing this object. |
| 1133 | # Populated by the system. |
| 1134 | # Read-only. |
| 1135 | # +optional |
| 1136 | }, |
| 1137 | "items": [ # List of CloudSchedulerSources. |
| 1138 | { # The CloudSchedulerSource resource. |
| 1139 | "status": { # CloudSchedulerSourceStatus represents the current state of a # Status represents the current state of the CloudSchedulerSource. This data |
| 1140 | # may be out of date. |
| 1141 | # CloudSchedulerSource. |
| 1142 | "conditions": [ # Array of observed CloudSchedulerSourceConditions, indicating the current |
| 1143 | # state of the CloudSchedulerSource. |
| 1144 | { # Condition defines a generic condition for a Resource |
| 1145 | "severity": "A String", # Optional. How to interpret failures of this condition, one of Error, Warning, Info |
| 1146 | "reason": "A String", # Optional. One-word CamelCase reason for the condition's last transition. |
| 1147 | "type": "A String", # type is used to communicate the status of the reconciliation process. |
| 1148 | # See also: |
| 1149 | # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting |
| 1150 | # Types common to all resources include: |
| 1151 | # * "Ready": True when the Resource is ready. |
| 1152 | "message": "A String", # Optional. Human readable message indicating details about the current status. |
| 1153 | "lastTransitionTime": "A String", # Optional. Last time the condition transitioned from one status to another. |
| 1154 | "status": "A String", # Status of the condition, one of True, False, Unknown. |
| 1155 | }, |
| 1156 | ], |
| 1157 | "observedGeneration": 42, # ObservedGeneration is the 'Generation' of the CloudSchedulerSource that |
| 1158 | # was last processed by the controller. |
| 1159 | "sinkUri": "A String", # SinkURI is the current active sink URI that has been configured for the |
| 1160 | # Source. |
| 1161 | }, |
| 1162 | "apiVersion": "A String", # The API version for this call such as "events.cloud.google.com/v1alpha1". |
| 1163 | "spec": { # The desired state of the CloudSchedulerSource. # Spec defines the desired state of the CloudSchedulerSource. |
| 1164 | "data": "A String", # Data to send in the payload of the Event. |
| 1165 | "ceOverrides": { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and |
| 1166 | # modifications of the event sent to the sink. |
| 1167 | # format of the CloudEvents produced by the Source. |
| 1168 | "extensions": { # Extensions specify what attribute are added or overridden on the outbound |
| 1169 | # event. Each `Extensions` key-value pair are set on the event as an |
| 1170 | # attribute extension independently. |
| 1171 | # +optional |
| 1172 | "a_key": "A String", |
| 1173 | }, |
| 1174 | }, |
| 1175 | "schedule": "A String", # Schedule in cron format, for example: "* * * * *" would be run |
| 1176 | # every minute. |
| 1177 | "secret": { # Cloud Run fully managed: not supported # Secret is the credential to use to create the Scheduler Job. |
| 1178 | # If not specified, defaults to: |
| 1179 | # Name: google-cloud-key |
| 1180 | # Key: key.json |
| 1181 | # |
| 1182 | # Cloud Run on GKE: supported |
| 1183 | # |
| 1184 | # SecretKeySelector selects a key of a Secret. |
| 1185 | "localObjectReference": { # LocalObjectReference contains enough information to let you locate the # This field should not be used directly as it is meant to be inlined |
| 1186 | # directly into the message. Use the "name" field instead. |
| 1187 | # referenced object inside the same namespace. |
| 1188 | "name": "A String", # Name of the referent. |
| 1189 | # More info: |
| 1190 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 1191 | }, |
| 1192 | "optional": True or False, # Cloud Run fully managed: not supported |
| 1193 | # |
| 1194 | # Cloud Run on GKE: supported |
| 1195 | # |
| 1196 | # Specify whether the Secret or its key must be defined |
| 1197 | # +optional |
| 1198 | "key": "A String", # Cloud Run fully managed: not supported |
| 1199 | # |
| 1200 | # Cloud Run on GKE: supported |
| 1201 | # |
| 1202 | # The key of the secret to select from. Must be a valid secret key. |
| 1203 | "name": "A String", # Cloud Run fully managed: not supported |
| 1204 | # |
| 1205 | # Cloud Run on GKE: supported |
| 1206 | # |
| 1207 | # The name of the secret in the pod's namespace to select from. |
| 1208 | }, |
| 1209 | "project": "A String", # Project is the ID of the Google Cloud Project that the CloudPubSubSource |
| 1210 | # Topic exists in. If omitted, defaults to same as the cluster. |
| 1211 | "pubsubSecret": { # Cloud Run fully managed: not supported # CloudPubSubSourceSecret is the credential to use to create |
| 1212 | # Topic / PullSubscription resources. If omitted, uses Secret. |
| 1213 | # |
| 1214 | # Cloud Run on GKE: supported |
| 1215 | # |
| 1216 | # SecretKeySelector selects a key of a Secret. |
| 1217 | "localObjectReference": { # LocalObjectReference contains enough information to let you locate the # This field should not be used directly as it is meant to be inlined |
| 1218 | # directly into the message. Use the "name" field instead. |
| 1219 | # referenced object inside the same namespace. |
| 1220 | "name": "A String", # Name of the referent. |
| 1221 | # More info: |
| 1222 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 1223 | }, |
| 1224 | "optional": True or False, # Cloud Run fully managed: not supported |
| 1225 | # |
| 1226 | # Cloud Run on GKE: supported |
| 1227 | # |
| 1228 | # Specify whether the Secret or its key must be defined |
| 1229 | # +optional |
| 1230 | "key": "A String", # Cloud Run fully managed: not supported |
| 1231 | # |
| 1232 | # Cloud Run on GKE: supported |
| 1233 | # |
| 1234 | # The key of the secret to select from. Must be a valid secret key. |
| 1235 | "name": "A String", # Cloud Run fully managed: not supported |
| 1236 | # |
| 1237 | # Cloud Run on GKE: supported |
| 1238 | # |
| 1239 | # The name of the secret in the pod's namespace to select from. |
| 1240 | }, |
| 1241 | "sink": { # Sink is a reference to an object that will resolve to a domain name or a |
| 1242 | # URI directly to use as the sink. |
| 1243 | "uri": "A String", # URI is for direct URI Designations or used with the resulting URL from |
| 1244 | # Addressable ObjectReference. If used with an ObjectReference, will be |
| 1245 | # appended to the path of the resulting URL from the Addressable. |
| 1246 | # + optional |
| 1247 | "ref": { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable. |
| 1248 | # + optional |
| 1249 | # referred object. |
| 1250 | "apiVersion": "A String", # API version of the referent. |
| 1251 | # +optional |
| 1252 | "resourceVersion": "A String", # Specific resourceVersion to which this reference is made, if any. |
| 1253 | # More info: |
| 1254 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 1255 | # +optional |
| 1256 | "name": "A String", # Name of the referent. |
| 1257 | # More info: |
| 1258 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 1259 | # +optional |
| 1260 | "uid": "A String", # UID of the referent. |
| 1261 | # More info: |
| 1262 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids |
| 1263 | # +optional |
| 1264 | "fieldPath": "A String", # If referring to a piece of an object instead of an entire object, this |
| 1265 | # string should contain a valid JSON/Go field access statement, such as |
| 1266 | # desiredState.manifest.containers[2]. For example, if the object reference |
| 1267 | # is to a container within a pod, this would take on a value like: |
| 1268 | # "spec.containers{name}" (where "name" refers to the name of the container |
| 1269 | # that triggered the event) or if no container name is specified |
| 1270 | # "spec.containers[2]" (container with index 2 in this pod). This syntax is |
| 1271 | # chosen only to have some well-defined way of referencing a part of an |
| 1272 | # object. |
| 1273 | "namespace": "A String", # Namespace of the referent. |
| 1274 | # More info: |
| 1275 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ |
| 1276 | # +optional |
| 1277 | "kind": "A String", # Kind of the referent. |
| 1278 | # More info: |
| 1279 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
| 1280 | # +optional |
| 1281 | }, |
| 1282 | }, |
| 1283 | "location": "A String", # Location to create the Scheduler job in. |
| 1284 | }, |
| 1285 | "kind": "A String", # The kind of resource, in this case "CloudSchedulerSource". |
| 1286 | "metadata": { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this CloudSchedulerSource. |
| 1287 | # all objects users must create. |
| 1288 | "annotations": { # Annotations is an unstructured key value map stored with a resource that |
| 1289 | # may be set by external tools to store and retrieve arbitrary metadata. They |
| 1290 | # are not queryable and should be preserved when modifying objects. More |
| 1291 | # info: http://kubernetes.io/docs/user-guide/annotations +optional |
| 1292 | "a_key": "A String", |
| 1293 | }, |
| 1294 | "generateName": "A String", # Not currently supported by Cloud Run. |
| 1295 | # |
| 1296 | # GenerateName is an optional prefix, used by the server, to generate a |
| 1297 | # unique name ONLY IF the Name field has not been provided. If this field is |
| 1298 | # used, the name returned to the client will be different than the name |
| 1299 | # passed. This value will also be combined with a unique suffix. The provided |
| 1300 | # value has the same validation rules as the Name field, and may be truncated |
| 1301 | # by the length of the suffix required to make the value unique on the |
| 1302 | # server. |
| 1303 | # |
| 1304 | # If this field is specified and the generated name exists, the server will |
| 1305 | # NOT return a 409 - instead, it will either return 201 Created or 500 with |
| 1306 | # Reason ServerTimeout indicating a unique name could not be found in the |
| 1307 | # time allotted, and the client should retry (optionally after the time |
| 1308 | # indicated in the Retry-After header). |
| 1309 | # |
| 1310 | # Applied only if Name is not specified. |
| 1311 | # More info: |
| 1312 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency |
| 1313 | # +optional |
| 1314 | # string generateName = 2; |
| 1315 | "name": "A String", # Name must be unique within a namespace, within a Cloud Run region. |
| 1316 | # Is required when creating |
| 1317 | # resources, although some resources may allow a client to request the |
| 1318 | # generation of an appropriate name automatically. Name is primarily intended |
| 1319 | # for creation idempotence and configuration definition. Cannot be updated. |
| 1320 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 1321 | # +optional |
| 1322 | "clusterName": "A String", # Not currently supported by Cloud Run. |
| 1323 | # |
| 1324 | # The name of the cluster which the object belongs to. |
| 1325 | # This is used to distinguish resources with same name and namespace in |
| 1326 | # different clusters. This field is not set anywhere right now and apiserver |
| 1327 | # is going to ignore it if set in create or update request. +optional |
| 1328 | "deletionGracePeriodSeconds": 42, # Not currently supported by Cloud Run. |
| 1329 | # |
| 1330 | # Number of seconds allowed for this object to gracefully terminate before |
| 1331 | # it will be removed from the system. Only set when deletionTimestamp is also |
| 1332 | # set. May only be shortened. Read-only. +optional |
| 1333 | "finalizers": [ # Not currently supported by Cloud Run. |
| 1334 | # |
| 1335 | # Must be empty before the object is deleted from the registry. Each entry |
| 1336 | # is an identifier for the responsible component that will remove the entry |
| 1337 | # from the list. If the deletionTimestamp of the object is non-nil, entries |
| 1338 | # in this list can only be removed. |
| 1339 | # +optional |
| 1340 | # +patchStrategy=merge |
| 1341 | "A String", |
| 1342 | ], |
| 1343 | "deletionTimestamp": "A String", # DeletionTimestamp is RFC 3339 date and time at which this resource will be |
| 1344 | # deleted. This field is set by the server when a graceful deletion is |
| 1345 | # requested by the user, and is not directly settable by a client. The |
| 1346 | # resource is expected to be deleted (no longer visible from resource lists, |
| 1347 | # and not reachable by name) after the time in this field, once the |
| 1348 | # finalizers list is empty. As long as the finalizers list contains items, |
| 1349 | # deletion is blocked. Once the deletionTimestamp is set, this value may not |
| 1350 | # be unset or be set further into the future, although it may be shortened or |
| 1351 | # the resource may be deleted prior to this time. For example, a user may |
| 1352 | # request that a pod is deleted in 30 seconds. The Kubelet will react by |
| 1353 | # sending a graceful termination signal to the containers in the pod. After |
| 1354 | # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) |
| 1355 | # to the container and after cleanup, remove the pod from the API. In the |
| 1356 | # presence of network partitions, this object may still exist after this |
| 1357 | # timestamp, until an administrator or automated process can determine the |
| 1358 | # resource is fully terminated. |
| 1359 | # If not set, graceful deletion of the object has not been requested. |
| 1360 | # |
| 1361 | # Populated by the system when a graceful deletion is requested. |
| 1362 | # Read-only. |
| 1363 | # More info: |
| 1364 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 1365 | # +optional |
| 1366 | "ownerReferences": [ # List of objects that own this object. If ALL objects in the list have |
| 1367 | # been deleted, this object will be garbage collected. |
| 1368 | # +optional |
| 1369 | { # OwnerReference contains enough information to let you identify an owning |
| 1370 | # object. Currently, an owning object must be in the same namespace, so there |
| 1371 | # is no namespace field. |
| 1372 | "apiVersion": "A String", # API version of the referent. |
| 1373 | "name": "A String", # Name of the referent. |
| 1374 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 1375 | "uid": "A String", # UID of the referent. |
| 1376 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 1377 | "controller": True or False, # If true, this reference points to the managing controller. |
| 1378 | # +optional |
| 1379 | "kind": "A String", # Kind of the referent. |
| 1380 | # More info: |
| 1381 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
| 1382 | "blockOwnerDeletion": True or False, # If true, AND if the owner has the "foregroundDeletion" finalizer, then |
| 1383 | # the owner cannot be deleted from the key-value store until this |
| 1384 | # reference is removed. |
| 1385 | # Defaults to false. |
| 1386 | # To set this field, a user needs "delete" permission of the owner, |
| 1387 | # otherwise 422 (Unprocessable Entity) will be returned. |
| 1388 | # +optional |
| 1389 | }, |
| 1390 | ], |
| 1391 | "creationTimestamp": "A String", # CreationTimestamp is a timestamp representing the server time when this |
| 1392 | # object was created. It is not guaranteed to be set in happens-before order |
| 1393 | # across separate operations. Clients may not set this value. It is |
| 1394 | # represented in RFC3339 form and is in UTC. |
| 1395 | # |
| 1396 | # Populated by the system. |
| 1397 | # Read-only. |
| 1398 | # Null for lists. |
| 1399 | # More info: |
| 1400 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 1401 | # +optional |
| 1402 | "labels": { # Map of string keys and values that can be used to organize and categorize |
| 1403 | # (scope and select) objects. May match selectors of replication controllers |
| 1404 | # and routes. |
| 1405 | # More info: http://kubernetes.io/docs/user-guide/labels |
| 1406 | # +optional |
| 1407 | "a_key": "A String", |
| 1408 | }, |
| 1409 | "generation": 42, # A sequence number representing a specific generation of the desired state. |
| 1410 | # Populated by the system. Read-only. |
| 1411 | # +optional |
| 1412 | "resourceVersion": "A String", # An opaque value that represents the internal version of this object that |
| 1413 | # can be used by clients to determine when objects have changed. May be used |
| 1414 | # for optimistic concurrency, change detection, and the watch operation on a |
| 1415 | # resource or set of resources. Clients must treat these values as opaque and |
| 1416 | # passed unmodified back to the server. They may only be valid for a |
| 1417 | # particular resource or set of resources. |
| 1418 | # |
| 1419 | # Populated by the system. |
| 1420 | # Read-only. |
| 1421 | # Value must be treated as opaque by clients and . |
| 1422 | # More info: |
| 1423 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 1424 | # +optional |
| 1425 | "uid": "A String", # UID is the unique in time and space value for this object. It is typically |
| 1426 | # generated by the server on successful creation of a resource and is not |
| 1427 | # allowed to change on PUT operations. |
| 1428 | # |
| 1429 | # Populated by the system. |
| 1430 | # Read-only. |
| 1431 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 1432 | # +optional |
| 1433 | "selfLink": "A String", # SelfLink is a URL representing this object. |
| 1434 | # Populated by the system. |
| 1435 | # Read-only. |
| 1436 | # +optional |
| 1437 | # string selfLink = 4; |
| 1438 | "namespace": "A String", # Namespace defines the space within each name must be unique, within a |
| 1439 | # Cloud Run region. In Cloud Run the namespace must be equal to either the |
| 1440 | # project ID or project number. |
| 1441 | }, |
| 1442 | }, |
| 1443 | ], |
| 1444 | }</pre> |
| 1445 | </div> |
| 1446 | |
| 1447 | <div class="method"> |
| 1448 | <code class="details" id="replaceCloudSchedulerSource">replaceCloudSchedulerSource(name, body=None, x__xgafv=None)</code> |
| 1449 | <pre>Rpc to replace a cloudschedulersource. |
| 1450 | |
| 1451 | Only the spec and metadata labels and annotations are modifiable. After |
| 1452 | the Update request, Cloud Run will work to make the 'status' |
| 1453 | match the requested 'spec'. |
| 1454 | |
| 1455 | May provide metadata.resourceVersion to enforce update from last read for |
| 1456 | optimistic concurrency control. |
| 1457 | |
| 1458 | Args: |
| 1459 | name: string, Required. The name of the cloudschedulersource being retrieved. If needed, replace |
| 1460 | {namespace_id} with the project ID. (required) |
| 1461 | body: object, The request body. |
| 1462 | The object takes the form of: |
| 1463 | |
| 1464 | { # The CloudSchedulerSource resource. |
| 1465 | "status": { # CloudSchedulerSourceStatus represents the current state of a # Status represents the current state of the CloudSchedulerSource. This data |
| 1466 | # may be out of date. |
| 1467 | # CloudSchedulerSource. |
| 1468 | "conditions": [ # Array of observed CloudSchedulerSourceConditions, indicating the current |
| 1469 | # state of the CloudSchedulerSource. |
| 1470 | { # Condition defines a generic condition for a Resource |
| 1471 | "severity": "A String", # Optional. How to interpret failures of this condition, one of Error, Warning, Info |
| 1472 | "reason": "A String", # Optional. One-word CamelCase reason for the condition's last transition. |
| 1473 | "type": "A String", # type is used to communicate the status of the reconciliation process. |
| 1474 | # See also: |
| 1475 | # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting |
| 1476 | # Types common to all resources include: |
| 1477 | # * "Ready": True when the Resource is ready. |
| 1478 | "message": "A String", # Optional. Human readable message indicating details about the current status. |
| 1479 | "lastTransitionTime": "A String", # Optional. Last time the condition transitioned from one status to another. |
| 1480 | "status": "A String", # Status of the condition, one of True, False, Unknown. |
| 1481 | }, |
| 1482 | ], |
| 1483 | "observedGeneration": 42, # ObservedGeneration is the 'Generation' of the CloudSchedulerSource that |
| 1484 | # was last processed by the controller. |
| 1485 | "sinkUri": "A String", # SinkURI is the current active sink URI that has been configured for the |
| 1486 | # Source. |
| 1487 | }, |
| 1488 | "apiVersion": "A String", # The API version for this call such as "events.cloud.google.com/v1alpha1". |
| 1489 | "spec": { # The desired state of the CloudSchedulerSource. # Spec defines the desired state of the CloudSchedulerSource. |
| 1490 | "data": "A String", # Data to send in the payload of the Event. |
| 1491 | "ceOverrides": { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and |
| 1492 | # modifications of the event sent to the sink. |
| 1493 | # format of the CloudEvents produced by the Source. |
| 1494 | "extensions": { # Extensions specify what attribute are added or overridden on the outbound |
| 1495 | # event. Each `Extensions` key-value pair are set on the event as an |
| 1496 | # attribute extension independently. |
| 1497 | # +optional |
| 1498 | "a_key": "A String", |
| 1499 | }, |
| 1500 | }, |
| 1501 | "schedule": "A String", # Schedule in cron format, for example: "* * * * *" would be run |
| 1502 | # every minute. |
| 1503 | "secret": { # Cloud Run fully managed: not supported # Secret is the credential to use to create the Scheduler Job. |
| 1504 | # If not specified, defaults to: |
| 1505 | # Name: google-cloud-key |
| 1506 | # Key: key.json |
| 1507 | # |
| 1508 | # Cloud Run on GKE: supported |
| 1509 | # |
| 1510 | # SecretKeySelector selects a key of a Secret. |
| 1511 | "localObjectReference": { # LocalObjectReference contains enough information to let you locate the # This field should not be used directly as it is meant to be inlined |
| 1512 | # directly into the message. Use the "name" field instead. |
| 1513 | # referenced object inside the same namespace. |
| 1514 | "name": "A String", # Name of the referent. |
| 1515 | # More info: |
| 1516 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 1517 | }, |
| 1518 | "optional": True or False, # Cloud Run fully managed: not supported |
| 1519 | # |
| 1520 | # Cloud Run on GKE: supported |
| 1521 | # |
| 1522 | # Specify whether the Secret or its key must be defined |
| 1523 | # +optional |
| 1524 | "key": "A String", # Cloud Run fully managed: not supported |
| 1525 | # |
| 1526 | # Cloud Run on GKE: supported |
| 1527 | # |
| 1528 | # The key of the secret to select from. Must be a valid secret key. |
| 1529 | "name": "A String", # Cloud Run fully managed: not supported |
| 1530 | # |
| 1531 | # Cloud Run on GKE: supported |
| 1532 | # |
| 1533 | # The name of the secret in the pod's namespace to select from. |
| 1534 | }, |
| 1535 | "project": "A String", # Project is the ID of the Google Cloud Project that the CloudPubSubSource |
| 1536 | # Topic exists in. If omitted, defaults to same as the cluster. |
| 1537 | "pubsubSecret": { # Cloud Run fully managed: not supported # CloudPubSubSourceSecret is the credential to use to create |
| 1538 | # Topic / PullSubscription resources. If omitted, uses Secret. |
| 1539 | # |
| 1540 | # Cloud Run on GKE: supported |
| 1541 | # |
| 1542 | # SecretKeySelector selects a key of a Secret. |
| 1543 | "localObjectReference": { # LocalObjectReference contains enough information to let you locate the # This field should not be used directly as it is meant to be inlined |
| 1544 | # directly into the message. Use the "name" field instead. |
| 1545 | # referenced object inside the same namespace. |
| 1546 | "name": "A String", # Name of the referent. |
| 1547 | # More info: |
| 1548 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 1549 | }, |
| 1550 | "optional": True or False, # Cloud Run fully managed: not supported |
| 1551 | # |
| 1552 | # Cloud Run on GKE: supported |
| 1553 | # |
| 1554 | # Specify whether the Secret or its key must be defined |
| 1555 | # +optional |
| 1556 | "key": "A String", # Cloud Run fully managed: not supported |
| 1557 | # |
| 1558 | # Cloud Run on GKE: supported |
| 1559 | # |
| 1560 | # The key of the secret to select from. Must be a valid secret key. |
| 1561 | "name": "A String", # Cloud Run fully managed: not supported |
| 1562 | # |
| 1563 | # Cloud Run on GKE: supported |
| 1564 | # |
| 1565 | # The name of the secret in the pod's namespace to select from. |
| 1566 | }, |
| 1567 | "sink": { # Sink is a reference to an object that will resolve to a domain name or a |
| 1568 | # URI directly to use as the sink. |
| 1569 | "uri": "A String", # URI is for direct URI Designations or used with the resulting URL from |
| 1570 | # Addressable ObjectReference. If used with an ObjectReference, will be |
| 1571 | # appended to the path of the resulting URL from the Addressable. |
| 1572 | # + optional |
| 1573 | "ref": { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable. |
| 1574 | # + optional |
| 1575 | # referred object. |
| 1576 | "apiVersion": "A String", # API version of the referent. |
| 1577 | # +optional |
| 1578 | "resourceVersion": "A String", # Specific resourceVersion to which this reference is made, if any. |
| 1579 | # More info: |
| 1580 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 1581 | # +optional |
| 1582 | "name": "A String", # Name of the referent. |
| 1583 | # More info: |
| 1584 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 1585 | # +optional |
| 1586 | "uid": "A String", # UID of the referent. |
| 1587 | # More info: |
| 1588 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids |
| 1589 | # +optional |
| 1590 | "fieldPath": "A String", # If referring to a piece of an object instead of an entire object, this |
| 1591 | # string should contain a valid JSON/Go field access statement, such as |
| 1592 | # desiredState.manifest.containers[2]. For example, if the object reference |
| 1593 | # is to a container within a pod, this would take on a value like: |
| 1594 | # "spec.containers{name}" (where "name" refers to the name of the container |
| 1595 | # that triggered the event) or if no container name is specified |
| 1596 | # "spec.containers[2]" (container with index 2 in this pod). This syntax is |
| 1597 | # chosen only to have some well-defined way of referencing a part of an |
| 1598 | # object. |
| 1599 | "namespace": "A String", # Namespace of the referent. |
| 1600 | # More info: |
| 1601 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ |
| 1602 | # +optional |
| 1603 | "kind": "A String", # Kind of the referent. |
| 1604 | # More info: |
| 1605 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
| 1606 | # +optional |
| 1607 | }, |
| 1608 | }, |
| 1609 | "location": "A String", # Location to create the Scheduler job in. |
| 1610 | }, |
| 1611 | "kind": "A String", # The kind of resource, in this case "CloudSchedulerSource". |
| 1612 | "metadata": { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this CloudSchedulerSource. |
| 1613 | # all objects users must create. |
| 1614 | "annotations": { # Annotations is an unstructured key value map stored with a resource that |
| 1615 | # may be set by external tools to store and retrieve arbitrary metadata. They |
| 1616 | # are not queryable and should be preserved when modifying objects. More |
| 1617 | # info: http://kubernetes.io/docs/user-guide/annotations +optional |
| 1618 | "a_key": "A String", |
| 1619 | }, |
| 1620 | "generateName": "A String", # Not currently supported by Cloud Run. |
| 1621 | # |
| 1622 | # GenerateName is an optional prefix, used by the server, to generate a |
| 1623 | # unique name ONLY IF the Name field has not been provided. If this field is |
| 1624 | # used, the name returned to the client will be different than the name |
| 1625 | # passed. This value will also be combined with a unique suffix. The provided |
| 1626 | # value has the same validation rules as the Name field, and may be truncated |
| 1627 | # by the length of the suffix required to make the value unique on the |
| 1628 | # server. |
| 1629 | # |
| 1630 | # If this field is specified and the generated name exists, the server will |
| 1631 | # NOT return a 409 - instead, it will either return 201 Created or 500 with |
| 1632 | # Reason ServerTimeout indicating a unique name could not be found in the |
| 1633 | # time allotted, and the client should retry (optionally after the time |
| 1634 | # indicated in the Retry-After header). |
| 1635 | # |
| 1636 | # Applied only if Name is not specified. |
| 1637 | # More info: |
| 1638 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency |
| 1639 | # +optional |
| 1640 | # string generateName = 2; |
| 1641 | "name": "A String", # Name must be unique within a namespace, within a Cloud Run region. |
| 1642 | # Is required when creating |
| 1643 | # resources, although some resources may allow a client to request the |
| 1644 | # generation of an appropriate name automatically. Name is primarily intended |
| 1645 | # for creation idempotence and configuration definition. Cannot be updated. |
| 1646 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 1647 | # +optional |
| 1648 | "clusterName": "A String", # Not currently supported by Cloud Run. |
| 1649 | # |
| 1650 | # The name of the cluster which the object belongs to. |
| 1651 | # This is used to distinguish resources with same name and namespace in |
| 1652 | # different clusters. This field is not set anywhere right now and apiserver |
| 1653 | # is going to ignore it if set in create or update request. +optional |
| 1654 | "deletionGracePeriodSeconds": 42, # Not currently supported by Cloud Run. |
| 1655 | # |
| 1656 | # Number of seconds allowed for this object to gracefully terminate before |
| 1657 | # it will be removed from the system. Only set when deletionTimestamp is also |
| 1658 | # set. May only be shortened. Read-only. +optional |
| 1659 | "finalizers": [ # Not currently supported by Cloud Run. |
| 1660 | # |
| 1661 | # Must be empty before the object is deleted from the registry. Each entry |
| 1662 | # is an identifier for the responsible component that will remove the entry |
| 1663 | # from the list. If the deletionTimestamp of the object is non-nil, entries |
| 1664 | # in this list can only be removed. |
| 1665 | # +optional |
| 1666 | # +patchStrategy=merge |
| 1667 | "A String", |
| 1668 | ], |
| 1669 | "deletionTimestamp": "A String", # DeletionTimestamp is RFC 3339 date and time at which this resource will be |
| 1670 | # deleted. This field is set by the server when a graceful deletion is |
| 1671 | # requested by the user, and is not directly settable by a client. The |
| 1672 | # resource is expected to be deleted (no longer visible from resource lists, |
| 1673 | # and not reachable by name) after the time in this field, once the |
| 1674 | # finalizers list is empty. As long as the finalizers list contains items, |
| 1675 | # deletion is blocked. Once the deletionTimestamp is set, this value may not |
| 1676 | # be unset or be set further into the future, although it may be shortened or |
| 1677 | # the resource may be deleted prior to this time. For example, a user may |
| 1678 | # request that a pod is deleted in 30 seconds. The Kubelet will react by |
| 1679 | # sending a graceful termination signal to the containers in the pod. After |
| 1680 | # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) |
| 1681 | # to the container and after cleanup, remove the pod from the API. In the |
| 1682 | # presence of network partitions, this object may still exist after this |
| 1683 | # timestamp, until an administrator or automated process can determine the |
| 1684 | # resource is fully terminated. |
| 1685 | # If not set, graceful deletion of the object has not been requested. |
| 1686 | # |
| 1687 | # Populated by the system when a graceful deletion is requested. |
| 1688 | # Read-only. |
| 1689 | # More info: |
| 1690 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 1691 | # +optional |
| 1692 | "ownerReferences": [ # List of objects that own this object. If ALL objects in the list have |
| 1693 | # been deleted, this object will be garbage collected. |
| 1694 | # +optional |
| 1695 | { # OwnerReference contains enough information to let you identify an owning |
| 1696 | # object. Currently, an owning object must be in the same namespace, so there |
| 1697 | # is no namespace field. |
| 1698 | "apiVersion": "A String", # API version of the referent. |
| 1699 | "name": "A String", # Name of the referent. |
| 1700 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 1701 | "uid": "A String", # UID of the referent. |
| 1702 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 1703 | "controller": True or False, # If true, this reference points to the managing controller. |
| 1704 | # +optional |
| 1705 | "kind": "A String", # Kind of the referent. |
| 1706 | # More info: |
| 1707 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
| 1708 | "blockOwnerDeletion": True or False, # If true, AND if the owner has the "foregroundDeletion" finalizer, then |
| 1709 | # the owner cannot be deleted from the key-value store until this |
| 1710 | # reference is removed. |
| 1711 | # Defaults to false. |
| 1712 | # To set this field, a user needs "delete" permission of the owner, |
| 1713 | # otherwise 422 (Unprocessable Entity) will be returned. |
| 1714 | # +optional |
| 1715 | }, |
| 1716 | ], |
| 1717 | "creationTimestamp": "A String", # CreationTimestamp is a timestamp representing the server time when this |
| 1718 | # object was created. It is not guaranteed to be set in happens-before order |
| 1719 | # across separate operations. Clients may not set this value. It is |
| 1720 | # represented in RFC3339 form and is in UTC. |
| 1721 | # |
| 1722 | # Populated by the system. |
| 1723 | # Read-only. |
| 1724 | # Null for lists. |
| 1725 | # More info: |
| 1726 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 1727 | # +optional |
| 1728 | "labels": { # Map of string keys and values that can be used to organize and categorize |
| 1729 | # (scope and select) objects. May match selectors of replication controllers |
| 1730 | # and routes. |
| 1731 | # More info: http://kubernetes.io/docs/user-guide/labels |
| 1732 | # +optional |
| 1733 | "a_key": "A String", |
| 1734 | }, |
| 1735 | "generation": 42, # A sequence number representing a specific generation of the desired state. |
| 1736 | # Populated by the system. Read-only. |
| 1737 | # +optional |
| 1738 | "resourceVersion": "A String", # An opaque value that represents the internal version of this object that |
| 1739 | # can be used by clients to determine when objects have changed. May be used |
| 1740 | # for optimistic concurrency, change detection, and the watch operation on a |
| 1741 | # resource or set of resources. Clients must treat these values as opaque and |
| 1742 | # passed unmodified back to the server. They may only be valid for a |
| 1743 | # particular resource or set of resources. |
| 1744 | # |
| 1745 | # Populated by the system. |
| 1746 | # Read-only. |
| 1747 | # Value must be treated as opaque by clients and . |
| 1748 | # More info: |
| 1749 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 1750 | # +optional |
| 1751 | "uid": "A String", # UID is the unique in time and space value for this object. It is typically |
| 1752 | # generated by the server on successful creation of a resource and is not |
| 1753 | # allowed to change on PUT operations. |
| 1754 | # |
| 1755 | # Populated by the system. |
| 1756 | # Read-only. |
| 1757 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 1758 | # +optional |
| 1759 | "selfLink": "A String", # SelfLink is a URL representing this object. |
| 1760 | # Populated by the system. |
| 1761 | # Read-only. |
| 1762 | # +optional |
| 1763 | # string selfLink = 4; |
| 1764 | "namespace": "A String", # Namespace defines the space within each name must be unique, within a |
| 1765 | # Cloud Run region. In Cloud Run the namespace must be equal to either the |
| 1766 | # project ID or project number. |
| 1767 | }, |
| 1768 | } |
| 1769 | |
| 1770 | x__xgafv: string, V1 error format. |
| 1771 | Allowed values |
| 1772 | 1 - v1 error format |
| 1773 | 2 - v2 error format |
| 1774 | |
| 1775 | Returns: |
| 1776 | An object of the form: |
| 1777 | |
| 1778 | { # The CloudSchedulerSource resource. |
| 1779 | "status": { # CloudSchedulerSourceStatus represents the current state of a # Status represents the current state of the CloudSchedulerSource. This data |
| 1780 | # may be out of date. |
| 1781 | # CloudSchedulerSource. |
| 1782 | "conditions": [ # Array of observed CloudSchedulerSourceConditions, indicating the current |
| 1783 | # state of the CloudSchedulerSource. |
| 1784 | { # Condition defines a generic condition for a Resource |
| 1785 | "severity": "A String", # Optional. How to interpret failures of this condition, one of Error, Warning, Info |
| 1786 | "reason": "A String", # Optional. One-word CamelCase reason for the condition's last transition. |
| 1787 | "type": "A String", # type is used to communicate the status of the reconciliation process. |
| 1788 | # See also: |
| 1789 | # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting |
| 1790 | # Types common to all resources include: |
| 1791 | # * "Ready": True when the Resource is ready. |
| 1792 | "message": "A String", # Optional. Human readable message indicating details about the current status. |
| 1793 | "lastTransitionTime": "A String", # Optional. Last time the condition transitioned from one status to another. |
| 1794 | "status": "A String", # Status of the condition, one of True, False, Unknown. |
| 1795 | }, |
| 1796 | ], |
| 1797 | "observedGeneration": 42, # ObservedGeneration is the 'Generation' of the CloudSchedulerSource that |
| 1798 | # was last processed by the controller. |
| 1799 | "sinkUri": "A String", # SinkURI is the current active sink URI that has been configured for the |
| 1800 | # Source. |
| 1801 | }, |
| 1802 | "apiVersion": "A String", # The API version for this call such as "events.cloud.google.com/v1alpha1". |
| 1803 | "spec": { # The desired state of the CloudSchedulerSource. # Spec defines the desired state of the CloudSchedulerSource. |
| 1804 | "data": "A String", # Data to send in the payload of the Event. |
| 1805 | "ceOverrides": { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and |
| 1806 | # modifications of the event sent to the sink. |
| 1807 | # format of the CloudEvents produced by the Source. |
| 1808 | "extensions": { # Extensions specify what attribute are added or overridden on the outbound |
| 1809 | # event. Each `Extensions` key-value pair are set on the event as an |
| 1810 | # attribute extension independently. |
| 1811 | # +optional |
| 1812 | "a_key": "A String", |
| 1813 | }, |
| 1814 | }, |
| 1815 | "schedule": "A String", # Schedule in cron format, for example: "* * * * *" would be run |
| 1816 | # every minute. |
| 1817 | "secret": { # Cloud Run fully managed: not supported # Secret is the credential to use to create the Scheduler Job. |
| 1818 | # If not specified, defaults to: |
| 1819 | # Name: google-cloud-key |
| 1820 | # Key: key.json |
| 1821 | # |
| 1822 | # Cloud Run on GKE: supported |
| 1823 | # |
| 1824 | # SecretKeySelector selects a key of a Secret. |
| 1825 | "localObjectReference": { # LocalObjectReference contains enough information to let you locate the # This field should not be used directly as it is meant to be inlined |
| 1826 | # directly into the message. Use the "name" field instead. |
| 1827 | # referenced object inside the same namespace. |
| 1828 | "name": "A String", # Name of the referent. |
| 1829 | # More info: |
| 1830 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 1831 | }, |
| 1832 | "optional": True or False, # Cloud Run fully managed: not supported |
| 1833 | # |
| 1834 | # Cloud Run on GKE: supported |
| 1835 | # |
| 1836 | # Specify whether the Secret or its key must be defined |
| 1837 | # +optional |
| 1838 | "key": "A String", # Cloud Run fully managed: not supported |
| 1839 | # |
| 1840 | # Cloud Run on GKE: supported |
| 1841 | # |
| 1842 | # The key of the secret to select from. Must be a valid secret key. |
| 1843 | "name": "A String", # Cloud Run fully managed: not supported |
| 1844 | # |
| 1845 | # Cloud Run on GKE: supported |
| 1846 | # |
| 1847 | # The name of the secret in the pod's namespace to select from. |
| 1848 | }, |
| 1849 | "project": "A String", # Project is the ID of the Google Cloud Project that the CloudPubSubSource |
| 1850 | # Topic exists in. If omitted, defaults to same as the cluster. |
| 1851 | "pubsubSecret": { # Cloud Run fully managed: not supported # CloudPubSubSourceSecret is the credential to use to create |
| 1852 | # Topic / PullSubscription resources. If omitted, uses Secret. |
| 1853 | # |
| 1854 | # Cloud Run on GKE: supported |
| 1855 | # |
| 1856 | # SecretKeySelector selects a key of a Secret. |
| 1857 | "localObjectReference": { # LocalObjectReference contains enough information to let you locate the # This field should not be used directly as it is meant to be inlined |
| 1858 | # directly into the message. Use the "name" field instead. |
| 1859 | # referenced object inside the same namespace. |
| 1860 | "name": "A String", # Name of the referent. |
| 1861 | # More info: |
| 1862 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 1863 | }, |
| 1864 | "optional": True or False, # Cloud Run fully managed: not supported |
| 1865 | # |
| 1866 | # Cloud Run on GKE: supported |
| 1867 | # |
| 1868 | # Specify whether the Secret or its key must be defined |
| 1869 | # +optional |
| 1870 | "key": "A String", # Cloud Run fully managed: not supported |
| 1871 | # |
| 1872 | # Cloud Run on GKE: supported |
| 1873 | # |
| 1874 | # The key of the secret to select from. Must be a valid secret key. |
| 1875 | "name": "A String", # Cloud Run fully managed: not supported |
| 1876 | # |
| 1877 | # Cloud Run on GKE: supported |
| 1878 | # |
| 1879 | # The name of the secret in the pod's namespace to select from. |
| 1880 | }, |
| 1881 | "sink": { # Sink is a reference to an object that will resolve to a domain name or a |
| 1882 | # URI directly to use as the sink. |
| 1883 | "uri": "A String", # URI is for direct URI Designations or used with the resulting URL from |
| 1884 | # Addressable ObjectReference. If used with an ObjectReference, will be |
| 1885 | # appended to the path of the resulting URL from the Addressable. |
| 1886 | # + optional |
| 1887 | "ref": { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable. |
| 1888 | # + optional |
| 1889 | # referred object. |
| 1890 | "apiVersion": "A String", # API version of the referent. |
| 1891 | # +optional |
| 1892 | "resourceVersion": "A String", # Specific resourceVersion to which this reference is made, if any. |
| 1893 | # More info: |
| 1894 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 1895 | # +optional |
| 1896 | "name": "A String", # Name of the referent. |
| 1897 | # More info: |
| 1898 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 1899 | # +optional |
| 1900 | "uid": "A String", # UID of the referent. |
| 1901 | # More info: |
| 1902 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids |
| 1903 | # +optional |
| 1904 | "fieldPath": "A String", # If referring to a piece of an object instead of an entire object, this |
| 1905 | # string should contain a valid JSON/Go field access statement, such as |
| 1906 | # desiredState.manifest.containers[2]. For example, if the object reference |
| 1907 | # is to a container within a pod, this would take on a value like: |
| 1908 | # "spec.containers{name}" (where "name" refers to the name of the container |
| 1909 | # that triggered the event) or if no container name is specified |
| 1910 | # "spec.containers[2]" (container with index 2 in this pod). This syntax is |
| 1911 | # chosen only to have some well-defined way of referencing a part of an |
| 1912 | # object. |
| 1913 | "namespace": "A String", # Namespace of the referent. |
| 1914 | # More info: |
| 1915 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ |
| 1916 | # +optional |
| 1917 | "kind": "A String", # Kind of the referent. |
| 1918 | # More info: |
| 1919 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
| 1920 | # +optional |
| 1921 | }, |
| 1922 | }, |
| 1923 | "location": "A String", # Location to create the Scheduler job in. |
| 1924 | }, |
| 1925 | "kind": "A String", # The kind of resource, in this case "CloudSchedulerSource". |
| 1926 | "metadata": { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this CloudSchedulerSource. |
| 1927 | # all objects users must create. |
| 1928 | "annotations": { # Annotations is an unstructured key value map stored with a resource that |
| 1929 | # may be set by external tools to store and retrieve arbitrary metadata. They |
| 1930 | # are not queryable and should be preserved when modifying objects. More |
| 1931 | # info: http://kubernetes.io/docs/user-guide/annotations +optional |
| 1932 | "a_key": "A String", |
| 1933 | }, |
| 1934 | "generateName": "A String", # Not currently supported by Cloud Run. |
| 1935 | # |
| 1936 | # GenerateName is an optional prefix, used by the server, to generate a |
| 1937 | # unique name ONLY IF the Name field has not been provided. If this field is |
| 1938 | # used, the name returned to the client will be different than the name |
| 1939 | # passed. This value will also be combined with a unique suffix. The provided |
| 1940 | # value has the same validation rules as the Name field, and may be truncated |
| 1941 | # by the length of the suffix required to make the value unique on the |
| 1942 | # server. |
| 1943 | # |
| 1944 | # If this field is specified and the generated name exists, the server will |
| 1945 | # NOT return a 409 - instead, it will either return 201 Created or 500 with |
| 1946 | # Reason ServerTimeout indicating a unique name could not be found in the |
| 1947 | # time allotted, and the client should retry (optionally after the time |
| 1948 | # indicated in the Retry-After header). |
| 1949 | # |
| 1950 | # Applied only if Name is not specified. |
| 1951 | # More info: |
| 1952 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency |
| 1953 | # +optional |
| 1954 | # string generateName = 2; |
| 1955 | "name": "A String", # Name must be unique within a namespace, within a Cloud Run region. |
| 1956 | # Is required when creating |
| 1957 | # resources, although some resources may allow a client to request the |
| 1958 | # generation of an appropriate name automatically. Name is primarily intended |
| 1959 | # for creation idempotence and configuration definition. Cannot be updated. |
| 1960 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 1961 | # +optional |
| 1962 | "clusterName": "A String", # Not currently supported by Cloud Run. |
| 1963 | # |
| 1964 | # The name of the cluster which the object belongs to. |
| 1965 | # This is used to distinguish resources with same name and namespace in |
| 1966 | # different clusters. This field is not set anywhere right now and apiserver |
| 1967 | # is going to ignore it if set in create or update request. +optional |
| 1968 | "deletionGracePeriodSeconds": 42, # Not currently supported by Cloud Run. |
| 1969 | # |
| 1970 | # Number of seconds allowed for this object to gracefully terminate before |
| 1971 | # it will be removed from the system. Only set when deletionTimestamp is also |
| 1972 | # set. May only be shortened. Read-only. +optional |
| 1973 | "finalizers": [ # Not currently supported by Cloud Run. |
| 1974 | # |
| 1975 | # Must be empty before the object is deleted from the registry. Each entry |
| 1976 | # is an identifier for the responsible component that will remove the entry |
| 1977 | # from the list. If the deletionTimestamp of the object is non-nil, entries |
| 1978 | # in this list can only be removed. |
| 1979 | # +optional |
| 1980 | # +patchStrategy=merge |
| 1981 | "A String", |
| 1982 | ], |
| 1983 | "deletionTimestamp": "A String", # DeletionTimestamp is RFC 3339 date and time at which this resource will be |
| 1984 | # deleted. This field is set by the server when a graceful deletion is |
| 1985 | # requested by the user, and is not directly settable by a client. The |
| 1986 | # resource is expected to be deleted (no longer visible from resource lists, |
| 1987 | # and not reachable by name) after the time in this field, once the |
| 1988 | # finalizers list is empty. As long as the finalizers list contains items, |
| 1989 | # deletion is blocked. Once the deletionTimestamp is set, this value may not |
| 1990 | # be unset or be set further into the future, although it may be shortened or |
| 1991 | # the resource may be deleted prior to this time. For example, a user may |
| 1992 | # request that a pod is deleted in 30 seconds. The Kubelet will react by |
| 1993 | # sending a graceful termination signal to the containers in the pod. After |
| 1994 | # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) |
| 1995 | # to the container and after cleanup, remove the pod from the API. In the |
| 1996 | # presence of network partitions, this object may still exist after this |
| 1997 | # timestamp, until an administrator or automated process can determine the |
| 1998 | # resource is fully terminated. |
| 1999 | # If not set, graceful deletion of the object has not been requested. |
| 2000 | # |
| 2001 | # Populated by the system when a graceful deletion is requested. |
| 2002 | # Read-only. |
| 2003 | # More info: |
| 2004 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 2005 | # +optional |
| 2006 | "ownerReferences": [ # List of objects that own this object. If ALL objects in the list have |
| 2007 | # been deleted, this object will be garbage collected. |
| 2008 | # +optional |
| 2009 | { # OwnerReference contains enough information to let you identify an owning |
| 2010 | # object. Currently, an owning object must be in the same namespace, so there |
| 2011 | # is no namespace field. |
| 2012 | "apiVersion": "A String", # API version of the referent. |
| 2013 | "name": "A String", # Name of the referent. |
| 2014 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 2015 | "uid": "A String", # UID of the referent. |
| 2016 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 2017 | "controller": True or False, # If true, this reference points to the managing controller. |
| 2018 | # +optional |
| 2019 | "kind": "A String", # Kind of the referent. |
| 2020 | # More info: |
| 2021 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
| 2022 | "blockOwnerDeletion": True or False, # If true, AND if the owner has the "foregroundDeletion" finalizer, then |
| 2023 | # the owner cannot be deleted from the key-value store until this |
| 2024 | # reference is removed. |
| 2025 | # Defaults to false. |
| 2026 | # To set this field, a user needs "delete" permission of the owner, |
| 2027 | # otherwise 422 (Unprocessable Entity) will be returned. |
| 2028 | # +optional |
| 2029 | }, |
| 2030 | ], |
| 2031 | "creationTimestamp": "A String", # CreationTimestamp is a timestamp representing the server time when this |
| 2032 | # object was created. It is not guaranteed to be set in happens-before order |
| 2033 | # across separate operations. Clients may not set this value. It is |
| 2034 | # represented in RFC3339 form and is in UTC. |
| 2035 | # |
| 2036 | # Populated by the system. |
| 2037 | # Read-only. |
| 2038 | # Null for lists. |
| 2039 | # More info: |
| 2040 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 2041 | # +optional |
| 2042 | "labels": { # Map of string keys and values that can be used to organize and categorize |
| 2043 | # (scope and select) objects. May match selectors of replication controllers |
| 2044 | # and routes. |
| 2045 | # More info: http://kubernetes.io/docs/user-guide/labels |
| 2046 | # +optional |
| 2047 | "a_key": "A String", |
| 2048 | }, |
| 2049 | "generation": 42, # A sequence number representing a specific generation of the desired state. |
| 2050 | # Populated by the system. Read-only. |
| 2051 | # +optional |
| 2052 | "resourceVersion": "A String", # An opaque value that represents the internal version of this object that |
| 2053 | # can be used by clients to determine when objects have changed. May be used |
| 2054 | # for optimistic concurrency, change detection, and the watch operation on a |
| 2055 | # resource or set of resources. Clients must treat these values as opaque and |
| 2056 | # passed unmodified back to the server. They may only be valid for a |
| 2057 | # particular resource or set of resources. |
| 2058 | # |
| 2059 | # Populated by the system. |
| 2060 | # Read-only. |
| 2061 | # Value must be treated as opaque by clients and . |
| 2062 | # More info: |
| 2063 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 2064 | # +optional |
| 2065 | "uid": "A String", # UID is the unique in time and space value for this object. It is typically |
| 2066 | # generated by the server on successful creation of a resource and is not |
| 2067 | # allowed to change on PUT operations. |
| 2068 | # |
| 2069 | # Populated by the system. |
| 2070 | # Read-only. |
| 2071 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 2072 | # +optional |
| 2073 | "selfLink": "A String", # SelfLink is a URL representing this object. |
| 2074 | # Populated by the system. |
| 2075 | # Read-only. |
| 2076 | # +optional |
| 2077 | # string selfLink = 4; |
| 2078 | "namespace": "A String", # Namespace defines the space within each name must be unique, within a |
| 2079 | # Cloud Run region. In Cloud Run the namespace must be equal to either the |
| 2080 | # project ID or project number. |
| 2081 | }, |
| 2082 | }</pre> |
| 2083 | </div> |
| 2084 | |
| 2085 | </body></html> |