google-events 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/events/cloud/alloydb/v1/data_pb.rb +85 -0
- data/lib/google/events/cloud/alloydb/v1/events_pb.rb +56 -0
- data/lib/google/events/cloud/apigateway/v1/data_pb.rb +25 -77
- data/lib/google/events/cloud/apigateway/v1/events_pb.rb +25 -28
- data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +25 -90
- data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +25 -43
- data/lib/google/events/cloud/audit/v1/data_pb.rb +29 -91
- data/lib/google/events/cloud/audit/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +25 -44
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +25 -44
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +25 -37
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +25 -7
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +25 -47
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +25 -21
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +25 -7
- data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +26 -157
- data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +25 -43
- data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +26 -162
- data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/clouddms/v1/data_pb.rb +28 -241
- data/lib/google/events/cloud/clouddms/v1/events_pb.rb +25 -19
- data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +26 -195
- data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +25 -4
- data/lib/google/events/cloud/datafusion/v1/data_pb.rb +25 -107
- data/lib/google/events/cloud/datafusion/v1/events_pb.rb +25 -16
- data/lib/google/events/cloud/dataplex/v1/data_pb.rb +26 -603
- data/lib/google/events/cloud/dataplex/v1/events_pb.rb +25 -82
- data/lib/google/events/cloud/datastore/v1/data_pb.rb +59 -0
- data/lib/google/events/cloud/datastore/v1/events_pb.rb +51 -0
- data/lib/google/events/cloud/datastream/v1/data_pb.rb +26 -291
- data/lib/google/events/cloud/datastream/v1/events_pb.rb +25 -31
- data/lib/google/events/cloud/eventarc/v1/data_pb.rb +25 -89
- data/lib/google/events/cloud/eventarc/v1/events_pb.rb +25 -25
- data/lib/google/events/cloud/firestore/v1/data_pb.rb +26 -36
- data/lib/google/events/cloud/firestore/v1/events_pb.rb +25 -13
- data/lib/google/events/cloud/functions/v2/data_pb.rb +25 -155
- data/lib/google/events/cloud/functions/v2/events_pb.rb +25 -10
- data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +25 -189
- data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +25 -37
- data/lib/google/events/cloud/gkehub/v1/data_pb.rb +79 -0
- data/lib/google/events/cloud/gkehub/v1/events_pb.rb +58 -0
- data/lib/google/events/cloud/iot/v1/data_pb.rb +26 -132
- data/lib/google/events/cloud/iot/v1/events_pb.rb +25 -19
- data/lib/google/events/cloud/memcache/v1/data_pb.rb +27 -83
- data/lib/google/events/cloud/memcache/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/metastore/v1/data_pb.rb +88 -0
- data/lib/google/events/cloud/metastore/v1/events_pb.rb +57 -0
- data/lib/google/events/cloud/networkconnectivity/v1/data_pb.rb +76 -0
- data/lib/google/events/cloud/networkconnectivity/v1/events_pb.rb +63 -0
- data/lib/google/events/cloud/networkmanagement/v1/data_pb.rb +93 -0
- data/lib/google/events/cloud/networkmanagement/v1/events_pb.rb +50 -0
- data/lib/google/events/cloud/notebooks/v1/data_pb.rb +100 -0
- data/lib/google/events/cloud/notebooks/v1/events_pb.rb +58 -0
- data/lib/google/events/cloud/pubsub/v1/data_pb.rb +25 -12
- data/lib/google/events/cloud/pubsub/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/redis/v1/data_pb.rb +67 -0
- data/lib/google/events/cloud/redis/v1/events_pb.rb +50 -0
- data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -4
- data/lib/google/events/cloud/scheduler/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/storage/v1/data_pb.rb +25 -36
- data/lib/google/events/cloud/storage/v1/events_pb.rb +25 -13
- data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +96 -0
- data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +53 -0
- data/lib/google/events/cloud/visionai/v1/data_pb.rb +123 -0
- data/lib/google/events/cloud/visionai/v1/events_pb.rb +74 -0
- data/lib/google/events/cloud/vmmigration/v1/data_pb.rb +121 -0
- data/lib/google/events/cloud/vmmigration/v1/events_pb.rb +65 -0
- data/lib/google/events/cloud/workflows/v1/data_pb.rb +25 -22
- data/lib/google/events/cloud/workflows/v1/events_pb.rb +25 -10
- data/lib/google/events/cloudevent_pb.rb +24 -6
- data/lib/google/events/firebase/analytics/v1/data_pb.rb +24 -76
- data/lib/google/events/firebase/analytics/v1/events_pb.rb +25 -4
- data/lib/google/events/firebase/auth/v1/data_pb.rb +26 -24
- data/lib/google/events/firebase/auth/v1/events_pb.rb +25 -7
- data/lib/google/events/firebase/database/v1/data_pb.rb +25 -5
- data/lib/google/events/firebase/database/v1/events_pb.rb +25 -13
- data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +26 -79
- data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +26 -6
- data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +25 -4
- data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +25 -27
- data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +25 -4
- data/lib/google/events/firebase/testlab/v1/data_pb.rb +25 -35
- data/lib/google/events/firebase/testlab/v1/events_pb.rb +25 -4
- data/lib/google/events/version.rb +1 -1
- metadata +24 -2
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/events/cloud/certificatemanager/v1/events.proto
|
3
4
|
|
@@ -6,51 +7,32 @@ require 'google/protobuf'
|
|
6
7
|
require 'google/events/cloud/certificatemanager/v1/data_pb'
|
7
8
|
require 'google/events/cloudevent_pb'
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
end
|
32
|
-
add_message "google.events.cloud.certificatemanager.v1.CertificateMapEntryUpdatedEvent" do
|
33
|
-
optional :data, :message, 1, "google.events.cloud.certificatemanager.v1.CertificateMapEntryEventData"
|
34
|
-
end
|
35
|
-
add_message "google.events.cloud.certificatemanager.v1.CertificateMapEntryDeletedEvent" do
|
36
|
-
optional :data, :message, 1, "google.events.cloud.certificatemanager.v1.CertificateMapEntryEventData"
|
37
|
-
end
|
38
|
-
add_message "google.events.cloud.certificatemanager.v1.DnsAuthorizationCreatedEvent" do
|
39
|
-
optional :data, :message, 1, "google.events.cloud.certificatemanager.v1.DnsAuthorizationEventData"
|
40
|
-
end
|
41
|
-
add_message "google.events.cloud.certificatemanager.v1.DnsAuthorizationUpdatedEvent" do
|
42
|
-
optional :data, :message, 1, "google.events.cloud.certificatemanager.v1.DnsAuthorizationEventData"
|
43
|
-
end
|
44
|
-
add_message "google.events.cloud.certificatemanager.v1.DnsAuthorizationDeletedEvent" do
|
45
|
-
optional :data, :message, 1, "google.events.cloud.certificatemanager.v1.DnsAuthorizationEventData"
|
46
|
-
end
|
47
|
-
add_message "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfigCreatedEvent" do
|
48
|
-
optional :data, :message, 1, "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfigEventData"
|
49
|
-
end
|
50
|
-
add_message "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfigDeletedEvent" do
|
51
|
-
optional :data, :message, 1, "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfigEventData"
|
10
|
+
|
11
|
+
descriptor_data = "\n6google/events/cloud/certificatemanager/v1/events.proto\x12)google.events.cloud.certificatemanager.v1\x1a\x34google/events/cloud/certificatemanager/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xb5\x01\n\x17\x43\x65rtificateCreatedEvent\x12M\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32?.google.events.cloud.certificatemanager.v1.CertificateEventData:K\xb2\xf8\xd8,6google.cloud.certificatemanager.certificate.v1.created\xca\xf8\xd8,\x0b\x63\x65rtificate\"\xb5\x01\n\x17\x43\x65rtificateUpdatedEvent\x12M\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32?.google.events.cloud.certificatemanager.v1.CertificateEventData:K\xb2\xf8\xd8,6google.cloud.certificatemanager.certificate.v1.updated\xca\xf8\xd8,\x0b\x63\x65rtificate\"\xb5\x01\n\x17\x43\x65rtificateDeletedEvent\x12M\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32?.google.events.cloud.certificatemanager.v1.CertificateEventData:K\xb2\xf8\xd8,6google.cloud.certificatemanager.certificate.v1.deleted\xca\xf8\xd8,\x0b\x63\x65rtificate\"\xc1\x01\n\x1a\x43\x65rtificateMapCreatedEvent\x12P\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x42.google.events.cloud.certificatemanager.v1.CertificateMapEventData:Q\xb2\xf8\xd8,9google.cloud.certificatemanager.certificateMap.v1.created\xca\xf8\xd8,\x0e\x63\x65rtificatemap\"\xc1\x01\n\x1a\x43\x65rtificateMapUpdatedEvent\x12P\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x42.google.events.cloud.certificatemanager.v1.CertificateMapEventData:Q\xb2\xf8\xd8,9google.cloud.certificatemanager.certificateMap.v1.updated\xca\xf8\xd8,\x0e\x63\x65rtificatemap\"\xc1\x01\n\x1a\x43\x65rtificateMapDeletedEvent\x12P\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x42.google.events.cloud.certificatemanager.v1.CertificateMapEventData:Q\xb2\xf8\xd8,9google.cloud.certificatemanager.certificateMap.v1.deleted\xca\xf8\xd8,\x0e\x63\x65rtificatemap\"\xe8\x01\n\x1f\x43\x65rtificateMapEntryCreatedEvent\x12U\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32G.google.events.cloud.certificatemanager.v1.CertificateMapEntryEventData:n\xb2\xf8\xd8,>google.cloud.certificatemanager.certificateMapEntry.v1.created\xca\xf8\xd8,\x0e\x63\x65rtificatemap\xca\xf8\xd8,\x13\x63\x65rtificatemapentry\"\xe8\x01\n\x1f\x43\x65rtificateMapEntryUpdatedEvent\x12U\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32G.google.events.cloud.certificatemanager.v1.CertificateMapEntryEventData:n\xb2\xf8\xd8,>google.cloud.certificatemanager.certificateMapEntry.v1.updated\xca\xf8\xd8,\x0e\x63\x65rtificatemap\xca\xf8\xd8,\x13\x63\x65rtificatemapentry\"\xe8\x01\n\x1f\x43\x65rtificateMapEntryDeletedEvent\x12U\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32G.google.events.cloud.certificatemanager.v1.CertificateMapEntryEventData:n\xb2\xf8\xd8,>google.cloud.certificatemanager.certificateMapEntry.v1.deleted\xca\xf8\xd8,\x0e\x63\x65rtificatemap\xca\xf8\xd8,\x13\x63\x65rtificatemapentry\"\xc9\x01\n\x1c\x44nsAuthorizationCreatedEvent\x12R\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x44.google.events.cloud.certificatemanager.v1.DnsAuthorizationEventData:U\xb2\xf8\xd8,;google.cloud.certificatemanager.dnsAuthorization.v1.created\xca\xf8\xd8,\x10\x64nsauthorization\"\xc9\x01\n\x1c\x44nsAuthorizationUpdatedEvent\x12R\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x44.google.events.cloud.certificatemanager.v1.DnsAuthorizationEventData:U\xb2\xf8\xd8,;google.cloud.certificatemanager.dnsAuthorization.v1.updated\xca\xf8\xd8,\x10\x64nsauthorization\"\xc9\x01\n\x1c\x44nsAuthorizationDeletedEvent\x12R\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x44.google.events.cloud.certificatemanager.v1.DnsAuthorizationEventData:U\xb2\xf8\xd8,;google.cloud.certificatemanager.dnsAuthorization.v1.deleted\xca\xf8\xd8,\x10\x64nsauthorization\"\xed\x01\n%CertificateIssuanceConfigCreatedEvent\x12[\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32M.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfigEventData:g\xb2\xf8\xd8,Dgoogle.cloud.certificatemanager.certificateIssuanceConfig.v1.created\xca\xf8\xd8,\x19\x63\x65rtificateissuanceconfig\"\xed\x01\n%CertificateIssuanceConfigDeletedEvent\x12[\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32M.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfigEventData:g\xb2\xf8\xd8,Dgoogle.cloud.certificatemanager.certificateIssuanceConfig.v1.deleted\xca\xf8\xd8,\x19\x63\x65rtificateissuanceconfigB\xb3\x05\xaa\x02\x32Google.Events.Protobuf.Cloud.CertificateManager.V1\xca\x02)Google\\Events\\Cloud\\CertificateManager\\V1\xea\x02-Google::Events::Cloud::CertificateManager::V1\xba\xf8\xd8,\x13\x43\x65rtificate Manager\xc2\xf8\xd8,G\n\x0b\x63\x65rtificate\x12\x38The resource ID of the Certificate triggering the event.\xc2\xf8\xd8,]\n\x0e\x63\x65rtificatemap\x12;The resource ID of the CertificateMap triggering the event.\x1a\x0e\x63\x65rtificateMap\xc2\xf8\xd8,l\n\x13\x63\x65rtificatemapentry\x12@The resource ID of the CertificateMapEntry triggering the event.\x1a\x13\x63\x65rtificateMapEntry\xc2\xf8\xd8,c\n\x10\x64nsauthorization\x12=The resource ID of the DnsAuthorization triggering the event.\x1a\x10\x64nsAuthorization\xc2\xf8\xd8,~\n\x19\x63\x65rtificateissuanceconfig\x12\x46The resource ID of the CertificateIssuanceConfig triggering the event.\x1a\x19\x63\x65rtificateIssuanceConfigb\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError => e
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
["google.events.cloud.certificatemanager.v1.CertificateEventData", "google/events/cloud/certificatemanager/v1/data.proto"],
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
52
32
|
end
|
53
33
|
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
54
36
|
end
|
55
37
|
|
56
38
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/events/cloud/cloudbuild/v1/data.proto
|
3
4
|
|
@@ -6,170 +7,33 @@ require 'google/protobuf'
|
|
6
7
|
require 'google/protobuf/duration_pb'
|
7
8
|
require 'google/protobuf/timestamp_pb'
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
repeated :tags, :string, 31
|
33
|
-
repeated :secrets, :message, 32, "google.events.cloud.cloudbuild.v1.Secret"
|
34
|
-
map :timing, :string, :message, 33, "google.events.cloud.cloudbuild.v1.TimeSpan"
|
35
|
-
end
|
36
|
-
add_enum "google.events.cloud.cloudbuild.v1.BuildEventData.Status" do
|
37
|
-
value :STATUS_UNKNOWN, 0
|
38
|
-
value :QUEUED, 1
|
39
|
-
value :WORKING, 2
|
40
|
-
value :SUCCESS, 3
|
41
|
-
value :FAILURE, 4
|
42
|
-
value :INTERNAL_ERROR, 5
|
43
|
-
value :TIMEOUT, 6
|
44
|
-
value :CANCELLED, 7
|
45
|
-
value :EXPIRED, 9
|
46
|
-
end
|
47
|
-
add_message "google.events.cloud.cloudbuild.v1.Source" do
|
48
|
-
oneof :source do
|
49
|
-
optional :storage_source, :message, 2, "google.events.cloud.cloudbuild.v1.StorageSource"
|
50
|
-
optional :repo_source, :message, 3, "google.events.cloud.cloudbuild.v1.RepoSource"
|
51
|
-
end
|
52
|
-
end
|
53
|
-
add_message "google.events.cloud.cloudbuild.v1.StorageSource" do
|
54
|
-
optional :bucket, :string, 1
|
55
|
-
optional :object, :string, 2
|
56
|
-
optional :generation, :int64, 3
|
57
|
-
end
|
58
|
-
add_message "google.events.cloud.cloudbuild.v1.RepoSource" do
|
59
|
-
optional :project_id, :string, 1
|
60
|
-
optional :repo_name, :string, 2
|
61
|
-
optional :dir, :string, 7
|
62
|
-
optional :invert_regex, :bool, 8
|
63
|
-
map :substitutions, :string, :string, 9
|
64
|
-
oneof :revision do
|
65
|
-
optional :branch_name, :string, 3
|
66
|
-
optional :tag_name, :string, 4
|
67
|
-
optional :commit_sha, :string, 5
|
68
|
-
end
|
69
|
-
end
|
70
|
-
add_message "google.events.cloud.cloudbuild.v1.BuildStep" do
|
71
|
-
optional :name, :string, 1
|
72
|
-
repeated :env, :string, 2
|
73
|
-
repeated :args, :string, 3
|
74
|
-
optional :dir, :string, 4
|
75
|
-
optional :id, :string, 5
|
76
|
-
repeated :wait_for, :string, 6
|
77
|
-
optional :entrypoint, :string, 7
|
78
|
-
repeated :secret_env, :string, 8
|
79
|
-
repeated :volumes, :message, 9, "google.events.cloud.cloudbuild.v1.Volume"
|
80
|
-
optional :timing, :message, 10, "google.events.cloud.cloudbuild.v1.TimeSpan"
|
81
|
-
optional :pull_timing, :message, 13, "google.events.cloud.cloudbuild.v1.TimeSpan"
|
82
|
-
optional :timeout, :message, 11, "google.protobuf.Duration"
|
83
|
-
optional :status, :enum, 12, "google.events.cloud.cloudbuild.v1.BuildEventData.Status"
|
84
|
-
end
|
85
|
-
add_message "google.events.cloud.cloudbuild.v1.Volume" do
|
86
|
-
optional :name, :string, 1
|
87
|
-
optional :path, :string, 2
|
88
|
-
end
|
89
|
-
add_message "google.events.cloud.cloudbuild.v1.Results" do
|
90
|
-
repeated :images, :message, 2, "google.events.cloud.cloudbuild.v1.BuiltImage"
|
91
|
-
repeated :build_step_images, :string, 3
|
92
|
-
optional :artifact_manifest, :string, 4
|
93
|
-
optional :num_artifacts, :int64, 5
|
94
|
-
repeated :build_step_outputs, :bytes, 6
|
95
|
-
optional :artifact_timing, :message, 7, "google.events.cloud.cloudbuild.v1.TimeSpan"
|
96
|
-
end
|
97
|
-
add_message "google.events.cloud.cloudbuild.v1.BuiltImage" do
|
98
|
-
optional :name, :string, 1
|
99
|
-
optional :digest, :string, 3
|
100
|
-
optional :push_timing, :message, 4, "google.events.cloud.cloudbuild.v1.TimeSpan"
|
101
|
-
end
|
102
|
-
add_message "google.events.cloud.cloudbuild.v1.Artifacts" do
|
103
|
-
repeated :images, :string, 1
|
104
|
-
optional :objects, :message, 2, "google.events.cloud.cloudbuild.v1.Artifacts.ArtifactObjects"
|
105
|
-
end
|
106
|
-
add_message "google.events.cloud.cloudbuild.v1.Artifacts.ArtifactObjects" do
|
107
|
-
optional :location, :string, 1
|
108
|
-
repeated :paths, :string, 2
|
109
|
-
optional :timing, :message, 3, "google.events.cloud.cloudbuild.v1.TimeSpan"
|
110
|
-
end
|
111
|
-
add_message "google.events.cloud.cloudbuild.v1.TimeSpan" do
|
112
|
-
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
113
|
-
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
114
|
-
end
|
115
|
-
add_message "google.events.cloud.cloudbuild.v1.SourceProvenance" do
|
116
|
-
optional :resolved_storage_source, :message, 3, "google.events.cloud.cloudbuild.v1.StorageSource"
|
117
|
-
optional :resolved_repo_source, :message, 6, "google.events.cloud.cloudbuild.v1.RepoSource"
|
118
|
-
map :file_hashes, :string, :message, 4, "google.events.cloud.cloudbuild.v1.FileHashes"
|
119
|
-
end
|
120
|
-
add_message "google.events.cloud.cloudbuild.v1.FileHashes" do
|
121
|
-
repeated :file_hash, :message, 1, "google.events.cloud.cloudbuild.v1.Hash"
|
122
|
-
end
|
123
|
-
add_message "google.events.cloud.cloudbuild.v1.Hash" do
|
124
|
-
optional :type, :enum, 1, "google.events.cloud.cloudbuild.v1.Hash.HashType"
|
125
|
-
optional :value, :bytes, 2
|
126
|
-
end
|
127
|
-
add_enum "google.events.cloud.cloudbuild.v1.Hash.HashType" do
|
128
|
-
value :NONE, 0
|
129
|
-
value :SHA256, 1
|
130
|
-
value :MD5, 2
|
131
|
-
end
|
132
|
-
add_message "google.events.cloud.cloudbuild.v1.Secret" do
|
133
|
-
optional :kms_key_name, :string, 1
|
134
|
-
map :secret_env, :string, :bytes, 3
|
135
|
-
end
|
136
|
-
add_message "google.events.cloud.cloudbuild.v1.BuildOptions" do
|
137
|
-
repeated :source_provenance_hash, :enum, 1, "google.events.cloud.cloudbuild.v1.Hash.HashType"
|
138
|
-
optional :requested_verify_option, :enum, 2, "google.events.cloud.cloudbuild.v1.BuildOptions.VerifyOption"
|
139
|
-
optional :machine_type, :enum, 3, "google.events.cloud.cloudbuild.v1.BuildOptions.MachineType"
|
140
|
-
optional :disk_size_gb, :int64, 6
|
141
|
-
optional :substitution_option, :enum, 4, "google.events.cloud.cloudbuild.v1.BuildOptions.SubstitutionOption"
|
142
|
-
optional :log_streaming_option, :enum, 5, "google.events.cloud.cloudbuild.v1.BuildOptions.LogStreamingOption"
|
143
|
-
optional :worker_pool, :string, 7
|
144
|
-
optional :logging, :enum, 11, "google.events.cloud.cloudbuild.v1.BuildOptions.LoggingMode"
|
145
|
-
repeated :env, :string, 12
|
146
|
-
repeated :secret_env, :string, 13
|
147
|
-
repeated :volumes, :message, 14, "google.events.cloud.cloudbuild.v1.Volume"
|
148
|
-
end
|
149
|
-
add_enum "google.events.cloud.cloudbuild.v1.BuildOptions.VerifyOption" do
|
150
|
-
value :NOT_VERIFIED, 0
|
151
|
-
value :VERIFIED, 1
|
152
|
-
end
|
153
|
-
add_enum "google.events.cloud.cloudbuild.v1.BuildOptions.MachineType" do
|
154
|
-
value :UNSPECIFIED, 0
|
155
|
-
value :N1_HIGHCPU_8, 1
|
156
|
-
value :N1_HIGHCPU_32, 2
|
157
|
-
end
|
158
|
-
add_enum "google.events.cloud.cloudbuild.v1.BuildOptions.SubstitutionOption" do
|
159
|
-
value :MUST_MATCH, 0
|
160
|
-
value :ALLOW_LOOSE, 1
|
161
|
-
end
|
162
|
-
add_enum "google.events.cloud.cloudbuild.v1.BuildOptions.LogStreamingOption" do
|
163
|
-
value :STREAM_DEFAULT, 0
|
164
|
-
value :STREAM_ON, 1
|
165
|
-
value :STREAM_OFF, 2
|
166
|
-
end
|
167
|
-
add_enum "google.events.cloud.cloudbuild.v1.BuildOptions.LoggingMode" do
|
168
|
-
value :LOGGING_UNSPECIFIED, 0
|
169
|
-
value :LEGACY, 1
|
170
|
-
value :GCS_ONLY, 2
|
10
|
+
|
11
|
+
descriptor_data = "\n,google/events/cloud/cloudbuild/v1/data.proto\x12!google.events.cloud.cloudbuild.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\n\n\x0e\x42uildEventData\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x10 \x01(\t\x12H\n\x06status\x18\x02 \x01(\x0e\x32\x38.google.events.cloud.cloudbuild.v1.BuildEventData.Status\x12\x15\n\rstatus_detail\x18\x18 \x01(\t\x12\x39\n\x06source\x18\x03 \x01(\x0b\x32).google.events.cloud.cloudbuild.v1.Source\x12;\n\x05steps\x18\x0b \x03(\x0b\x32,.google.events.cloud.cloudbuild.v1.BuildStep\x12;\n\x07results\x18\n \x01(\x0b\x32*.google.events.cloud.cloudbuild.v1.Results\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x07timeout\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06images\x18\r \x03(\t\x12,\n\tqueue_ttl\x18( \x01(\x0b\x32\x19.google.protobuf.Duration\x12?\n\tartifacts\x18% \x01(\x0b\x32,.google.events.cloud.cloudbuild.v1.Artifacts\x12\x13\n\x0blogs_bucket\x18\x13 \x01(\t\x12N\n\x11source_provenance\x18\x15 \x01(\x0b\x32\x33.google.events.cloud.cloudbuild.v1.SourceProvenance\x12\x18\n\x10\x62uild_trigger_id\x18\x16 \x01(\t\x12@\n\x07options\x18\x17 \x01(\x0b\x32/.google.events.cloud.cloudbuild.v1.BuildOptions\x12\x0f\n\x07log_url\x18\x19 \x01(\t\x12[\n\rsubstitutions\x18\x1d \x03(\x0b\x32\x44.google.events.cloud.cloudbuild.v1.BuildEventData.SubstitutionsEntry\x12\x0c\n\x04tags\x18\x1f \x03(\t\x12:\n\x07secrets\x18 \x03(\x0b\x32).google.events.cloud.cloudbuild.v1.Secret\x12M\n\x06timing\x18! \x03(\x0b\x32=.google.events.cloud.cloudbuild.v1.BuildEventData.TimingEntry\x1a\x34\n\x12SubstitutionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aZ\n\x0bTimingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.events.cloud.cloudbuild.v1.TimeSpan:\x02\x38\x01\"\x8c\x01\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\n\n\x06QUEUED\x10\x01\x12\x0b\n\x07WORKING\x10\x02\x12\x0b\n\x07SUCCESS\x10\x03\x12\x0b\n\x07\x46\x41ILURE\x10\x04\x12\x12\n\x0eINTERNAL_ERROR\x10\x05\x12\x0b\n\x07TIMEOUT\x10\x06\x12\r\n\tCANCELLED\x10\x07\x12\x0b\n\x07\x45XPIRED\x10\t\"\xa4\x01\n\x06Source\x12J\n\x0estorage_source\x18\x02 \x01(\x0b\x32\x30.google.events.cloud.cloudbuild.v1.StorageSourceH\x00\x12\x44\n\x0brepo_source\x18\x03 \x01(\x0b\x32-.google.events.cloud.cloudbuild.v1.RepoSourceH\x00\x42\x08\n\x06source\"C\n\rStorageSource\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x0e\n\x06object\x18\x02 \x01(\t\x12\x12\n\ngeneration\x18\x03 \x01(\x03\"\xb2\x02\n\nRepoSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x11\n\trepo_name\x18\x02 \x01(\t\x12\x15\n\x0b\x62ranch_name\x18\x03 \x01(\tH\x00\x12\x12\n\x08tag_name\x18\x04 \x01(\tH\x00\x12\x14\n\ncommit_sha\x18\x05 \x01(\tH\x00\x12\x0b\n\x03\x64ir\x18\x07 \x01(\t\x12\x14\n\x0cinvert_regex\x18\x08 \x01(\x08\x12W\n\rsubstitutions\x18\t \x03(\x0b\x32@.google.events.cloud.cloudbuild.v1.RepoSource.SubstitutionsEntry\x1a\x34\n\x12SubstitutionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08revision\"\xb8\x03\n\tBuildStep\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x65nv\x18\x02 \x03(\t\x12\x0c\n\x04\x61rgs\x18\x03 \x03(\t\x12\x0b\n\x03\x64ir\x18\x04 \x01(\t\x12\n\n\x02id\x18\x05 \x01(\t\x12\x10\n\x08wait_for\x18\x06 \x03(\t\x12\x12\n\nentrypoint\x18\x07 \x01(\t\x12\x12\n\nsecret_env\x18\x08 \x03(\t\x12:\n\x07volumes\x18\t \x03(\x0b\x32).google.events.cloud.cloudbuild.v1.Volume\x12;\n\x06timing\x18\n \x01(\x0b\x32+.google.events.cloud.cloudbuild.v1.TimeSpan\x12@\n\x0bpull_timing\x18\r \x01(\x0b\x32+.google.events.cloud.cloudbuild.v1.TimeSpan\x12*\n\x07timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12H\n\x06status\x18\x0c \x01(\x0e\x32\x38.google.events.cloud.cloudbuild.v1.BuildEventData.Status\"$\n\x06Volume\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"\xf7\x01\n\x07Results\x12=\n\x06images\x18\x02 \x03(\x0b\x32-.google.events.cloud.cloudbuild.v1.BuiltImage\x12\x19\n\x11\x62uild_step_images\x18\x03 \x03(\t\x12\x19\n\x11\x61rtifact_manifest\x18\x04 \x01(\t\x12\x15\n\rnum_artifacts\x18\x05 \x01(\x03\x12\x1a\n\x12\x62uild_step_outputs\x18\x06 \x03(\x0c\x12\x44\n\x0f\x61rtifact_timing\x18\x07 \x01(\x0b\x32+.google.events.cloud.cloudbuild.v1.TimeSpan\"l\n\nBuiltImage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x64igest\x18\x03 \x01(\t\x12@\n\x0bpush_timing\x18\x04 \x01(\x0b\x32+.google.events.cloud.cloudbuild.v1.TimeSpan\"\xdb\x01\n\tArtifacts\x12\x0e\n\x06images\x18\x01 \x03(\t\x12M\n\x07objects\x18\x02 \x01(\x0b\x32<.google.events.cloud.cloudbuild.v1.Artifacts.ArtifactObjects\x1ao\n\x0f\x41rtifactObjects\x12\x10\n\x08location\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\x12;\n\x06timing\x18\x03 \x01(\x0b\x32+.google.events.cloud.cloudbuild.v1.TimeSpan\"h\n\x08TimeSpan\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xee\x02\n\x10SourceProvenance\x12Q\n\x17resolved_storage_source\x18\x03 \x01(\x0b\x32\x30.google.events.cloud.cloudbuild.v1.StorageSource\x12K\n\x14resolved_repo_source\x18\x06 \x01(\x0b\x32-.google.events.cloud.cloudbuild.v1.RepoSource\x12X\n\x0b\x66ile_hashes\x18\x04 \x03(\x0b\x32\x43.google.events.cloud.cloudbuild.v1.SourceProvenance.FileHashesEntry\x1a`\n\x0f\x46ileHashesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.google.events.cloud.cloudbuild.v1.FileHashes:\x02\x38\x01\"H\n\nFileHashes\x12:\n\tfile_hash\x18\x01 \x03(\x0b\x32\'.google.events.cloud.cloudbuild.v1.Hash\"\x80\x01\n\x04Hash\x12>\n\x04type\x18\x01 \x01(\x0e\x32\x30.google.events.cloud.cloudbuild.v1.Hash.HashType\x12\r\n\x05value\x18\x02 \x01(\x0c\")\n\x08HashType\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\x07\n\x03MD5\x10\x02\"\x9e\x01\n\x06Secret\x12\x14\n\x0ckms_key_name\x18\x01 \x01(\t\x12L\n\nsecret_env\x18\x03 \x03(\x0b\x32\x38.google.events.cloud.cloudbuild.v1.Secret.SecretEnvEntry\x1a\x30\n\x0eSecretEnvEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\xe2\x07\n\x0c\x42uildOptions\x12P\n\x16source_provenance_hash\x18\x01 \x03(\x0e\x32\x30.google.events.cloud.cloudbuild.v1.Hash.HashType\x12]\n\x17requested_verify_option\x18\x02 \x01(\x0e\x32<.google.events.cloud.cloudbuild.v1.BuildOptions.VerifyOption\x12Q\n\x0cmachine_type\x18\x03 \x01(\x0e\x32;.google.events.cloud.cloudbuild.v1.BuildOptions.MachineType\x12\x14\n\x0c\x64isk_size_gb\x18\x06 \x01(\x03\x12_\n\x13substitution_option\x18\x04 \x01(\x0e\x32\x42.google.events.cloud.cloudbuild.v1.BuildOptions.SubstitutionOption\x12`\n\x14log_streaming_option\x18\x05 \x01(\x0e\x32\x42.google.events.cloud.cloudbuild.v1.BuildOptions.LogStreamingOption\x12\x13\n\x0bworker_pool\x18\x07 \x01(\t\x12L\n\x07logging\x18\x0b \x01(\x0e\x32;.google.events.cloud.cloudbuild.v1.BuildOptions.LoggingMode\x12\x0b\n\x03\x65nv\x18\x0c \x03(\t\x12\x12\n\nsecret_env\x18\r \x03(\t\x12:\n\x07volumes\x18\x0e \x03(\x0b\x32).google.events.cloud.cloudbuild.v1.Volume\".\n\x0cVerifyOption\x12\x10\n\x0cNOT_VERIFIED\x10\x00\x12\x0c\n\x08VERIFIED\x10\x01\"C\n\x0bMachineType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x10\n\x0cN1_HIGHCPU_8\x10\x01\x12\x11\n\rN1_HIGHCPU_32\x10\x02\"5\n\x12SubstitutionOption\x12\x0e\n\nMUST_MATCH\x10\x00\x12\x0f\n\x0b\x41LLOW_LOOSE\x10\x01\"G\n\x12LogStreamingOption\x12\x12\n\x0eSTREAM_DEFAULT\x10\x00\x12\r\n\tSTREAM_ON\x10\x01\x12\x0e\n\nSTREAM_OFF\x10\x02\"@\n\x0bLoggingMode\x12\x17\n\x13LOGGING_UNSPECIFIED\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x0c\n\x08GCS_ONLY\x10\x02\x42y\xaa\x02*Google.Events.Protobuf.Cloud.CloudBuild.V1\xca\x02!Google\\Events\\Cloud\\CloudBuild\\V1\xea\x02%Google::Events::Cloud::CloudBuild::V1b\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError => e
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
27
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
28
|
+
]
|
29
|
+
imports.each do |type_name, expected_filename|
|
30
|
+
import_file = pool.lookup(type_name).file_descriptor
|
31
|
+
if import_file.name != expected_filename
|
32
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
171
33
|
end
|
172
34
|
end
|
35
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
36
|
+
warn "This will become an error in the next major version."
|
173
37
|
end
|
174
38
|
|
175
39
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/events/cloud/cloudbuild/v1/events.proto
|
3
4
|
|
@@ -6,12 +7,32 @@ require 'google/protobuf'
|
|
6
7
|
require 'google/events/cloud/cloudbuild/v1/data_pb'
|
7
8
|
require 'google/events/cloudevent_pb'
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
|
11
|
+
descriptor_data = "\n.google/events/cloud/cloudbuild/v1/events.proto\x12!google.events.cloud.cloudbuild.v1\x1a,google/events/cloud/cloudbuild/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x87\x01\n\x0f\x43loudBuildEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.cloudbuild.v1.BuildEventData:3\xb2\xf8\xd8,.google.cloud.cloudbuild.build.v1.statusChangedB\x89\x01\xaa\x02*Google.Events.Protobuf.Cloud.CloudBuild.V1\xca\x02!Google\\Events\\Cloud\\CloudBuild\\V1\xea\x02%Google::Events::Cloud::CloudBuild::V1\xba\xf8\xd8,\x0b\x43loud Buildb\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError => e
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
["google.events.cloud.cloudbuild.v1.BuildEventData", "google/events/cloud/cloudbuild/v1/data.proto"],
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
13
32
|
end
|
14
33
|
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
15
36
|
end
|
16
37
|
|
17
38
|
module Google
|