google-apis-servicemanagement_v1 0.56.0 → 0.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65abbc5d017fac8e4657fb5a06d6903f4530ac6f8221a8caf72708703b5cc617
|
4
|
+
data.tar.gz: a854a6d548eb690602313ecc2b7fb5104455b4554ff2472401b6913ee5183058
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f0a3e35950b3aff60a860226b1995e7e5728747ffd0af35db5c2c915d99461439bb2e3a7f442ca4d05a6ac864afc8540597b9802985b1d5e014320bab9014cb
|
7
|
+
data.tar.gz: 596e06c207415778d72b399ad650df327e4fadaa45890e9f1d26ac34903f7efa8aa93dcde5ccb6314e68ce692f06f5fd2f4fa068ca154eb6395b5520a4c224c2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-servicemanagement_v1
|
2
2
|
|
3
|
+
### v0.58.0 (2024-07-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240712
|
6
|
+
|
7
|
+
### v0.57.0 (2024-06-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240531
|
10
|
+
|
3
11
|
### v0.56.0 (2024-05-19)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.15.0
|
@@ -988,12 +988,14 @@ module Google
|
|
988
988
|
# @return [Array<String>]
|
989
989
|
attr_accessor :allowed_response_extensions
|
990
990
|
|
991
|
-
# A list of full type names of provided contexts.
|
991
|
+
# A list of full type names of provided contexts. It is used to support
|
992
|
+
# propagating HTTP headers and ETags from the response extension.
|
992
993
|
# Corresponds to the JSON property `provided`
|
993
994
|
# @return [Array<String>]
|
994
995
|
attr_accessor :provided
|
995
996
|
|
996
|
-
# A list of full type names of requested contexts
|
997
|
+
# A list of full type names of requested contexts, only the requested context
|
998
|
+
# will be made available to the backend.
|
997
999
|
# Corresponds to the JSON property `requested`
|
998
1000
|
# @return [Array<String>]
|
999
1001
|
attr_accessor :requested
|
@@ -1910,7 +1912,7 @@ module Google
|
|
1910
1912
|
end
|
1911
1913
|
end
|
1912
1914
|
|
1913
|
-
#
|
1915
|
+
# gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC
|
1914
1916
|
# method and one or more HTTP REST endpoints. It allows developers to build a
|
1915
1917
|
# single API service that supports both gRPC APIs and REST APIs. Many systems,
|
1916
1918
|
# including [Google APIs](https://github.com/googleapis/googleapis), [Cloud
|
@@ -1930,70 +1932,69 @@ module Google
|
|
1930
1932
|
# Message) ` option (google.api.http) = ` get: "/v1/`name=messages/*`" `; ` `
|
1931
1933
|
# message GetMessageRequest ` string name = 1; // Mapped to URL path. ` message
|
1932
1934
|
# Message ` string text = 1; // The resource content. ` This enables an HTTP
|
1933
|
-
# REST to gRPC mapping as below: HTTP
|
1934
|
-
#
|
1935
|
-
#
|
1936
|
-
#
|
1937
|
-
#
|
1938
|
-
#
|
1939
|
-
#
|
1940
|
-
#
|
1941
|
-
#
|
1942
|
-
#
|
1943
|
-
#
|
1944
|
-
#
|
1945
|
-
#
|
1946
|
-
#
|
1947
|
-
#
|
1948
|
-
#
|
1949
|
-
#
|
1950
|
-
#
|
1951
|
-
#
|
1952
|
-
#
|
1953
|
-
#
|
1954
|
-
#
|
1955
|
-
#
|
1956
|
-
#
|
1957
|
-
#
|
1958
|
-
#
|
1959
|
-
#
|
1960
|
-
#
|
1961
|
-
#
|
1962
|
-
#
|
1963
|
-
#
|
1964
|
-
#
|
1965
|
-
#
|
1966
|
-
#
|
1967
|
-
#
|
1968
|
-
#
|
1969
|
-
#
|
1970
|
-
#
|
1971
|
-
#
|
1972
|
-
#
|
1973
|
-
#
|
1974
|
-
#
|
1975
|
-
#
|
1976
|
-
#
|
1977
|
-
#
|
1978
|
-
# messages/123456`
|
1979
|
-
#
|
1980
|
-
#
|
1981
|
-
#
|
1982
|
-
# referred by the
|
1983
|
-
#
|
1984
|
-
#
|
1985
|
-
#
|
1986
|
-
#
|
1987
|
-
#
|
1988
|
-
#
|
1989
|
-
#
|
1990
|
-
#
|
1991
|
-
# "
|
1992
|
-
#
|
1993
|
-
#
|
1994
|
-
#
|
1995
|
-
#
|
1996
|
-
# specified by its template. A variable template must not contain other
|
1935
|
+
# REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - gRPC: `
|
1936
|
+
# GetMessage(name: "messages/123456")` Any fields in the request message which
|
1937
|
+
# are not bound by the path template automatically become HTTP query parameters
|
1938
|
+
# if there is no HTTP request body. For example: service Messaging ` rpc
|
1939
|
+
# GetMessage(GetMessageRequest) returns (Message) ` option (google.api.http) = `
|
1940
|
+
# get:"/v1/messages/`message_id`" `; ` ` message GetMessageRequest ` message
|
1941
|
+
# SubMessage ` string subfield = 1; ` string message_id = 1; // Mapped to URL
|
1942
|
+
# path. int64 revision = 2; // Mapped to URL query parameter `revision`.
|
1943
|
+
# SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. ` This
|
1944
|
+
# enables a HTTP JSON to RPC mapping as below: - HTTP: `GET /v1/messages/123456?
|
1945
|
+
# revision=2&sub.subfield=foo` - gRPC: `GetMessage(message_id: "123456" revision:
|
1946
|
+
# 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL
|
1947
|
+
# query parameters must have a primitive type or a repeated primitive type or a
|
1948
|
+
# non-repeated message type. In the case of a repeated type, the parameter can
|
1949
|
+
# be repeated in the URL as `...?param=A¶m=B`. In the case of a message type,
|
1950
|
+
# each field of the message is mapped to a separate parameter, such as `...?foo.
|
1951
|
+
# a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body`
|
1952
|
+
# field specifies the mapping. Consider a REST update method on the message
|
1953
|
+
# resource collection: service Messaging ` rpc UpdateMessage(
|
1954
|
+
# UpdateMessageRequest) returns (Message) ` option (google.api.http) = ` patch: "
|
1955
|
+
# /v1/messages/`message_id`" body: "message" `; ` ` message UpdateMessageRequest
|
1956
|
+
# ` string message_id = 1; // mapped to the URL Message message = 2; // mapped
|
1957
|
+
# to the body ` The following HTTP JSON to RPC mapping is enabled, where the
|
1958
|
+
# representation of the JSON in the request body is determined by protos JSON
|
1959
|
+
# encoding: - HTTP: `PATCH /v1/messages/123456 ` "text": "Hi!" `` - gRPC: `
|
1960
|
+
# UpdateMessage(message_id: "123456" message ` text: "Hi!" `)` The special name `
|
1961
|
+
# *` can be used in the body mapping to define that every field not bound by the
|
1962
|
+
# path template should be mapped to the request body. This enables the following
|
1963
|
+
# alternative definition of the update method: service Messaging ` rpc
|
1964
|
+
# UpdateMessage(Message) returns (Message) ` option (google.api.http) = ` patch:
|
1965
|
+
# "/v1/messages/`message_id`" body: "*" `; ` ` message Message ` string
|
1966
|
+
# message_id = 1; string text = 2; ` The following HTTP JSON to RPC mapping is
|
1967
|
+
# enabled: - HTTP: `PATCH /v1/messages/123456 ` "text": "Hi!" `` - gRPC: `
|
1968
|
+
# UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in
|
1969
|
+
# the body mapping, it is not possible to have HTTP parameters, as all fields
|
1970
|
+
# not bound by the path end in the body. This makes this option more rarely used
|
1971
|
+
# in practice when defining REST APIs. The common usage of `*` is in custom
|
1972
|
+
# methods which don't use the URL at all for transferring data. It is possible
|
1973
|
+
# to define multiple HTTP methods for one RPC by using the `additional_bindings`
|
1974
|
+
# option. Example: service Messaging ` rpc GetMessage(GetMessageRequest) returns
|
1975
|
+
# (Message) ` option (google.api.http) = ` get: "/v1/messages/`message_id`"
|
1976
|
+
# additional_bindings ` get: "/v1/users/`user_id`/messages/`message_id`" ` `; ` `
|
1977
|
+
# message GetMessageRequest ` string message_id = 1; string user_id = 2; ` This
|
1978
|
+
# enables the following two alternative HTTP JSON to RPC mappings: - HTTP: `GET /
|
1979
|
+
# v1/messages/123456` - gRPC: `GetMessage(message_id: "123456")` - HTTP: `GET /
|
1980
|
+
# v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: "me" message_id: "
|
1981
|
+
# 123456")` Rules for HTTP mapping 1. Leaf request fields (recursive expansion
|
1982
|
+
# nested messages in the request message) are classified into three categories: -
|
1983
|
+
# Fields referred by the path template. They are passed via the URL path. -
|
1984
|
+
# Fields referred by the HttpRule.body. They are passed via the HTTP request
|
1985
|
+
# body. - All other fields are passed via the URL query parameters, and the
|
1986
|
+
# parameter name is the field path in the request message. A repeated field can
|
1987
|
+
# be represented as multiple query parameters under the same name. 2. If
|
1988
|
+
# HttpRule.body is "*", there is no URL query parameter, all fields are passed
|
1989
|
+
# via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is
|
1990
|
+
# no HTTP request body, all fields are passed via URL path and URL query
|
1991
|
+
# parameters. Path template syntax Template = "/" Segments [ Verb ] ; Segments =
|
1992
|
+
# Segment ` "/" Segment ` ; Segment = "*" | "**" | LITERAL | Variable ; Variable
|
1993
|
+
# = "`" FieldPath [ "=" Segments ] "`" ; FieldPath = IDENT ` "." IDENT ` ; Verb =
|
1994
|
+
# ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**
|
1995
|
+
# ` matches zero or more URL path segments, which must be the last part of the
|
1996
|
+
# URL path except the `Verb`. The syntax `Variable` matches part of the URL path
|
1997
|
+
# as specified by its template. A variable template must not contain other
|
1997
1998
|
# variables. If a variable matches a single path segment, its template may be
|
1998
1999
|
# omitted, e.g. ``var`` is equivalent to ``var=*``. The syntax `LITERAL` matches
|
1999
2000
|
# literal text in the URL path. If the `LITERAL` contains any reserved character,
|
@@ -2008,7 +2009,7 @@ module Google
|
|
2008
2009
|
# except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the
|
2009
2010
|
# reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables
|
2010
2011
|
# show up in the [Discovery Document](https://developers.google.com/discovery/v1/
|
2011
|
-
# reference/apis) as ``+var``.
|
2012
|
+
# reference/apis) as ``+var``. Using gRPC API Service Configuration gRPC API
|
2012
2013
|
# Service Configuration (service config) is a configuration language for
|
2013
2014
|
# configuring a gRPC service to become a user-facing product. The service config
|
2014
2015
|
# is simply the YAML representation of the `google.api.Service` proto message.
|
@@ -2018,27 +2019,27 @@ module Google
|
|
2018
2019
|
# effect as the proto annotation. This can be particularly useful if you have a
|
2019
2020
|
# proto that is reused in multiple services. Note that any transcoding specified
|
2020
2021
|
# in the service config will override any matching transcoding configuration in
|
2021
|
-
# the proto.
|
2022
|
-
# to it
|
2023
|
-
# message_id`/`sub.subfield`
|
2024
|
-
# map a gRPC to JSON REST endpoints, the proto to JSON conversion
|
2025
|
-
# the [proto3 specification](https://developers.google.com/protocol-
|
2026
|
-
# proto3#json). While the single segment variable follows the
|
2027
|
-
# 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
|
2028
|
-
# Expansion, the multi segment variable **does not** follow RFC
|
2029
|
-
# 3 Reserved Expansion. The reason is that the Reserved
|
2030
|
-
# expand special characters like `?` and `#`, which would
|
2031
|
-
# As the result, gRPC Transcoding uses a custom encoding
|
2032
|
-
# variables. The path variables **must not** refer to any
|
2033
|
-
# field, because client libraries are not capable of handling
|
2034
|
-
# expansion. The path variables **must not** capture the leading "/
|
2035
|
-
# The reason is that the most common use case "`var`" does not
|
2036
|
-
# leading "/" character. For consistency, all path variables must
|
2037
|
-
# behavior. Repeated message fields must not be mapped to URL
|
2038
|
-
# because no client library can support such complicated
|
2039
|
-
# needs to use a JSON array for request or response body, it
|
2040
|
-
# or response body to a repeated field. However, some gRPC
|
2041
|
-
# implementations may not support this feature.
|
2022
|
+
# the proto. The following example selects a gRPC method and applies an `
|
2023
|
+
# HttpRule` to it: http: rules: - selector: example.v1.Messaging.GetMessage get:
|
2024
|
+
# /v1/messages/`message_id`/`sub.subfield` Special notes When gRPC Transcoding
|
2025
|
+
# is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion
|
2026
|
+
# must follow the [proto3 specification](https://developers.google.com/protocol-
|
2027
|
+
# buffers/docs/proto3#json). While the single segment variable follows the
|
2028
|
+
# semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
|
2029
|
+
# Simple String Expansion, the multi segment variable **does not** follow RFC
|
2030
|
+
# 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved
|
2031
|
+
# Expansion does not expand special characters like `?` and `#`, which would
|
2032
|
+
# lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
|
2033
|
+
# for multi segment variables. The path variables **must not** refer to any
|
2034
|
+
# repeated or mapped field, because client libraries are not capable of handling
|
2035
|
+
# such variable expansion. The path variables **must not** capture the leading "/
|
2036
|
+
# " character. The reason is that the most common use case "`var`" does not
|
2037
|
+
# capture the leading "/" character. For consistency, all path variables must
|
2038
|
+
# share the same behavior. Repeated message fields must not be mapped to URL
|
2039
|
+
# query parameters, because no client library can support such complicated
|
2040
|
+
# mapping. If an API needs to use a JSON array for request or response body, it
|
2041
|
+
# can map the request or response body to a repeated field. However, some gRPC
|
2042
|
+
# Transcoding implementations may not support this feature.
|
2042
2043
|
class HttpRule
|
2043
2044
|
include Google::Apis::Core::Hashable
|
2044
2045
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServicemanagementV1
|
18
18
|
# Version of the google-apis-servicemanagement_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.58.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-servicemanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.58.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-servicemanagement_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.58.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicemanagement_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|