googleapis-common-protos-types 1.15.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de52a20fefd0f95b277373ead520337d1a3ce1c9bd2a00c9b68f8bb709ab3d5f
4
- data.tar.gz: 07551dd51821580df8333c1ae04243402afb71a0654c1487c0e089ce838e5922
3
+ metadata.gz: 3dde28f3b8164c6fdb58d2d6c8cbb6282a13f57f2f4cab476750f959d045233c
4
+ data.tar.gz: 2f5cb1538c96b21fce7c670e8efb01832b68f34ccf075d0d80b1cb5a3b3f8db8
5
5
  SHA512:
6
- metadata.gz: 23ef2d9703bd572bf88f022575f2b1032865b9c9b253a6bf35f5bf4de541d49a313964ed65369bfc68ec3e6362946de378506d023c2958db7c8efa81213de28e
7
- data.tar.gz: b597f4c46cd368b6833531adc47bf1787609d3f5c4a9b51c82d4c0329b16d1990d28fa6f30ee4ec48d3e866188320629df033442cee213570514c5786e6c5e8a
6
+ metadata.gz: 78e3c21e90e11baa4ceded231c71f5ff07b29cd1cf1529d38cb29721c04dec8a4b7d2192e597ea54903b727ee137488d7e6f51be05d422e032eb7d5d1623d72c
7
+ data.tar.gz: 02b2eebb1e88a6a9c04f8b1398c06ce27575dbc52a84f7b2de9046422960c7ff2f5e1db93527f04407c71df423e5b34570281cbbc7a96d206456d0d70ed09d79
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release History
2
2
 
3
+ ### 1.16.0 (2024-09-11)
4
+
5
+ #### Features
6
+
7
+ * Added referenced types to Google::Api::FieldInfo
8
+ #### Documentation
9
+
10
+ * Various improvements to reference documentation
11
+
3
12
  ### 1.15.0 (2024-06-11)
4
13
 
5
14
  #### Features
@@ -409,6 +409,13 @@ end
409
409
  #
410
410
  # // The fully qualified name of the method, for which the options below apply.
411
411
  # // This is used to find the method to apply the options.
412
+ # //
413
+ # // Example:
414
+ # //
415
+ # // publishing:
416
+ # // method_settings:
417
+ # // - selector: google.storage.control.v2.StorageControl.CreateFolder
418
+ # // # method settings for CreateFolder...
412
419
  # string selector = 1;
413
420
  #
414
421
  # // Describes settings to use for long-running operations when generating
@@ -417,17 +424,14 @@ end
417
424
  # //
418
425
  # // Example of a YAML configuration::
419
426
  # //
420
- # // publishing:
421
- # // method_settings:
427
+ # // publishing:
428
+ # // method_settings:
422
429
  # // - selector: google.cloud.speech.v2.Speech.BatchRecognize
423
430
  # // long_running:
424
- # // initial_poll_delay:
425
- # // seconds: 60 # 1 minute
431
+ # // initial_poll_delay: 60s # 1 minute
426
432
  # // poll_delay_multiplier: 1.5
427
- # // max_poll_delay:
428
- # // seconds: 360 # 6 minutes
429
- # // total_poll_timeout:
430
- # // seconds: 54000 # 90 minutes
433
+ # // max_poll_delay: 360s # 6 minutes
434
+ # // total_poll_timeout: 54000s # 90 minutes
431
435
  # LongRunning long_running = 2;
432
436
  #
433
437
  # // List of top-level fields of the request message, that should be
@@ -436,8 +440,8 @@ end
436
440
  # //
437
441
  # // Example of a YAML configuration:
438
442
  # //
439
- # // publishing:
440
- # // method_settings:
443
+ # // publishing:
444
+ # // method_settings:
441
445
  # // - selector: google.example.v1.ExampleService.CreateExample
442
446
  # // auto_populated_fields:
443
447
  # // - request_id
@@ -116,10 +116,12 @@ end
116
116
  # // details.
117
117
  # string selector = 1;
118
118
  #
119
- # // A list of full type names of requested contexts.
119
+ # // A list of full type names of requested contexts, only the requested context
120
+ # // will be made available to the backend.
120
121
  # repeated string requested = 2;
121
122
  #
122
- # // A list of full type names of provided contexts.
123
+ # // A list of full type names of provided contexts. It is used to support
124
+ # // propagating HTTP headers and ETags from the response extension.
123
125
  # repeated string provided = 3;
124
126
  #
125
127
  # // A list of full type names or extension IDs of extensions allowed in grpc
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n\x19google/api/endpoint.proto\x12\ngoogle.api\"Q\n\x08\x45ndpoint\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x07\x61liases\x18\x02 \x03(\tB\x02\x18\x01\x12\x0e\n\x06target\x18\x65 \x01(\t\x12\x12\n\nallow_cors\x18\x05 \x01(\x08\x42o\n\x0e\x63om.google.apiB\rEndpointProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3"
8
+ descriptor_data = "\n\x19google/api/endpoint.proto\x12\ngoogle.api\"M\n\x08\x45ndpoint\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61liases\x18\x02 \x03(\t\x12\x0e\n\x06target\x18\x65 \x01(\t\x12\x12\n\nallow_cors\x18\x05 \x01(\x08\x42o\n\x0e\x63om.google.apiB\rEndpointProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -88,14 +88,10 @@ end
88
88
  # // The canonical name of this endpoint.
89
89
  # string name = 1;
90
90
  #
91
- # // Unimplemented. Dot not use.
92
- # //
93
- # // DEPRECATED: This field is no longer supported. Instead of using aliases,
94
- # // please specify multiple [google.api.Endpoint][google.api.Endpoint] for each
95
- # // of the intended aliases.
96
- # //
97
- # // Additional names that this endpoint will be hosted on.
98
- # repeated string aliases = 2 [deprecated = true];
91
+ # // Aliases for this endpoint, these will be served by the same UrlMap as the
92
+ # // parent endpoint, and will be provisioned in the GCP stack for the Regional
93
+ # // Endpoints.
94
+ # repeated string aliases = 2;
99
95
  #
100
96
  # // The specification of an Internet routable address of API frontend that will
101
97
  # // handle requests to this [API
@@ -7,7 +7,7 @@ require 'google/protobuf'
7
7
  require 'google/protobuf/descriptor_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n\x1bgoogle/api/field_info.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto\"\x8c\x01\n\tFieldInfo\x12,\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x1c.google.api.FieldInfo.Format\"Q\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\t\n\x05UUID4\x10\x01\x12\x08\n\x04IPV4\x10\x02\x12\x08\n\x04IPV6\x10\x03\x12\x10\n\x0cIPV4_OR_IPV6\x10\x04:L\n\nfield_info\x12\x1d.google.protobuf.FieldOptions\x18\xcc\xf1\xf9\x8a\x01 \x01(\x0b\x32\x15.google.api.FieldInfoBl\n\x0e\x63om.google.apiB\x0e\x46ieldInfoProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3"
10
+ descriptor_data = "\n\x1bgoogle/api/field_info.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto\"\xc1\x01\n\tFieldInfo\x12,\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x1c.google.api.FieldInfo.Format\x12\x33\n\x10referenced_types\x18\x02 \x03(\x0b\x32\x19.google.api.TypeReference\"Q\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\t\n\x05UUID4\x10\x01\x12\x08\n\x04IPV4\x10\x02\x12\x08\n\x04IPV6\x10\x03\x12\x10\n\x0cIPV4_OR_IPV6\x10\x04\"\"\n\rTypeReference\x12\x11\n\ttype_name\x18\x01 \x01(\t:L\n\nfield_info\x12\x1d.google.protobuf.FieldOptions\x18\xcc\xf1\xf9\x8a\x01 \x01(\x0b\x32\x15.google.api.FieldInfoBl\n\x0e\x63om.google.apiB\x0e\x46ieldInfoProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3"
11
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
@@ -37,6 +37,7 @@ module Google
37
37
  module Api
38
38
  FieldInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.FieldInfo").msgclass
39
39
  FieldInfo::Format = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.FieldInfo.Format").enummodule
40
+ TypeReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.TypeReference").msgclass
40
41
  end
41
42
  end
42
43
 
@@ -73,12 +74,19 @@ end
73
74
  # //
74
75
  # // Examples:
75
76
  # //
76
- # // string request_id = 1 [(google.api.field_info).format = UUID4];
77
- # // string old_ip_address = 2 [(google.api.field_info).format = IPV4];
78
- # // string new_ip_address = 3 [(google.api.field_info).format = IPV6];
79
- # // string actual_ip_address = 4 [
80
- # // (google.api.field_info).format = IPV4_OR_IPV6
81
- # // ];
77
+ # // string request_id = 1 [(google.api.field_info).format = UUID4];
78
+ # // string old_ip_address = 2 [(google.api.field_info).format = IPV4];
79
+ # // string new_ip_address = 3 [(google.api.field_info).format = IPV6];
80
+ # // string actual_ip_address = 4 [
81
+ # // (google.api.field_info).format = IPV4_OR_IPV6
82
+ # // ];
83
+ # // google.protobuf.Any generic_field = 5 [
84
+ # // (google.api.field_info).referenced_types = {type_name: "ActualType"},
85
+ # // (google.api.field_info).referenced_types = {type_name: "OtherType"},
86
+ # // ];
87
+ # // google.protobuf.Any generic_user_input = 5 [
88
+ # // (google.api.field_info).referenced_types = {type_name: "*"},
89
+ # // ];
82
90
  # google.api.FieldInfo field_info = 291403980;
83
91
  # }
84
92
  #
@@ -120,4 +128,24 @@ end
120
128
  # // any API consumer, just documents the API's format for the field it is
121
129
  # // applied to.
122
130
  # Format format = 1;
131
+ #
132
+ # // The type(s) that the annotated, generic field may represent.
133
+ # //
134
+ # // Currently, this must only be used on fields of type `google.protobuf.Any`.
135
+ # // Supporting other generic types may be considered in the future.
136
+ # repeated TypeReference referenced_types = 2;
137
+ # }
138
+ #
139
+ # // A reference to a message type, for use in [FieldInfo][google.api.FieldInfo].
140
+ # message TypeReference {
141
+ # // The name of the type that the annotated, generic field may represent.
142
+ # // If the type is in the same protobuf package, the value can be the simple
143
+ # // message name e.g., `"MyMessage"`. Otherwise, the value must be the
144
+ # // fully-qualified message name e.g., `"google.library.v1.Book"`.
145
+ # //
146
+ # // If the type(s) are unknown to the service (e.g. the field accepts generic
147
+ # // user input), use the wildcard `"*"` to denote this behavior.
148
+ # //
149
+ # // See [AIP-202](https://google.aip.dev/202#type-references) for more details.
150
+ # string type_name = 1;
123
151
  # }
@@ -84,7 +84,7 @@ end
84
84
  # bool fully_decode_reserved_expansion = 2;
85
85
  # }
86
86
  #
87
- # // # gRPC Transcoding
87
+ # // gRPC Transcoding
88
88
  # //
89
89
  # // gRPC Transcoding is a feature for mapping between a gRPC method and one or
90
90
  # // more HTTP REST endpoints. It allows developers to build a single API service
@@ -125,9 +125,8 @@ end
125
125
  # //
126
126
  # // This enables an HTTP REST to gRPC mapping as below:
127
127
  # //
128
- # // HTTP | gRPC
129
- # // -----|-----
130
- # // `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
128
+ # // - HTTP: `GET /v1/messages/123456`
129
+ # // - gRPC: `GetMessage(name: "messages/123456")`
131
130
  # //
132
131
  # // Any fields in the request message which are not bound by the path template
133
132
  # // automatically become HTTP query parameters if there is no HTTP request body.
@@ -151,11 +150,9 @@ end
151
150
  # //
152
151
  # // This enables a HTTP JSON to RPC mapping as below:
153
152
  # //
154
- # // HTTP | gRPC
155
- # // -----|-----
156
- # // `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
157
- # // `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
158
- # // "foo"))`
153
+ # // - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo`
154
+ # // - gRPC: `GetMessage(message_id: "123456" revision: 2 sub:
155
+ # // SubMessage(subfield: "foo"))`
159
156
  # //
160
157
  # // Note that fields which are mapped to URL query parameters must have a
161
158
  # // primitive type or a repeated primitive type or a non-repeated message type.
@@ -185,10 +182,8 @@ end
185
182
  # // representation of the JSON in the request body is determined by
186
183
  # // protos JSON encoding:
187
184
  # //
188
- # // HTTP | gRPC
189
- # // -----|-----
190
- # // `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
191
- # // "123456" message { text: "Hi!" })`
185
+ # // - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
186
+ # // - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })`
192
187
  # //
193
188
  # // The special name `*` can be used in the body mapping to define that
194
189
  # // every field not bound by the path template should be mapped to the
@@ -211,10 +206,8 @@ end
211
206
  # //
212
207
  # // The following HTTP JSON to RPC mapping is enabled:
213
208
  # //
214
- # // HTTP | gRPC
215
- # // -----|-----
216
- # // `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
217
- # // "123456" text: "Hi!")`
209
+ # // - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
210
+ # // - gRPC: `UpdateMessage(message_id: "123456" text: "Hi!")`
218
211
  # //
219
212
  # // Note that when using `*` in the body mapping, it is not possible to
220
213
  # // have HTTP parameters, as all fields not bound by the path end in
@@ -242,13 +235,13 @@ end
242
235
  # //
243
236
  # // This enables the following two alternative HTTP JSON to RPC mappings:
244
237
  # //
245
- # // HTTP | gRPC
246
- # // -----|-----
247
- # // `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
248
- # // `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
249
- # // "123456")`
238
+ # // - HTTP: `GET /v1/messages/123456`
239
+ # // - gRPC: `GetMessage(message_id: "123456")`
250
240
  # //
251
- # // ## Rules for HTTP mapping
241
+ # // - HTTP: `GET /v1/users/me/messages/123456`
242
+ # // - gRPC: `GetMessage(user_id: "me" message_id: "123456")`
243
+ # //
244
+ # // Rules for HTTP mapping
252
245
  # //
253
246
  # // 1. Leaf request fields (recursive expansion nested messages in the request
254
247
  # // message) are classified into three categories:
@@ -267,7 +260,7 @@ end
267
260
  # // request body, all
268
261
  # // fields are passed via URL path and URL query parameters.
269
262
  # //
270
- # // ### Path template syntax
263
+ # // Path template syntax
271
264
  # //
272
265
  # // Template = "/" Segments [ Verb ] ;
273
266
  # // Segments = Segment { "/" Segment } ;
@@ -306,7 +299,7 @@ end
306
299
  # // Document](https://developers.google.com/discovery/v1/reference/apis) as
307
300
  # // `{+var}`.
308
301
  # //
309
- # // ## Using gRPC API Service Configuration
302
+ # // Using gRPC API Service Configuration
310
303
  # //
311
304
  # // gRPC API Service Configuration (service config) is a configuration language
312
305
  # // for configuring a gRPC service to become a user-facing product. The
@@ -321,15 +314,14 @@ end
321
314
  # // specified in the service config will override any matching transcoding
322
315
  # // configuration in the proto.
323
316
  # //
324
- # // Example:
317
+ # // The following example selects a gRPC method and applies an `HttpRule` to it:
325
318
  # //
326
319
  # // http:
327
320
  # // rules:
328
- # // # Selects a gRPC method and applies HttpRule to it.
329
321
  # // - selector: example.v1.Messaging.GetMessage
330
322
  # // get: /v1/messages/{message_id}/{sub.subfield}
331
323
  # //
332
- # // ## Special notes
324
+ # // Special notes
333
325
  # //
334
326
  # // When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
335
327
  # // proto to JSON conversion must follow the [proto3
@@ -225,8 +225,13 @@ end
225
225
  #
226
226
  # // The plural name used in the resource name and permission names, such as
227
227
  # // 'projects' for the resource name of 'projects/{project}' and the permission
228
- # // name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
229
- # // concept of the `plural` field in k8s CRD spec
228
+ # // name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
229
+ # // to this is for Nested Collections that have stuttering names, as defined
230
+ # // in [AIP-122](https://google.aip.dev/122#nested-collections), where the
231
+ # // collection ID in the resource name pattern does not necessarily directly
232
+ # // match the `plural` value.
233
+ # //
234
+ # // It is the same concept of the `plural` field in k8s CRD spec
230
235
  # // https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
231
236
  # //
232
237
  # // Note: The plural form is required even for singleton resources. See
@@ -17,7 +17,7 @@
17
17
  module Google
18
18
  module CommonProtos
19
19
  module Types
20
- VERSION = "1.15.0".freeze
20
+ VERSION = "1.16.0".freeze
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googleapis-common-protos-types
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.16.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: 2024-06-11 00:00:00.000000000 Z
11
+ date: 2024-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf