blob: dc27d1988200fe864699e5aed301fd2b7c62b7a3 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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.triggers.html">triggers</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Creates a new trigger.</p>
80<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070081 <code><a href="#delete">delete(name, apiVersion=None, propagationPolicy=None, kind=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070082<p class="firstline">Rpc to delete a trigger.</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 trigger.</p>
86<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070087 <code><a href="#list">list(parent, watch=None, labelSelector=None, resourceVersion=None, includeUninitialized=None, fieldSelector=None, continue=None, limit=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088<p class="firstline">Rpc to list triggers.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070089<h3>Method Details</h3>
90<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070091 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070092 <pre>Creates a new trigger.
93
94Args:
95 parent: string, The project ID or project number in which this trigger should
96be created. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -070097 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070098 The object takes the form of:
99
100{
Bu Sun Kim65020912020-05-20 12:08:20 -0700101 &quot;status&quot;: { # TriggerStatus represents the current state of a Trigger. # Optional. Status represents the current state of the Trigger. This data may be out of
102 # date.
103 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Trigger that
104 # was last processed by the controller.
105 &quot;subscriberUri&quot;: &quot;A String&quot;, # SubscriberURI is the resolved URI of the receiver for this Trigger.
106 &quot;conditions&quot;: [ # Array of observed TriggerConditions, indicating the current state
107 # of the Trigger.
108 { # TriggerCondition contains state information for an Trigger.
109 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
110 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
111 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s current status.
112 &quot;type&quot;: &quot;A String&quot;, # Type of Trigger condition.
113 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
114 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
115 },
116 ],
117 },
118 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;eventing.knative.dev/v1alpha1&quot;.
119 &quot;spec&quot;: { # The desired state of the Trigger. # Spec defines the desired state of the Trigger.
120 &quot;broker&quot;: &quot;A String&quot;, # Broker is the broker that this trigger receives events from. If not
121 # specified, will default to &#x27;default&#x27;.
122 #
123 # Not currently supported by Cloud Run.
124 &quot;filter&quot;: { # Optional. Filter is the filter to apply against all events from the Broker. Only
125 # events that pass this filter will be sent to the Subscriber.
126 # Note that filter is optional in knative and is only required in fully
127 # managed due to different broker implementation.
128 &quot;attributes&quot;: { # Optional. Attributes filters events by exact match on event context attributes.
129 # Each key in the map is compared with the equivalent key in the event
130 # context. An event passes the filter if all values are equal to the
131 # specified values.
132 #
133 # Nested context attributes are not supported as keys.
134 # Only string values are supported.
135 # Note that this field is optional in knative. In fully managed, &#x27;type&#x27;
136 # attribute is required due to different broker implementation.
137 &quot;a_key&quot;: &quot;A String&quot;,
138 },
139 },
140 &quot;subscriber&quot;: { # Sink is the addressable that will receive events.
141 &quot;uri&quot;: &quot;A String&quot;, # URI is for direct URI Designations or used with the resulting URL from
142 # Addressable ObjectReference. If used with an ObjectReference, will be
143 # appended to the path of the resulting URL from the Addressable.
144 # + optional
145 &quot;ref&quot;: { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable.
146 # + optional
147 # referred object.
148 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
149 # +optional
150 &quot;resourceVersion&quot;: &quot;A String&quot;, # Specific resourceVersion to which this reference is made, if any.
151 # More info:
152 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
153 # +optional
154 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
155 # More info:
156 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
157 # +optional
158 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
159 # More info:
160 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
161 # +optional
162 &quot;fieldPath&quot;: &quot;A String&quot;, # If referring to a piece of an object instead of an entire object, this
163 # string should contain a valid JSON/Go field access statement, such as
164 # desiredState.manifest.containers[2]. For example, if the object reference
165 # is to a container within a pod, this would take on a value like:
166 # &quot;spec.containers{name}&quot; (where &quot;name&quot; refers to the name of the container
167 # that triggered the event) or if no container name is specified
168 # &quot;spec.containers[2]&quot; (container with index 2 in this pod). This syntax is
169 # chosen only to have some well-defined way of referencing a part of an
170 # object.
171 &quot;namespace&quot;: &quot;A String&quot;, # Namespace of the referent.
172 # More info:
173 # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
174 # +optional
175 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
176 # More info:
177 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
178 # +optional
179 },
180 },
181 },
182 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;Trigger&quot;.
183 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this Trigger.
184 # all objects users must create.
185 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
186 # may be set by external tools to store and retrieve arbitrary metadata. They
187 # are not queryable and should be preserved when modifying objects. More
188 # info: http://kubernetes.io/docs/user-guide/annotations +optional
189 &quot;a_key&quot;: &quot;A String&quot;,
190 },
191 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
192 #
193 # GenerateName is an optional prefix, used by the server, to generate a
194 # unique name ONLY IF the Name field has not been provided. If this field is
195 # used, the name returned to the client will be different than the name
196 # passed. This value will also be combined with a unique suffix. The provided
197 # value has the same validation rules as the Name field, and may be truncated
198 # by the length of the suffix required to make the value unique on the
199 # server.
200 #
201 # If this field is specified and the generated name exists, the server will
202 # NOT return a 409 - instead, it will either return 201 Created or 500 with
203 # Reason ServerTimeout indicating a unique name could not be found in the
204 # time allotted, and the client should retry (optionally after the time
205 # indicated in the Retry-After header).
206 #
207 # Applied only if Name is not specified.
208 # More info:
209 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
210 # +optional
211 # string generateName = 2;
212 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
213 # Is required when creating
214 # resources, although some resources may allow a client to request the
215 # generation of an appropriate name automatically. Name is primarily intended
216 # for creation idempotence and configuration definition. Cannot be updated.
217 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
218 # +optional
219 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
220 #
221 # The name of the cluster which the object belongs to.
222 # This is used to distinguish resources with same name and namespace in
223 # different clusters. This field is not set anywhere right now and apiserver
224 # is going to ignore it if set in create or update request. +optional
225 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
226 #
227 # Number of seconds allowed for this object to gracefully terminate before
228 # it will be removed from the system. Only set when deletionTimestamp is also
229 # set. May only be shortened. Read-only. +optional
230 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
231 #
232 # Must be empty before the object is deleted from the registry. Each entry
233 # is an identifier for the responsible component that will remove the entry
234 # from the list. If the deletionTimestamp of the object is non-nil, entries
235 # in this list can only be removed.
236 # +optional
237 # +patchStrategy=merge
238 &quot;A String&quot;,
239 ],
240 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
241 # deleted. This field is set by the server when a graceful deletion is
242 # requested by the user, and is not directly settable by a client. The
243 # resource is expected to be deleted (no longer visible from resource lists,
244 # and not reachable by name) after the time in this field, once the
245 # finalizers list is empty. As long as the finalizers list contains items,
246 # deletion is blocked. Once the deletionTimestamp is set, this value may not
247 # be unset or be set further into the future, although it may be shortened or
248 # the resource may be deleted prior to this time. For example, a user may
249 # request that a pod is deleted in 30 seconds. The Kubelet will react by
250 # sending a graceful termination signal to the containers in the pod. After
251 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
252 # to the container and after cleanup, remove the pod from the API. In the
253 # presence of network partitions, this object may still exist after this
254 # timestamp, until an administrator or automated process can determine the
255 # resource is fully terminated.
256 # If not set, graceful deletion of the object has not been requested.
257 #
258 # Populated by the system when a graceful deletion is requested.
259 # Read-only.
260 # More info:
261 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
262 # +optional
263 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
264 # been deleted, this object will be garbage collected.
265 # +optional
266 { # OwnerReference contains enough information to let you identify an owning
267 # object. Currently, an owning object must be in the same namespace, so there
268 # is no namespace field.
269 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
270 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
271 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
272 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
273 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
274 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
275 # +optional
276 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
277 # More info:
278 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
279 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
280 # the owner cannot be deleted from the key-value store until this
281 # reference is removed.
282 # Defaults to false.
283 # To set this field, a user needs &quot;delete&quot; permission of the owner,
284 # otherwise 422 (Unprocessable Entity) will be returned.
285 # +optional
286 },
287 ],
288 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
289 # object was created. It is not guaranteed to be set in happens-before order
290 # across separate operations. Clients may not set this value. It is
291 # represented in RFC3339 form and is in UTC.
292 #
293 # Populated by the system.
294 # Read-only.
295 # Null for lists.
296 # More info:
297 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
298 # +optional
299 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
300 # (scope and select) objects. May match selectors of replication controllers
301 # and routes.
302 # More info: http://kubernetes.io/docs/user-guide/labels
303 # +optional
304 &quot;a_key&quot;: &quot;A String&quot;,
305 },
306 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
307 # Populated by the system. Read-only.
308 # +optional
309 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
310 # can be used by clients to determine when objects have changed. May be used
311 # for optimistic concurrency, change detection, and the watch operation on a
312 # resource or set of resources. Clients must treat these values as opaque and
313 # passed unmodified back to the server. They may only be valid for a
314 # particular resource or set of resources.
315 #
316 # Populated by the system.
317 # Read-only.
318 # Value must be treated as opaque by clients and .
319 # More info:
320 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
321 # +optional
322 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
323 # generated by the server on successful creation of a resource and is not
324 # allowed to change on PUT operations.
325 #
326 # Populated by the system.
327 # Read-only.
328 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
329 # +optional
330 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
331 # Populated by the system.
332 # Read-only.
333 # +optional
334 # string selfLink = 4;
335 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
336 # Cloud Run region. In Cloud Run the namespace must be equal to either the
337 # project ID or project number.
338 },
339}
340
341 x__xgafv: string, V1 error format.
342 Allowed values
343 1 - v1 error format
344 2 - v2 error format
345
346Returns:
347 An object of the form:
348
349 {
350 &quot;status&quot;: { # TriggerStatus represents the current state of a Trigger. # Optional. Status represents the current state of the Trigger. This data may be out of
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700351 # date.
Bu Sun Kim65020912020-05-20 12:08:20 -0700352 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Trigger that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700353 # was last processed by the controller.
Bu Sun Kim65020912020-05-20 12:08:20 -0700354 &quot;subscriberUri&quot;: &quot;A String&quot;, # SubscriberURI is the resolved URI of the receiver for this Trigger.
355 &quot;conditions&quot;: [ # Array of observed TriggerConditions, indicating the current state
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700356 # of the Trigger.
357 { # TriggerCondition contains state information for an Trigger.
Bu Sun Kim65020912020-05-20 12:08:20 -0700358 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
359 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
360 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s current status.
361 &quot;type&quot;: &quot;A String&quot;, # Type of Trigger condition.
362 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
363 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700364 },
365 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700366 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700367 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;eventing.knative.dev/v1alpha1&quot;.
368 &quot;spec&quot;: { # The desired state of the Trigger. # Spec defines the desired state of the Trigger.
369 &quot;broker&quot;: &quot;A String&quot;, # Broker is the broker that this trigger receives events from. If not
370 # specified, will default to &#x27;default&#x27;.
371 #
372 # Not currently supported by Cloud Run.
373 &quot;filter&quot;: { # Optional. Filter is the filter to apply against all events from the Broker. Only
Dan O'Mearadd494642020-05-01 07:42:23 -0700374 # events that pass this filter will be sent to the Subscriber.
375 # Note that filter is optional in knative and is only required in fully
376 # managed due to different broker implementation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700377 &quot;attributes&quot;: { # Optional. Attributes filters events by exact match on event context attributes.
Dan O'Mearadd494642020-05-01 07:42:23 -0700378 # Each key in the map is compared with the equivalent key in the event
379 # context. An event passes the filter if all values are equal to the
380 # specified values.
381 #
382 # Nested context attributes are not supported as keys.
383 # Only string values are supported.
Bu Sun Kim65020912020-05-20 12:08:20 -0700384 # Note that this field is optional in knative. In fully managed, &#x27;type&#x27;
Dan O'Mearadd494642020-05-01 07:42:23 -0700385 # attribute is required due to different broker implementation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700386 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700387 },
388 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700389 &quot;subscriber&quot;: { # Sink is the addressable that will receive events.
390 &quot;uri&quot;: &quot;A String&quot;, # URI is for direct URI Designations or used with the resulting URL from
Dan O'Mearadd494642020-05-01 07:42:23 -0700391 # Addressable ObjectReference. If used with an ObjectReference, will be
392 # appended to the path of the resulting URL from the Addressable.
393 # + optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700394 &quot;ref&quot;: { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable.
395 # + optional
396 # referred object.
397 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
398 # +optional
399 &quot;resourceVersion&quot;: &quot;A String&quot;, # Specific resourceVersion to which this reference is made, if any.
400 # More info:
401 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
402 # +optional
403 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
404 # More info:
405 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
406 # +optional
407 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
408 # More info:
409 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
410 # +optional
411 &quot;fieldPath&quot;: &quot;A String&quot;, # If referring to a piece of an object instead of an entire object, this
412 # string should contain a valid JSON/Go field access statement, such as
413 # desiredState.manifest.containers[2]. For example, if the object reference
414 # is to a container within a pod, this would take on a value like:
415 # &quot;spec.containers{name}&quot; (where &quot;name&quot; refers to the name of the container
416 # that triggered the event) or if no container name is specified
417 # &quot;spec.containers[2]&quot; (container with index 2 in this pod). This syntax is
418 # chosen only to have some well-defined way of referencing a part of an
419 # object.
420 &quot;namespace&quot;: &quot;A String&quot;, # Namespace of the referent.
421 # More info:
422 # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
423 # +optional
424 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700425 # More info:
426 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700427 # +optional
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700428 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700429 },
430 },
431 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;Trigger&quot;.
432 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this Trigger.
433 # all objects users must create.
434 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
435 # may be set by external tools to store and retrieve arbitrary metadata. They
436 # are not queryable and should be preserved when modifying objects. More
437 # info: http://kubernetes.io/docs/user-guide/annotations +optional
438 &quot;a_key&quot;: &quot;A String&quot;,
439 },
440 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
441 #
442 # GenerateName is an optional prefix, used by the server, to generate a
443 # unique name ONLY IF the Name field has not been provided. If this field is
444 # used, the name returned to the client will be different than the name
445 # passed. This value will also be combined with a unique suffix. The provided
446 # value has the same validation rules as the Name field, and may be truncated
447 # by the length of the suffix required to make the value unique on the
448 # server.
449 #
450 # If this field is specified and the generated name exists, the server will
451 # NOT return a 409 - instead, it will either return 201 Created or 500 with
452 # Reason ServerTimeout indicating a unique name could not be found in the
453 # time allotted, and the client should retry (optionally after the time
454 # indicated in the Retry-After header).
455 #
456 # Applied only if Name is not specified.
457 # More info:
458 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
459 # +optional
460 # string generateName = 2;
461 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700462 # Is required when creating
463 # resources, although some resources may allow a client to request the
464 # generation of an appropriate name automatically. Name is primarily intended
465 # for creation idempotence and configuration definition. Cannot be updated.
466 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
467 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700468 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
469 #
470 # The name of the cluster which the object belongs to.
471 # This is used to distinguish resources with same name and namespace in
472 # different clusters. This field is not set anywhere right now and apiserver
473 # is going to ignore it if set in create or update request. +optional
474 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
475 #
476 # Number of seconds allowed for this object to gracefully terminate before
477 # it will be removed from the system. Only set when deletionTimestamp is also
478 # set. May only be shortened. Read-only. +optional
479 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
480 #
481 # Must be empty before the object is deleted from the registry. Each entry
482 # is an identifier for the responsible component that will remove the entry
483 # from the list. If the deletionTimestamp of the object is non-nil, entries
484 # in this list can only be removed.
485 # +optional
486 # +patchStrategy=merge
487 &quot;A String&quot;,
488 ],
489 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700490 # deleted. This field is set by the server when a graceful deletion is
491 # requested by the user, and is not directly settable by a client. The
492 # resource is expected to be deleted (no longer visible from resource lists,
493 # and not reachable by name) after the time in this field, once the
494 # finalizers list is empty. As long as the finalizers list contains items,
495 # deletion is blocked. Once the deletionTimestamp is set, this value may not
496 # be unset or be set further into the future, although it may be shortened or
497 # the resource may be deleted prior to this time. For example, a user may
498 # request that a pod is deleted in 30 seconds. The Kubelet will react by
499 # sending a graceful termination signal to the containers in the pod. After
500 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
501 # to the container and after cleanup, remove the pod from the API. In the
502 # presence of network partitions, this object may still exist after this
503 # timestamp, until an administrator or automated process can determine the
504 # resource is fully terminated.
505 # If not set, graceful deletion of the object has not been requested.
506 #
507 # Populated by the system when a graceful deletion is requested.
508 # Read-only.
509 # More info:
510 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
511 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700512 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
513 # been deleted, this object will be garbage collected.
514 # +optional
515 { # OwnerReference contains enough information to let you identify an owning
516 # object. Currently, an owning object must be in the same namespace, so there
517 # is no namespace field.
518 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
519 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
520 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
521 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
522 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
523 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
524 # +optional
525 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
526 # More info:
527 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
528 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
529 # the owner cannot be deleted from the key-value store until this
530 # reference is removed.
531 # Defaults to false.
532 # To set this field, a user needs &quot;delete&quot; permission of the owner,
533 # otherwise 422 (Unprocessable Entity) will be returned.
534 # +optional
535 },
536 ],
537 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
538 # object was created. It is not guaranteed to be set in happens-before order
539 # across separate operations. Clients may not set this value. It is
540 # represented in RFC3339 form and is in UTC.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700541 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700542 # Populated by the system.
543 # Read-only.
544 # Null for lists.
545 # More info:
546 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
547 # +optional
548 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700549 # (scope and select) objects. May match selectors of replication controllers
550 # and routes.
551 # More info: http://kubernetes.io/docs/user-guide/labels
552 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700553 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700554 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700555 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700556 # Populated by the system. Read-only.
557 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700558 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700559 # can be used by clients to determine when objects have changed. May be used
560 # for optimistic concurrency, change detection, and the watch operation on a
561 # resource or set of resources. Clients must treat these values as opaque and
562 # passed unmodified back to the server. They may only be valid for a
563 # particular resource or set of resources.
564 #
565 # Populated by the system.
566 # Read-only.
567 # Value must be treated as opaque by clients and .
568 # More info:
569 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
570 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700571 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700572 # generated by the server on successful creation of a resource and is not
573 # allowed to change on PUT operations.
574 #
575 # Populated by the system.
576 # Read-only.
577 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
578 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700579 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
580 # Populated by the system.
581 # Read-only.
582 # +optional
583 # string selfLink = 4;
584 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
585 # Cloud Run region. In Cloud Run the namespace must be equal to either the
586 # project ID or project number.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700587 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700588 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700589</div>
590
591<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700592 <code class="details" id="delete">delete(name, apiVersion=None, propagationPolicy=None, kind=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700593 <pre>Rpc to delete a trigger.
594
595Args:
596 name: string, The name of the trigger being deleted. If needed, replace
597{namespace_id} with the project ID. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700598 apiVersion: string, Cloud Run currently ignores this parameter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700599 propagationPolicy: string, Specifies the propagation policy of delete. Cloud Run currently ignores
600this setting, and deletes in the background. Please see
601kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
602more information.
Bu Sun Kim65020912020-05-20 12:08:20 -0700603 kind: string, Cloud Run currently ignores this parameter.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700604 x__xgafv: string, V1 error format.
605 Allowed values
606 1 - v1 error format
607 2 - v2 error format
608
609Returns:
610 An object of the form:
611
612 { # A generic empty message that you can re-use to avoid defining duplicated
613 # empty messages in your APIs. A typical example is to use it as the request
614 # or the response type of an API method. For instance:
615 #
616 # service Foo {
617 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
618 # }
619 #
620 # The JSON representation for `Empty` is empty JSON object `{}`.
621 }</pre>
622</div>
623
624<div class="method">
625 <code class="details" id="get">get(name, x__xgafv=None)</code>
626 <pre>Rpc to get information about a trigger.
627
628Args:
629 name: string, The name of the trigger being retrieved. If needed, replace
630{namespace_id} with the project ID. (required)
631 x__xgafv: string, V1 error format.
632 Allowed values
633 1 - v1 error format
634 2 - v2 error format
635
636Returns:
637 An object of the form:
638
639 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700640 &quot;status&quot;: { # TriggerStatus represents the current state of a Trigger. # Optional. Status represents the current state of the Trigger. This data may be out of
641 # date.
642 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Trigger that
643 # was last processed by the controller.
644 &quot;subscriberUri&quot;: &quot;A String&quot;, # SubscriberURI is the resolved URI of the receiver for this Trigger.
645 &quot;conditions&quot;: [ # Array of observed TriggerConditions, indicating the current state
646 # of the Trigger.
647 { # TriggerCondition contains state information for an Trigger.
648 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
649 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
650 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s current status.
651 &quot;type&quot;: &quot;A String&quot;, # Type of Trigger condition.
652 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
653 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
654 },
655 ],
656 },
657 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;eventing.knative.dev/v1alpha1&quot;.
658 &quot;spec&quot;: { # The desired state of the Trigger. # Spec defines the desired state of the Trigger.
659 &quot;broker&quot;: &quot;A String&quot;, # Broker is the broker that this trigger receives events from. If not
660 # specified, will default to &#x27;default&#x27;.
661 #
662 # Not currently supported by Cloud Run.
663 &quot;filter&quot;: { # Optional. Filter is the filter to apply against all events from the Broker. Only
664 # events that pass this filter will be sent to the Subscriber.
665 # Note that filter is optional in knative and is only required in fully
666 # managed due to different broker implementation.
667 &quot;attributes&quot;: { # Optional. Attributes filters events by exact match on event context attributes.
668 # Each key in the map is compared with the equivalent key in the event
669 # context. An event passes the filter if all values are equal to the
670 # specified values.
671 #
672 # Nested context attributes are not supported as keys.
673 # Only string values are supported.
674 # Note that this field is optional in knative. In fully managed, &#x27;type&#x27;
675 # attribute is required due to different broker implementation.
676 &quot;a_key&quot;: &quot;A String&quot;,
677 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700678 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700679 &quot;subscriber&quot;: { # Sink is the addressable that will receive events.
680 &quot;uri&quot;: &quot;A String&quot;, # URI is for direct URI Designations or used with the resulting URL from
681 # Addressable ObjectReference. If used with an ObjectReference, will be
682 # appended to the path of the resulting URL from the Addressable.
683 # + optional
684 &quot;ref&quot;: { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable.
685 # + optional
686 # referred object.
687 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
688 # +optional
689 &quot;resourceVersion&quot;: &quot;A String&quot;, # Specific resourceVersion to which this reference is made, if any.
690 # More info:
691 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
692 # +optional
693 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
694 # More info:
695 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
696 # +optional
697 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
698 # More info:
699 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
700 # +optional
701 &quot;fieldPath&quot;: &quot;A String&quot;, # If referring to a piece of an object instead of an entire object, this
702 # string should contain a valid JSON/Go field access statement, such as
703 # desiredState.manifest.containers[2]. For example, if the object reference
704 # is to a container within a pod, this would take on a value like:
705 # &quot;spec.containers{name}&quot; (where &quot;name&quot; refers to the name of the container
706 # that triggered the event) or if no container name is specified
707 # &quot;spec.containers[2]&quot; (container with index 2 in this pod). This syntax is
708 # chosen only to have some well-defined way of referencing a part of an
709 # object.
710 &quot;namespace&quot;: &quot;A String&quot;, # Namespace of the referent.
711 # More info:
712 # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
713 # +optional
714 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
715 # More info:
716 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
717 # +optional
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700718 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700719 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700720 },
721 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;Trigger&quot;.
722 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this Trigger.
723 # all objects users must create.
724 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
725 # may be set by external tools to store and retrieve arbitrary metadata. They
726 # are not queryable and should be preserved when modifying objects. More
727 # info: http://kubernetes.io/docs/user-guide/annotations +optional
728 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700729 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700730 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
731 #
732 # GenerateName is an optional prefix, used by the server, to generate a
733 # unique name ONLY IF the Name field has not been provided. If this field is
734 # used, the name returned to the client will be different than the name
735 # passed. This value will also be combined with a unique suffix. The provided
736 # value has the same validation rules as the Name field, and may be truncated
737 # by the length of the suffix required to make the value unique on the
738 # server.
739 #
740 # If this field is specified and the generated name exists, the server will
741 # NOT return a 409 - instead, it will either return 201 Created or 500 with
742 # Reason ServerTimeout indicating a unique name could not be found in the
743 # time allotted, and the client should retry (optionally after the time
744 # indicated in the Retry-After header).
745 #
746 # Applied only if Name is not specified.
747 # More info:
748 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
749 # +optional
750 # string generateName = 2;
751 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
752 # Is required when creating
753 # resources, although some resources may allow a client to request the
754 # generation of an appropriate name automatically. Name is primarily intended
755 # for creation idempotence and configuration definition. Cannot be updated.
756 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
757 # +optional
758 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
759 #
760 # The name of the cluster which the object belongs to.
761 # This is used to distinguish resources with same name and namespace in
762 # different clusters. This field is not set anywhere right now and apiserver
763 # is going to ignore it if set in create or update request. +optional
764 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
765 #
766 # Number of seconds allowed for this object to gracefully terminate before
767 # it will be removed from the system. Only set when deletionTimestamp is also
768 # set. May only be shortened. Read-only. +optional
769 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
770 #
771 # Must be empty before the object is deleted from the registry. Each entry
772 # is an identifier for the responsible component that will remove the entry
773 # from the list. If the deletionTimestamp of the object is non-nil, entries
774 # in this list can only be removed.
775 # +optional
776 # +patchStrategy=merge
777 &quot;A String&quot;,
778 ],
779 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
780 # deleted. This field is set by the server when a graceful deletion is
781 # requested by the user, and is not directly settable by a client. The
782 # resource is expected to be deleted (no longer visible from resource lists,
783 # and not reachable by name) after the time in this field, once the
784 # finalizers list is empty. As long as the finalizers list contains items,
785 # deletion is blocked. Once the deletionTimestamp is set, this value may not
786 # be unset or be set further into the future, although it may be shortened or
787 # the resource may be deleted prior to this time. For example, a user may
788 # request that a pod is deleted in 30 seconds. The Kubelet will react by
789 # sending a graceful termination signal to the containers in the pod. After
790 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
791 # to the container and after cleanup, remove the pod from the API. In the
792 # presence of network partitions, this object may still exist after this
793 # timestamp, until an administrator or automated process can determine the
794 # resource is fully terminated.
795 # If not set, graceful deletion of the object has not been requested.
796 #
797 # Populated by the system when a graceful deletion is requested.
798 # Read-only.
799 # More info:
800 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
801 # +optional
802 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
803 # been deleted, this object will be garbage collected.
804 # +optional
805 { # OwnerReference contains enough information to let you identify an owning
806 # object. Currently, an owning object must be in the same namespace, so there
807 # is no namespace field.
808 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
809 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
810 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
811 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
812 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
813 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
814 # +optional
815 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
816 # More info:
817 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
818 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
819 # the owner cannot be deleted from the key-value store until this
820 # reference is removed.
821 # Defaults to false.
822 # To set this field, a user needs &quot;delete&quot; permission of the owner,
823 # otherwise 422 (Unprocessable Entity) will be returned.
824 # +optional
825 },
826 ],
827 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
828 # object was created. It is not guaranteed to be set in happens-before order
829 # across separate operations. Clients may not set this value. It is
830 # represented in RFC3339 form and is in UTC.
831 #
832 # Populated by the system.
833 # Read-only.
834 # Null for lists.
835 # More info:
836 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
837 # +optional
838 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
839 # (scope and select) objects. May match selectors of replication controllers
840 # and routes.
841 # More info: http://kubernetes.io/docs/user-guide/labels
842 # +optional
843 &quot;a_key&quot;: &quot;A String&quot;,
844 },
845 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
846 # Populated by the system. Read-only.
847 # +optional
848 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
849 # can be used by clients to determine when objects have changed. May be used
850 # for optimistic concurrency, change detection, and the watch operation on a
851 # resource or set of resources. Clients must treat these values as opaque and
852 # passed unmodified back to the server. They may only be valid for a
853 # particular resource or set of resources.
854 #
855 # Populated by the system.
856 # Read-only.
857 # Value must be treated as opaque by clients and .
858 # More info:
859 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
860 # +optional
861 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
862 # generated by the server on successful creation of a resource and is not
863 # allowed to change on PUT operations.
864 #
865 # Populated by the system.
866 # Read-only.
867 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
868 # +optional
869 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
870 # Populated by the system.
871 # Read-only.
872 # +optional
873 # string selfLink = 4;
874 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
875 # Cloud Run region. In Cloud Run the namespace must be equal to either the
876 # project ID or project number.
877 },
878 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700879</div>
880
881<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700882 <code class="details" id="list">list(parent, watch=None, labelSelector=None, resourceVersion=None, includeUninitialized=None, fieldSelector=None, continue=None, limit=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700883 <pre>Rpc to list triggers.
884
885Args:
886 parent: string, The project ID or project number from which the triggers should
887be listed. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700888 watch: boolean, Flag that indicates that the client expects to watch this resource as well.
889Not currently used by Cloud Run.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700890 labelSelector: string, Allows to filter resources based on a label. Supported operations are
891=, !=, exists, in, and notIn.
Bu Sun Kim65020912020-05-20 12:08:20 -0700892 resourceVersion: string, The baseline resource version from which the list or watch operation should
893start. Not currently used by Cloud Run.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700894 includeUninitialized: boolean, Not currently used by Cloud Run.
Bu Sun Kim65020912020-05-20 12:08:20 -0700895 fieldSelector: string, Allows to filter resources based on a specific value for a field name.
896Send this in a query string format. i.e. &#x27;metadata.name%3Dlorem&#x27;.
897Not currently used by Cloud Run.
898 continue: string, Optional. Encoded string to continue paging.
899 limit: integer, The maximum number of records that should be returned.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700900 x__xgafv: string, V1 error format.
901 Allowed values
902 1 - v1 error format
903 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700904
905Returns:
906 An object of the form:
907
908 { # ListTriggersResponse is a list of Trigger resources.
Bu Sun Kim65020912020-05-20 12:08:20 -0700909 &quot;kind&quot;: &quot;A String&quot;, # The kind of this resource, in this case &quot;TriggerList&quot;.
910 &quot;unreachable&quot;: [ # Locations that could not be reached.
911 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700912 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700913 &quot;metadata&quot;: { # ListMeta describes metadata that synthetic resources must have, including # Metadata associated with this Trigger list.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700914 # lists and various status objects. A resource may have only one of
915 # {ObjectMeta, ListMeta}.
Bu Sun Kim65020912020-05-20 12:08:20 -0700916 &quot;resourceVersion&quot;: &quot;A String&quot;, # String that identifies the server&#x27;s internal version of this object that
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700917 # can be used by clients to determine when objects have changed. Value must
918 # be treated as opaque by clients and passed unmodified back to the server.
919 # Populated by the system.
920 # Read-only.
921 # More info:
922 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
923 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700924 &quot;continue&quot;: &quot;A String&quot;, # continue may be set if the user set a limit on the number of items
925 # returned, and indicates that the server has more data available. The value
926 # is opaque and may be used to issue another request to the endpoint that
927 # served this list to retrieve the next set of available objects. Continuing
928 # a list may not be possible if the server configuration has changed or more
929 # than a few minutes have passed. The resourceVersion field returned when
930 # using this continue value will be identical to the value in the first
931 # response.
932 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
933 # Populated by the system.
934 # Read-only.
935 # +optional
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700936 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700937 &quot;items&quot;: [ # List of Triggers.
938 {
939 &quot;status&quot;: { # TriggerStatus represents the current state of a Trigger. # Optional. Status represents the current state of the Trigger. This data may be out of
940 # date.
941 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Trigger that
942 # was last processed by the controller.
943 &quot;subscriberUri&quot;: &quot;A String&quot;, # SubscriberURI is the resolved URI of the receiver for this Trigger.
944 &quot;conditions&quot;: [ # Array of observed TriggerConditions, indicating the current state
945 # of the Trigger.
946 { # TriggerCondition contains state information for an Trigger.
947 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
948 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
949 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s current status.
950 &quot;type&quot;: &quot;A String&quot;, # Type of Trigger condition.
951 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
952 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
953 },
954 ],
955 },
956 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;eventing.knative.dev/v1alpha1&quot;.
957 &quot;spec&quot;: { # The desired state of the Trigger. # Spec defines the desired state of the Trigger.
958 &quot;broker&quot;: &quot;A String&quot;, # Broker is the broker that this trigger receives events from. If not
959 # specified, will default to &#x27;default&#x27;.
960 #
961 # Not currently supported by Cloud Run.
962 &quot;filter&quot;: { # Optional. Filter is the filter to apply against all events from the Broker. Only
963 # events that pass this filter will be sent to the Subscriber.
964 # Note that filter is optional in knative and is only required in fully
965 # managed due to different broker implementation.
966 &quot;attributes&quot;: { # Optional. Attributes filters events by exact match on event context attributes.
967 # Each key in the map is compared with the equivalent key in the event
968 # context. An event passes the filter if all values are equal to the
969 # specified values.
970 #
971 # Nested context attributes are not supported as keys.
972 # Only string values are supported.
973 # Note that this field is optional in knative. In fully managed, &#x27;type&#x27;
974 # attribute is required due to different broker implementation.
975 &quot;a_key&quot;: &quot;A String&quot;,
976 },
977 },
978 &quot;subscriber&quot;: { # Sink is the addressable that will receive events.
979 &quot;uri&quot;: &quot;A String&quot;, # URI is for direct URI Designations or used with the resulting URL from
980 # Addressable ObjectReference. If used with an ObjectReference, will be
981 # appended to the path of the resulting URL from the Addressable.
982 # + optional
983 &quot;ref&quot;: { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable.
984 # + optional
985 # referred object.
986 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
987 # +optional
988 &quot;resourceVersion&quot;: &quot;A String&quot;, # Specific resourceVersion to which this reference is made, if any.
989 # More info:
990 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
991 # +optional
992 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
993 # More info:
994 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
995 # +optional
996 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
997 # More info:
998 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
999 # +optional
1000 &quot;fieldPath&quot;: &quot;A String&quot;, # If referring to a piece of an object instead of an entire object, this
1001 # string should contain a valid JSON/Go field access statement, such as
1002 # desiredState.manifest.containers[2]. For example, if the object reference
1003 # is to a container within a pod, this would take on a value like:
1004 # &quot;spec.containers{name}&quot; (where &quot;name&quot; refers to the name of the container
1005 # that triggered the event) or if no container name is specified
1006 # &quot;spec.containers[2]&quot; (container with index 2 in this pod). This syntax is
1007 # chosen only to have some well-defined way of referencing a part of an
1008 # object.
1009 &quot;namespace&quot;: &quot;A String&quot;, # Namespace of the referent.
1010 # More info:
1011 # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
1012 # +optional
1013 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
1014 # More info:
1015 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
1016 # +optional
1017 },
1018 },
1019 },
1020 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;Trigger&quot;.
1021 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this Trigger.
1022 # all objects users must create.
1023 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
1024 # may be set by external tools to store and retrieve arbitrary metadata. They
1025 # are not queryable and should be preserved when modifying objects. More
1026 # info: http://kubernetes.io/docs/user-guide/annotations +optional
1027 &quot;a_key&quot;: &quot;A String&quot;,
1028 },
1029 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
1030 #
1031 # GenerateName is an optional prefix, used by the server, to generate a
1032 # unique name ONLY IF the Name field has not been provided. If this field is
1033 # used, the name returned to the client will be different than the name
1034 # passed. This value will also be combined with a unique suffix. The provided
1035 # value has the same validation rules as the Name field, and may be truncated
1036 # by the length of the suffix required to make the value unique on the
1037 # server.
1038 #
1039 # If this field is specified and the generated name exists, the server will
1040 # NOT return a 409 - instead, it will either return 201 Created or 500 with
1041 # Reason ServerTimeout indicating a unique name could not be found in the
1042 # time allotted, and the client should retry (optionally after the time
1043 # indicated in the Retry-After header).
1044 #
1045 # Applied only if Name is not specified.
1046 # More info:
1047 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
1048 # +optional
1049 # string generateName = 2;
1050 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
1051 # Is required when creating
1052 # resources, although some resources may allow a client to request the
1053 # generation of an appropriate name automatically. Name is primarily intended
1054 # for creation idempotence and configuration definition. Cannot be updated.
1055 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1056 # +optional
1057 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
1058 #
1059 # The name of the cluster which the object belongs to.
1060 # This is used to distinguish resources with same name and namespace in
1061 # different clusters. This field is not set anywhere right now and apiserver
1062 # is going to ignore it if set in create or update request. +optional
1063 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
1064 #
1065 # Number of seconds allowed for this object to gracefully terminate before
1066 # it will be removed from the system. Only set when deletionTimestamp is also
1067 # set. May only be shortened. Read-only. +optional
1068 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
1069 #
1070 # Must be empty before the object is deleted from the registry. Each entry
1071 # is an identifier for the responsible component that will remove the entry
1072 # from the list. If the deletionTimestamp of the object is non-nil, entries
1073 # in this list can only be removed.
1074 # +optional
1075 # +patchStrategy=merge
1076 &quot;A String&quot;,
1077 ],
1078 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
1079 # deleted. This field is set by the server when a graceful deletion is
1080 # requested by the user, and is not directly settable by a client. The
1081 # resource is expected to be deleted (no longer visible from resource lists,
1082 # and not reachable by name) after the time in this field, once the
1083 # finalizers list is empty. As long as the finalizers list contains items,
1084 # deletion is blocked. Once the deletionTimestamp is set, this value may not
1085 # be unset or be set further into the future, although it may be shortened or
1086 # the resource may be deleted prior to this time. For example, a user may
1087 # request that a pod is deleted in 30 seconds. The Kubelet will react by
1088 # sending a graceful termination signal to the containers in the pod. After
1089 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
1090 # to the container and after cleanup, remove the pod from the API. In the
1091 # presence of network partitions, this object may still exist after this
1092 # timestamp, until an administrator or automated process can determine the
1093 # resource is fully terminated.
1094 # If not set, graceful deletion of the object has not been requested.
1095 #
1096 # Populated by the system when a graceful deletion is requested.
1097 # Read-only.
1098 # More info:
1099 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1100 # +optional
1101 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
1102 # been deleted, this object will be garbage collected.
1103 # +optional
1104 { # OwnerReference contains enough information to let you identify an owning
1105 # object. Currently, an owning object must be in the same namespace, so there
1106 # is no namespace field.
1107 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
1108 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
1109 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1110 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
1111 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1112 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
1113 # +optional
1114 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
1115 # More info:
1116 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
1117 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
1118 # the owner cannot be deleted from the key-value store until this
1119 # reference is removed.
1120 # Defaults to false.
1121 # To set this field, a user needs &quot;delete&quot; permission of the owner,
1122 # otherwise 422 (Unprocessable Entity) will be returned.
1123 # +optional
1124 },
1125 ],
1126 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
1127 # object was created. It is not guaranteed to be set in happens-before order
1128 # across separate operations. Clients may not set this value. It is
1129 # represented in RFC3339 form and is in UTC.
1130 #
1131 # Populated by the system.
1132 # Read-only.
1133 # Null for lists.
1134 # More info:
1135 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1136 # +optional
1137 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
1138 # (scope and select) objects. May match selectors of replication controllers
1139 # and routes.
1140 # More info: http://kubernetes.io/docs/user-guide/labels
1141 # +optional
1142 &quot;a_key&quot;: &quot;A String&quot;,
1143 },
1144 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
1145 # Populated by the system. Read-only.
1146 # +optional
1147 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
1148 # can be used by clients to determine when objects have changed. May be used
1149 # for optimistic concurrency, change detection, and the watch operation on a
1150 # resource or set of resources. Clients must treat these values as opaque and
1151 # passed unmodified back to the server. They may only be valid for a
1152 # particular resource or set of resources.
1153 #
1154 # Populated by the system.
1155 # Read-only.
1156 # Value must be treated as opaque by clients and .
1157 # More info:
1158 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
1159 # +optional
1160 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
1161 # generated by the server on successful creation of a resource and is not
1162 # allowed to change on PUT operations.
1163 #
1164 # Populated by the system.
1165 # Read-only.
1166 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1167 # +optional
1168 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
1169 # Populated by the system.
1170 # Read-only.
1171 # +optional
1172 # string selfLink = 4;
1173 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
1174 # Cloud Run region. In Cloud Run the namespace must be equal to either the
1175 # project ID or project number.
1176 },
1177 },
1178 ],
1179 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;eventing.knative.dev/v1alpha1&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001180 }</pre>
1181</div>
1182
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001183</body></html>