google-cloud-apigee_registry-v1 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/apigee_registry/v1/provisioning/client.rb +16 -5
- data/lib/google/cloud/apigee_registry/v1/provisioning/operations.rb +15 -4
- data/lib/google/cloud/apigee_registry/v1/provisioning/rest/client.rb +68 -4
- data/lib/google/cloud/apigee_registry/v1/provisioning/rest/operations.rb +84 -7
- data/lib/google/cloud/apigee_registry/v1/provisioning/rest/service_stub.rb +3 -3
- data/lib/google/cloud/apigee_registry/v1/registry/client.rb +16 -5
- data/lib/google/cloud/apigee_registry/v1/registry/rest/client.rb +594 -4
- data/lib/google/cloud/apigee_registry/v1/registry/rest/service_stub.rb +35 -35
- data/lib/google/cloud/apigee_registry/v1/version.rb +1 -1
- data/lib/google/cloud/apigeeregistry/v1/provisioning_service_pb.rb +25 -42
- data/lib/google/cloud/apigeeregistry/v1/registry_models_pb.rb +25 -64
- data/lib/google/cloud/apigeeregistry/v1/registry_service_pb.rb +26 -179
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +5 -5
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/apigeeregistry/v1/registry_service.proto
|
3
4
|
|
@@ -12,187 +13,33 @@ require 'google/cloud/apigeeregistry/v1/registry_models_pb'
|
|
12
13
|
require 'google/protobuf/empty_pb'
|
13
14
|
require 'google/protobuf/field_mask_pb'
|
14
15
|
|
15
|
-
|
16
|
-
add_file("google/cloud/apigeeregistry/v1/registry_service.proto", :syntax => :proto3) do
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
optional :allow_missing, :bool, 3
|
39
|
-
end
|
40
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteApiRequest" do
|
41
|
-
optional :name, :string, 1
|
42
|
-
optional :force, :bool, 2
|
43
|
-
end
|
44
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiVersionsRequest" do
|
45
|
-
optional :parent, :string, 1
|
46
|
-
optional :page_size, :int32, 2
|
47
|
-
optional :page_token, :string, 3
|
48
|
-
optional :filter, :string, 4
|
49
|
-
end
|
50
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiVersionsResponse" do
|
51
|
-
repeated :api_versions, :message, 1, "google.cloud.apigeeregistry.v1.ApiVersion"
|
52
|
-
optional :next_page_token, :string, 2
|
53
|
-
end
|
54
|
-
add_message "google.cloud.apigeeregistry.v1.GetApiVersionRequest" do
|
55
|
-
optional :name, :string, 1
|
56
|
-
end
|
57
|
-
add_message "google.cloud.apigeeregistry.v1.CreateApiVersionRequest" do
|
58
|
-
optional :parent, :string, 1
|
59
|
-
optional :api_version, :message, 2, "google.cloud.apigeeregistry.v1.ApiVersion"
|
60
|
-
optional :api_version_id, :string, 3
|
61
|
-
end
|
62
|
-
add_message "google.cloud.apigeeregistry.v1.UpdateApiVersionRequest" do
|
63
|
-
optional :api_version, :message, 1, "google.cloud.apigeeregistry.v1.ApiVersion"
|
64
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
65
|
-
optional :allow_missing, :bool, 3
|
66
|
-
end
|
67
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteApiVersionRequest" do
|
68
|
-
optional :name, :string, 1
|
69
|
-
optional :force, :bool, 2
|
70
|
-
end
|
71
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiSpecsRequest" do
|
72
|
-
optional :parent, :string, 1
|
73
|
-
optional :page_size, :int32, 2
|
74
|
-
optional :page_token, :string, 3
|
75
|
-
optional :filter, :string, 4
|
76
|
-
end
|
77
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiSpecsResponse" do
|
78
|
-
repeated :api_specs, :message, 1, "google.cloud.apigeeregistry.v1.ApiSpec"
|
79
|
-
optional :next_page_token, :string, 2
|
80
|
-
end
|
81
|
-
add_message "google.cloud.apigeeregistry.v1.GetApiSpecRequest" do
|
82
|
-
optional :name, :string, 1
|
83
|
-
end
|
84
|
-
add_message "google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest" do
|
85
|
-
optional :name, :string, 1
|
86
|
-
end
|
87
|
-
add_message "google.cloud.apigeeregistry.v1.CreateApiSpecRequest" do
|
88
|
-
optional :parent, :string, 1
|
89
|
-
optional :api_spec, :message, 2, "google.cloud.apigeeregistry.v1.ApiSpec"
|
90
|
-
optional :api_spec_id, :string, 3
|
91
|
-
end
|
92
|
-
add_message "google.cloud.apigeeregistry.v1.UpdateApiSpecRequest" do
|
93
|
-
optional :api_spec, :message, 1, "google.cloud.apigeeregistry.v1.ApiSpec"
|
94
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
95
|
-
optional :allow_missing, :bool, 3
|
96
|
-
end
|
97
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteApiSpecRequest" do
|
98
|
-
optional :name, :string, 1
|
99
|
-
optional :force, :bool, 2
|
100
|
-
end
|
101
|
-
add_message "google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest" do
|
102
|
-
optional :name, :string, 1
|
103
|
-
optional :tag, :string, 2
|
104
|
-
end
|
105
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest" do
|
106
|
-
optional :name, :string, 1
|
107
|
-
optional :page_size, :int32, 2
|
108
|
-
optional :page_token, :string, 3
|
109
|
-
end
|
110
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse" do
|
111
|
-
repeated :api_specs, :message, 1, "google.cloud.apigeeregistry.v1.ApiSpec"
|
112
|
-
optional :next_page_token, :string, 2
|
113
|
-
end
|
114
|
-
add_message "google.cloud.apigeeregistry.v1.RollbackApiSpecRequest" do
|
115
|
-
optional :name, :string, 1
|
116
|
-
optional :revision_id, :string, 2
|
117
|
-
end
|
118
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest" do
|
119
|
-
optional :name, :string, 1
|
120
|
-
end
|
121
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest" do
|
122
|
-
optional :parent, :string, 1
|
123
|
-
optional :page_size, :int32, 2
|
124
|
-
optional :page_token, :string, 3
|
125
|
-
optional :filter, :string, 4
|
126
|
-
end
|
127
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse" do
|
128
|
-
repeated :api_deployments, :message, 1, "google.cloud.apigeeregistry.v1.ApiDeployment"
|
129
|
-
optional :next_page_token, :string, 2
|
130
|
-
end
|
131
|
-
add_message "google.cloud.apigeeregistry.v1.GetApiDeploymentRequest" do
|
132
|
-
optional :name, :string, 1
|
133
|
-
end
|
134
|
-
add_message "google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest" do
|
135
|
-
optional :parent, :string, 1
|
136
|
-
optional :api_deployment, :message, 2, "google.cloud.apigeeregistry.v1.ApiDeployment"
|
137
|
-
optional :api_deployment_id, :string, 3
|
138
|
-
end
|
139
|
-
add_message "google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest" do
|
140
|
-
optional :api_deployment, :message, 1, "google.cloud.apigeeregistry.v1.ApiDeployment"
|
141
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
142
|
-
optional :allow_missing, :bool, 3
|
143
|
-
end
|
144
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest" do
|
145
|
-
optional :name, :string, 1
|
146
|
-
optional :force, :bool, 2
|
147
|
-
end
|
148
|
-
add_message "google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest" do
|
149
|
-
optional :name, :string, 1
|
150
|
-
optional :tag, :string, 2
|
151
|
-
end
|
152
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest" do
|
153
|
-
optional :name, :string, 1
|
154
|
-
optional :page_size, :int32, 2
|
155
|
-
optional :page_token, :string, 3
|
156
|
-
end
|
157
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse" do
|
158
|
-
repeated :api_deployments, :message, 1, "google.cloud.apigeeregistry.v1.ApiDeployment"
|
159
|
-
optional :next_page_token, :string, 2
|
160
|
-
end
|
161
|
-
add_message "google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest" do
|
162
|
-
optional :name, :string, 1
|
163
|
-
optional :revision_id, :string, 2
|
164
|
-
end
|
165
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest" do
|
166
|
-
optional :name, :string, 1
|
167
|
-
end
|
168
|
-
add_message "google.cloud.apigeeregistry.v1.ListArtifactsRequest" do
|
169
|
-
optional :parent, :string, 1
|
170
|
-
optional :page_size, :int32, 2
|
171
|
-
optional :page_token, :string, 3
|
172
|
-
optional :filter, :string, 4
|
173
|
-
end
|
174
|
-
add_message "google.cloud.apigeeregistry.v1.ListArtifactsResponse" do
|
175
|
-
repeated :artifacts, :message, 1, "google.cloud.apigeeregistry.v1.Artifact"
|
176
|
-
optional :next_page_token, :string, 2
|
177
|
-
end
|
178
|
-
add_message "google.cloud.apigeeregistry.v1.GetArtifactRequest" do
|
179
|
-
optional :name, :string, 1
|
180
|
-
end
|
181
|
-
add_message "google.cloud.apigeeregistry.v1.GetArtifactContentsRequest" do
|
182
|
-
optional :name, :string, 1
|
183
|
-
end
|
184
|
-
add_message "google.cloud.apigeeregistry.v1.CreateArtifactRequest" do
|
185
|
-
optional :parent, :string, 1
|
186
|
-
optional :artifact, :message, 2, "google.cloud.apigeeregistry.v1.Artifact"
|
187
|
-
optional :artifact_id, :string, 3
|
188
|
-
end
|
189
|
-
add_message "google.cloud.apigeeregistry.v1.ReplaceArtifactRequest" do
|
190
|
-
optional :artifact, :message, 1, "google.cloud.apigeeregistry.v1.Artifact"
|
191
|
-
end
|
192
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteArtifactRequest" do
|
193
|
-
optional :name, :string, 1
|
16
|
+
|
17
|
+
descriptor_data = "\n5google/cloud/apigeeregistry/v1/registry_service.proto\x12\x1egoogle.cloud.apigeeregistry.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/apigeeregistry/v1/registry_models.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x83\x01\n\x0fListApisRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!apigeeregistry.googleapis.com/Api\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"^\n\x10ListApisResponse\x12\x31\n\x04\x61pis\x18\x01 \x03(\x0b\x32#.google.cloud.apigeeregistry.v1.Api\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"H\n\rGetApiRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!apigeeregistry.googleapis.com/Api\"\x99\x01\n\x10\x43reateApiRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!apigeeregistry.googleapis.com/Api\x12\x35\n\x03\x61pi\x18\x02 \x01(\x0b\x32#.google.cloud.apigeeregistry.v1.ApiB\x03\xe0\x41\x02\x12\x13\n\x06\x61pi_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x91\x01\n\x10UpdateApiRequest\x12\x35\n\x03\x61pi\x18\x01 \x01(\x0b\x32#.google.cloud.apigeeregistry.v1.ApiB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"Z\n\x10\x44\x65leteApiRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!apigeeregistry.googleapis.com/Api\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x91\x01\n\x16ListApiVersionsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(apigeeregistry.googleapis.com/ApiVersion\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"t\n\x17ListApiVersionsResponse\x12@\n\x0c\x61pi_versions\x18\x01 \x03(\x0b\x32*.google.cloud.apigeeregistry.v1.ApiVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"V\n\x14GetApiVersionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(apigeeregistry.googleapis.com/ApiVersion\"\xbe\x01\n\x17\x43reateApiVersionRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(apigeeregistry.googleapis.com/ApiVersion\x12\x44\n\x0b\x61pi_version\x18\x02 \x01(\x0b\x32*.google.cloud.apigeeregistry.v1.ApiVersionB\x03\xe0\x41\x02\x12\x1b\n\x0e\x61pi_version_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xa7\x01\n\x17UpdateApiVersionRequest\x12\x44\n\x0b\x61pi_version\x18\x01 \x01(\x0b\x32*.google.cloud.apigeeregistry.v1.ApiVersionB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"h\n\x17\x44\x65leteApiVersionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(apigeeregistry.googleapis.com/ApiVersion\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x8b\x01\n\x13ListApiSpecsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%apigeeregistry.googleapis.com/ApiSpec\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"k\n\x14ListApiSpecsResponse\x12:\n\tapi_specs\x18\x01 \x03(\x0b\x32\'.google.cloud.apigeeregistry.v1.ApiSpec\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"P\n\x11GetApiSpecRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\"X\n\x19GetApiSpecContentsRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\"\xaf\x01\n\x14\x43reateApiSpecRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%apigeeregistry.googleapis.com/ApiSpec\x12>\n\x08\x61pi_spec\x18\x02 \x01(\x0b\x32\'.google.cloud.apigeeregistry.v1.ApiSpecB\x03\xe0\x41\x02\x12\x18\n\x0b\x61pi_spec_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9e\x01\n\x14UpdateApiSpecRequest\x12>\n\x08\x61pi_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.apigeeregistry.v1.ApiSpecB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"b\n\x14\x44\x65leteApiSpecRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"j\n\x19TagApiSpecRevisionRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\x12\x10\n\x03tag\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x81\x01\n\x1bListApiSpecRevisionsRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"s\n\x1cListApiSpecRevisionsResponse\x12:\n\tapi_specs\x18\x01 \x03(\x0b\x32\'.google.cloud.apigeeregistry.v1.ApiSpec\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"o\n\x16RollbackApiSpecRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\x12\x18\n\x0brevision_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"[\n\x1c\x44\x65leteApiSpecRevisionRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\"\x97\x01\n\x19ListApiDeploymentsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+apigeeregistry.googleapis.com/ApiDeployment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"}\n\x1aListApiDeploymentsResponse\x12\x46\n\x0f\x61pi_deployments\x18\x01 \x03(\x0b\x32-.google.cloud.apigeeregistry.v1.ApiDeployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\\\n\x17GetApiDeploymentRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\"\xcd\x01\n\x1a\x43reateApiDeploymentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+apigeeregistry.googleapis.com/ApiDeployment\x12J\n\x0e\x61pi_deployment\x18\x02 \x01(\x0b\x32-.google.cloud.apigeeregistry.v1.ApiDeploymentB\x03\xe0\x41\x02\x12\x1e\n\x11\x61pi_deployment_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xb0\x01\n\x1aUpdateApiDeploymentRequest\x12J\n\x0e\x61pi_deployment\x18\x01 \x01(\x0b\x32-.google.cloud.apigeeregistry.v1.ApiDeploymentB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"n\n\x1a\x44\x65leteApiDeploymentRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"v\n\x1fTagApiDeploymentRevisionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\x12\x10\n\x03tag\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x8d\x01\n!ListApiDeploymentRevisionsRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x85\x01\n\"ListApiDeploymentRevisionsResponse\x12\x46\n\x0f\x61pi_deployments\x18\x01 \x03(\x0b\x32-.google.cloud.apigeeregistry.v1.ApiDeployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"{\n\x1cRollbackApiDeploymentRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\x12\x18\n\x0brevision_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"g\n\"DeleteApiDeploymentRevisionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\"\x8d\x01\n\x14ListArtifactsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&apigeeregistry.googleapis.com/Artifact\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"m\n\x15ListArtifactsResponse\x12;\n\tartifacts\x18\x01 \x03(\x0b\x32(.google.cloud.apigeeregistry.v1.Artifact\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"R\n\x12GetArtifactRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&apigeeregistry.googleapis.com/Artifact\"Z\n\x1aGetArtifactContentsRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&apigeeregistry.googleapis.com/Artifact\"\xb2\x01\n\x15\x43reateArtifactRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&apigeeregistry.googleapis.com/Artifact\x12?\n\x08\x61rtifact\x18\x02 \x01(\x0b\x32(.google.cloud.apigeeregistry.v1.ArtifactB\x03\xe0\x41\x02\x12\x18\n\x0b\x61rtifact_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"Y\n\x16ReplaceArtifactRequest\x12?\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32(.google.cloud.apigeeregistry.v1.ArtifactB\x03\xe0\x41\x02\"U\n\x15\x44\x65leteArtifactRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&apigeeregistry.googleapis.com/Artifact2\xc0\x45\n\x08Registry\x12\xa8\x01\n\x08ListApis\x12/.google.cloud.apigeeregistry.v1.ListApisRequest\x1a\x30.google.cloud.apigeeregistry.v1.ListApisResponse\"9\x82\xd3\xe4\x93\x02*\x12(/v1/{parent=projects/*/locations/*}/apis\xda\x41\x06parent\x12\x95\x01\n\x06GetApi\x12-.google.cloud.apigeeregistry.v1.GetApiRequest\x1a#.google.cloud.apigeeregistry.v1.Api\"7\x82\xd3\xe4\x93\x02*\x12(/v1/{name=projects/*/locations/*/apis/*}\xda\x41\x04name\x12\xad\x01\n\tCreateApi\x12\x30.google.cloud.apigeeregistry.v1.CreateApiRequest\x1a#.google.cloud.apigeeregistry.v1.Api\"I\x82\xd3\xe4\x93\x02/\"(/v1/{parent=projects/*/locations/*}/apis:\x03\x61pi\xda\x41\x11parent,api,api_id\x12\xaf\x01\n\tUpdateApi\x12\x30.google.cloud.apigeeregistry.v1.UpdateApiRequest\x1a#.google.cloud.apigeeregistry.v1.Api\"K\x82\xd3\xe4\x93\x02\x33\x32,/v1/{api.name=projects/*/locations/*/apis/*}:\x03\x61pi\xda\x41\x0f\x61pi,update_mask\x12\x8e\x01\n\tDeleteApi\x12\x30.google.cloud.apigeeregistry.v1.DeleteApiRequest\x1a\x16.google.protobuf.Empty\"7\x82\xd3\xe4\x93\x02**(/v1/{name=projects/*/locations/*/apis/*}\xda\x41\x04name\x12\xc8\x01\n\x0fListApiVersions\x12\x36.google.cloud.apigeeregistry.v1.ListApiVersionsRequest\x1a\x37.google.cloud.apigeeregistry.v1.ListApiVersionsResponse\"D\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*/apis/*}/versions\xda\x41\x06parent\x12\xb5\x01\n\rGetApiVersion\x12\x34.google.cloud.apigeeregistry.v1.GetApiVersionRequest\x1a*.google.cloud.apigeeregistry.v1.ApiVersion\"B\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/apis/*/versions/*}\xda\x41\x04name\x12\xe5\x01\n\x10\x43reateApiVersion\x12\x37.google.cloud.apigeeregistry.v1.CreateApiVersionRequest\x1a*.google.cloud.apigeeregistry.v1.ApiVersion\"l\x82\xd3\xe4\x93\x02\x42\"3/v1/{parent=projects/*/locations/*/apis/*}/versions:\x0b\x61pi_version\xda\x41!parent,api_version,api_version_id\x12\xe7\x01\n\x10UpdateApiVersion\x12\x37.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest\x1a*.google.cloud.apigeeregistry.v1.ApiVersion\"n\x82\xd3\xe4\x93\x02N2?/v1/{api_version.name=projects/*/locations/*/apis/*/versions/*}:\x0b\x61pi_version\xda\x41\x17\x61pi_version,update_mask\x12\xa7\x01\n\x10\x44\x65leteApiVersion\x12\x37.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest\x1a\x16.google.protobuf.Empty\"B\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/apis/*/versions/*}\xda\x41\x04name\x12\xc7\x01\n\x0cListApiSpecs\x12\x33.google.cloud.apigeeregistry.v1.ListApiSpecsRequest\x1a\x34.google.cloud.apigeeregistry.v1.ListApiSpecsResponse\"L\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/apis/*/versions/*}/specs\xda\x41\x06parent\x12\xb4\x01\n\nGetApiSpec\x12\x31.google.cloud.apigeeregistry.v1.GetApiSpecRequest\x1a\'.google.cloud.apigeeregistry.v1.ApiSpec\"J\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}\xda\x41\x04name\x12\xbd\x01\n\x12GetApiSpecContents\x12\x39.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest\x1a\x14.google.api.HttpBody\"V\x82\xd3\xe4\x93\x02I\x12G/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:getContents\xda\x41\x04name\x12\xdb\x01\n\rCreateApiSpec\x12\x34.google.cloud.apigeeregistry.v1.CreateApiSpecRequest\x1a\'.google.cloud.apigeeregistry.v1.ApiSpec\"k\x82\xd3\xe4\x93\x02G\";/v1/{parent=projects/*/locations/*/apis/*/versions/*}/specs:\x08\x61pi_spec\xda\x41\x1bparent,api_spec,api_spec_id\x12\xdd\x01\n\rUpdateApiSpec\x12\x34.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest\x1a\'.google.cloud.apigeeregistry.v1.ApiSpec\"m\x82\xd3\xe4\x93\x02P2D/v1/{api_spec.name=projects/*/locations/*/apis/*/versions/*/specs/*}:\x08\x61pi_spec\xda\x41\x14\x61pi_spec,update_mask\x12\xa9\x01\n\rDeleteApiSpec\x12\x34.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest\x1a\x16.google.protobuf.Empty\"J\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}\xda\x41\x04name\x12\xcc\x01\n\x12TagApiSpecRevision\x12\x39.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest\x1a\'.google.cloud.apigeeregistry.v1.ApiSpec\"R\x82\xd3\xe4\x93\x02L\"G/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:tagRevision:\x01*\x12\xe4\x01\n\x14ListApiSpecRevisions\x12;.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest\x1a<.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse\"Q\x82\xd3\xe4\x93\x02K\x12I/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:listRevisions\x12\xc3\x01\n\x0fRollbackApiSpec\x12\x36.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest\x1a\'.google.cloud.apigeeregistry.v1.ApiSpec\"O\x82\xd3\xe4\x93\x02I\"D/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:rollback:\x01*\x12\xd9\x01\n\x15\x44\x65leteApiSpecRevision\x12<.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest\x1a\'.google.cloud.apigeeregistry.v1.ApiSpec\"Y\x82\xd3\xe4\x93\x02L*J/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:deleteRevision\xda\x41\x04name\x12\xd4\x01\n\x12ListApiDeployments\x12\x39.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest\x1a:.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*/apis/*}/deployments\xda\x41\x06parent\x12\xc1\x01\n\x10GetApiDeployment\x12\x37.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest\x1a-.google.cloud.apigeeregistry.v1.ApiDeployment\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/apis/*/deployments/*}\xda\x41\x04name\x12\xfa\x01\n\x13\x43reateApiDeployment\x12:.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest\x1a-.google.cloud.apigeeregistry.v1.ApiDeployment\"x\x82\xd3\xe4\x93\x02H\"6/v1/{parent=projects/*/locations/*/apis/*}/deployments:\x0e\x61pi_deployment\xda\x41\'parent,api_deployment,api_deployment_id\x12\xfc\x01\n\x13UpdateApiDeployment\x12:.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest\x1a-.google.cloud.apigeeregistry.v1.ApiDeployment\"z\x82\xd3\xe4\x93\x02W2E/v1/{api_deployment.name=projects/*/locations/*/apis/*/deployments/*}:\x0e\x61pi_deployment\xda\x41\x1a\x61pi_deployment,update_mask\x12\xb0\x01\n\x13\x44\x65leteApiDeployment\x12:.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest\x1a\x16.google.protobuf.Empty\"E\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/apis/*/deployments/*}\xda\x41\x04name\x12\xd9\x01\n\x18TagApiDeploymentRevision\x12?.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest\x1a-.google.cloud.apigeeregistry.v1.ApiDeployment\"M\x82\xd3\xe4\x93\x02G\"B/v1/{name=projects/*/locations/*/apis/*/deployments/*}:tagRevision:\x01*\x12\xf1\x01\n\x1aListApiDeploymentRevisions\x12\x41.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest\x1a\x42.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse\"L\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/*/apis/*/deployments/*}:listRevisions\x12\xd0\x01\n\x15RollbackApiDeployment\x12<.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest\x1a-.google.cloud.apigeeregistry.v1.ApiDeployment\"J\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/apis/*/deployments/*}:rollback:\x01*\x12\xe6\x01\n\x1b\x44\x65leteApiDeploymentRevision\x12\x42.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest\x1a-.google.cloud.apigeeregistry.v1.ApiDeployment\"T\x82\xd3\xe4\x93\x02G*E/v1/{name=projects/*/locations/*/apis/*/deployments/*}:deleteRevision\xda\x41\x04name\x12\xca\x03\n\rListArtifacts\x12\x34.google.cloud.apigeeregistry.v1.ListArtifactsRequest\x1a\x35.google.cloud.apigeeregistry.v1.ListArtifactsResponse\"\xcb\x02\x82\xd3\xe4\x93\x02\xbb\x02\x12-/v1/{parent=projects/*/locations/*}/artifactsZ6\x12\x34/v1/{parent=projects/*/locations/*/apis/*}/artifactsZA\x12?/v1/{parent=projects/*/locations/*/apis/*/versions/*}/artifactsZI\x12G/v1/{parent=projects/*/locations/*/apis/*/versions/*/specs/*}/artifactsZD\x12\x42/v1/{parent=projects/*/locations/*/apis/*/deployments/*}/artifacts\xda\x41\x06parent\x12\xb7\x03\n\x0bGetArtifact\x12\x32.google.cloud.apigeeregistry.v1.GetArtifactRequest\x1a(.google.cloud.apigeeregistry.v1.Artifact\"\xc9\x02\x82\xd3\xe4\x93\x02\xbb\x02\x12-/v1/{name=projects/*/locations/*/artifacts/*}Z6\x12\x34/v1/{name=projects/*/locations/*/apis/*/artifacts/*}ZA\x12?/v1/{name=projects/*/locations/*/apis/*/versions/*/artifacts/*}ZI\x12G/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}ZD\x12\x42/v1/{name=projects/*/locations/*/apis/*/deployments/*/artifacts/*}\xda\x41\x04name\x12\xef\x03\n\x13GetArtifactContents\x12:.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest\x1a\x14.google.api.HttpBody\"\x85\x03\x82\xd3\xe4\x93\x02\xf7\x02\x12\x39/v1/{name=projects/*/locations/*/artifacts/*}:getContentsZB\x12@/v1/{name=projects/*/locations/*/apis/*/artifacts/*}:getContentsZM\x12K/v1/{name=projects/*/locations/*/apis/*/versions/*/artifacts/*}:getContentsZU\x12S/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}:getContentsZP\x12N/v1/{name=projects/*/locations/*/apis/*/deployments/*/artifacts/*}:getContents\xda\x41\x04name\x12\x86\x04\n\x0e\x43reateArtifact\x12\x35.google.cloud.apigeeregistry.v1.CreateArtifactRequest\x1a(.google.cloud.apigeeregistry.v1.Artifact\"\x92\x03\x82\xd3\xe4\x93\x02\xed\x02\"-/v1/{parent=projects/*/locations/*}/artifacts:\x08\x61rtifactZ@\"4/v1/{parent=projects/*/locations/*/apis/*}/artifacts:\x08\x61rtifactZK\"?/v1/{parent=projects/*/locations/*/apis/*/versions/*}/artifacts:\x08\x61rtifactZS\"G/v1/{parent=projects/*/locations/*/apis/*/versions/*/specs/*}/artifacts:\x08\x61rtifactZN\"B/v1/{parent=projects/*/locations/*/apis/*/deployments/*}/artifacts:\x08\x61rtifact\xda\x41\x1bparent,artifact,artifact_id\x12\xa2\x04\n\x0fReplaceArtifact\x12\x36.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest\x1a(.google.cloud.apigeeregistry.v1.Artifact\"\xac\x03\x82\xd3\xe4\x93\x02\x9a\x03\x1a\x36/v1/{artifact.name=projects/*/locations/*/artifacts/*}:\x08\x61rtifactZI\x1a=/v1/{artifact.name=projects/*/locations/*/apis/*/artifacts/*}:\x08\x61rtifactZT\x1aH/v1/{artifact.name=projects/*/locations/*/apis/*/versions/*/artifacts/*}:\x08\x61rtifactZ\\\x1aP/v1/{artifact.name=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}:\x08\x61rtifactZW\x1aK/v1/{artifact.name=projects/*/locations/*/apis/*/deployments/*/artifacts/*}:\x08\x61rtifact\xda\x41\x08\x61rtifact\x12\xab\x03\n\x0e\x44\x65leteArtifact\x12\x35.google.cloud.apigeeregistry.v1.DeleteArtifactRequest\x1a\x16.google.protobuf.Empty\"\xc9\x02\x82\xd3\xe4\x93\x02\xbb\x02*-/v1/{name=projects/*/locations/*/artifacts/*}Z6*4/v1/{name=projects/*/locations/*/apis/*/artifacts/*}ZA*?/v1/{name=projects/*/locations/*/apis/*/versions/*/artifacts/*}ZI*G/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}ZD*B/v1/{name=projects/*/locations/*/apis/*/deployments/*/artifacts/*}\xda\x41\x04name\x1aQ\xca\x41\x1d\x61pigeeregistry.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xee\x01\n\"com.google.cloud.apigeeregistry.v1B\x14RegistryServiceProtoP\x01ZJcloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb\xaa\x02\x1eGoogle.Cloud.ApigeeRegistry.V1\xca\x02\x1eGoogle\\Cloud\\ApigeeRegistry\\V1\xea\x02!Google::Cloud::ApigeeRegistry::V1b\x06proto3"
|
18
|
+
|
19
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
|
+
|
21
|
+
begin
|
22
|
+
pool.add_serialized_file(descriptor_data)
|
23
|
+
rescue TypeError => e
|
24
|
+
# Compatibility code: will be removed in the next major version.
|
25
|
+
require 'google/protobuf/descriptor_pb'
|
26
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
27
|
+
parsed.clear_dependency
|
28
|
+
serialized = parsed.class.encode(parsed)
|
29
|
+
file = pool.add_serialized_file(serialized)
|
30
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
31
|
+
imports = [
|
32
|
+
["google.cloud.apigeeregistry.v1.Api", "google/cloud/apigeeregistry/v1/registry_models.proto"],
|
33
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
34
|
+
]
|
35
|
+
imports.each do |type_name, expected_filename|
|
36
|
+
import_file = pool.lookup(type_name).file_descriptor
|
37
|
+
if import_file.name != expected_filename
|
38
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
194
39
|
end
|
195
40
|
end
|
41
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
42
|
+
warn "This will become an error in the next major version."
|
196
43
|
end
|
197
44
|
|
198
45
|
module Google
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -81,7 +83,7 @@ module Google
|
|
81
83
|
# long-running operation pattern.
|
82
84
|
# @!attribute [rw] new_issue_uri
|
83
85
|
# @return [::String]
|
84
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
85
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
86
88
|
# @!attribute [rw] documentation_uri
|
87
89
|
# @return [::String]
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -299,6 +353,15 @@ module Google
|
|
299
353
|
|
300
354
|
# Street View Org.
|
301
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
302
365
|
end
|
303
366
|
|
304
367
|
# To where should client libraries be published?
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-apigee_registry-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -277,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: '0'
|
279
279
|
requirements: []
|
280
|
-
rubygems_version: 3.4.
|
280
|
+
rubygems_version: 3.4.19
|
281
281
|
signing_key:
|
282
282
|
specification_version: 4
|
283
283
|
summary: API Client library for the Apigee Registry V1 API
|