google-apis-serviceconsumermanagement_v1 0.47.0 → 0.49.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23fb133393c687652b1c25749271582761c03d1477348a96539318c2a3a80ccd
|
4
|
+
data.tar.gz: c9f581438a4142bdc22b4aa3fadc57b9a6dc3d681da70c8908416990e608aaab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de4ad4bc289cf6143d1cb4913b792111566228d49acee1a0b7f92a35191072c57ad6b7073b9b7084fc83d33a9daf2a957df905479261ce3942d69e727dcd9217
|
7
|
+
data.tar.gz: eb3a7c628bba29db2c4f16014e152fe9541f07f1ecf0b412d94f94f6f0066987710418791d14fb3a3fabff8856a681a9e7a2269de8bca708034659319ac45966
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-serviceconsumermanagement_v1
|
2
2
|
|
3
|
+
### v0.49.0 (2024-07-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240712
|
6
|
+
|
7
|
+
### v0.48.0 (2024-06-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240602
|
10
|
+
|
3
11
|
### v0.47.0 (2024-05-19)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.15.0
|
@@ -760,12 +760,14 @@ module Google
|
|
760
760
|
# @return [Array<String>]
|
761
761
|
attr_accessor :allowed_response_extensions
|
762
762
|
|
763
|
-
# A list of full type names of provided contexts.
|
763
|
+
# A list of full type names of provided contexts. It is used to support
|
764
|
+
# propagating HTTP headers and ETags from the response extension.
|
764
765
|
# Corresponds to the JSON property `provided`
|
765
766
|
# @return [Array<String>]
|
766
767
|
attr_accessor :provided
|
767
768
|
|
768
|
-
# A list of full type names of requested contexts
|
769
|
+
# A list of full type names of requested contexts, only the requested context
|
770
|
+
# will be made available to the backend.
|
769
771
|
# Corresponds to the JSON property `requested`
|
770
772
|
# @return [Array<String>]
|
771
773
|
attr_accessor :requested
|
@@ -1487,7 +1489,7 @@ module Google
|
|
1487
1489
|
end
|
1488
1490
|
end
|
1489
1491
|
|
1490
|
-
#
|
1492
|
+
# gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC
|
1491
1493
|
# method and one or more HTTP REST endpoints. It allows developers to build a
|
1492
1494
|
# single API service that supports both gRPC APIs and REST APIs. Many systems,
|
1493
1495
|
# including [Google APIs](https://github.com/googleapis/googleapis), [Cloud
|
@@ -1507,70 +1509,69 @@ module Google
|
|
1507
1509
|
# Message) ` option (google.api.http) = ` get: "/v1/`name=messages/*`" `; ` `
|
1508
1510
|
# message GetMessageRequest ` string name = 1; // Mapped to URL path. ` message
|
1509
1511
|
# Message ` string text = 1; // The resource content. ` This enables an HTTP
|
1510
|
-
# REST to gRPC mapping as below: HTTP
|
1511
|
-
#
|
1512
|
-
#
|
1513
|
-
#
|
1514
|
-
#
|
1515
|
-
#
|
1516
|
-
#
|
1517
|
-
#
|
1518
|
-
#
|
1519
|
-
#
|
1520
|
-
#
|
1521
|
-
#
|
1522
|
-
#
|
1523
|
-
#
|
1524
|
-
#
|
1525
|
-
#
|
1526
|
-
#
|
1527
|
-
#
|
1528
|
-
#
|
1529
|
-
#
|
1530
|
-
#
|
1531
|
-
#
|
1532
|
-
#
|
1533
|
-
#
|
1534
|
-
#
|
1535
|
-
#
|
1536
|
-
#
|
1537
|
-
#
|
1538
|
-
#
|
1539
|
-
#
|
1540
|
-
#
|
1541
|
-
#
|
1542
|
-
#
|
1543
|
-
#
|
1544
|
-
#
|
1545
|
-
#
|
1546
|
-
#
|
1547
|
-
#
|
1548
|
-
#
|
1549
|
-
#
|
1550
|
-
#
|
1551
|
-
#
|
1552
|
-
#
|
1553
|
-
#
|
1554
|
-
#
|
1555
|
-
# messages/123456`
|
1556
|
-
#
|
1557
|
-
#
|
1558
|
-
#
|
1559
|
-
# referred by the
|
1560
|
-
#
|
1561
|
-
#
|
1562
|
-
#
|
1563
|
-
#
|
1564
|
-
#
|
1565
|
-
#
|
1566
|
-
#
|
1567
|
-
#
|
1568
|
-
# "
|
1569
|
-
#
|
1570
|
-
#
|
1571
|
-
#
|
1572
|
-
#
|
1573
|
-
# specified by its template. A variable template must not contain other
|
1512
|
+
# REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - gRPC: `
|
1513
|
+
# GetMessage(name: "messages/123456")` Any fields in the request message which
|
1514
|
+
# are not bound by the path template automatically become HTTP query parameters
|
1515
|
+
# if there is no HTTP request body. For example: service Messaging ` rpc
|
1516
|
+
# GetMessage(GetMessageRequest) returns (Message) ` option (google.api.http) = `
|
1517
|
+
# get:"/v1/messages/`message_id`" `; ` ` message GetMessageRequest ` message
|
1518
|
+
# SubMessage ` string subfield = 1; ` string message_id = 1; // Mapped to URL
|
1519
|
+
# path. int64 revision = 2; // Mapped to URL query parameter `revision`.
|
1520
|
+
# SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. ` This
|
1521
|
+
# enables a HTTP JSON to RPC mapping as below: - HTTP: `GET /v1/messages/123456?
|
1522
|
+
# revision=2&sub.subfield=foo` - gRPC: `GetMessage(message_id: "123456" revision:
|
1523
|
+
# 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL
|
1524
|
+
# query parameters must have a primitive type or a repeated primitive type or a
|
1525
|
+
# non-repeated message type. In the case of a repeated type, the parameter can
|
1526
|
+
# be repeated in the URL as `...?param=A¶m=B`. In the case of a message type,
|
1527
|
+
# each field of the message is mapped to a separate parameter, such as `...?foo.
|
1528
|
+
# a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body`
|
1529
|
+
# field specifies the mapping. Consider a REST update method on the message
|
1530
|
+
# resource collection: service Messaging ` rpc UpdateMessage(
|
1531
|
+
# UpdateMessageRequest) returns (Message) ` option (google.api.http) = ` patch: "
|
1532
|
+
# /v1/messages/`message_id`" body: "message" `; ` ` message UpdateMessageRequest
|
1533
|
+
# ` string message_id = 1; // mapped to the URL Message message = 2; // mapped
|
1534
|
+
# to the body ` The following HTTP JSON to RPC mapping is enabled, where the
|
1535
|
+
# representation of the JSON in the request body is determined by protos JSON
|
1536
|
+
# encoding: - HTTP: `PATCH /v1/messages/123456 ` "text": "Hi!" `` - gRPC: `
|
1537
|
+
# UpdateMessage(message_id: "123456" message ` text: "Hi!" `)` The special name `
|
1538
|
+
# *` can be used in the body mapping to define that every field not bound by the
|
1539
|
+
# path template should be mapped to the request body. This enables the following
|
1540
|
+
# alternative definition of the update method: service Messaging ` rpc
|
1541
|
+
# UpdateMessage(Message) returns (Message) ` option (google.api.http) = ` patch:
|
1542
|
+
# "/v1/messages/`message_id`" body: "*" `; ` ` message Message ` string
|
1543
|
+
# message_id = 1; string text = 2; ` The following HTTP JSON to RPC mapping is
|
1544
|
+
# enabled: - HTTP: `PATCH /v1/messages/123456 ` "text": "Hi!" `` - gRPC: `
|
1545
|
+
# UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in
|
1546
|
+
# the body mapping, it is not possible to have HTTP parameters, as all fields
|
1547
|
+
# not bound by the path end in the body. This makes this option more rarely used
|
1548
|
+
# in practice when defining REST APIs. The common usage of `*` is in custom
|
1549
|
+
# methods which don't use the URL at all for transferring data. It is possible
|
1550
|
+
# to define multiple HTTP methods for one RPC by using the `additional_bindings`
|
1551
|
+
# option. Example: service Messaging ` rpc GetMessage(GetMessageRequest) returns
|
1552
|
+
# (Message) ` option (google.api.http) = ` get: "/v1/messages/`message_id`"
|
1553
|
+
# additional_bindings ` get: "/v1/users/`user_id`/messages/`message_id`" ` `; ` `
|
1554
|
+
# message GetMessageRequest ` string message_id = 1; string user_id = 2; ` This
|
1555
|
+
# enables the following two alternative HTTP JSON to RPC mappings: - HTTP: `GET /
|
1556
|
+
# v1/messages/123456` - gRPC: `GetMessage(message_id: "123456")` - HTTP: `GET /
|
1557
|
+
# v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: "me" message_id: "
|
1558
|
+
# 123456")` Rules for HTTP mapping 1. Leaf request fields (recursive expansion
|
1559
|
+
# nested messages in the request message) are classified into three categories: -
|
1560
|
+
# Fields referred by the path template. They are passed via the URL path. -
|
1561
|
+
# Fields referred by the HttpRule.body. They are passed via the HTTP request
|
1562
|
+
# body. - All other fields are passed via the URL query parameters, and the
|
1563
|
+
# parameter name is the field path in the request message. A repeated field can
|
1564
|
+
# be represented as multiple query parameters under the same name. 2. If
|
1565
|
+
# HttpRule.body is "*", there is no URL query parameter, all fields are passed
|
1566
|
+
# via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is
|
1567
|
+
# no HTTP request body, all fields are passed via URL path and URL query
|
1568
|
+
# parameters. Path template syntax Template = "/" Segments [ Verb ] ; Segments =
|
1569
|
+
# Segment ` "/" Segment ` ; Segment = "*" | "**" | LITERAL | Variable ; Variable
|
1570
|
+
# = "`" FieldPath [ "=" Segments ] "`" ; FieldPath = IDENT ` "." IDENT ` ; Verb =
|
1571
|
+
# ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**
|
1572
|
+
# ` matches zero or more URL path segments, which must be the last part of the
|
1573
|
+
# URL path except the `Verb`. The syntax `Variable` matches part of the URL path
|
1574
|
+
# as specified by its template. A variable template must not contain other
|
1574
1575
|
# variables. If a variable matches a single path segment, its template may be
|
1575
1576
|
# omitted, e.g. ``var`` is equivalent to ``var=*``. The syntax `LITERAL` matches
|
1576
1577
|
# literal text in the URL path. If the `LITERAL` contains any reserved character,
|
@@ -1585,7 +1586,7 @@ module Google
|
|
1585
1586
|
# except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the
|
1586
1587
|
# reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables
|
1587
1588
|
# show up in the [Discovery Document](https://developers.google.com/discovery/v1/
|
1588
|
-
# reference/apis) as ``+var``.
|
1589
|
+
# reference/apis) as ``+var``. Using gRPC API Service Configuration gRPC API
|
1589
1590
|
# Service Configuration (service config) is a configuration language for
|
1590
1591
|
# configuring a gRPC service to become a user-facing product. The service config
|
1591
1592
|
# is simply the YAML representation of the `google.api.Service` proto message.
|
@@ -1595,27 +1596,27 @@ module Google
|
|
1595
1596
|
# effect as the proto annotation. This can be particularly useful if you have a
|
1596
1597
|
# proto that is reused in multiple services. Note that any transcoding specified
|
1597
1598
|
# in the service config will override any matching transcoding configuration in
|
1598
|
-
# the proto.
|
1599
|
-
# to it
|
1600
|
-
# message_id`/`sub.subfield`
|
1601
|
-
# map a gRPC to JSON REST endpoints, the proto to JSON conversion
|
1602
|
-
# the [proto3 specification](https://developers.google.com/protocol-
|
1603
|
-
# proto3#json). While the single segment variable follows the
|
1604
|
-
# 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
|
1605
|
-
# Expansion, the multi segment variable **does not** follow RFC
|
1606
|
-
# 3 Reserved Expansion. The reason is that the Reserved
|
1607
|
-
# expand special characters like `?` and `#`, which would
|
1608
|
-
# As the result, gRPC Transcoding uses a custom encoding
|
1609
|
-
# variables. The path variables **must not** refer to any
|
1610
|
-
# field, because client libraries are not capable of handling
|
1611
|
-
# expansion. The path variables **must not** capture the leading "/
|
1612
|
-
# The reason is that the most common use case "`var`" does not
|
1613
|
-
# leading "/" character. For consistency, all path variables must
|
1614
|
-
# behavior. Repeated message fields must not be mapped to URL
|
1615
|
-
# because no client library can support such complicated
|
1616
|
-
# needs to use a JSON array for request or response body, it
|
1617
|
-
# or response body to a repeated field. However, some gRPC
|
1618
|
-
# implementations may not support this feature.
|
1599
|
+
# the proto. The following example selects a gRPC method and applies an `
|
1600
|
+
# HttpRule` to it: http: rules: - selector: example.v1.Messaging.GetMessage get:
|
1601
|
+
# /v1/messages/`message_id`/`sub.subfield` Special notes When gRPC Transcoding
|
1602
|
+
# is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion
|
1603
|
+
# must follow the [proto3 specification](https://developers.google.com/protocol-
|
1604
|
+
# buffers/docs/proto3#json). While the single segment variable follows the
|
1605
|
+
# semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
|
1606
|
+
# Simple String Expansion, the multi segment variable **does not** follow RFC
|
1607
|
+
# 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved
|
1608
|
+
# Expansion does not expand special characters like `?` and `#`, which would
|
1609
|
+
# lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
|
1610
|
+
# for multi segment variables. The path variables **must not** refer to any
|
1611
|
+
# repeated or mapped field, because client libraries are not capable of handling
|
1612
|
+
# such variable expansion. The path variables **must not** capture the leading "/
|
1613
|
+
# " character. The reason is that the most common use case "`var`" does not
|
1614
|
+
# capture the leading "/" character. For consistency, all path variables must
|
1615
|
+
# share the same behavior. Repeated message fields must not be mapped to URL
|
1616
|
+
# query parameters, because no client library can support such complicated
|
1617
|
+
# mapping. If an API needs to use a JSON array for request or response body, it
|
1618
|
+
# can map the request or response body to a repeated field. However, some gRPC
|
1619
|
+
# Transcoding implementations may not support this feature.
|
1619
1620
|
class HttpRule
|
1620
1621
|
include Google::Apis::Core::Hashable
|
1621
1622
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServiceconsumermanagementV1
|
18
18
|
# Version of the google-apis-serviceconsumermanagement_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.49.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 = "
|
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-serviceconsumermanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.49.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-
|
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-serviceconsumermanagement_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.49.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceconsumermanagement_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|