Skip to content

Commit 8ec1505

Browse files
feat: Automated regeneration of docs v1 client (googleapis#22357)
Auto-created at 2025-04-06 09:38:21 +0000 using the toys pull request generator.
1 parent ec06300 commit 8ec1505

File tree

8 files changed

+21
-5
lines changed

8 files changed

+21
-5
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219304,6 +219304,7 @@
219304219304
"/docs:v1/StructuralElement/tableOfContents": table_of_contents
219305219305
"/docs:v1/SubstringMatchCriteria": substring_match_criteria
219306219306
"/docs:v1/SubstringMatchCriteria/matchCase": match_case
219307+
"/docs:v1/SubstringMatchCriteria/searchByRegex": search_by_regex
219307219308
"/docs:v1/SubstringMatchCriteria/text": text
219308219309
"/docs:v1/SuggestedBullet": suggested_bullet
219309219310
"/docs:v1/SuggestedBullet/bullet": bullet

generated/google-apis-docs_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-docs_v1
22

3+
### v0.32.0 (2025-04-06)
4+
5+
* Regenerated from discovery document revision 20250325
6+
37
### v0.31.0 (2025-02-26)
48

59
* Regenerated from discovery document revision 20250218

generated/google-apis-docs_v1/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
7979

8080
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
8181

82-
The [product documentation](https://developers.google.com/docs/) may provide guidance regarding the preferred client library to use.
82+
The [product documentation](https://developers.google.com/workspace/docs/) may provide guidance regarding the preferred client library to use.
8383

8484
## Supported Ruby versions
8585

generated/google-apis-docs_v1/lib/google/apis/docs_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module Apis
2323
#
2424
# Reads and writes Google Docs documents.
2525
#
26-
# @see https://developers.google.com/docs/
26+
# @see https://developers.google.com/workspace/docs/
2727
module DocsV1
2828
# Version of the Google Docs API this client connects to.
2929
# This is NOT the gem version.

generated/google-apis-docs_v1/lib/google/apis/docs_v1/classes.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5186,6 +5186,15 @@ class SubstringMatchCriteria
51865186
attr_accessor :match_case
51875187
alias_method :match_case?, :match_case
51885188

5189+
# Optional. True if the find value should be treated as a regular expression.
5190+
# Any backslashes in the pattern should be escaped. - `True`: the search text is
5191+
# treated as a regular expressions. - `False`: the search text is treated as a
5192+
# substring for matching.
5193+
# Corresponds to the JSON property `searchByRegex`
5194+
# @return [Boolean]
5195+
attr_accessor :search_by_regex
5196+
alias_method :search_by_regex?, :search_by_regex
5197+
51895198
# The text to search for in the document.
51905199
# Corresponds to the JSON property `text`
51915200
# @return [String]
@@ -5198,6 +5207,7 @@ def initialize(**args)
51985207
# Update properties of this object
51995208
def update!(**args)
52005209
@match_case = args[:match_case] if args.key?(:match_case)
5210+
@search_by_regex = args[:search_by_regex] if args.key?(:search_by_regex)
52015211
@text = args[:text] if args.key?(:text)
52025212
end
52035213
end

generated/google-apis-docs_v1/lib/google/apis/docs_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DocsV1
1818
# Version of the google-apis-docs_v1 gem
19-
GEM_VERSION = "0.31.0"
19+
GEM_VERSION = "0.32.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250218"
25+
REVISION = "20250325"
2626
end
2727
end
2828
end

generated/google-apis-docs_v1/lib/google/apis/docs_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2382,6 +2382,7 @@ class SubstringMatchCriteria
23822382
# @private
23832383
class Representation < Google::Apis::Core::JsonRepresentation
23842384
property :match_case, as: 'matchCase'
2385+
property :search_by_regex, as: 'searchByRegex'
23852386
property :text, as: 'text'
23862387
end
23872388
end

generated/google-apis-docs_v1/lib/google/apis/docs_v1/service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module DocsV1
3030
# Docs = Google::Apis::DocsV1 # Alias the module
3131
# service = Docs::DocsService.new
3232
#
33-
# @see https://developers.google.com/docs/
33+
# @see https://developers.google.com/workspace/docs/
3434
class DocsService < Google::Apis::Core::BaseService
3535
DEFAULT_ENDPOINT_TEMPLATE = "https://docs.$UNIVERSE_DOMAIN$/"
3636

0 commit comments

Comments
 (0)