google-apis-docs_v1 0.9.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/docs_v1/classes.rb +30 -30
- data/lib/google/apis/docs_v1/gem_version.rb +3 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8775b2408eece013237b2e317b167e3b9b6cd94e7372dc03a2c1d212707c8220
|
4
|
+
data.tar.gz: dab6d9ad59be794634f21d19206eed9ba8fbe1159b6ec57d130ab98e3e78a98e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1623a6696da3036b37cdcd6388b367bd4744ee6f956d78d057ac139e9422126051a07c10743b8efdd583afd0446d5034a5d25b663762003dd335af7883f43848
|
7
|
+
data.tar.gz: 80bab0a9a1b917c8e2fb335a074ba5c57a3e272166d3de54ebe13ae433301051698ef5e5b68d58f9d6e3d62ba62578387f7782934ff74651d6d4bef06305aa0d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-docs_v1
|
2
2
|
|
3
|
+
### v0.12.0 (2022-03-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220325
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.11.0 (2021-12-14)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.10.0 (2021-10-21)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
3
16
|
### v0.9.0 (2021-07-08)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20210707
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/docs_v1"
|
|
51
51
|
client = Google::Apis::DocsV1::DocsService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Docs service in particular.)
|
67
67
|
|
@@ -342,7 +342,7 @@ module Google
|
|
342
342
|
end
|
343
343
|
|
344
344
|
# Creates a Footer. The new footer is applied to the SectionStyle at the
|
345
|
-
# location of the SectionBreak if
|
345
|
+
# location of the SectionBreak if specified, otherwise it is applied to the
|
346
346
|
# DocumentStyle. If a footer of the specified type already exists, a 400 bad
|
347
347
|
# request error is returned.
|
348
348
|
class CreateFooterRequest
|
@@ -436,7 +436,7 @@ module Google
|
|
436
436
|
end
|
437
437
|
|
438
438
|
# Creates a Header. The new header is applied to the SectionStyle at the
|
439
|
-
# location of the SectionBreak if
|
439
|
+
# location of the SectionBreak if specified, otherwise it is applied to the
|
440
440
|
# DocumentStyle. If a header of the specified type already exists, a 400 bad
|
441
441
|
# request error is returned.
|
442
442
|
class CreateHeaderRequest
|
@@ -925,14 +925,14 @@ module Google
|
|
925
925
|
# Output only. The revision ID of the document. Can be used in update requests
|
926
926
|
# to specify which revision of a document to apply updates to and how the
|
927
927
|
# request should behave if the document has been edited since that revision.
|
928
|
-
# Only populated if the user has edit access to the document. The
|
929
|
-
#
|
930
|
-
# revision ID is only guaranteed to be valid
|
931
|
-
# returned and cannot be shared across users. If
|
932
|
-
# between calls, then the document has not changed.
|
933
|
-
# for the same document and user) usually means the
|
934
|
-
#
|
935
|
-
# changes.
|
928
|
+
# Only populated if the user has edit access to the document. The revision ID is
|
929
|
+
# not a sequential number but an opaque string. The format of the revision ID
|
930
|
+
# might change over time. A returned revision ID is only guaranteed to be valid
|
931
|
+
# for 24 hours after it has been returned and cannot be shared across users. If
|
932
|
+
# the revision ID is unchanged between calls, then the document has not changed.
|
933
|
+
# Conversely, a changed ID (for the same document and user) usually means the
|
934
|
+
# document has been updated. However, a changed ID can also be due to internal
|
935
|
+
# factors such as ID format changes.
|
936
936
|
# Corresponds to the JSON property `revisionId`
|
937
937
|
# @return [String]
|
938
938
|
attr_accessor :revision_id
|
@@ -3949,7 +3949,7 @@ module Google
|
|
3949
3949
|
include Google::Apis::Core::Hashable
|
3950
3950
|
|
3951
3951
|
# Creates a Footer. The new footer is applied to the SectionStyle at the
|
3952
|
-
# location of the SectionBreak if
|
3952
|
+
# location of the SectionBreak if specified, otherwise it is applied to the
|
3953
3953
|
# DocumentStyle. If a footer of the specified type already exists, a 400 bad
|
3954
3954
|
# request error is returned.
|
3955
3955
|
# Corresponds to the JSON property `createFooter`
|
@@ -3964,7 +3964,7 @@ module Google
|
|
3964
3964
|
attr_accessor :create_footnote
|
3965
3965
|
|
3966
3966
|
# Creates a Header. The new header is applied to the SectionStyle at the
|
3967
|
-
# location of the SectionBreak if
|
3967
|
+
# location of the SectionBreak if specified, otherwise it is applied to the
|
3968
3968
|
# DocumentStyle. If a header of the specified type already exists, a 400 bad
|
3969
3969
|
# request error is returned.
|
3970
3970
|
# Corresponds to the JSON property `createHeader`
|
@@ -6302,29 +6302,29 @@ module Google
|
|
6302
6302
|
class WriteControl
|
6303
6303
|
include Google::Apis::Core::Hashable
|
6304
6304
|
|
6305
|
-
# The revision ID of the document
|
6306
|
-
# this is not the latest revision of the document, the request
|
6307
|
-
#
|
6308
|
-
#
|
6309
|
-
#
|
6305
|
+
# The optional revision ID of the document the write request is applied to. If
|
6306
|
+
# this is not the latest revision of the document, the request is not processed
|
6307
|
+
# and returns a 400 bad request error. When a required revision ID is returned
|
6308
|
+
# in a response, it indicates the revision ID of the document after the request
|
6309
|
+
# was applied.
|
6310
6310
|
# Corresponds to the JSON property `requiredRevisionId`
|
6311
6311
|
# @return [String]
|
6312
6312
|
attr_accessor :required_revision_id
|
6313
6313
|
|
6314
|
-
# The target revision ID of the document
|
6314
|
+
# The optional target revision ID of the document the write request is applied
|
6315
6315
|
# to. If collaborator changes have occurred after the document was read using
|
6316
|
-
# the API, the changes produced by this write request
|
6317
|
-
#
|
6318
|
-
#
|
6319
|
-
#
|
6320
|
-
#
|
6321
|
-
#
|
6322
|
-
#
|
6323
|
-
#
|
6324
|
-
#
|
6325
|
-
#
|
6326
|
-
#
|
6327
|
-
#
|
6316
|
+
# the API, the changes produced by this write request are applied against the
|
6317
|
+
# collaborator changes. This results in a new revision of the document that
|
6318
|
+
# incorporates both the collaborator changes and the changes in the request,
|
6319
|
+
# with the Docs server resolving conflicting changes. When using target revision
|
6320
|
+
# ID, the API client can be thought of as another collaborator of the document.
|
6321
|
+
# The target revision ID can only be used to write to recent versions of a
|
6322
|
+
# document. If the target revision is too far behind the latest revision, the
|
6323
|
+
# request is not processed and returns a 400 bad request error. The request
|
6324
|
+
# should be tried again after retrieving the latest version of the document.
|
6325
|
+
# Usually a revision ID remains valid for use as a target revision for several
|
6326
|
+
# minutes after it's read, but for frequently edited documents this window might
|
6327
|
+
# be shorter.
|
6328
6328
|
# Corresponds to the JSON property `targetRevisionId`
|
6329
6329
|
# @return [String]
|
6330
6330
|
attr_accessor :target_revision_id
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocsV1
|
18
18
|
# Version of the google-apis-docs_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220325"
|
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-docs_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.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:
|
11
|
+
date: 2022-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-docs_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.12.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-docs_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Docs API V1
|