google-events 0.2.0 → 0.3.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 +7 -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/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/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/pubsub/v1/data_pb.rb +25 -12
- data/lib/google/events/cloud/pubsub/v1/events_pb.rb +25 -4
- 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/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 +4 -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/beyondcorp/clientgateways/v1/data.proto
|
3
4
|
|
@@ -5,29 +6,32 @@ require 'google/protobuf'
|
|
5
6
|
|
6
7
|
require 'google/protobuf/timestamp_pb'
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
9
|
+
|
10
|
+
descriptor_data = "\n;google/events/cloud/beyondcorp/clientgateways/v1/data.proto\x12\x30google.events.cloud.beyondcorp.clientgateways.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xef\x02\n\rClientGateway\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12T\n\x05state\x18\x04 \x01(\x0e\x32\x45.google.events.cloud.beyondcorp.clientgateways.v1.ClientGateway.State\x12\n\n\x02id\x18\x05 \x01(\t\x12 \n\x18\x63lient_connector_service\x18\x06 \x01(\t\"j\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08UPDATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0b\n\x07RUNNING\x10\x04\x12\x08\n\x04\x44OWN\x10\x05\x12\t\n\x05\x45RROR\x10\x06\"{\n\x16\x43lientGatewayEventData\x12U\n\x07payload\x18\x01 \x01(\x0b\x32?.google.events.cloud.beyondcorp.clientgateways.v1.ClientGatewayH\x00\x88\x01\x01\x42\n\n\x08_payloadB\xa7\x01\xaa\x02\x39Google.Events.Protobuf.Cloud.BeyondCorp.ClientGateways.V1\xca\x02\x30Google\\Events\\Cloud\\BeyondCorp\\ClientGateways\\V1\xea\x02\x35Google::Events::Cloud::BeyondCorp::ClientGateways::V1b\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
|
14
|
+
begin
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
rescue TypeError => e
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
+
parsed.clear_dependency
|
21
|
+
serialized = parsed.class.encode(parsed)
|
22
|
+
file = pool.add_serialized_file(serialized)
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
+
imports = [
|
25
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
26
|
+
]
|
27
|
+
imports.each do |type_name, expected_filename|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
29
|
+
if import_file.name != expected_filename
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
29
31
|
end
|
30
32
|
end
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
+
warn "This will become an error in the next major version."
|
31
35
|
end
|
32
36
|
|
33
37
|
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/beyondcorp/clientgateways/v1/events.proto
|
3
4
|
|
@@ -6,15 +7,32 @@ require 'google/protobuf'
|
|
6
7
|
require 'google/events/cloud/beyondcorp/clientgateways/v1/data_pb'
|
7
8
|
require 'google/events/cloudevent_pb'
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
10
|
+
|
11
|
+
descriptor_data = "\n=google/events/cloud/beyondcorp/clientgateways/v1/events.proto\x12\x30google.events.cloud.beyondcorp.clientgateways.v1\x1a;google/events/cloud/beyondcorp/clientgateways/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xcb\x01\n\x19\x43lientGatewayCreatedEvent\x12V\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32H.google.events.cloud.beyondcorp.clientgateways.v1.ClientGatewayEventData:V\xb2\xf8\xd8,?google.cloud.beyondcorp.clientgateways.clientGateway.v1.created\xca\xf8\xd8,\rclientgateway\"\xcb\x01\n\x19\x43lientGatewayDeletedEvent\x12V\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32H.google.events.cloud.beyondcorp.clientgateways.v1.ClientGatewayEventData:V\xb2\xf8\xd8,?google.cloud.beyondcorp.clientgateways.clientGateway.v1.deleted\xca\xf8\xd8,\rclientgatewayB\x95\x02\xaa\x02\x39Google.Events.Protobuf.Cloud.BeyondCorp.ClientGateways.V1\xca\x02\x30Google\\Events\\Cloud\\BeyondCorp\\ClientGateways\\V1\xea\x02\x35Google::Events::Cloud::BeyondCorp::ClientGateways::V1\xba\xf8\xd8,\nBeyondCorp\xc2\xf8\xd8,Z\n\rclientgateway\x12:The resource ID of the ClientGateway triggering the event.\x1a\rclientGatewayb\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.beyondcorp.clientgateways.v1.ClientGatewayEventData", "google/events/cloud/beyondcorp/clientgateways/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}"
|
16
32
|
end
|
17
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."
|
18
36
|
end
|
19
37
|
|
20
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/certificatemanager/v1/data.proto
|
3
4
|
|
@@ -6,165 +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
|
-
value :RSA_2048, 1
|
33
|
-
value :ECDSA_P256, 4
|
34
|
-
end
|
35
|
-
add_message "google.events.cloud.certificatemanager.v1.Certificate" do
|
36
|
-
optional :name, :string, 1
|
37
|
-
optional :description, :string, 8
|
38
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
39
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
40
|
-
map :labels, :string, :string, 4
|
41
|
-
repeated :san_dnsnames, :string, 6
|
42
|
-
optional :pem_certificate, :string, 9
|
43
|
-
optional :expire_time, :message, 7, "google.protobuf.Timestamp"
|
44
|
-
optional :scope, :enum, 12, "google.events.cloud.certificatemanager.v1.Certificate.Scope"
|
45
|
-
oneof :type do
|
46
|
-
optional :self_managed, :message, 5, "google.events.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate"
|
47
|
-
optional :managed, :message, 11, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate"
|
48
|
-
end
|
49
|
-
end
|
50
|
-
add_message "google.events.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate" do
|
51
|
-
end
|
52
|
-
add_message "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate" do
|
53
|
-
repeated :domains, :string, 1
|
54
|
-
repeated :dns_authorizations, :string, 2
|
55
|
-
optional :issuance_config, :string, 6
|
56
|
-
optional :state, :enum, 4, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State"
|
57
|
-
optional :provisioning_issue, :message, 3, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue"
|
58
|
-
repeated :authorization_attempt_info, :message, 5, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo"
|
59
|
-
end
|
60
|
-
add_message "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue" do
|
61
|
-
optional :reason, :enum, 1, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason"
|
62
|
-
optional :details, :string, 2
|
63
|
-
end
|
64
|
-
add_enum "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason" do
|
65
|
-
value :REASON_UNSPECIFIED, 0
|
66
|
-
value :AUTHORIZATION_ISSUE, 1
|
67
|
-
value :RATE_LIMITED, 2
|
68
|
-
end
|
69
|
-
add_message "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo" do
|
70
|
-
optional :domain, :string, 1
|
71
|
-
optional :state, :enum, 2, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State"
|
72
|
-
optional :failure_reason, :enum, 3, "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason"
|
73
|
-
optional :details, :string, 4
|
74
|
-
end
|
75
|
-
add_enum "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State" do
|
76
|
-
value :STATE_UNSPECIFIED, 0
|
77
|
-
value :AUTHORIZING, 1
|
78
|
-
value :AUTHORIZED, 6
|
79
|
-
value :FAILED, 7
|
80
|
-
end
|
81
|
-
add_enum "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason" do
|
82
|
-
value :FAILURE_REASON_UNSPECIFIED, 0
|
83
|
-
value :CONFIG, 1
|
84
|
-
value :CAA, 2
|
85
|
-
value :RATE_LIMITED, 3
|
86
|
-
end
|
87
|
-
add_enum "google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State" do
|
88
|
-
value :STATE_UNSPECIFIED, 0
|
89
|
-
value :PROVISIONING, 1
|
90
|
-
value :FAILED, 2
|
91
|
-
value :ACTIVE, 3
|
92
|
-
end
|
93
|
-
add_enum "google.events.cloud.certificatemanager.v1.Certificate.Scope" do
|
94
|
-
value :DEFAULT, 0
|
95
|
-
value :EDGE_CACHE, 1
|
96
|
-
end
|
97
|
-
add_message "google.events.cloud.certificatemanager.v1.CertificateMap" do
|
98
|
-
optional :name, :string, 1
|
99
|
-
optional :description, :string, 5
|
100
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
101
|
-
optional :update_time, :message, 6, "google.protobuf.Timestamp"
|
102
|
-
map :labels, :string, :string, 3
|
103
|
-
repeated :gclb_targets, :message, 4, "google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget"
|
104
|
-
end
|
105
|
-
add_message "google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget" do
|
106
|
-
repeated :ip_configs, :message, 2, "google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig"
|
107
|
-
oneof :target_proxy do
|
108
|
-
optional :target_https_proxy, :string, 1
|
109
|
-
optional :target_ssl_proxy, :string, 3
|
110
|
-
end
|
111
|
-
end
|
112
|
-
add_message "google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig" do
|
113
|
-
optional :ip_address, :string, 1
|
114
|
-
repeated :ports, :uint32, 3
|
115
|
-
end
|
116
|
-
add_message "google.events.cloud.certificatemanager.v1.CertificateMapEntry" do
|
117
|
-
optional :name, :string, 1
|
118
|
-
optional :description, :string, 9
|
119
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
120
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
121
|
-
map :labels, :string, :string, 4
|
122
|
-
repeated :certificates, :string, 7
|
123
|
-
optional :state, :enum, 8, "google.events.cloud.certificatemanager.v1.ServingState"
|
124
|
-
oneof :match do
|
125
|
-
optional :hostname, :string, 5
|
126
|
-
optional :matcher, :enum, 10, "google.events.cloud.certificatemanager.v1.CertificateMapEntry.Matcher"
|
127
|
-
end
|
128
|
-
end
|
129
|
-
add_enum "google.events.cloud.certificatemanager.v1.CertificateMapEntry.Matcher" do
|
130
|
-
value :MATCHER_UNSPECIFIED, 0
|
131
|
-
value :PRIMARY, 1
|
132
|
-
end
|
133
|
-
add_message "google.events.cloud.certificatemanager.v1.DnsAuthorization" do
|
134
|
-
optional :name, :string, 1
|
135
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
136
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
137
|
-
map :labels, :string, :string, 4
|
138
|
-
optional :description, :string, 5
|
139
|
-
optional :domain, :string, 6
|
140
|
-
optional :dns_resource_record, :message, 10, "google.events.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord"
|
141
|
-
end
|
142
|
-
add_message "google.events.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord" do
|
143
|
-
optional :name, :string, 1
|
144
|
-
optional :type, :string, 2
|
145
|
-
optional :data, :string, 3
|
146
|
-
end
|
147
|
-
add_message "google.events.cloud.certificatemanager.v1.DnsAuthorizationEventData" do
|
148
|
-
proto3_optional :payload, :message, 1, "google.events.cloud.certificatemanager.v1.DnsAuthorization"
|
149
|
-
end
|
150
|
-
add_message "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfigEventData" do
|
151
|
-
proto3_optional :payload, :message, 1, "google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig"
|
152
|
-
end
|
153
|
-
add_message "google.events.cloud.certificatemanager.v1.CertificateMapEntryEventData" do
|
154
|
-
proto3_optional :payload, :message, 1, "google.events.cloud.certificatemanager.v1.CertificateMapEntry"
|
155
|
-
end
|
156
|
-
add_message "google.events.cloud.certificatemanager.v1.CertificateMapEventData" do
|
157
|
-
proto3_optional :payload, :message, 1, "google.events.cloud.certificatemanager.v1.CertificateMap"
|
158
|
-
end
|
159
|
-
add_message "google.events.cloud.certificatemanager.v1.CertificateEventData" do
|
160
|
-
proto3_optional :payload, :message, 1, "google.events.cloud.certificatemanager.v1.Certificate"
|
161
|
-
end
|
162
|
-
add_enum "google.events.cloud.certificatemanager.v1.ServingState" do
|
163
|
-
value :SERVING_STATE_UNSPECIFIED, 0
|
164
|
-
value :ACTIVE, 1
|
165
|
-
value :PENDING, 2
|
10
|
+
|
11
|
+
descriptor_data = "\n4google/events/cloud/certificatemanager/v1/data.proto\x12)google.events.cloud.certificatemanager.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd3\x07\n\x19\x43\x65rtificateIssuanceConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12`\n\x06labels\x18\x04 \x03(\x0b\x32P.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x85\x01\n\x1c\x63\x65rtificate_authority_config\x18\x06 \x01(\x0b\x32_.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig\x12+\n\x08lifetime\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\"\n\x1arotation_window_percentage\x18\x08 \x01(\x05\x12h\n\rkey_algorithm\x18\t \x01(\x0e\x32Q.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm\x1a\x8f\x02\n\x1a\x43\x65rtificateAuthorityConfig\x12\xb2\x01\n$certificate_authority_service_config\x18\x01 \x01(\x0b\x32\x81\x01.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfigH\x00\x1a\x34\n!CertificateAuthorityServiceConfig\x12\x0f\n\x07\x63\x61_pool\x18\x01 \x01(\tB\x06\n\x04kind\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"K\n\x0cKeyAlgorithm\x12\x1d\n\x19KEY_ALGORITHM_UNSPECIFIED\x10\x00\x12\x0c\n\x08RSA_2048\x10\x01\x12\x0e\n\nECDSA_P256\x10\x04\"\xa7\x0f\n\x0b\x43\x65rtificate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x06labels\x18\x04 \x03(\x0b\x32\x42.google.events.cloud.certificatemanager.v1.Certificate.LabelsEntry\x12\x65\n\x0cself_managed\x18\x05 \x01(\x0b\x32M.google.events.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateH\x00\x12\\\n\x07managed\x18\x0b \x01(\x0b\x32I.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificateH\x00\x12\x14\n\x0csan_dnsnames\x18\x06 \x03(\t\x12\x17\n\x0fpem_certificate\x18\t \x01(\t\x12/\n\x0b\x65xpire_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\x05scope\x18\x0c \x01(\x0e\x32<.google.events.cloud.certificatemanager.v1.Certificate.Scope\x1a\x18\n\x16SelfManagedCertificate\x1a\xd5\t\n\x12ManagedCertificate\x12\x0f\n\x07\x64omains\x18\x01 \x03(\t\x12\x1a\n\x12\x64ns_authorizations\x18\x02 \x03(\t\x12\x17\n\x0fissuance_config\x18\x06 \x01(\t\x12^\n\x05state\x18\x04 \x01(\x0e\x32O.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State\x12w\n\x12provisioning_issue\x18\x03 \x01(\x0b\x32[.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue\x12\x86\x01\n\x1a\x61uthorization_attempt_info\x18\x05 \x03(\x0b\x32\x62.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo\x1a\xe5\x01\n\x11ProvisioningIssue\x12r\n\x06reason\x18\x01 \x01(\x0e\x32\x62.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason\x12\x0f\n\x07\x64\x65tails\x18\x02 \x01(\t\"K\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x17\n\x13\x41UTHORIZATION_ISSUE\x10\x01\x12\x10\n\x0cRATE_LIMITED\x10\x02\x1a\xe4\x03\n\x18\x41uthorizationAttemptInfo\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12w\n\x05state\x18\x02 \x01(\x0e\x32h.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State\x12\x88\x01\n\x0e\x66\x61ilure_reason\x18\x03 \x01(\x0e\x32p.google.events.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason\x12\x0f\n\x07\x64\x65tails\x18\x04 \x01(\t\"K\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x41UTHORIZING\x10\x01\x12\x0e\n\nAUTHORIZED\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07\"V\n\rFailureReason\x12\x1e\n\x1a\x46\x41ILURE_REASON_UNSPECIFIED\x10\x00\x12\n\n\x06\x43ONFIG\x10\x01\x12\x07\n\x03\x43\x41\x41\x10\x02\x12\x10\n\x0cRATE_LIMITED\x10\x03\"H\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"$\n\x05Scope\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x0e\n\nEDGE_CACHE\x10\x01\x42\x06\n\x04type\"\xe2\x04\n\x0e\x43\x65rtificateMap\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12U\n\x06labels\x18\x03 \x03(\x0b\x32\x45.google.events.cloud.certificatemanager.v1.CertificateMap.LabelsEntry\x12Z\n\x0cgclb_targets\x18\x04 \x03(\x0b\x32\x44.google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget\x1a\xe8\x01\n\nGclbTarget\x12\x1c\n\x12target_https_proxy\x18\x01 \x01(\tH\x00\x12\x1a\n\x10target_ssl_proxy\x18\x03 \x01(\tH\x00\x12\x61\n\nip_configs\x18\x02 \x03(\x0b\x32M.google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig\x1a-\n\x08IpConfig\x12\x12\n\nip_address\x18\x01 \x01(\t\x12\r\n\x05ports\x18\x03 \x03(\rB\x0e\n\x0ctarget_proxy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xac\x04\n\x13\x43\x65rtificateMapEntry\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12Z\n\x06labels\x18\x04 \x03(\x0b\x32J.google.events.cloud.certificatemanager.v1.CertificateMapEntry.LabelsEntry\x12\x12\n\x08hostname\x18\x05 \x01(\tH\x00\x12Y\n\x07matcher\x18\n \x01(\x0e\x32\x46.google.events.cloud.certificatemanager.v1.CertificateMapEntry.MatcherH\x00\x12\x14\n\x0c\x63\x65rtificates\x18\x07 \x03(\t\x12\x46\n\x05state\x18\x08 \x01(\x0e\x32\x37.google.events.cloud.certificatemanager.v1.ServingState\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"/\n\x07Matcher\x12\x17\n\x13MATCHER_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x42\x07\n\x05match\"\xda\x03\n\x10\x44nsAuthorization\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12W\n\x06labels\x18\x04 \x03(\x0b\x32G.google.events.cloud.certificatemanager.v1.DnsAuthorization.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0e\n\x06\x64omain\x18\x06 \x01(\t\x12j\n\x13\x64ns_resource_record\x18\n \x01(\x0b\x32M.google.events.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord\x1a=\n\x11\x44nsResourceRecord\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"z\n\x19\x44nsAuthorizationEventData\x12Q\n\x07payload\x18\x01 \x01(\x0b\x32;.google.events.cloud.certificatemanager.v1.DnsAuthorizationH\x00\x88\x01\x01\x42\n\n\x08_payload\"\x8c\x01\n\"CertificateIssuanceConfigEventData\x12Z\n\x07payload\x18\x01 \x01(\x0b\x32\x44.google.events.cloud.certificatemanager.v1.CertificateIssuanceConfigH\x00\x88\x01\x01\x42\n\n\x08_payload\"\x80\x01\n\x1c\x43\x65rtificateMapEntryEventData\x12T\n\x07payload\x18\x01 \x01(\x0b\x32>.google.events.cloud.certificatemanager.v1.CertificateMapEntryH\x00\x88\x01\x01\x42\n\n\x08_payload\"v\n\x17\x43\x65rtificateMapEventData\x12O\n\x07payload\x18\x01 \x01(\x0b\x32\x39.google.events.cloud.certificatemanager.v1.CertificateMapH\x00\x88\x01\x01\x42\n\n\x08_payload\"p\n\x14\x43\x65rtificateEventData\x12L\n\x07payload\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.certificatemanager.v1.CertificateH\x00\x88\x01\x01\x42\n\n\x08_payload*F\n\x0cServingState\x12\x1d\n\x19SERVING_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x42\x91\x01\xaa\x02\x32Google.Events.Protobuf.Cloud.CertificateManager.V1\xca\x02)Google\\Events\\Cloud\\CertificateManager\\V1\xea\x02-Google::Events::Cloud::CertificateManager::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}"
|
166
33
|
end
|
167
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."
|
168
37
|
end
|
169
38
|
|
170
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/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
|