google-apis-run_v1alpha1 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee2cf5c869dd9d61a136c10915e5d478b4d779b13b91cd8010c8f8b92761f77b
4
- data.tar.gz: 87445bd9c3d44ca4ef3cd1c937b997285756250109a090dec7c8ec2dd7bb4afa
3
+ metadata.gz: 91bffafb3c45d911325734b3a12f60fce3ff92b55479537f83bb51de5afbc83e
4
+ data.tar.gz: 5730a20b92f2c7e6f3ba55d2d7d59cde5c914791e50cd6ce84285d2e6d99e282
5
5
  SHA512:
6
- metadata.gz: 9b39c72495c8c21c9bbe2e731accc54f6d65fc401d9fc34862d581ccb38b7142b99f0ba59df162b4a2c3b75998b1809d7783bcd1522f84a3bd2a3185784aac60
7
- data.tar.gz: '0191349076e597d636d447cd69b5dec65abab9fcf479244b01824ee1cab00ba1a1f3b2848c8e6d41aa1ff430f97ffe4a8aea6bf9e4bb0ea50ba61cba4ed35d48'
6
+ metadata.gz: d17d4c344611604c2ddf1fc386c045414c9dbd10a2589fa7f9b1686642e1f19b14165f529afc37e8d4129b92f57799481314e3e12d975654586ba9e8e266b75e
7
+ data.tar.gz: 06e028ba52ee9c53c5011670a7e6ef9dc78e305157ecb48dc6b7b54024d588b33c20d8b5e137f53b4e9508573f0ad7a88ad4a037b79e485a3f372ab2b6f34645
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v1alpha1
2
2
 
3
+ ### v0.3.0 (2021-02-23)
4
+
5
+ * Regenerated from discovery document revision 20210212
6
+
3
7
  ### v0.2.0 (2021-01-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20210122
@@ -242,685 +242,6 @@ module Google
242
242
  end
243
243
  end
244
244
 
245
- #
246
- class CloudAuditLogsSource
247
- include Google::Apis::Core::Hashable
248
-
249
- # The API version for this call such as "events.cloud.google.com/v1alpha1".
250
- # Corresponds to the JSON property `apiVersion`
251
- # @return [String]
252
- attr_accessor :api_version
253
-
254
- # The kind of resource, in this case "CloudAuditLogsSource".
255
- # Corresponds to the JSON property `kind`
256
- # @return [String]
257
- attr_accessor :kind
258
-
259
- # ObjectMeta is metadata that all persisted resources must have, which includes
260
- # all objects users must create.
261
- # Corresponds to the JSON property `metadata`
262
- # @return [Google::Apis::RunV1alpha1::ObjectMeta]
263
- attr_accessor :metadata
264
-
265
- # The desired state of the CloudAuditLogsSource.
266
- # Corresponds to the JSON property `spec`
267
- # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSourceSpec]
268
- attr_accessor :spec
269
-
270
- # CloudAuditLogsSourceStatus represents the current state of a
271
- # CloudAuditLogsSource.
272
- # Corresponds to the JSON property `status`
273
- # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSourceStatus]
274
- attr_accessor :status
275
-
276
- def initialize(**args)
277
- update!(**args)
278
- end
279
-
280
- # Update properties of this object
281
- def update!(**args)
282
- @api_version = args[:api_version] if args.key?(:api_version)
283
- @kind = args[:kind] if args.key?(:kind)
284
- @metadata = args[:metadata] if args.key?(:metadata)
285
- @spec = args[:spec] if args.key?(:spec)
286
- @status = args[:status] if args.key?(:status)
287
- end
288
- end
289
-
290
- # The desired state of the CloudAuditLogsSource.
291
- class CloudAuditLogsSourceSpec
292
- include Google::Apis::Core::Hashable
293
-
294
- # CloudEventOverrides defines arguments for a Source that control the output
295
- # format of the CloudEvents produced by the Source.
296
- # Corresponds to the JSON property `ceOverrides`
297
- # @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
298
- attr_accessor :ce_overrides
299
-
300
- # Required. The method name at the service API. This must match "methodName" in
301
- # Cloud Audit Logs. Regex or Wildcards (*) are not supported. Example: "google.
302
- # cloud.bigquery.job.create".
303
- # Corresponds to the JSON property `methodName`
304
- # @return [String]
305
- attr_accessor :method_name
306
-
307
- # Optional. The resource specification. This must match "methodName" in Cloud
308
- # Audit Logs. Regex or Wildcards (*) are not supported. Example: "projects/my-
309
- # project/jobs/foo".
310
- # Corresponds to the JSON property `resourceName`
311
- # @return [String]
312
- attr_accessor :resource_name
313
-
314
- # Optional. Email address of the IAM service account associated with the source.
315
- # The service account represents the identity of the source, and determines what
316
- # permissions the source has. If not provided, the source will use the project's
317
- # default service account.
318
- # Corresponds to the JSON property `serviceAccountName`
319
- # @return [String]
320
- attr_accessor :service_account_name
321
-
322
- # Required. The GCP service name. This must match "serviceName" in Cloud Audit
323
- # Logs. Regex or Wildcards (*) are not supported. Example: "bigquery.googleapis.
324
- # com".
325
- # Corresponds to the JSON property `serviceName`
326
- # @return [String]
327
- attr_accessor :service_name
328
-
329
- # Sink is a reference to an object that will resolve to a domain name or a URI
330
- # directly to use as the sink.
331
- # Corresponds to the JSON property `sink`
332
- # @return [Google::Apis::RunV1alpha1::Destination]
333
- attr_accessor :sink
334
-
335
- def initialize(**args)
336
- update!(**args)
337
- end
338
-
339
- # Update properties of this object
340
- def update!(**args)
341
- @ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
342
- @method_name = args[:method_name] if args.key?(:method_name)
343
- @resource_name = args[:resource_name] if args.key?(:resource_name)
344
- @service_account_name = args[:service_account_name] if args.key?(:service_account_name)
345
- @service_name = args[:service_name] if args.key?(:service_name)
346
- @sink = args[:sink] if args.key?(:sink)
347
- end
348
- end
349
-
350
- # CloudAuditLogsSourceStatus represents the current state of a
351
- # CloudAuditLogsSource.
352
- class CloudAuditLogsSourceStatus
353
- include Google::Apis::Core::Hashable
354
-
355
- # Array of observed CloudAuditLogsSourceConditions, indicating the current state
356
- # of the CloudAuditLogsSource.
357
- # Corresponds to the JSON property `conditions`
358
- # @return [Array<Google::Apis::RunV1alpha1::Condition>]
359
- attr_accessor :conditions
360
-
361
- # ObservedGeneration is the 'Generation' of the CloudAuditLogsSource that was
362
- # last processed by the controller.
363
- # Corresponds to the JSON property `observedGeneration`
364
- # @return [Fixnum]
365
- attr_accessor :observed_generation
366
-
367
- # SinkURI is the current active sink URI that has been configured for the Source.
368
- # +optional
369
- # Corresponds to the JSON property `sinkUri`
370
- # @return [String]
371
- attr_accessor :sink_uri
372
-
373
- def initialize(**args)
374
- update!(**args)
375
- end
376
-
377
- # Update properties of this object
378
- def update!(**args)
379
- @conditions = args[:conditions] if args.key?(:conditions)
380
- @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
381
- @sink_uri = args[:sink_uri] if args.key?(:sink_uri)
382
- end
383
- end
384
-
385
- # CloudEventOverrides defines arguments for a Source that control the output
386
- # format of the CloudEvents produced by the Source.
387
- class CloudEventOverrides
388
- include Google::Apis::Core::Hashable
389
-
390
- # Extensions specify what attribute are added or overridden on the outbound
391
- # event. Each `Extensions` key-value pair are set on the event as an attribute
392
- # extension independently. +optional
393
- # Corresponds to the JSON property `extensions`
394
- # @return [Hash<String,String>]
395
- attr_accessor :extensions
396
-
397
- def initialize(**args)
398
- update!(**args)
399
- end
400
-
401
- # Update properties of this object
402
- def update!(**args)
403
- @extensions = args[:extensions] if args.key?(:extensions)
404
- end
405
- end
406
-
407
- #
408
- class CloudPubSubSource
409
- include Google::Apis::Core::Hashable
410
-
411
- # The API version for this call such as "events.cloud.google.com/v1alpha1".
412
- # Corresponds to the JSON property `apiVersion`
413
- # @return [String]
414
- attr_accessor :api_version
415
-
416
- # The kind of resource, in this case "CloudPubSubSource".
417
- # Corresponds to the JSON property `kind`
418
- # @return [String]
419
- attr_accessor :kind
420
-
421
- # ObjectMeta is metadata that all persisted resources must have, which includes
422
- # all objects users must create.
423
- # Corresponds to the JSON property `metadata`
424
- # @return [Google::Apis::RunV1alpha1::ObjectMeta]
425
- attr_accessor :metadata
426
-
427
- # The desired state of the CloudPubSubSource.
428
- # Corresponds to the JSON property `spec`
429
- # @return [Google::Apis::RunV1alpha1::CloudPubSubSourceSpec]
430
- attr_accessor :spec
431
-
432
- # CloudPubSubSourceStatus represents the current state of a CloudPubSubSource.
433
- # Corresponds to the JSON property `status`
434
- # @return [Google::Apis::RunV1alpha1::CloudPubSubSourceStatus]
435
- attr_accessor :status
436
-
437
- def initialize(**args)
438
- update!(**args)
439
- end
440
-
441
- # Update properties of this object
442
- def update!(**args)
443
- @api_version = args[:api_version] if args.key?(:api_version)
444
- @kind = args[:kind] if args.key?(:kind)
445
- @metadata = args[:metadata] if args.key?(:metadata)
446
- @spec = args[:spec] if args.key?(:spec)
447
- @status = args[:status] if args.key?(:status)
448
- end
449
- end
450
-
451
- # The desired state of the CloudPubSubSource.
452
- class CloudPubSubSourceSpec
453
- include Google::Apis::Core::Hashable
454
-
455
- # AckDeadline is the default maximum time after a subscriber receives a message
456
- # before the subscriber should acknowledge the message. Defaults to 30 seconds ('
457
- # 30s'). +optional
458
- # Corresponds to the JSON property `ackDeadline`
459
- # @return [String]
460
- attr_accessor :ack_deadline
461
-
462
- # CloudEventOverrides defines arguments for a Source that control the output
463
- # format of the CloudEvents produced by the Source.
464
- # Corresponds to the JSON property `ceOverrides`
465
- # @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
466
- attr_accessor :ce_overrides
467
-
468
- # Project is the ID of the Google Cloud Project that the CloudPubSubSource Topic
469
- # exists in. If omitted, defaults to same as the cluster. +optional
470
- # Corresponds to the JSON property `project`
471
- # @return [String]
472
- attr_accessor :project
473
-
474
- # Cloud Run fully managed: not supported Cloud Run on GKE: supported
475
- # SecretKeySelector selects a key of a Secret.
476
- # Corresponds to the JSON property `pubsubSecret`
477
- # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
478
- attr_accessor :pubsub_secret
479
-
480
- # RetainAckedMessages defines whether to retain acknowledged messages. If true,
481
- # acknowledged messages will not be expunged until they fall out of the
482
- # RetentionDuration window.
483
- # Corresponds to the JSON property `retainAckedMessages`
484
- # @return [Boolean]
485
- attr_accessor :retain_acked_messages
486
- alias_method :retain_acked_messages?, :retain_acked_messages
487
-
488
- # RetentionDuration defines how long to retain messages in backlog, from the
489
- # time of publish. If RetainAckedMessages is true, this duration affects the
490
- # retention of acknowledged messages, otherwise only unacknowledged messages are
491
- # retained. Cannot be longer than 7 days or shorter than 10 minutes. Defaults to
492
- # 7 days ('7d'). +optional
493
- # Corresponds to the JSON property `retentionDuration`
494
- # @return [String]
495
- attr_accessor :retention_duration
496
-
497
- # Cloud Run fully managed: not supported Cloud Run on GKE: supported
498
- # SecretKeySelector selects a key of a Secret.
499
- # Corresponds to the JSON property `secret`
500
- # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
501
- attr_accessor :secret
502
-
503
- # Sink is a reference to an object that will resolve to a domain name or a URI
504
- # directly to use as the sink.
505
- # Corresponds to the JSON property `sink`
506
- # @return [Google::Apis::RunV1alpha1::Destination]
507
- attr_accessor :sink
508
-
509
- # Topic is the ID of the CloudPubSubSource Topic to Subscribe to. It must be in
510
- # the form of the unique identifier within the project, not the entire name. E.g.
511
- # it must be 'laconia', not 'projects/my-proj/topics/laconia'.
512
- # Corresponds to the JSON property `topic`
513
- # @return [String]
514
- attr_accessor :topic
515
-
516
- def initialize(**args)
517
- update!(**args)
518
- end
519
-
520
- # Update properties of this object
521
- def update!(**args)
522
- @ack_deadline = args[:ack_deadline] if args.key?(:ack_deadline)
523
- @ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
524
- @project = args[:project] if args.key?(:project)
525
- @pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
526
- @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
527
- @retention_duration = args[:retention_duration] if args.key?(:retention_duration)
528
- @secret = args[:secret] if args.key?(:secret)
529
- @sink = args[:sink] if args.key?(:sink)
530
- @topic = args[:topic] if args.key?(:topic)
531
- end
532
- end
533
-
534
- # CloudPubSubSourceStatus represents the current state of a CloudPubSubSource.
535
- class CloudPubSubSourceStatus
536
- include Google::Apis::Core::Hashable
537
-
538
- # Array of observed CloudPubSubSourceConditions, indicating the current state of
539
- # the CloudPubSubSource.
540
- # Corresponds to the JSON property `conditions`
541
- # @return [Array<Google::Apis::RunV1alpha1::Condition>]
542
- attr_accessor :conditions
543
-
544
- # ObservedGeneration is the 'Generation' of the CloudPubSubSource that was last
545
- # processed by the controller.
546
- # Corresponds to the JSON property `observedGeneration`
547
- # @return [Fixnum]
548
- attr_accessor :observed_generation
549
-
550
- # SinkURI is the current active sink URI that has been configured for the Source.
551
- # +optional
552
- # Corresponds to the JSON property `sinkUri`
553
- # @return [String]
554
- attr_accessor :sink_uri
555
-
556
- def initialize(**args)
557
- update!(**args)
558
- end
559
-
560
- # Update properties of this object
561
- def update!(**args)
562
- @conditions = args[:conditions] if args.key?(:conditions)
563
- @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
564
- @sink_uri = args[:sink_uri] if args.key?(:sink_uri)
565
- end
566
- end
567
-
568
- # The CloudSchedulerSource resource.
569
- class CloudSchedulerSource
570
- include Google::Apis::Core::Hashable
571
-
572
- # The API version for this call such as "events.cloud.google.com/v1alpha1".
573
- # Corresponds to the JSON property `apiVersion`
574
- # @return [String]
575
- attr_accessor :api_version
576
-
577
- # The kind of resource, in this case "CloudSchedulerSource".
578
- # Corresponds to the JSON property `kind`
579
- # @return [String]
580
- attr_accessor :kind
581
-
582
- # ObjectMeta is metadata that all persisted resources must have, which includes
583
- # all objects users must create.
584
- # Corresponds to the JSON property `metadata`
585
- # @return [Google::Apis::RunV1alpha1::ObjectMeta]
586
- attr_accessor :metadata
587
-
588
- # The desired state of the CloudSchedulerSource.
589
- # Corresponds to the JSON property `spec`
590
- # @return [Google::Apis::RunV1alpha1::CloudSchedulerSourceSpec]
591
- attr_accessor :spec
592
-
593
- # CloudSchedulerSourceStatus represents the current state of a
594
- # CloudSchedulerSource.
595
- # Corresponds to the JSON property `status`
596
- # @return [Google::Apis::RunV1alpha1::CloudSchedulerSourceStatus]
597
- attr_accessor :status
598
-
599
- def initialize(**args)
600
- update!(**args)
601
- end
602
-
603
- # Update properties of this object
604
- def update!(**args)
605
- @api_version = args[:api_version] if args.key?(:api_version)
606
- @kind = args[:kind] if args.key?(:kind)
607
- @metadata = args[:metadata] if args.key?(:metadata)
608
- @spec = args[:spec] if args.key?(:spec)
609
- @status = args[:status] if args.key?(:status)
610
- end
611
- end
612
-
613
- # The desired state of the CloudSchedulerSource.
614
- class CloudSchedulerSourceSpec
615
- include Google::Apis::Core::Hashable
616
-
617
- # CloudEventOverrides defines arguments for a Source that control the output
618
- # format of the CloudEvents produced by the Source.
619
- # Corresponds to the JSON property `ceOverrides`
620
- # @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
621
- attr_accessor :ce_overrides
622
-
623
- # Data to send in the payload of the Event.
624
- # Corresponds to the JSON property `data`
625
- # @return [String]
626
- attr_accessor :data
627
-
628
- # Location to create the Scheduler job in.
629
- # Corresponds to the JSON property `location`
630
- # @return [String]
631
- attr_accessor :location
632
-
633
- # Project is the ID of the Google Cloud Project that the CloudPubSubSource Topic
634
- # exists in. If omitted, defaults to same as the cluster.
635
- # Corresponds to the JSON property `project`
636
- # @return [String]
637
- attr_accessor :project
638
-
639
- # Cloud Run fully managed: not supported Cloud Run on GKE: supported
640
- # SecretKeySelector selects a key of a Secret.
641
- # Corresponds to the JSON property `pubsubSecret`
642
- # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
643
- attr_accessor :pubsub_secret
644
-
645
- # Schedule in cron format, for example: "* * * * *" would be run every minute.
646
- # Corresponds to the JSON property `schedule`
647
- # @return [String]
648
- attr_accessor :schedule
649
-
650
- # Cloud Run fully managed: not supported Cloud Run on GKE: supported
651
- # SecretKeySelector selects a key of a Secret.
652
- # Corresponds to the JSON property `secret`
653
- # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
654
- attr_accessor :secret
655
-
656
- # Sink is a reference to an object that will resolve to a domain name or a URI
657
- # directly to use as the sink.
658
- # Corresponds to the JSON property `sink`
659
- # @return [Google::Apis::RunV1alpha1::Destination]
660
- attr_accessor :sink
661
-
662
- def initialize(**args)
663
- update!(**args)
664
- end
665
-
666
- # Update properties of this object
667
- def update!(**args)
668
- @ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
669
- @data = args[:data] if args.key?(:data)
670
- @location = args[:location] if args.key?(:location)
671
- @project = args[:project] if args.key?(:project)
672
- @pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
673
- @schedule = args[:schedule] if args.key?(:schedule)
674
- @secret = args[:secret] if args.key?(:secret)
675
- @sink = args[:sink] if args.key?(:sink)
676
- end
677
- end
678
-
679
- # CloudSchedulerSourceStatus represents the current state of a
680
- # CloudSchedulerSource.
681
- class CloudSchedulerSourceStatus
682
- include Google::Apis::Core::Hashable
683
-
684
- # Array of observed CloudSchedulerSourceConditions, indicating the current state
685
- # of the CloudSchedulerSource.
686
- # Corresponds to the JSON property `conditions`
687
- # @return [Array<Google::Apis::RunV1alpha1::Condition>]
688
- attr_accessor :conditions
689
-
690
- # ObservedGeneration is the 'Generation' of the CloudSchedulerSource that was
691
- # last processed by the controller.
692
- # Corresponds to the JSON property `observedGeneration`
693
- # @return [Fixnum]
694
- attr_accessor :observed_generation
695
-
696
- # SinkURI is the current active sink URI that has been configured for the Source.
697
- # Corresponds to the JSON property `sinkUri`
698
- # @return [String]
699
- attr_accessor :sink_uri
700
-
701
- def initialize(**args)
702
- update!(**args)
703
- end
704
-
705
- # Update properties of this object
706
- def update!(**args)
707
- @conditions = args[:conditions] if args.key?(:conditions)
708
- @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
709
- @sink_uri = args[:sink_uri] if args.key?(:sink_uri)
710
- end
711
- end
712
-
713
- # The CloudStorageSource resource.
714
- class CloudStorageSource
715
- include Google::Apis::Core::Hashable
716
-
717
- # The API version for this call such as "events.cloud.google.com/v1alpha1".
718
- # Corresponds to the JSON property `apiVersion`
719
- # @return [String]
720
- attr_accessor :api_version
721
-
722
- # The kind of resource, in this case "CloudStorageSource".
723
- # Corresponds to the JSON property `kind`
724
- # @return [String]
725
- attr_accessor :kind
726
-
727
- # ObjectMeta is metadata that all persisted resources must have, which includes
728
- # all objects users must create.
729
- # Corresponds to the JSON property `metadata`
730
- # @return [Google::Apis::RunV1alpha1::ObjectMeta]
731
- attr_accessor :metadata
732
-
733
- # The desired state of the CloudStorageSource.
734
- # Corresponds to the JSON property `spec`
735
- # @return [Google::Apis::RunV1alpha1::CloudStorageSourceSpec]
736
- attr_accessor :spec
737
-
738
- # CloudStorageSourceStatus represents the current state of a CloudStorageSource.
739
- # Corresponds to the JSON property `status`
740
- # @return [Google::Apis::RunV1alpha1::CloudStorageSourceStatus]
741
- attr_accessor :status
742
-
743
- def initialize(**args)
744
- update!(**args)
745
- end
746
-
747
- # Update properties of this object
748
- def update!(**args)
749
- @api_version = args[:api_version] if args.key?(:api_version)
750
- @kind = args[:kind] if args.key?(:kind)
751
- @metadata = args[:metadata] if args.key?(:metadata)
752
- @spec = args[:spec] if args.key?(:spec)
753
- @status = args[:status] if args.key?(:status)
754
- end
755
- end
756
-
757
- # The desired state of the CloudStorageSource.
758
- class CloudStorageSourceSpec
759
- include Google::Apis::Core::Hashable
760
-
761
- # Bucket to subscribe to.
762
- # Corresponds to the JSON property `bucket`
763
- # @return [String]
764
- attr_accessor :bucket
765
-
766
- # CloudEventOverrides defines arguments for a Source that control the output
767
- # format of the CloudEvents produced by the Source.
768
- # Corresponds to the JSON property `ceOverrides`
769
- # @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
770
- attr_accessor :ce_overrides
771
-
772
- # EventTypes to subscribe to. If unspecified, then subscribe to all events.
773
- # Corresponds to the JSON property `eventTypes`
774
- # @return [Array<String>]
775
- attr_accessor :event_types
776
-
777
- # ObjectNamePrefix limits the notifications to objects with this prefix.
778
- # Corresponds to the JSON property `objectNamePrefix`
779
- # @return [String]
780
- attr_accessor :object_name_prefix
781
-
782
- # PayloadFormat specifies the contents of the message payload. See https://cloud.
783
- # google.com/storage/docs/pubsub-notifications#payload.
784
- # Corresponds to the JSON property `payloadFormat`
785
- # @return [String]
786
- attr_accessor :payload_format
787
-
788
- # Project is the ID of the Google Cloud Project that the PubSub Topic exists in.
789
- # If omitted, defaults to same as the cluster.
790
- # Corresponds to the JSON property `project`
791
- # @return [String]
792
- attr_accessor :project
793
-
794
- # Cloud Run fully managed: not supported Cloud Run on GKE: supported
795
- # SecretKeySelector selects a key of a Secret.
796
- # Corresponds to the JSON property `pubsubSecret`
797
- # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
798
- attr_accessor :pubsub_secret
799
-
800
- # Cloud Run fully managed: not supported Cloud Run on GKE: supported
801
- # SecretKeySelector selects a key of a Secret.
802
- # Corresponds to the JSON property `secret`
803
- # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
804
- attr_accessor :secret
805
-
806
- # ServiceAccountName holds the name of the Kubernetes service account as which
807
- # the underlying K8s resources should be run. If unspecified this will default
808
- # to the "default" service account for the namespace in which the GCS exists.
809
- # Corresponds to the JSON property `serviceAccountName`
810
- # @return [String]
811
- attr_accessor :service_account_name
812
-
813
- # Sink is a reference to an object that will resolve to a domain name or a URI
814
- # directly to use as the sink.
815
- # Corresponds to the JSON property `sink`
816
- # @return [Google::Apis::RunV1alpha1::Destination]
817
- attr_accessor :sink
818
-
819
- def initialize(**args)
820
- update!(**args)
821
- end
822
-
823
- # Update properties of this object
824
- def update!(**args)
825
- @bucket = args[:bucket] if args.key?(:bucket)
826
- @ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
827
- @event_types = args[:event_types] if args.key?(:event_types)
828
- @object_name_prefix = args[:object_name_prefix] if args.key?(:object_name_prefix)
829
- @payload_format = args[:payload_format] if args.key?(:payload_format)
830
- @project = args[:project] if args.key?(:project)
831
- @pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
832
- @secret = args[:secret] if args.key?(:secret)
833
- @service_account_name = args[:service_account_name] if args.key?(:service_account_name)
834
- @sink = args[:sink] if args.key?(:sink)
835
- end
836
- end
837
-
838
- # CloudStorageSourceStatus represents the current state of a CloudStorageSource.
839
- class CloudStorageSourceStatus
840
- include Google::Apis::Core::Hashable
841
-
842
- # Array of observed CloudStorageSourceConditions, indicating the current state
843
- # of the CloudStorageSource.
844
- # Corresponds to the JSON property `conditions`
845
- # @return [Array<Google::Apis::RunV1alpha1::Condition>]
846
- attr_accessor :conditions
847
-
848
- # ObservedGeneration is the 'Generation' of the CloudStorageSource that was last
849
- # processed by the controller.
850
- # Corresponds to the JSON property `observedGeneration`
851
- # @return [Fixnum]
852
- attr_accessor :observed_generation
853
-
854
- # SinkURI is the current active sink URI that has been configured for the Source.
855
- # Corresponds to the JSON property `sinkUri`
856
- # @return [String]
857
- attr_accessor :sink_uri
858
-
859
- def initialize(**args)
860
- update!(**args)
861
- end
862
-
863
- # Update properties of this object
864
- def update!(**args)
865
- @conditions = args[:conditions] if args.key?(:conditions)
866
- @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
867
- @sink_uri = args[:sink_uri] if args.key?(:sink_uri)
868
- end
869
- end
870
-
871
- # Condition defines a generic condition for a Resource
872
- class Condition
873
- include Google::Apis::Core::Hashable
874
-
875
- # Optional. Last time the condition transitioned from one status to another.
876
- # Corresponds to the JSON property `lastTransitionTime`
877
- # @return [String]
878
- attr_accessor :last_transition_time
879
-
880
- # Optional. Human readable message indicating details about the current status.
881
- # Corresponds to the JSON property `message`
882
- # @return [String]
883
- attr_accessor :message
884
-
885
- # Optional. One-word CamelCase reason for the condition's last transition.
886
- # Corresponds to the JSON property `reason`
887
- # @return [String]
888
- attr_accessor :reason
889
-
890
- # Optional. How to interpret failures of this condition, one of Error, Warning,
891
- # Info
892
- # Corresponds to the JSON property `severity`
893
- # @return [String]
894
- attr_accessor :severity
895
-
896
- # Status of the condition, one of True, False, Unknown.
897
- # Corresponds to the JSON property `status`
898
- # @return [String]
899
- attr_accessor :status
900
-
901
- # type is used to communicate the status of the reconciliation process. See also:
902
- # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-
903
- # conditions-and-reporting Types common to all resources include: * "Ready":
904
- # True when the Resource is ready.
905
- # Corresponds to the JSON property `type`
906
- # @return [String]
907
- attr_accessor :type
908
-
909
- def initialize(**args)
910
- update!(**args)
911
- end
912
-
913
- # Update properties of this object
914
- def update!(**args)
915
- @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
916
- @message = args[:message] if args.key?(:message)
917
- @reason = args[:reason] if args.key?(:reason)
918
- @severity = args[:severity] if args.key?(:severity)
919
- @status = args[:status] if args.key?(:status)
920
- @type = args[:type] if args.key?(:type)
921
- end
922
- end
923
-
924
245
  # ConfigMapEnvSource selects a ConfigMap to populate the environment variables
925
246
  # with. The contents of the target ConfigMap's Data field will represent the key-
926
247
  # value pairs as environment variables.
@@ -1490,34 +811,6 @@ module Google
1490
811
  end
1491
812
  end
1492
813
 
1493
- #
1494
- class Destination
1495
- include Google::Apis::Core::Hashable
1496
-
1497
- # ObjectReference contains enough information to let you inspect or modify the
1498
- # referred object.
1499
- # Corresponds to the JSON property `ref`
1500
- # @return [Google::Apis::RunV1alpha1::ObjectReference]
1501
- attr_accessor :ref
1502
-
1503
- # URI is for direct URI Designations or used with the resulting URL from
1504
- # Addressable ObjectReference. If used with an ObjectReference, will be appended
1505
- # to the path of the resulting URL from the Addressable. + optional
1506
- # Corresponds to the JSON property `uri`
1507
- # @return [String]
1508
- attr_accessor :uri
1509
-
1510
- def initialize(**args)
1511
- update!(**args)
1512
- end
1513
-
1514
- # Update properties of this object
1515
- def update!(**args)
1516
- @ref = args[:ref] if args.key?(:ref)
1517
- @uri = args[:uri] if args.key?(:uri)
1518
- end
1519
- end
1520
-
1521
814
  # Resource to hold the state and status of a user's domain mapping. NOTE: This
1522
815
  # resource is currently in Beta.
1523
816
  class DomainMapping
@@ -2488,203 +1781,26 @@ module Google
2488
1781
  update!(**args)
2489
1782
  end
2490
1783
 
2491
- # Update properties of this object
2492
- def update!(**args)
2493
- @post_start = args[:post_start] if args.key?(:post_start)
2494
- @pre_stop = args[:pre_stop] if args.key?(:pre_stop)
2495
- end
2496
- end
2497
-
2498
- # A list of Authorized Domains.
2499
- class ListAuthorizedDomainsResponse
2500
- include Google::Apis::Core::Hashable
2501
-
2502
- # The authorized domains belonging to the user.
2503
- # Corresponds to the JSON property `domains`
2504
- # @return [Array<Google::Apis::RunV1alpha1::AuthorizedDomain>]
2505
- attr_accessor :domains
2506
-
2507
- # Continuation token for fetching the next page of results.
2508
- # Corresponds to the JSON property `nextPageToken`
2509
- # @return [String]
2510
- attr_accessor :next_page_token
2511
-
2512
- def initialize(**args)
2513
- update!(**args)
2514
- end
2515
-
2516
- # Update properties of this object
2517
- def update!(**args)
2518
- @domains = args[:domains] if args.key?(:domains)
2519
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2520
- end
2521
- end
2522
-
2523
- # ListCloudAuditLogsSourcesResponse is a list of CloudAuditLogsSource resources.
2524
- class ListCloudAuditLogsSourcesResponse
2525
- include Google::Apis::Core::Hashable
2526
-
2527
- # The API version for this call such as "events.cloud.google.com/v1alpha1".
2528
- # Corresponds to the JSON property `apiVersion`
2529
- # @return [String]
2530
- attr_accessor :api_version
2531
-
2532
- # List of CloudAuditLogsSources.
2533
- # Corresponds to the JSON property `items`
2534
- # @return [Array<Google::Apis::RunV1alpha1::CloudAuditLogsSource>]
2535
- attr_accessor :items
2536
-
2537
- # The kind of this resource, in this case "CloudAuditLogsSourceList".
2538
- # Corresponds to the JSON property `kind`
2539
- # @return [String]
2540
- attr_accessor :kind
2541
-
2542
- # ListMeta describes metadata that synthetic resources must have, including
2543
- # lists and various status objects. A resource may have only one of `ObjectMeta,
2544
- # ListMeta`.
2545
- # Corresponds to the JSON property `metadata`
2546
- # @return [Google::Apis::RunV1alpha1::ListMeta]
2547
- attr_accessor :metadata
2548
-
2549
- # Locations that could not be reached.
2550
- # Corresponds to the JSON property `unreachable`
2551
- # @return [Array<String>]
2552
- attr_accessor :unreachable
2553
-
2554
- def initialize(**args)
2555
- update!(**args)
2556
- end
2557
-
2558
- # Update properties of this object
2559
- def update!(**args)
2560
- @api_version = args[:api_version] if args.key?(:api_version)
2561
- @items = args[:items] if args.key?(:items)
2562
- @kind = args[:kind] if args.key?(:kind)
2563
- @metadata = args[:metadata] if args.key?(:metadata)
2564
- @unreachable = args[:unreachable] if args.key?(:unreachable)
2565
- end
2566
- end
2567
-
2568
- # ListCloudPubSubSourcesResponse is a list of CloudPubSubSource resources.
2569
- class ListCloudPubSubSourcesResponse
2570
- include Google::Apis::Core::Hashable
2571
-
2572
- # The API version for this call such as "events.cloud.google.com/v1alpha1".
2573
- # Corresponds to the JSON property `apiVersion`
2574
- # @return [String]
2575
- attr_accessor :api_version
2576
-
2577
- # List of CloudPubSubSources.
2578
- # Corresponds to the JSON property `items`
2579
- # @return [Array<Google::Apis::RunV1alpha1::CloudPubSubSource>]
2580
- attr_accessor :items
2581
-
2582
- # The kind of this resource, in this case "CloudPubSubSourceList".
2583
- # Corresponds to the JSON property `kind`
2584
- # @return [String]
2585
- attr_accessor :kind
2586
-
2587
- # ListMeta describes metadata that synthetic resources must have, including
2588
- # lists and various status objects. A resource may have only one of `ObjectMeta,
2589
- # ListMeta`.
2590
- # Corresponds to the JSON property `metadata`
2591
- # @return [Google::Apis::RunV1alpha1::ListMeta]
2592
- attr_accessor :metadata
2593
-
2594
- # Locations that could not be reached.
2595
- # Corresponds to the JSON property `unreachable`
2596
- # @return [Array<String>]
2597
- attr_accessor :unreachable
2598
-
2599
- def initialize(**args)
2600
- update!(**args)
2601
- end
2602
-
2603
- # Update properties of this object
2604
- def update!(**args)
2605
- @api_version = args[:api_version] if args.key?(:api_version)
2606
- @items = args[:items] if args.key?(:items)
2607
- @kind = args[:kind] if args.key?(:kind)
2608
- @metadata = args[:metadata] if args.key?(:metadata)
2609
- @unreachable = args[:unreachable] if args.key?(:unreachable)
2610
- end
2611
- end
2612
-
2613
- # ListCloudSchedulerSourcesResponse is a list of CloudSchedulerSource resources.
2614
- class ListCloudSchedulerSourcesResponse
2615
- include Google::Apis::Core::Hashable
2616
-
2617
- # The API version for this call such as "events.cloud.google.com/v1alpha1".
2618
- # Corresponds to the JSON property `apiVersion`
2619
- # @return [String]
2620
- attr_accessor :api_version
2621
-
2622
- # List of CloudSchedulerSources.
2623
- # Corresponds to the JSON property `items`
2624
- # @return [Array<Google::Apis::RunV1alpha1::CloudSchedulerSource>]
2625
- attr_accessor :items
2626
-
2627
- # The kind of this resource, in this case "CloudSchedulerSourceList".
2628
- # Corresponds to the JSON property `kind`
2629
- # @return [String]
2630
- attr_accessor :kind
2631
-
2632
- # ListMeta describes metadata that synthetic resources must have, including
2633
- # lists and various status objects. A resource may have only one of `ObjectMeta,
2634
- # ListMeta`.
2635
- # Corresponds to the JSON property `metadata`
2636
- # @return [Google::Apis::RunV1alpha1::ListMeta]
2637
- attr_accessor :metadata
2638
-
2639
- # Locations that could not be reached.
2640
- # Corresponds to the JSON property `unreachable`
2641
- # @return [Array<String>]
2642
- attr_accessor :unreachable
2643
-
2644
- def initialize(**args)
2645
- update!(**args)
2646
- end
2647
-
2648
- # Update properties of this object
2649
- def update!(**args)
2650
- @api_version = args[:api_version] if args.key?(:api_version)
2651
- @items = args[:items] if args.key?(:items)
2652
- @kind = args[:kind] if args.key?(:kind)
2653
- @metadata = args[:metadata] if args.key?(:metadata)
2654
- @unreachable = args[:unreachable] if args.key?(:unreachable)
1784
+ # Update properties of this object
1785
+ def update!(**args)
1786
+ @post_start = args[:post_start] if args.key?(:post_start)
1787
+ @pre_stop = args[:pre_stop] if args.key?(:pre_stop)
2655
1788
  end
2656
1789
  end
2657
1790
 
2658
- # ListCloudStorageSourcesResponse is a list of CloudStorageSource resources.
2659
- class ListCloudStorageSourcesResponse
1791
+ # A list of Authorized Domains.
1792
+ class ListAuthorizedDomainsResponse
2660
1793
  include Google::Apis::Core::Hashable
2661
1794
 
2662
- # The API version for this call such as "events.cloud.google.com/v1alpha1".
2663
- # Corresponds to the JSON property `apiVersion`
2664
- # @return [String]
2665
- attr_accessor :api_version
2666
-
2667
- # List of CloudStorageSources.
2668
- # Corresponds to the JSON property `items`
2669
- # @return [Array<Google::Apis::RunV1alpha1::CloudStorageSource>]
2670
- attr_accessor :items
1795
+ # The authorized domains belonging to the user.
1796
+ # Corresponds to the JSON property `domains`
1797
+ # @return [Array<Google::Apis::RunV1alpha1::AuthorizedDomain>]
1798
+ attr_accessor :domains
2671
1799
 
2672
- # The kind of this resource, in this case "CloudStorageSourceList".
2673
- # Corresponds to the JSON property `kind`
1800
+ # Continuation token for fetching the next page of results.
1801
+ # Corresponds to the JSON property `nextPageToken`
2674
1802
  # @return [String]
2675
- attr_accessor :kind
2676
-
2677
- # ListMeta describes metadata that synthetic resources must have, including
2678
- # lists and various status objects. A resource may have only one of `ObjectMeta,
2679
- # ListMeta`.
2680
- # Corresponds to the JSON property `metadata`
2681
- # @return [Google::Apis::RunV1alpha1::ListMeta]
2682
- attr_accessor :metadata
2683
-
2684
- # Locations that could not be reached.
2685
- # Corresponds to the JSON property `unreachable`
2686
- # @return [Array<String>]
2687
- attr_accessor :unreachable
1803
+ attr_accessor :next_page_token
2688
1804
 
2689
1805
  def initialize(**args)
2690
1806
  update!(**args)
@@ -2692,11 +1808,8 @@ module Google
2692
1808
 
2693
1809
  # Update properties of this object
2694
1810
  def update!(**args)
2695
- @api_version = args[:api_version] if args.key?(:api_version)
2696
- @items = args[:items] if args.key?(:items)
2697
- @kind = args[:kind] if args.key?(:kind)
2698
- @metadata = args[:metadata] if args.key?(:metadata)
2699
- @unreachable = args[:unreachable] if args.key?(:unreachable)
1811
+ @domains = args[:domains] if args.key?(:domains)
1812
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2700
1813
  end
2701
1814
  end
2702
1815
 
@@ -3052,51 +2165,6 @@ module Google
3052
2165
  end
3053
2166
  end
3054
2167
 
3055
- # ListTriggersResponse is a list of Trigger resources.
3056
- class ListTriggersResponse
3057
- include Google::Apis::Core::Hashable
3058
-
3059
- # The API version for this call such as "eventing.knative.dev/v1alpha1".
3060
- # Corresponds to the JSON property `apiVersion`
3061
- # @return [String]
3062
- attr_accessor :api_version
3063
-
3064
- # List of Triggers.
3065
- # Corresponds to the JSON property `items`
3066
- # @return [Array<Google::Apis::RunV1alpha1::Trigger>]
3067
- attr_accessor :items
3068
-
3069
- # The kind of this resource, in this case "TriggerList".
3070
- # Corresponds to the JSON property `kind`
3071
- # @return [String]
3072
- attr_accessor :kind
3073
-
3074
- # ListMeta describes metadata that synthetic resources must have, including
3075
- # lists and various status objects. A resource may have only one of `ObjectMeta,
3076
- # ListMeta`.
3077
- # Corresponds to the JSON property `metadata`
3078
- # @return [Google::Apis::RunV1alpha1::ListMeta]
3079
- attr_accessor :metadata
3080
-
3081
- # Locations that could not be reached.
3082
- # Corresponds to the JSON property `unreachable`
3083
- # @return [Array<String>]
3084
- attr_accessor :unreachable
3085
-
3086
- def initialize(**args)
3087
- update!(**args)
3088
- end
3089
-
3090
- # Update properties of this object
3091
- def update!(**args)
3092
- @api_version = args[:api_version] if args.key?(:api_version)
3093
- @items = args[:items] if args.key?(:items)
3094
- @kind = args[:kind] if args.key?(:kind)
3095
- @metadata = args[:metadata] if args.key?(:metadata)
3096
- @unreachable = args[:unreachable] if args.key?(:unreachable)
3097
- end
3098
- end
3099
-
3100
2168
  # LocalObjectReference contains enough information to let you locate the
3101
2169
  # referenced object inside the same namespace.
3102
2170
  class LocalObjectReference
@@ -3340,75 +2408,6 @@ module Google
3340
2408
  end
3341
2409
  end
3342
2410
 
3343
- # ObjectReference contains enough information to let you inspect or modify the
3344
- # referred object.
3345
- class ObjectReference
3346
- include Google::Apis::Core::Hashable
3347
-
3348
- # API version of the referent. +optional
3349
- # Corresponds to the JSON property `apiVersion`
3350
- # @return [String]
3351
- attr_accessor :api_version
3352
-
3353
- # If referring to a piece of an object instead of an entire object, this string
3354
- # should contain a valid JSON/Go field access statement, such as desiredState.
3355
- # manifest.containers[2]. For example, if the object reference is to a container
3356
- # within a pod, this would take on a value like: "spec.containers`name`" (where "
3357
- # name" refers to the name of the container that triggered the event) or if no
3358
- # container name is specified "spec.containers[2]" (container with index 2 in
3359
- # this pod). This syntax is chosen only to have some well-defined way of
3360
- # referencing a part of an object.
3361
- # Corresponds to the JSON property `fieldPath`
3362
- # @return [String]
3363
- attr_accessor :field_path
3364
-
3365
- # Kind of the referent. More info: https://git.k8s.io/community/contributors/
3366
- # devel/api-conventions.md#types-kinds +optional
3367
- # Corresponds to the JSON property `kind`
3368
- # @return [String]
3369
- attr_accessor :kind
3370
-
3371
- # Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/
3372
- # working-with-objects/names/#names +optional
3373
- # Corresponds to the JSON property `name`
3374
- # @return [String]
3375
- attr_accessor :name
3376
-
3377
- # Namespace of the referent. More info: https://kubernetes.io/docs/concepts/
3378
- # overview/working-with-objects/namespaces/ +optional
3379
- # Corresponds to the JSON property `namespace`
3380
- # @return [String]
3381
- attr_accessor :namespace
3382
-
3383
- # Specific resourceVersion to which this reference is made, if any. More info:
3384
- # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
3385
- # control-and-consistency +optional
3386
- # Corresponds to the JSON property `resourceVersion`
3387
- # @return [String]
3388
- attr_accessor :resource_version
3389
-
3390
- # UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/
3391
- # working-with-objects/names/#uids +optional
3392
- # Corresponds to the JSON property `uid`
3393
- # @return [String]
3394
- attr_accessor :uid
3395
-
3396
- def initialize(**args)
3397
- update!(**args)
3398
- end
3399
-
3400
- # Update properties of this object
3401
- def update!(**args)
3402
- @api_version = args[:api_version] if args.key?(:api_version)
3403
- @field_path = args[:field_path] if args.key?(:field_path)
3404
- @kind = args[:kind] if args.key?(:kind)
3405
- @name = args[:name] if args.key?(:name)
3406
- @namespace = args[:namespace] if args.key?(:namespace)
3407
- @resource_version = args[:resource_version] if args.key?(:resource_version)
3408
- @uid = args[:uid] if args.key?(:uid)
3409
- end
3410
- end
3411
-
3412
2411
  # OwnerReference contains enough information to let you identify an owning
3413
2412
  # object. Currently, an owning object must be in the same namespace, so there is
3414
2413
  # no namespace field.
@@ -4991,192 +3990,6 @@ module Google
4991
3990
  end
4992
3991
  end
4993
3992
 
4994
- #
4995
- class Trigger
4996
- include Google::Apis::Core::Hashable
4997
-
4998
- # The API version for this call such as "eventing.knative.dev/v1alpha1".
4999
- # Corresponds to the JSON property `apiVersion`
5000
- # @return [String]
5001
- attr_accessor :api_version
5002
-
5003
- # The kind of resource, in this case "Trigger".
5004
- # Corresponds to the JSON property `kind`
5005
- # @return [String]
5006
- attr_accessor :kind
5007
-
5008
- # ObjectMeta is metadata that all persisted resources must have, which includes
5009
- # all objects users must create.
5010
- # Corresponds to the JSON property `metadata`
5011
- # @return [Google::Apis::RunV1alpha1::ObjectMeta]
5012
- attr_accessor :metadata
5013
-
5014
- # The desired state of the Trigger.
5015
- # Corresponds to the JSON property `spec`
5016
- # @return [Google::Apis::RunV1alpha1::TriggerSpec]
5017
- attr_accessor :spec
5018
-
5019
- # TriggerStatus represents the current state of a Trigger.
5020
- # Corresponds to the JSON property `status`
5021
- # @return [Google::Apis::RunV1alpha1::TriggerStatus]
5022
- attr_accessor :status
5023
-
5024
- def initialize(**args)
5025
- update!(**args)
5026
- end
5027
-
5028
- # Update properties of this object
5029
- def update!(**args)
5030
- @api_version = args[:api_version] if args.key?(:api_version)
5031
- @kind = args[:kind] if args.key?(:kind)
5032
- @metadata = args[:metadata] if args.key?(:metadata)
5033
- @spec = args[:spec] if args.key?(:spec)
5034
- @status = args[:status] if args.key?(:status)
5035
- end
5036
- end
5037
-
5038
- # TriggerCondition contains state information for an Trigger.
5039
- class TriggerCondition
5040
- include Google::Apis::Core::Hashable
5041
-
5042
- # Optional. Last time the condition transitioned from one status to another.
5043
- # Corresponds to the JSON property `lastTransitionTime`
5044
- # @return [String]
5045
- attr_accessor :last_transition_time
5046
-
5047
- # Optional. Human readable message indicating details about the current status.
5048
- # Corresponds to the JSON property `message`
5049
- # @return [String]
5050
- attr_accessor :message
5051
-
5052
- # Optional. One-word CamelCase reason for the condition's current status.
5053
- # Corresponds to the JSON property `reason`
5054
- # @return [String]
5055
- attr_accessor :reason
5056
-
5057
- # Optional. How to interpret failures of this condition, one of Error, Warning,
5058
- # Info
5059
- # Corresponds to the JSON property `severity`
5060
- # @return [String]
5061
- attr_accessor :severity
5062
-
5063
- # Status of the condition, one of True, False, Unknown.
5064
- # Corresponds to the JSON property `status`
5065
- # @return [String]
5066
- attr_accessor :status
5067
-
5068
- # Type of Trigger condition.
5069
- # Corresponds to the JSON property `type`
5070
- # @return [String]
5071
- attr_accessor :type
5072
-
5073
- def initialize(**args)
5074
- update!(**args)
5075
- end
5076
-
5077
- # Update properties of this object
5078
- def update!(**args)
5079
- @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
5080
- @message = args[:message] if args.key?(:message)
5081
- @reason = args[:reason] if args.key?(:reason)
5082
- @severity = args[:severity] if args.key?(:severity)
5083
- @status = args[:status] if args.key?(:status)
5084
- @type = args[:type] if args.key?(:type)
5085
- end
5086
- end
5087
-
5088
- #
5089
- class TriggerFilter
5090
- include Google::Apis::Core::Hashable
5091
-
5092
- # Optional. Attributes filters events by exact match on event context attributes.
5093
- # Each key in the map is compared with the equivalent key in the event context.
5094
- # An event passes the filter if all values are equal to the specified values.
5095
- # Nested context attributes are not supported as keys. Only string values are
5096
- # supported. Note that this field is optional in knative. In fully managed, '
5097
- # type' attribute is required due to different broker implementation.
5098
- # Corresponds to the JSON property `attributes`
5099
- # @return [Hash<String,String>]
5100
- attr_accessor :attributes
5101
-
5102
- def initialize(**args)
5103
- update!(**args)
5104
- end
5105
-
5106
- # Update properties of this object
5107
- def update!(**args)
5108
- @attributes = args[:attributes] if args.key?(:attributes)
5109
- end
5110
- end
5111
-
5112
- # The desired state of the Trigger.
5113
- class TriggerSpec
5114
- include Google::Apis::Core::Hashable
5115
-
5116
- # Broker is the broker that this trigger receives events from. If not specified,
5117
- # will default to 'default'. Not currently supported by Cloud Run.
5118
- # Corresponds to the JSON property `broker`
5119
- # @return [String]
5120
- attr_accessor :broker
5121
-
5122
- # Optional. Filter is the filter to apply against all events from the Broker.
5123
- # Only events that pass this filter will be sent to the Subscriber. Note that
5124
- # filter is optional in knative and is only required in fully managed due to
5125
- # different broker implementation.
5126
- # Corresponds to the JSON property `filter`
5127
- # @return [Google::Apis::RunV1alpha1::TriggerFilter]
5128
- attr_accessor :filter
5129
-
5130
- # Sink is the addressable that will receive events.
5131
- # Corresponds to the JSON property `subscriber`
5132
- # @return [Google::Apis::RunV1alpha1::Destination]
5133
- attr_accessor :subscriber
5134
-
5135
- def initialize(**args)
5136
- update!(**args)
5137
- end
5138
-
5139
- # Update properties of this object
5140
- def update!(**args)
5141
- @broker = args[:broker] if args.key?(:broker)
5142
- @filter = args[:filter] if args.key?(:filter)
5143
- @subscriber = args[:subscriber] if args.key?(:subscriber)
5144
- end
5145
- end
5146
-
5147
- # TriggerStatus represents the current state of a Trigger.
5148
- class TriggerStatus
5149
- include Google::Apis::Core::Hashable
5150
-
5151
- # Array of observed TriggerConditions, indicating the current state of the
5152
- # Trigger.
5153
- # Corresponds to the JSON property `conditions`
5154
- # @return [Array<Google::Apis::RunV1alpha1::TriggerCondition>]
5155
- attr_accessor :conditions
5156
-
5157
- # ObservedGeneration is the 'Generation' of the Trigger that was last processed
5158
- # by the controller.
5159
- # Corresponds to the JSON property `observedGeneration`
5160
- # @return [Fixnum]
5161
- attr_accessor :observed_generation
5162
-
5163
- # SubscriberURI is the resolved URI of the receiver for this Trigger.
5164
- # Corresponds to the JSON property `subscriberUri`
5165
- # @return [String]
5166
- attr_accessor :subscriber_uri
5167
-
5168
- def initialize(**args)
5169
- update!(**args)
5170
- end
5171
-
5172
- # Update properties of this object
5173
- def update!(**args)
5174
- @conditions = args[:conditions] if args.key?(:conditions)
5175
- @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
5176
- @subscriber_uri = args[:subscriber_uri] if args.key?(:subscriber_uri)
5177
- end
5178
- end
5179
-
5180
3993
  # Volume represents a named volume in a container.
5181
3994
  class Volume
5182
3995
  include Google::Apis::Core::Hashable