google-cloud-eventarc-v1 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/eventarc/v1/bindings_override.rb +96 -0
- data/lib/google/cloud/eventarc/v1/channel_pb.rb +1 -1
- data/lib/google/cloud/eventarc/v1/enrollment_pb.rb +47 -0
- data/lib/google/cloud/eventarc/v1/eventarc/client.rb +2565 -174
- data/lib/google/cloud/eventarc/v1/eventarc/paths.rb +112 -0
- data/lib/google/cloud/eventarc/v1/eventarc/rest/client.rb +2420 -180
- data/lib/google/cloud/eventarc/v1/eventarc/rest/service_stub.rb +1335 -88
- data/lib/google/cloud/eventarc/v1/eventarc_pb.rb +35 -1
- data/lib/google/cloud/eventarc/v1/eventarc_services_pb.rb +42 -0
- data/lib/google/cloud/eventarc/v1/google_api_source_pb.rb +50 -0
- data/lib/google/cloud/eventarc/v1/logging_config_pb.rb +45 -0
- data/lib/google/cloud/eventarc/v1/message_bus_pb.rb +49 -0
- data/lib/google/cloud/eventarc/v1/network_config_pb.rb +45 -0
- data/lib/google/cloud/eventarc/v1/pipeline_pb.rb +65 -0
- data/lib/google/cloud/eventarc/v1/trigger_pb.rb +4 -1
- data/lib/google/cloud/eventarc/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +20 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/cloud/eventarc/v1/channel.rb +5 -1
- data/proto_docs/google/cloud/eventarc/v1/discovery.rb +8 -7
- data/proto_docs/google/cloud/eventarc/v1/enrollment.rb +95 -0
- data/proto_docs/google/cloud/eventarc/v1/eventarc.rb +522 -8
- data/proto_docs/google/cloud/eventarc/v1/google_api_source.rb +95 -0
- data/proto_docs/google/cloud/eventarc/v1/logging_config.rb +78 -0
- data/proto_docs/google/cloud/eventarc/v1/message_bus.rb +94 -0
- data/proto_docs/google/cloud/eventarc/v1/network_config.rb +37 -0
- data/proto_docs/google/cloud/eventarc/v1/pipeline.rb +583 -0
- data/proto_docs/google/cloud/eventarc/v1/trigger.rb +76 -35
- metadata +16 -3
@@ -90,7 +90,7 @@ module Google
|
|
90
90
|
# Required. The user-provided ID to be assigned to the trigger.
|
91
91
|
# @!attribute [rw] validate_only
|
92
92
|
# @return [::Boolean]
|
93
|
-
#
|
93
|
+
# Optional. If set, validate the request and preview the review, but do not
|
94
94
|
# post it.
|
95
95
|
class CreateTriggerRequest
|
96
96
|
include ::Google::Protobuf::MessageExts
|
@@ -112,7 +112,7 @@ module Google
|
|
112
112
|
# created. In this situation, `update_mask` is ignored.
|
113
113
|
# @!attribute [rw] validate_only
|
114
114
|
# @return [::Boolean]
|
115
|
-
#
|
115
|
+
# Optional. If set, validate the request and preview the review, but do not
|
116
116
|
# post it.
|
117
117
|
class UpdateTriggerRequest
|
118
118
|
include ::Google::Protobuf::MessageExts
|
@@ -133,7 +133,7 @@ module Google
|
|
133
133
|
# but no action will be taken on the server.
|
134
134
|
# @!attribute [rw] validate_only
|
135
135
|
# @return [::Boolean]
|
136
|
-
#
|
136
|
+
# Optional. If set, validate the request and preview the review, but do not
|
137
137
|
# post it.
|
138
138
|
class DeleteTriggerRequest
|
139
139
|
include ::Google::Protobuf::MessageExts
|
@@ -204,7 +204,7 @@ module Google
|
|
204
204
|
# Required. The user-provided ID to be assigned to the channel.
|
205
205
|
# @!attribute [rw] validate_only
|
206
206
|
# @return [::Boolean]
|
207
|
-
#
|
207
|
+
# Optional. If set, validate the request and preview the review, but do not
|
208
208
|
# post it.
|
209
209
|
class CreateChannelRequest
|
210
210
|
include ::Google::Protobuf::MessageExts
|
@@ -222,7 +222,7 @@ module Google
|
|
222
222
|
# updated. To update all fields, provide a field mask of "*".
|
223
223
|
# @!attribute [rw] validate_only
|
224
224
|
# @return [::Boolean]
|
225
|
-
#
|
225
|
+
# Optional. If set, validate the request and preview the review, but do not
|
226
226
|
# post it.
|
227
227
|
class UpdateChannelRequest
|
228
228
|
include ::Google::Protobuf::MessageExts
|
@@ -235,7 +235,7 @@ module Google
|
|
235
235
|
# Required. The name of the channel to be deleted.
|
236
236
|
# @!attribute [rw] validate_only
|
237
237
|
# @return [::Boolean]
|
238
|
-
#
|
238
|
+
# Optional. If set, validate the request and preview the review, but do not
|
239
239
|
# post it.
|
240
240
|
class DeleteChannelRequest
|
241
241
|
include ::Google::Protobuf::MessageExts
|
@@ -390,6 +390,519 @@ module Google
|
|
390
390
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
391
391
|
end
|
392
392
|
|
393
|
+
# The request message for the GetMessageBus method.
|
394
|
+
# @!attribute [rw] name
|
395
|
+
# @return [::String]
|
396
|
+
# Required. The name of the message bus to get.
|
397
|
+
class GetMessageBusRequest
|
398
|
+
include ::Google::Protobuf::MessageExts
|
399
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
400
|
+
end
|
401
|
+
|
402
|
+
# The request message for the ListMessageBuses method.
|
403
|
+
# @!attribute [rw] parent
|
404
|
+
# @return [::String]
|
405
|
+
# Required. The parent collection to list triggers on.
|
406
|
+
# @!attribute [rw] page_size
|
407
|
+
# @return [::Integer]
|
408
|
+
# Optional. The maximum number of results to return on each page.
|
409
|
+
#
|
410
|
+
# Note: The service may send fewer.
|
411
|
+
# @!attribute [rw] page_token
|
412
|
+
# @return [::String]
|
413
|
+
# Optional. The page token; provide the value from the `next_page_token`
|
414
|
+
# field in a previous call to retrieve the subsequent page.
|
415
|
+
#
|
416
|
+
# When paginating, all other parameters provided must match
|
417
|
+
# the previous call that provided the page token.
|
418
|
+
# @!attribute [rw] order_by
|
419
|
+
# @return [::String]
|
420
|
+
# Optional. The sorting order of the resources returned. Value should be a
|
421
|
+
# comma-separated list of fields. The default sorting order is ascending. To
|
422
|
+
# specify descending order for a field, append a `desc` suffix; for example:
|
423
|
+
# `name desc, update_time`.
|
424
|
+
# @!attribute [rw] filter
|
425
|
+
# @return [::String]
|
426
|
+
# Optional. The filter field that the list request will filter on.
|
427
|
+
# Possible filtersare described in https://google.aip.dev/160.
|
428
|
+
class ListMessageBusesRequest
|
429
|
+
include ::Google::Protobuf::MessageExts
|
430
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
431
|
+
end
|
432
|
+
|
433
|
+
# The response message for the `ListMessageBuses` method.
|
434
|
+
# @!attribute [rw] message_buses
|
435
|
+
# @return [::Array<::Google::Cloud::Eventarc::V1::MessageBus>]
|
436
|
+
# The requested message buses, up to the number specified in `page_size`.
|
437
|
+
# @!attribute [rw] next_page_token
|
438
|
+
# @return [::String]
|
439
|
+
# A page token that can be sent to `ListMessageBuses` to request the next
|
440
|
+
# page. If this is empty, then there are no more pages.
|
441
|
+
# @!attribute [rw] unreachable
|
442
|
+
# @return [::Array<::String>]
|
443
|
+
# Unreachable resources, if any.
|
444
|
+
class ListMessageBusesResponse
|
445
|
+
include ::Google::Protobuf::MessageExts
|
446
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
447
|
+
end
|
448
|
+
|
449
|
+
# The request message for the `ListMessageBusEnrollments` method.
|
450
|
+
# @!attribute [rw] parent
|
451
|
+
# @return [::String]
|
452
|
+
# Required. The parent message bus to list enrollments on.
|
453
|
+
# @!attribute [rw] page_size
|
454
|
+
# @return [::Integer]
|
455
|
+
# Optional. The maximum number of results to return on each page.
|
456
|
+
#
|
457
|
+
# Note: The service may send fewer.
|
458
|
+
# @!attribute [rw] page_token
|
459
|
+
# @return [::String]
|
460
|
+
# Optional. The page token; provide the value from the `next_page_token`
|
461
|
+
# field in a previous call to retrieve the subsequent page.
|
462
|
+
#
|
463
|
+
# When paginating, all other parameters provided must match
|
464
|
+
# the previous call that provided the page token.
|
465
|
+
class ListMessageBusEnrollmentsRequest
|
466
|
+
include ::Google::Protobuf::MessageExts
|
467
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
468
|
+
end
|
469
|
+
|
470
|
+
# The response message for the `ListMessageBusEnrollments` method.`
|
471
|
+
# @!attribute [rw] enrollments
|
472
|
+
# @return [::Array<::String>]
|
473
|
+
# The requested enrollments, up to the number specified in `page_size`.
|
474
|
+
# @!attribute [rw] next_page_token
|
475
|
+
# @return [::String]
|
476
|
+
# A page token that can be sent to `ListMessageBusEnrollments` to request the
|
477
|
+
# next page. If this is empty, then there are no more pages.
|
478
|
+
# @!attribute [rw] unreachable
|
479
|
+
# @return [::Array<::String>]
|
480
|
+
# Unreachable resources, if any.
|
481
|
+
class ListMessageBusEnrollmentsResponse
|
482
|
+
include ::Google::Protobuf::MessageExts
|
483
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
484
|
+
end
|
485
|
+
|
486
|
+
# The request message for the CreateMessageBus method.
|
487
|
+
# @!attribute [rw] parent
|
488
|
+
# @return [::String]
|
489
|
+
# Required. The parent collection in which to add this message bus.
|
490
|
+
# @!attribute [rw] message_bus
|
491
|
+
# @return [::Google::Cloud::Eventarc::V1::MessageBus]
|
492
|
+
# Required. The message bus to create.
|
493
|
+
# @!attribute [rw] message_bus_id
|
494
|
+
# @return [::String]
|
495
|
+
# Required. The user-provided ID to be assigned to the MessageBus. It should
|
496
|
+
# match the format (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$)
|
497
|
+
# @!attribute [rw] validate_only
|
498
|
+
# @return [::Boolean]
|
499
|
+
# Optional. If set, validate the request and preview the review, but do not
|
500
|
+
# post it.
|
501
|
+
class CreateMessageBusRequest
|
502
|
+
include ::Google::Protobuf::MessageExts
|
503
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
504
|
+
end
|
505
|
+
|
506
|
+
# The request message for the UpdateMessageBus method.
|
507
|
+
# @!attribute [rw] message_bus
|
508
|
+
# @return [::Google::Cloud::Eventarc::V1::MessageBus]
|
509
|
+
# Required. The MessageBus to be updated.
|
510
|
+
# @!attribute [rw] update_mask
|
511
|
+
# @return [::Google::Protobuf::FieldMask]
|
512
|
+
# Optional. The fields to be updated; only fields explicitly provided are
|
513
|
+
# updated. If no field mask is provided, all provided fields in the request
|
514
|
+
# are updated. To update all fields, provide a field mask of "*".
|
515
|
+
# @!attribute [rw] allow_missing
|
516
|
+
# @return [::Boolean]
|
517
|
+
# Optional. If set to true, and the MessageBus is not found, a new MessageBus
|
518
|
+
# will be created. In this situation, `update_mask` is ignored.
|
519
|
+
# @!attribute [rw] validate_only
|
520
|
+
# @return [::Boolean]
|
521
|
+
# Optional. If set, validate the request and preview the review, but do not
|
522
|
+
# post it.
|
523
|
+
class UpdateMessageBusRequest
|
524
|
+
include ::Google::Protobuf::MessageExts
|
525
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
526
|
+
end
|
527
|
+
|
528
|
+
# The request message for the DeleteMessageBus method.
|
529
|
+
# @!attribute [rw] name
|
530
|
+
# @return [::String]
|
531
|
+
# Required. The name of the MessageBus to be deleted.
|
532
|
+
# @!attribute [rw] etag
|
533
|
+
# @return [::String]
|
534
|
+
# Optional. If provided, the MessageBus will only be deleted if the etag
|
535
|
+
# matches the current etag on the resource.
|
536
|
+
# @!attribute [rw] allow_missing
|
537
|
+
# @return [::Boolean]
|
538
|
+
# Optional. If set to true, and the MessageBus is not found, the request will
|
539
|
+
# succeed but no action will be taken on the server.
|
540
|
+
# @!attribute [rw] validate_only
|
541
|
+
# @return [::Boolean]
|
542
|
+
# Optional. If set, validate the request and preview the review, but do not
|
543
|
+
# post it.
|
544
|
+
class DeleteMessageBusRequest
|
545
|
+
include ::Google::Protobuf::MessageExts
|
546
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
547
|
+
end
|
548
|
+
|
549
|
+
# The request message for the GetEnrollment method.
|
550
|
+
# @!attribute [rw] name
|
551
|
+
# @return [::String]
|
552
|
+
# Required. The name of the Enrollment to get.
|
553
|
+
class GetEnrollmentRequest
|
554
|
+
include ::Google::Protobuf::MessageExts
|
555
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
556
|
+
end
|
557
|
+
|
558
|
+
# The request message for the ListEnrollments method.
|
559
|
+
# @!attribute [rw] parent
|
560
|
+
# @return [::String]
|
561
|
+
# Required. The parent collection to list triggers on.
|
562
|
+
# @!attribute [rw] page_size
|
563
|
+
# @return [::Integer]
|
564
|
+
# Optional. The maximum number of results to return on each page.
|
565
|
+
#
|
566
|
+
# Note: The service may send fewer.
|
567
|
+
# @!attribute [rw] page_token
|
568
|
+
# @return [::String]
|
569
|
+
# Optional. The page token; provide the value from the `next_page_token`
|
570
|
+
# field in a previous call to retrieve the subsequent page.
|
571
|
+
#
|
572
|
+
# When paginating, all other parameters provided must match
|
573
|
+
# the previous call that provided the page token.
|
574
|
+
# @!attribute [rw] order_by
|
575
|
+
# @return [::String]
|
576
|
+
# Optional. The sorting order of the resources returned. Value should be a
|
577
|
+
# comma-separated list of fields. The default sorting order is ascending. To
|
578
|
+
# specify descending order for a field, append a `desc` suffix; for example:
|
579
|
+
# `name desc, update_time`.
|
580
|
+
# @!attribute [rw] filter
|
581
|
+
# @return [::String]
|
582
|
+
# Optional. The filter field that the list request will filter on.
|
583
|
+
# Possible filtersare described in https://google.aip.dev/160.
|
584
|
+
class ListEnrollmentsRequest
|
585
|
+
include ::Google::Protobuf::MessageExts
|
586
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
587
|
+
end
|
588
|
+
|
589
|
+
# The response message for the `ListEnrollments` method.
|
590
|
+
# @!attribute [rw] enrollments
|
591
|
+
# @return [::Array<::Google::Cloud::Eventarc::V1::Enrollment>]
|
592
|
+
# The requested Enrollments, up to the number specified in `page_size`.
|
593
|
+
# @!attribute [rw] next_page_token
|
594
|
+
# @return [::String]
|
595
|
+
# A page token that can be sent to `ListEnrollments` to request the next
|
596
|
+
# page. If this is empty, then there are no more pages.
|
597
|
+
# @!attribute [rw] unreachable
|
598
|
+
# @return [::Array<::String>]
|
599
|
+
# Unreachable resources, if any.
|
600
|
+
class ListEnrollmentsResponse
|
601
|
+
include ::Google::Protobuf::MessageExts
|
602
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
603
|
+
end
|
604
|
+
|
605
|
+
# The request message for the CreateEnrollment method.
|
606
|
+
# @!attribute [rw] parent
|
607
|
+
# @return [::String]
|
608
|
+
# Required. The parent collection in which to add this enrollment.
|
609
|
+
# @!attribute [rw] enrollment
|
610
|
+
# @return [::Google::Cloud::Eventarc::V1::Enrollment]
|
611
|
+
# Required. The enrollment to create.
|
612
|
+
# @!attribute [rw] enrollment_id
|
613
|
+
# @return [::String]
|
614
|
+
# Required. The user-provided ID to be assigned to the Enrollment. It should
|
615
|
+
# match the format (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$).
|
616
|
+
# @!attribute [rw] validate_only
|
617
|
+
# @return [::Boolean]
|
618
|
+
# Optional. If set, validate the request and preview the review, but do not
|
619
|
+
# post it.
|
620
|
+
class CreateEnrollmentRequest
|
621
|
+
include ::Google::Protobuf::MessageExts
|
622
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
623
|
+
end
|
624
|
+
|
625
|
+
# The request message for the UpdateEnrollment method.
|
626
|
+
# @!attribute [rw] enrollment
|
627
|
+
# @return [::Google::Cloud::Eventarc::V1::Enrollment]
|
628
|
+
# Required. The Enrollment to be updated.
|
629
|
+
# @!attribute [rw] update_mask
|
630
|
+
# @return [::Google::Protobuf::FieldMask]
|
631
|
+
# Optional. The fields to be updated; only fields explicitly provided are
|
632
|
+
# updated. If no field mask is provided, all provided fields in the request
|
633
|
+
# are updated. To update all fields, provide a field mask of "*".
|
634
|
+
# @!attribute [rw] allow_missing
|
635
|
+
# @return [::Boolean]
|
636
|
+
# Optional. If set to true, and the Enrollment is not found, a new Enrollment
|
637
|
+
# will be created. In this situation, `update_mask` is ignored.
|
638
|
+
# @!attribute [rw] validate_only
|
639
|
+
# @return [::Boolean]
|
640
|
+
# Optional. If set, validate the request and preview the review, but do not
|
641
|
+
# post it.
|
642
|
+
class UpdateEnrollmentRequest
|
643
|
+
include ::Google::Protobuf::MessageExts
|
644
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
645
|
+
end
|
646
|
+
|
647
|
+
# The request message for the DeleteEnrollment method.
|
648
|
+
# @!attribute [rw] name
|
649
|
+
# @return [::String]
|
650
|
+
# Required. The name of the Enrollment to be deleted.
|
651
|
+
# @!attribute [rw] etag
|
652
|
+
# @return [::String]
|
653
|
+
# Optional. If provided, the Enrollment will only be deleted if the etag
|
654
|
+
# matches the current etag on the resource.
|
655
|
+
# @!attribute [rw] allow_missing
|
656
|
+
# @return [::Boolean]
|
657
|
+
# Optional. If set to true, and the Enrollment is not found, the request will
|
658
|
+
# succeed but no action will be taken on the server.
|
659
|
+
# @!attribute [rw] validate_only
|
660
|
+
# @return [::Boolean]
|
661
|
+
# Optional. If set, validate the request and preview the review, but do not
|
662
|
+
# post it.
|
663
|
+
class DeleteEnrollmentRequest
|
664
|
+
include ::Google::Protobuf::MessageExts
|
665
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
666
|
+
end
|
667
|
+
|
668
|
+
# The request message for the GetPipeline method.
|
669
|
+
# @!attribute [rw] name
|
670
|
+
# @return [::String]
|
671
|
+
# Required. The name of the pipeline to get.
|
672
|
+
class GetPipelineRequest
|
673
|
+
include ::Google::Protobuf::MessageExts
|
674
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
675
|
+
end
|
676
|
+
|
677
|
+
# The request message for the ListPipelines method.
|
678
|
+
# @!attribute [rw] parent
|
679
|
+
# @return [::String]
|
680
|
+
# Required. The parent collection to list pipelines on.
|
681
|
+
# @!attribute [rw] page_size
|
682
|
+
# @return [::Integer]
|
683
|
+
# Optional. The maximum number of results to return on each page.
|
684
|
+
#
|
685
|
+
# Note: The service may send fewer.
|
686
|
+
# @!attribute [rw] page_token
|
687
|
+
# @return [::String]
|
688
|
+
# Optional. The page token; provide the value from the `next_page_token`
|
689
|
+
# field in a previous call to retrieve the subsequent page.
|
690
|
+
#
|
691
|
+
# When paginating, all other parameters provided must match
|
692
|
+
# the previous call that provided the page token.
|
693
|
+
# @!attribute [rw] order_by
|
694
|
+
# @return [::String]
|
695
|
+
# Optional. The sorting order of the resources returned. Value should be a
|
696
|
+
# comma-separated list of fields. The default sorting order is ascending. To
|
697
|
+
# specify descending order for a field, append a `desc` suffix; for example:
|
698
|
+
# `name desc, update_time`.
|
699
|
+
# @!attribute [rw] filter
|
700
|
+
# @return [::String]
|
701
|
+
# Optional. The filter field that the list request will filter on.
|
702
|
+
# Possible filters are described in https://google.aip.dev/160.
|
703
|
+
class ListPipelinesRequest
|
704
|
+
include ::Google::Protobuf::MessageExts
|
705
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
706
|
+
end
|
707
|
+
|
708
|
+
# The response message for the ListPipelines method.
|
709
|
+
# @!attribute [rw] pipelines
|
710
|
+
# @return [::Array<::Google::Cloud::Eventarc::V1::Pipeline>]
|
711
|
+
# The requested pipelines, up to the number specified in `page_size`.
|
712
|
+
# @!attribute [rw] next_page_token
|
713
|
+
# @return [::String]
|
714
|
+
# A page token that can be sent to `ListPipelines` to request the next
|
715
|
+
# page. If this is empty, then there are no more pages.
|
716
|
+
# @!attribute [rw] unreachable
|
717
|
+
# @return [::Array<::String>]
|
718
|
+
# Unreachable resources, if any.
|
719
|
+
class ListPipelinesResponse
|
720
|
+
include ::Google::Protobuf::MessageExts
|
721
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
722
|
+
end
|
723
|
+
|
724
|
+
# The request message for the CreatePipeline method.
|
725
|
+
# @!attribute [rw] parent
|
726
|
+
# @return [::String]
|
727
|
+
# Required. The parent collection in which to add this pipeline.
|
728
|
+
# @!attribute [rw] pipeline
|
729
|
+
# @return [::Google::Cloud::Eventarc::V1::Pipeline]
|
730
|
+
# Required. The pipeline to create.
|
731
|
+
# @!attribute [rw] pipeline_id
|
732
|
+
# @return [::String]
|
733
|
+
# Required. The user-provided ID to be assigned to the Pipeline.
|
734
|
+
# @!attribute [rw] validate_only
|
735
|
+
# @return [::Boolean]
|
736
|
+
# Optional. If set, validate the request and preview the review, but do not
|
737
|
+
# post it.
|
738
|
+
class CreatePipelineRequest
|
739
|
+
include ::Google::Protobuf::MessageExts
|
740
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
741
|
+
end
|
742
|
+
|
743
|
+
# The request message for the UpdatePipeline method.
|
744
|
+
# @!attribute [rw] pipeline
|
745
|
+
# @return [::Google::Cloud::Eventarc::V1::Pipeline]
|
746
|
+
# Required. The Pipeline to be updated.
|
747
|
+
# @!attribute [rw] update_mask
|
748
|
+
# @return [::Google::Protobuf::FieldMask]
|
749
|
+
# Optional. The fields to be updated; only fields explicitly provided are
|
750
|
+
# updated. If no field mask is provided, all provided fields in the request
|
751
|
+
# are updated. To update all fields, provide a field mask of "*".
|
752
|
+
# @!attribute [rw] allow_missing
|
753
|
+
# @return [::Boolean]
|
754
|
+
# Optional. If set to true, and the Pipeline is not found, a new Pipeline
|
755
|
+
# will be created. In this situation, `update_mask` is ignored.
|
756
|
+
# @!attribute [rw] validate_only
|
757
|
+
# @return [::Boolean]
|
758
|
+
# Optional. If set, validate the request and preview the review, but do not
|
759
|
+
# post it.
|
760
|
+
class UpdatePipelineRequest
|
761
|
+
include ::Google::Protobuf::MessageExts
|
762
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
763
|
+
end
|
764
|
+
|
765
|
+
# The request message for the DeletePipeline method.
|
766
|
+
# @!attribute [rw] name
|
767
|
+
# @return [::String]
|
768
|
+
# Required. The name of the Pipeline to be deleted.
|
769
|
+
# @!attribute [rw] etag
|
770
|
+
# @return [::String]
|
771
|
+
# Optional. If provided, the Pipeline will only be deleted if the etag
|
772
|
+
# matches the current etag on the resource.
|
773
|
+
# @!attribute [rw] allow_missing
|
774
|
+
# @return [::Boolean]
|
775
|
+
# Optional. If set to true, and the Pipeline is not found, the request will
|
776
|
+
# succeed but no action will be taken on the server.
|
777
|
+
# @!attribute [rw] validate_only
|
778
|
+
# @return [::Boolean]
|
779
|
+
# Optional. If set, validate the request and preview the review, but do not
|
780
|
+
# post it.
|
781
|
+
class DeletePipelineRequest
|
782
|
+
include ::Google::Protobuf::MessageExts
|
783
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
784
|
+
end
|
785
|
+
|
786
|
+
# The request message for the GetGoogleApiSource method.
|
787
|
+
# @!attribute [rw] name
|
788
|
+
# @return [::String]
|
789
|
+
# Required. The name of the google api source to get.
|
790
|
+
class GetGoogleApiSourceRequest
|
791
|
+
include ::Google::Protobuf::MessageExts
|
792
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
793
|
+
end
|
794
|
+
|
795
|
+
# The request message for the ListGoogleApiSources method.
|
796
|
+
# @!attribute [rw] parent
|
797
|
+
# @return [::String]
|
798
|
+
# Required. The parent collection to list GoogleApiSources on.
|
799
|
+
# @!attribute [rw] page_size
|
800
|
+
# @return [::Integer]
|
801
|
+
# Optional. The maximum number of results to return on each page.
|
802
|
+
#
|
803
|
+
# Note: The service may send fewer.
|
804
|
+
# @!attribute [rw] page_token
|
805
|
+
# @return [::String]
|
806
|
+
# Optional. The page token; provide the value from the `next_page_token`
|
807
|
+
# field in a previous call to retrieve the subsequent page.
|
808
|
+
#
|
809
|
+
# When paginating, all other parameters provided must match
|
810
|
+
# the previous call that provided the page token.
|
811
|
+
# @!attribute [rw] order_by
|
812
|
+
# @return [::String]
|
813
|
+
# Optional. The sorting order of the resources returned. Value should be a
|
814
|
+
# comma-separated list of fields. The default sorting order is ascending. To
|
815
|
+
# specify descending order for a field, append a `desc` suffix; for example:
|
816
|
+
# `name desc, update_time`.
|
817
|
+
# @!attribute [rw] filter
|
818
|
+
# @return [::String]
|
819
|
+
# Optional. The filter field that the list request will filter on.
|
820
|
+
# Possible filtersare described in https://google.aip.dev/160.
|
821
|
+
class ListGoogleApiSourcesRequest
|
822
|
+
include ::Google::Protobuf::MessageExts
|
823
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
824
|
+
end
|
825
|
+
|
826
|
+
# The response message for the `ListGoogleApiSources` method.
|
827
|
+
# @!attribute [rw] google_api_sources
|
828
|
+
# @return [::Array<::Google::Cloud::Eventarc::V1::GoogleApiSource>]
|
829
|
+
# The requested GoogleApiSources, up to the number specified in `page_size`.
|
830
|
+
# @!attribute [rw] next_page_token
|
831
|
+
# @return [::String]
|
832
|
+
# A page token that can be sent to `ListMessageBusEnrollments` to request the
|
833
|
+
# next page. If this is empty, then there are no more pages.
|
834
|
+
# @!attribute [rw] unreachable
|
835
|
+
# @return [::Array<::String>]
|
836
|
+
# Unreachable resources, if any.
|
837
|
+
class ListGoogleApiSourcesResponse
|
838
|
+
include ::Google::Protobuf::MessageExts
|
839
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
840
|
+
end
|
841
|
+
|
842
|
+
# The request message for the CreateGoogleApiSource method.
|
843
|
+
# @!attribute [rw] parent
|
844
|
+
# @return [::String]
|
845
|
+
# Required. The parent collection in which to add this google api source.
|
846
|
+
# @!attribute [rw] google_api_source
|
847
|
+
# @return [::Google::Cloud::Eventarc::V1::GoogleApiSource]
|
848
|
+
# Required. The google api source to create.
|
849
|
+
# @!attribute [rw] google_api_source_id
|
850
|
+
# @return [::String]
|
851
|
+
# Required. The user-provided ID to be assigned to the GoogleApiSource. It
|
852
|
+
# should match the format (^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$).
|
853
|
+
# @!attribute [rw] validate_only
|
854
|
+
# @return [::Boolean]
|
855
|
+
# Optional. If set, validate the request and preview the review, but do not
|
856
|
+
# post it.
|
857
|
+
class CreateGoogleApiSourceRequest
|
858
|
+
include ::Google::Protobuf::MessageExts
|
859
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
860
|
+
end
|
861
|
+
|
862
|
+
# The request message for the UpdateGoogleApiSource method.
|
863
|
+
# @!attribute [rw] google_api_source
|
864
|
+
# @return [::Google::Cloud::Eventarc::V1::GoogleApiSource]
|
865
|
+
# Required. The GoogleApiSource to be updated.
|
866
|
+
# @!attribute [rw] update_mask
|
867
|
+
# @return [::Google::Protobuf::FieldMask]
|
868
|
+
# Optional. The fields to be updated; only fields explicitly provided are
|
869
|
+
# updated. If no field mask is provided, all provided fields in the request
|
870
|
+
# are updated. To update all fields, provide a field mask of "*".
|
871
|
+
# @!attribute [rw] allow_missing
|
872
|
+
# @return [::Boolean]
|
873
|
+
# Optional. If set to true, and the GoogleApiSource is not found, a new
|
874
|
+
# GoogleApiSource will be created. In this situation, `update_mask` is
|
875
|
+
# ignored.
|
876
|
+
# @!attribute [rw] validate_only
|
877
|
+
# @return [::Boolean]
|
878
|
+
# Optional. If set, validate the request and preview the review, but do not
|
879
|
+
# post it.
|
880
|
+
class UpdateGoogleApiSourceRequest
|
881
|
+
include ::Google::Protobuf::MessageExts
|
882
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
883
|
+
end
|
884
|
+
|
885
|
+
# The request message for the DeleteGoogleApiSource method.
|
886
|
+
# @!attribute [rw] name
|
887
|
+
# @return [::String]
|
888
|
+
# Required. The name of the GoogleApiSource to be deleted.
|
889
|
+
# @!attribute [rw] etag
|
890
|
+
# @return [::String]
|
891
|
+
# Optional. If provided, the MessageBus will only be deleted if the etag
|
892
|
+
# matches the current etag on the resource.
|
893
|
+
# @!attribute [rw] allow_missing
|
894
|
+
# @return [::Boolean]
|
895
|
+
# Optional. If set to true, and the MessageBus is not found, the request will
|
896
|
+
# succeed but no action will be taken on the server.
|
897
|
+
# @!attribute [rw] validate_only
|
898
|
+
# @return [::Boolean]
|
899
|
+
# Optional. If set, validate the request and preview the review, but do not
|
900
|
+
# post it.
|
901
|
+
class DeleteGoogleApiSourceRequest
|
902
|
+
include ::Google::Protobuf::MessageExts
|
903
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
904
|
+
end
|
905
|
+
|
393
906
|
# Represents the metadata of the long-running operation.
|
394
907
|
# @!attribute [r] create_time
|
395
908
|
# @return [::Google::Protobuf::Timestamp]
|
@@ -410,8 +923,9 @@ module Google
|
|
410
923
|
# @return [::Boolean]
|
411
924
|
# Output only. Identifies whether the user has requested cancellation
|
412
925
|
# of the operation. Operations that have successfully been cancelled
|
413
|
-
# have [Operation.error][] value with a
|
414
|
-
# corresponding to
|
926
|
+
# have [Operation.error][] value with a
|
927
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
928
|
+
# `Code.CANCELLED`.
|
415
929
|
# @!attribute [r] api_version
|
416
930
|
# @return [::String]
|
417
931
|
# Output only. API version used to start the operation.
|
@@ -0,0 +1,95 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Eventarc
|
23
|
+
module V1
|
24
|
+
# A GoogleApiSource represents a subscription of 1P events from a MessageBus.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Identifier. Resource name of the form
|
28
|
+
# projects/\\{project}/locations/\\{location}/googleApiSources/\\{google_api_source}
|
29
|
+
# @!attribute [r] uid
|
30
|
+
# @return [::String]
|
31
|
+
# Output only. Server assigned unique identifier for the channel. The value
|
32
|
+
# is a UUID4 string and guaranteed to remain unchanged until the resource is
|
33
|
+
# deleted.
|
34
|
+
# @!attribute [r] etag
|
35
|
+
# @return [::String]
|
36
|
+
# Output only. This checksum is computed by the server based on the value of
|
37
|
+
# other fields, and might be sent only on update and delete requests to
|
38
|
+
# ensure that the client has an up-to-date value before proceeding.
|
39
|
+
# @!attribute [r] create_time
|
40
|
+
# @return [::Google::Protobuf::Timestamp]
|
41
|
+
# Output only. The creation time.
|
42
|
+
# @!attribute [r] update_time
|
43
|
+
# @return [::Google::Protobuf::Timestamp]
|
44
|
+
# Output only. The last-modified time.
|
45
|
+
# @!attribute [rw] labels
|
46
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
47
|
+
# Optional. Resource labels.
|
48
|
+
# @!attribute [rw] annotations
|
49
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
50
|
+
# Optional. Resource annotations.
|
51
|
+
# @!attribute [rw] display_name
|
52
|
+
# @return [::String]
|
53
|
+
# Optional. Resource display name.
|
54
|
+
# @!attribute [rw] destination
|
55
|
+
# @return [::String]
|
56
|
+
# Required. Destination is the message bus that the GoogleApiSource is
|
57
|
+
# delivering to. It must be point to the full resource name of a MessageBus.
|
58
|
+
# Format:
|
59
|
+
# "projects/\\{PROJECT_ID}/locations/\\{region}/messagesBuses/{MESSAGE_BUS_ID)
|
60
|
+
# @!attribute [rw] crypto_key_name
|
61
|
+
# @return [::String]
|
62
|
+
# Optional. Resource name of a KMS crypto key (managed by the user) used to
|
63
|
+
# encrypt/decrypt their event data.
|
64
|
+
#
|
65
|
+
# It must match the pattern
|
66
|
+
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
67
|
+
# @!attribute [rw] logging_config
|
68
|
+
# @return [::Google::Cloud::Eventarc::V1::LoggingConfig]
|
69
|
+
# Optional. Config to control Platform logging for the GoogleApiSource.
|
70
|
+
class GoogleApiSource
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
|
74
|
+
# @!attribute [rw] key
|
75
|
+
# @return [::String]
|
76
|
+
# @!attribute [rw] value
|
77
|
+
# @return [::String]
|
78
|
+
class LabelsEntry
|
79
|
+
include ::Google::Protobuf::MessageExts
|
80
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
81
|
+
end
|
82
|
+
|
83
|
+
# @!attribute [rw] key
|
84
|
+
# @return [::String]
|
85
|
+
# @!attribute [rw] value
|
86
|
+
# @return [::String]
|
87
|
+
class AnnotationsEntry
|
88
|
+
include ::Google::Protobuf::MessageExts
|
89
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|