google-apis-serviceusage_v1 0.52.0 → 0.54.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: 942c1a12eb558adf93132c9d37a53831d62fd4b99a68eb59641ddac89fbd7a3a
4
- data.tar.gz: 841df4f8e6f374a097d9e795d24f261ef25678c6430f1e52499a7a853ffaaeac
3
+ metadata.gz: 35dfc01a3dab09288fbd7db9979fdf5ec0966e6eb0d1dba129cb5b987f53d11e
4
+ data.tar.gz: 674b030fd883eccee57f0b99e691b7a78aa5fc516ae9b4d482e0bf186fee4824
5
5
  SHA512:
6
- metadata.gz: df7ca334886a4c02eef80ca5d95bcde59676636b6ce31e691108caa65a2ef7481a6503f72c16f5395d9a3260422f8ecf6c46a6eab2ec74bfa32e07d52bf175a0
7
- data.tar.gz: '0025093f2a2189741dd9c20e1d1d34ab5dd7eef879fa24da34419df2caef1e28cc1fa9798a4a92e92cb5238ea9ab458f5e28a0849fe00f331c5c8a5f5894a52d'
6
+ metadata.gz: 9712b4b3dbbeaa9fc1fb0160bfa81962bbff7c7fdb0fb542ae450cf8f1a20fb474d768dc720328710167499ab3227b523e648e026fd4b6bd9c8b78a5e98f8dea
7
+ data.tar.gz: 71899103ef5e874327bfa14001720c7fbf4968d07eca832e0c4d8af3eb9754a555b733aae2252313448809693dd54955e56c2cadf647c2bca00ec3afe02607df
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.54.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240712
6
+
7
+ ### v0.53.0 (2024-06-09)
8
+
9
+ * Regenerated from discovery document revision 20240602
10
+
3
11
  ### v0.52.0 (2024-05-19)
4
12
 
5
13
  * Regenerated using generator version 0.15.0
@@ -912,12 +912,14 @@ module Google
912
912
  # @return [Array<String>]
913
913
  attr_accessor :allowed_response_extensions
914
914
 
915
- # A list of full type names of provided contexts.
915
+ # A list of full type names of provided contexts. It is used to support
916
+ # propagating HTTP headers and ETags from the response extension.
916
917
  # Corresponds to the JSON property `provided`
917
918
  # @return [Array<String>]
918
919
  attr_accessor :provided
919
920
 
920
- # A list of full type names of requested contexts.
921
+ # A list of full type names of requested contexts, only the requested context
922
+ # will be made available to the backend.
921
923
  # Corresponds to the JSON property `requested`
922
924
  # @return [Array<String>]
923
925
  attr_accessor :requested
@@ -2499,7 +2501,7 @@ module Google
2499
2501
  end
2500
2502
  end
2501
2503
 
2502
- # # gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC
2504
+ # gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC
2503
2505
  # method and one or more HTTP REST endpoints. It allows developers to build a
2504
2506
  # single API service that supports both gRPC APIs and REST APIs. Many systems,
2505
2507
  # including [Google APIs](https://github.com/googleapis/googleapis), [Cloud
@@ -2519,70 +2521,69 @@ module Google
2519
2521
  # Message) ` option (google.api.http) = ` get: "/v1/`name=messages/*`" `; ` `
2520
2522
  # message GetMessageRequest ` string name = 1; // Mapped to URL path. ` message
2521
2523
  # Message ` string text = 1; // The resource content. ` This enables an HTTP
2522
- # REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/
2523
- # 123456` | `GetMessage(name: "messages/123456")` Any fields in the request
2524
- # message which are not bound by the path template automatically become HTTP
2525
- # query parameters if there is no HTTP request body. For example: service
2526
- # Messaging ` rpc GetMessage(GetMessageRequest) returns (Message) ` option (
2527
- # google.api.http) = ` get:"/v1/messages/`message_id`" `; ` ` message
2528
- # GetMessageRequest ` message SubMessage ` string subfield = 1; ` string
2529
- # message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL
2530
- # query parameter `revision`. SubMessage sub = 3; // Mapped to URL query
2531
- # parameter `sub.subfield`. ` This enables a HTTP JSON to RPC mapping as below:
2532
- # HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
2533
- # `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))
2534
- # ` Note that fields which are mapped to URL query parameters must have a
2535
- # primitive type or a repeated primitive type or a non-repeated message type. In
2536
- # the case of a repeated type, the parameter can be repeated in the URL as `...?
2537
- # param=A&param=B`. In the case of a message type, each field of the message is
2538
- # mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For
2539
- # HTTP methods that allow a request body, the `body` field specifies the mapping.
2540
- # Consider a REST update method on the message resource collection: service
2541
- # Messaging ` rpc UpdateMessage(UpdateMessageRequest) returns (Message) ` option
2542
- # (google.api.http) = ` patch: "/v1/messages/`message_id`" body: "message" `; ` `
2543
- # message UpdateMessageRequest ` string message_id = 1; // mapped to the URL
2544
- # Message message = 2; // mapped to the body ` The following HTTP JSON to RPC
2545
- # mapping is enabled, where the representation of the JSON in the request body
2546
- # is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/
2547
- # messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "123456"
2548
- # message ` text: "Hi!" `)` The special name `*` can be used in the body mapping
2549
- # to define that every field not bound by the path template should be mapped to
2550
- # the request body. This enables the following alternative definition of the
2551
- # update method: service Messaging ` rpc UpdateMessage(Message) returns (Message)
2552
- # ` option (google.api.http) = ` patch: "/v1/messages/`message_id`" body: "*" `;
2553
- # ` ` message Message ` string message_id = 1; string text = 2; ` The following
2554
- # HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/
2555
- # messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "123456" text:
2556
- # "Hi!")` Note that when using `*` in the body mapping, it is not possible to
2557
- # have HTTP parameters, as all fields not bound by the path end in the body.
2558
- # This makes this option more rarely used in practice when defining REST APIs.
2559
- # The common usage of `*` is in custom methods which don't use the URL at all
2560
- # for transferring data. It is possible to define multiple HTTP methods for one
2561
- # RPC by using the `additional_bindings` option. Example: service Messaging `
2562
- # rpc GetMessage(GetMessageRequest) returns (Message) ` option (google.api.http)
2563
- # = ` get: "/v1/messages/`message_id`" additional_bindings ` get: "/v1/users/`
2564
- # user_id`/messages/`message_id`" ` `; ` ` message GetMessageRequest ` string
2565
- # message_id = 1; string user_id = 2; ` This enables the following two
2566
- # alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/
2567
- # messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/
2568
- # messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules
2569
- # for HTTP mapping 1. Leaf request fields (recursive expansion nested messages
2570
- # in the request message) are classified into three categories: - Fields
2571
- # referred by the path template. They are passed via the URL path. - Fields
2572
- # referred by the HttpRule.body. They are passed via the HTTP request body. -
2573
- # All other fields are passed via the URL query parameters, and the parameter
2574
- # name is the field path in the request message. A repeated field can be
2575
- # represented as multiple query parameters under the same name. 2. If HttpRule.
2576
- # body is "*", there is no URL query parameter, all fields are passed via URL
2577
- # path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP
2578
- # request body, all fields are passed via URL path and URL query parameters. ###
2579
- # Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment ` "/
2580
- # " Segment ` ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "`"
2581
- # FieldPath [ "=" Segments ] "`" ; FieldPath = IDENT ` "." IDENT ` ; Verb = ":"
2582
- # LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**`
2583
- # matches zero or more URL path segments, which must be the last part of the URL
2584
- # path except the `Verb`. The syntax `Variable` matches part of the URL path as
2585
- # specified by its template. A variable template must not contain other
2524
+ # REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - gRPC: `
2525
+ # GetMessage(name: "messages/123456")` Any fields in the request message which
2526
+ # are not bound by the path template automatically become HTTP query parameters
2527
+ # if there is no HTTP request body. For example: service Messaging ` rpc
2528
+ # GetMessage(GetMessageRequest) returns (Message) ` option (google.api.http) = `
2529
+ # get:"/v1/messages/`message_id`" `; ` ` message GetMessageRequest ` message
2530
+ # SubMessage ` string subfield = 1; ` string message_id = 1; // Mapped to URL
2531
+ # path. int64 revision = 2; // Mapped to URL query parameter `revision`.
2532
+ # SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. ` This
2533
+ # enables a HTTP JSON to RPC mapping as below: - HTTP: `GET /v1/messages/123456?
2534
+ # revision=2&sub.subfield=foo` - gRPC: `GetMessage(message_id: "123456" revision:
2535
+ # 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL
2536
+ # query parameters must have a primitive type or a repeated primitive type or a
2537
+ # non-repeated message type. In the case of a repeated type, the parameter can
2538
+ # be repeated in the URL as `...?param=A&param=B`. In the case of a message type,
2539
+ # each field of the message is mapped to a separate parameter, such as `...?foo.
2540
+ # a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body`
2541
+ # field specifies the mapping. Consider a REST update method on the message
2542
+ # resource collection: service Messaging ` rpc UpdateMessage(
2543
+ # UpdateMessageRequest) returns (Message) ` option (google.api.http) = ` patch: "
2544
+ # /v1/messages/`message_id`" body: "message" `; ` ` message UpdateMessageRequest
2545
+ # ` string message_id = 1; // mapped to the URL Message message = 2; // mapped
2546
+ # to the body ` The following HTTP JSON to RPC mapping is enabled, where the
2547
+ # representation of the JSON in the request body is determined by protos JSON
2548
+ # encoding: - HTTP: `PATCH /v1/messages/123456 ` "text": "Hi!" `` - gRPC: `
2549
+ # UpdateMessage(message_id: "123456" message ` text: "Hi!" `)` The special name `
2550
+ # *` can be used in the body mapping to define that every field not bound by the
2551
+ # path template should be mapped to the request body. This enables the following
2552
+ # alternative definition of the update method: service Messaging ` rpc
2553
+ # UpdateMessage(Message) returns (Message) ` option (google.api.http) = ` patch:
2554
+ # "/v1/messages/`message_id`" body: "*" `; ` ` message Message ` string
2555
+ # message_id = 1; string text = 2; ` The following HTTP JSON to RPC mapping is
2556
+ # enabled: - HTTP: `PATCH /v1/messages/123456 ` "text": "Hi!" `` - gRPC: `
2557
+ # UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in
2558
+ # the body mapping, it is not possible to have HTTP parameters, as all fields
2559
+ # not bound by the path end in the body. This makes this option more rarely used
2560
+ # in practice when defining REST APIs. The common usage of `*` is in custom
2561
+ # methods which don't use the URL at all for transferring data. It is possible
2562
+ # to define multiple HTTP methods for one RPC by using the `additional_bindings`
2563
+ # option. Example: service Messaging ` rpc GetMessage(GetMessageRequest) returns
2564
+ # (Message) ` option (google.api.http) = ` get: "/v1/messages/`message_id`"
2565
+ # additional_bindings ` get: "/v1/users/`user_id`/messages/`message_id`" ` `; ` `
2566
+ # message GetMessageRequest ` string message_id = 1; string user_id = 2; ` This
2567
+ # enables the following two alternative HTTP JSON to RPC mappings: - HTTP: `GET /
2568
+ # v1/messages/123456` - gRPC: `GetMessage(message_id: "123456")` - HTTP: `GET /
2569
+ # v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: "me" message_id: "
2570
+ # 123456")` Rules for HTTP mapping 1. Leaf request fields (recursive expansion
2571
+ # nested messages in the request message) are classified into three categories: -
2572
+ # Fields referred by the path template. They are passed via the URL path. -
2573
+ # Fields referred by the HttpRule.body. They are passed via the HTTP request
2574
+ # body. - All other fields are passed via the URL query parameters, and the
2575
+ # parameter name is the field path in the request message. A repeated field can
2576
+ # be represented as multiple query parameters under the same name. 2. If
2577
+ # HttpRule.body is "*", there is no URL query parameter, all fields are passed
2578
+ # via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is
2579
+ # no HTTP request body, all fields are passed via URL path and URL query
2580
+ # parameters. Path template syntax Template = "/" Segments [ Verb ] ; Segments =
2581
+ # Segment ` "/" Segment ` ; Segment = "*" | "**" | LITERAL | Variable ; Variable
2582
+ # = "`" FieldPath [ "=" Segments ] "`" ; FieldPath = IDENT ` "." IDENT ` ; Verb =
2583
+ # ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**
2584
+ # ` matches zero or more URL path segments, which must be the last part of the
2585
+ # URL path except the `Verb`. The syntax `Variable` matches part of the URL path
2586
+ # as specified by its template. A variable template must not contain other
2586
2587
  # variables. If a variable matches a single path segment, its template may be
2587
2588
  # omitted, e.g. ``var`` is equivalent to ``var=*``. The syntax `LITERAL` matches
2588
2589
  # literal text in the URL path. If the `LITERAL` contains any reserved character,
@@ -2597,7 +2598,7 @@ module Google
2597
2598
  # except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the
2598
2599
  # reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables
2599
2600
  # show up in the [Discovery Document](https://developers.google.com/discovery/v1/
2600
- # reference/apis) as ``+var``. ## Using gRPC API Service Configuration gRPC API
2601
+ # reference/apis) as ``+var``. Using gRPC API Service Configuration gRPC API
2601
2602
  # Service Configuration (service config) is a configuration language for
2602
2603
  # configuring a gRPC service to become a user-facing product. The service config
2603
2604
  # is simply the YAML representation of the `google.api.Service` proto message.
@@ -2607,27 +2608,27 @@ module Google
2607
2608
  # effect as the proto annotation. This can be particularly useful if you have a
2608
2609
  # proto that is reused in multiple services. Note that any transcoding specified
2609
2610
  # in the service config will override any matching transcoding configuration in
2610
- # the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule
2611
- # to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/`
2612
- # message_id`/`sub.subfield` ## Special notes When gRPC Transcoding is used to
2613
- # map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow
2614
- # the [proto3 specification](https://developers.google.com/protocol-buffers/docs/
2615
- # proto3#json). While the single segment variable follows the semantics of [RFC
2616
- # 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
2617
- # Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.
2618
- # 3 Reserved Expansion. The reason is that the Reserved Expansion does not
2619
- # expand special characters like `?` and `#`, which would lead to invalid URLs.
2620
- # As the result, gRPC Transcoding uses a custom encoding for multi segment
2621
- # variables. The path variables **must not** refer to any repeated or mapped
2622
- # field, because client libraries are not capable of handling such variable
2623
- # expansion. The path variables **must not** capture the leading "/" character.
2624
- # The reason is that the most common use case "`var`" does not capture the
2625
- # leading "/" character. For consistency, all path variables must share the same
2626
- # behavior. Repeated message fields must not be mapped to URL query parameters,
2627
- # because no client library can support such complicated mapping. If an API
2628
- # needs to use a JSON array for request or response body, it can map the request
2629
- # or response body to a repeated field. However, some gRPC Transcoding
2630
- # implementations may not support this feature.
2611
+ # the proto. The following example selects a gRPC method and applies an `
2612
+ # HttpRule` to it: http: rules: - selector: example.v1.Messaging.GetMessage get:
2613
+ # /v1/messages/`message_id`/`sub.subfield` Special notes When gRPC Transcoding
2614
+ # is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion
2615
+ # must follow the [proto3 specification](https://developers.google.com/protocol-
2616
+ # buffers/docs/proto3#json). While the single segment variable follows the
2617
+ # semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
2618
+ # Simple String Expansion, the multi segment variable **does not** follow RFC
2619
+ # 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved
2620
+ # Expansion does not expand special characters like `?` and `#`, which would
2621
+ # lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
2622
+ # for multi segment variables. The path variables **must not** refer to any
2623
+ # repeated or mapped field, because client libraries are not capable of handling
2624
+ # such variable expansion. The path variables **must not** capture the leading "/
2625
+ # " character. The reason is that the most common use case "`var`" does not
2626
+ # capture the leading "/" character. For consistency, all path variables must
2627
+ # share the same behavior. Repeated message fields must not be mapped to URL
2628
+ # query parameters, because no client library can support such complicated
2629
+ # mapping. If an API needs to use a JSON array for request or response body, it
2630
+ # can map the request or response body to a repeated field. However, some gRPC
2631
+ # Transcoding implementations may not support this feature.
2631
2632
  class HttpRule
2632
2633
  include Google::Apis::Core::Hashable
2633
2634
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceusageV1
18
18
  # Version of the google-apis-serviceusage_v1 gem
19
- GEM_VERSION = "0.52.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240429"
25
+ REVISION = "20240712"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.0
4
+ version: 0.54.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-05-19 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.54.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
63
63
  post_install_message:
64
64
  rdoc_options: []