Skip to content

Commit fe433a1

Browse files
1 parent 6f88610 commit fe433a1

File tree

12 files changed

+102
-94
lines changed

12 files changed

+102
-94
lines changed

clients/google-api-services-serviceusage/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-serviceusage</artifactId>
25-
<version>v1-rev20240707-2.0.0</version>
25+
<version>v1-rev20240712-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-serviceusage:v1-rev20240707-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceusage:v1-rev20240712-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-serviceusage/v1/2.0.0/com/google/api/services/serviceusage/v1/model/ContextRule.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,16 @@ public final class ContextRule extends com.google.api.client.json.GenericJson {
4646
private java.util.List<java.lang.String> allowedResponseExtensions;
4747

4848
/**
49-
* A list of full type names of provided contexts.
49+
* A list of full type names of provided contexts. It is used to support propagating HTTP headers
50+
* and ETags from the response extension.
5051
* The value may be {@code null}.
5152
*/
5253
@com.google.api.client.util.Key
5354
private java.util.List<java.lang.String> provided;
5455

5556
/**
56-
* A list of full type names of requested contexts.
57+
* A list of full type names of requested contexts, only the requested context will be made
58+
* available to the backend.
5759
* The value may be {@code null}.
5860
*/
5961
@com.google.api.client.util.Key
@@ -105,15 +107,17 @@ public ContextRule setAllowedResponseExtensions(java.util.List<java.lang.String>
105107
}
106108

107109
/**
108-
* A list of full type names of provided contexts.
110+
* A list of full type names of provided contexts. It is used to support propagating HTTP headers
111+
* and ETags from the response extension.
109112
* @return value or {@code null} for none
110113
*/
111114
public java.util.List<java.lang.String> getProvided() {
112115
return provided;
113116
}
114117

115118
/**
116-
* A list of full type names of provided contexts.
119+
* A list of full type names of provided contexts. It is used to support propagating HTTP headers
120+
* and ETags from the response extension.
117121
* @param provided provided or {@code null} for none
118122
*/
119123
public ContextRule setProvided(java.util.List<java.lang.String> provided) {
@@ -122,15 +126,17 @@ public ContextRule setProvided(java.util.List<java.lang.String> provided) {
122126
}
123127

124128
/**
125-
* A list of full type names of requested contexts.
129+
* A list of full type names of requested contexts, only the requested context will be made
130+
* available to the backend.
126131
* @return value or {@code null} for none
127132
*/
128133
public java.util.List<java.lang.String> getRequested() {
129134
return requested;
130135
}
131136

132137
/**
133-
* A list of full type names of requested contexts.
138+
* A list of full type names of requested contexts, only the requested context will be made
139+
* available to the backend.
134140
* @param requested requested or {@code null} for none
135141
*/
136142
public ContextRule setRequested(java.util.List<java.lang.String> requested) {

clients/google-api-services-serviceusage/v1/2.0.0/com/google/api/services/serviceusage/v1/model/Documentation.java

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,21 @@
2222
* Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include
2323
* google/foo/tutorial.md ==) subpages: - name: Java content: (== include
2424
* google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: >
25-
* ... - selector: google.calendar.Calendar.Put description: > ... code_snippet_rules: - selector:
26-
* google.calendar.Calendar.Delete code_snippets: - includes: - github_include: region_tag:
27-
* calendar_delete code_language: JAVA account: GoogleCloudPlatform project: java-docs-samples file:
28-
* calendar/delete.java Documentation is provided in markdown syntax. In addition to standard
29-
* markdown features, definition lists, tables and fenced code blocks are supported. Section headers
30-
* can be provided and are interpreted relative to the section nesting of the context where a
31-
* documentation fragment is embedded. Documentation from the IDL is merged with documentation
32-
* defined via the config at normalization time, where documentation provided by config rules
33-
* overrides IDL provided. A number of constructs specific to the API platform are supported in
34-
* documentation text. In order to reference a proto element, the following notation can be used:
35-
* [fully.qualified.proto.name][] To override the display text used for the link, this can be used:
36-
* [display text][fully.qualified.proto.name] Text can be excluded from doc using the following
37-
* notation: (-- internal comment --) A few directives are available in documentation. Note that
38-
* directives must appear on a single line to be properly identified. The `include` directive
39-
* includes a markdown file from an external source: (== include path/to/file ==) The `resource_for`
40-
* directive marks a message to be the resource of a collection in REST view. If it is not
41-
* specified, tools attempt to infer the resource from the operations in a collection: (==
42-
* resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect
25+
* ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in
26+
* markdown syntax. In addition to standard markdown features, definition lists, tables and fenced
27+
* code blocks are supported. Section headers can be provided and are interpreted relative to the
28+
* section nesting of the context where a documentation fragment is embedded. Documentation from the
29+
* IDL is merged with documentation defined via the config at normalization time, where
30+
* documentation provided by config rules overrides IDL provided. A number of constructs specific to
31+
* the API platform are supported in documentation text. In order to reference a proto element, the
32+
* following notation can be used: [fully.qualified.proto.name][] To override the display text used
33+
* for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded
34+
* from doc using the following notation: (-- internal comment --) A few directives are available in
35+
* documentation. Note that directives must appear on a single line to be properly identified. The
36+
* `include` directive includes a markdown file from an external source: (== include path/to/file
37+
* ==) The `resource_for` directive marks a message to be the resource of a collection in REST view.
38+
* If it is not specified, tools attempt to infer the resource from the operations in a collection:
39+
* (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect
4340
* documentation and is documented together with service config validation.
4441
*
4542
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is

clients/google-api-services-serviceusage/v1/2.0.0/com/google/api/services/serviceusage/v1/model/HttpRule.java

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -105,23 +105,24 @@
105105
* this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
106106
* effect as the proto annotation. This can be particularly useful if you have a proto that is
107107
* reused in multiple services. Note that any transcoding specified in the service config will
108-
* override any matching transcoding configuration in the proto. Example below selects a gRPC method
109-
* and applies HttpRule to it. http: rules: - selector: example.v1.Messaging.GetMessage get:
110-
* /v1/messages/{message_id}/{sub.subfield} Special notes When gRPC Transcoding is used to map a
111-
* gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3
112-
* specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single
113-
* segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section
114-
* 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section
115-
* 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special
116-
* characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding
117-
* uses a custom encoding for multi segment variables. The path variables **must not** refer to any
118-
* repeated or mapped field, because client libraries are not capable of handling such variable
119-
* expansion. The path variables **must not** capture the leading "/" character. The reason is that
120-
* the most common use case "{var}" does not capture the leading "/" character. For consistency, all
121-
* path variables must share the same behavior. Repeated message fields must not be mapped to URL
122-
* query parameters, because no client library can support such complicated mapping. If an API needs
123-
* to use a JSON array for request or response body, it can map the request or response body to a
124-
* repeated field. However, some gRPC Transcoding implementations may not support this feature.
108+
* override any matching transcoding configuration in the proto. The following example selects a
109+
* gRPC method and applies an `HttpRule` to it: http: rules: - selector:
110+
* example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} Special notes When
111+
* gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must
112+
* follow the [proto3 specification](https://developers.google.com/protocol-
113+
* buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC
114+
* 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi
115+
* segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is
116+
* that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead
117+
* to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment
118+
* variables. The path variables **must not** refer to any repeated or mapped field, because client
119+
* libraries are not capable of handling such variable expansion. The path variables **must not**
120+
* capture the leading "/" character. The reason is that the most common use case "{var}" does not
121+
* capture the leading "/" character. For consistency, all path variables must share the same
122+
* behavior. Repeated message fields must not be mapped to URL query parameters, because no client
123+
* library can support such complicated mapping. If an API needs to use a JSON array for request or
124+
* response body, it can map the request or response body to a repeated field. However, some gRPC
125+
* Transcoding implementations may not support this feature.
125126
*
126127
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
127128
* transmitted over HTTP when working with the Service Usage API. For a detailed explanation see:

clients/google-api-services-serviceusage/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-serviceusage</artifactId>
11-
<version>v1-rev20240707-2.0.0</version>
12-
<name>Service Usage API v1-rev20240707-2.0.0</name>
11+
<version>v1-rev20240712-2.0.0</version>
12+
<name>Service Usage API v1-rev20240712-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-serviceusage/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-serviceusage</artifactId>
25-
<version>v1-rev20240707-2.0.0</version>
25+
<version>v1-rev20240712-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-serviceusage:v1-rev20240707-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceusage:v1-rev20240712-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-serviceusage/v1beta1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-serviceusage</artifactId>
25-
<version>v1beta1-rev20240707-2.0.0</version>
25+
<version>v1beta1-rev20240712-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-serviceusage:v1beta1-rev20240707-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceusage:v1beta1-rev20240712-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-serviceusage/v1beta1/2.0.0/com/google/api/services/serviceusage/v1beta1/model/ContextRule.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,16 @@ public final class ContextRule extends com.google.api.client.json.GenericJson {
4646
private java.util.List<java.lang.String> allowedResponseExtensions;
4747

4848
/**
49-
* A list of full type names of provided contexts.
49+
* A list of full type names of provided contexts. It is used to support propagating HTTP headers
50+
* and ETags from the response extension.
5051
* The value may be {@code null}.
5152
*/
5253
@com.google.api.client.util.Key
5354
private java.util.List<java.lang.String> provided;
5455

5556
/**
56-
* A list of full type names of requested contexts.
57+
* A list of full type names of requested contexts, only the requested context will be made
58+
* available to the backend.
5759
* The value may be {@code null}.
5860
*/
5961
@com.google.api.client.util.Key
@@ -105,15 +107,17 @@ public ContextRule setAllowedResponseExtensions(java.util.List<java.lang.String>
105107
}
106108

107109
/**
108-
* A list of full type names of provided contexts.
110+
* A list of full type names of provided contexts. It is used to support propagating HTTP headers
111+
* and ETags from the response extension.
109112
* @return value or {@code null} for none
110113
*/
111114
public java.util.List<java.lang.String> getProvided() {
112115
return provided;
113116
}
114117

115118
/**
116-
* A list of full type names of provided contexts.
119+
* A list of full type names of provided contexts. It is used to support propagating HTTP headers
120+
* and ETags from the response extension.
117121
* @param provided provided or {@code null} for none
118122
*/
119123
public ContextRule setProvided(java.util.List<java.lang.String> provided) {
@@ -122,15 +126,17 @@ public ContextRule setProvided(java.util.List<java.lang.String> provided) {
122126
}
123127

124128
/**
125-
* A list of full type names of requested contexts.
129+
* A list of full type names of requested contexts, only the requested context will be made
130+
* available to the backend.
126131
* @return value or {@code null} for none
127132
*/
128133
public java.util.List<java.lang.String> getRequested() {
129134
return requested;
130135
}
131136

132137
/**
133-
* A list of full type names of requested contexts.
138+
* A list of full type names of requested contexts, only the requested context will be made
139+
* available to the backend.
134140
* @param requested requested or {@code null} for none
135141
*/
136142
public ContextRule setRequested(java.util.List<java.lang.String> requested) {

clients/google-api-services-serviceusage/v1beta1/2.0.0/com/google/api/services/serviceusage/v1beta1/model/Documentation.java

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,21 @@
2222
* Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include
2323
* google/foo/tutorial.md ==) subpages: - name: Java content: (== include
2424
* google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: >
25-
* ... - selector: google.calendar.Calendar.Put description: > ... code_snippet_rules: - selector:
26-
* google.calendar.Calendar.Delete code_snippets: - includes: - github_include: region_tag:
27-
* calendar_delete code_language: JAVA account: GoogleCloudPlatform project: java-docs-samples file:
28-
* calendar/delete.java Documentation is provided in markdown syntax. In addition to standard
29-
* markdown features, definition lists, tables and fenced code blocks are supported. Section headers
30-
* can be provided and are interpreted relative to the section nesting of the context where a
31-
* documentation fragment is embedded. Documentation from the IDL is merged with documentation
32-
* defined via the config at normalization time, where documentation provided by config rules
33-
* overrides IDL provided. A number of constructs specific to the API platform are supported in
34-
* documentation text. In order to reference a proto element, the following notation can be used:
35-
* [fully.qualified.proto.name][] To override the display text used for the link, this can be used:
36-
* [display text][fully.qualified.proto.name] Text can be excluded from doc using the following
37-
* notation: (-- internal comment --) A few directives are available in documentation. Note that
38-
* directives must appear on a single line to be properly identified. The `include` directive
39-
* includes a markdown file from an external source: (== include path/to/file ==) The `resource_for`
40-
* directive marks a message to be the resource of a collection in REST view. If it is not
41-
* specified, tools attempt to infer the resource from the operations in a collection: (==
42-
* resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect
25+
* ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in
26+
* markdown syntax. In addition to standard markdown features, definition lists, tables and fenced
27+
* code blocks are supported. Section headers can be provided and are interpreted relative to the
28+
* section nesting of the context where a documentation fragment is embedded. Documentation from the
29+
* IDL is merged with documentation defined via the config at normalization time, where
30+
* documentation provided by config rules overrides IDL provided. A number of constructs specific to
31+
* the API platform are supported in documentation text. In order to reference a proto element, the
32+
* following notation can be used: [fully.qualified.proto.name][] To override the display text used
33+
* for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded
34+
* from doc using the following notation: (-- internal comment --) A few directives are available in
35+
* documentation. Note that directives must appear on a single line to be properly identified. The
36+
* `include` directive includes a markdown file from an external source: (== include path/to/file
37+
* ==) The `resource_for` directive marks a message to be the resource of a collection in REST view.
38+
* If it is not specified, tools attempt to infer the resource from the operations in a collection:
39+
* (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect
4340
* documentation and is documented together with service config validation.
4441
*
4542
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is

0 commit comments

Comments
 (0)