google-apis-docs_v1 0.10.0 → 0.13.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: ff18609a976bef364c172dc7992e5a984341274c5dff90ead71b52dbfa6cb866
4
- data.tar.gz: 983a4eccdde5b1cfe90df12b609db1d28916b96386fd7d8e3f9655ebac895249
3
+ metadata.gz: 7238e05c33d56290e613f3227b424c388b87a824dba0be1e64f04a75837e6bb0
4
+ data.tar.gz: 47020cc3aa63f35cd0e46a8f54d6f2b341dc0c05c21f1f04a8aa87d2e91b697b
5
5
  SHA512:
6
- metadata.gz: 9aff625a0285073f727ec007bbb2331b757207f21cb0ef2ccb48bd02b8b2207ddbbd956a2a21810b41b1a60b5765c43e1fe0d62289b78742d229653a3e5a2c66
7
- data.tar.gz: a896e511c3e6d2f9d0cbe69bf387a10cd99f1d0bfe0e971f1e88ae1021d7e1142b5b19f1d6f1f8674001c0c5475465d881fc67feb651b5ead864a87b58236578
6
+ metadata.gz: fd42e20df20150dd7f167f859412656f86ffe775532b130137d6fa7c6b30219c82e6c605bb52ffcc33bb3048d25ed02b7bc7487621632d405e7137110b3bd71d
7
+ data.tar.gz: b30f90438e8e3401ee8650afff92328be50a74c5a56c48db5fca9c8059a1181018cb5022f4b781afcfef1b2bef7c2725606818e4b926bbc71390a969a5d9a002
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-docs_v1
2
2
 
3
+ ### v0.13.0 (2022-04-05)
4
+
5
+ * Regenerated from discovery document revision 20220331
6
+
7
+ ### v0.12.0 (2022-03-29)
8
+
9
+ * Regenerated from discovery document revision 20220325
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.11.0 (2021-12-14)
13
+
14
+ * Unspecified changes
15
+
3
16
  ### v0.10.0 (2021-10-21)
4
17
 
5
18
  * Unspecified changes
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.authentication = # ... use the googleauth gem to create credentials
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.
@@ -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 specificed, otherwise it is applied to the
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 specificed, otherwise it is applied to the
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 format of the
929
- # revision ID may change over time, so it should be treated opaquely. A returned
930
- # revision ID is only guaranteed to be valid for 24 hours after it has been
931
- # returned and cannot be shared across users. If the revision ID is unchanged
932
- # between calls, then the document has not changed. Conversely, a changed ID (
933
- # for the same document and user) usually means the document has been updated;
934
- # however, a changed ID can also be due to internal factors such as ID format
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
@@ -1938,7 +1938,7 @@ module Google
1938
1938
  # @return [Google::Apis::DocsV1::InlineObjectProperties]
1939
1939
  attr_accessor :inline_object_properties
1940
1940
 
1941
- # The ID of this inline object.
1941
+ # The ID of this inline object. Can be used to update an object’s properties.
1942
1942
  # Corresponds to the JSON property `objectId`
1943
1943
  # @return [String]
1944
1944
  attr_accessor :object_id_prop
@@ -3873,7 +3873,8 @@ module Google
3873
3873
  class ReplaceImageRequest
3874
3874
  include Google::Apis::Core::Hashable
3875
3875
 
3876
- # The ID of the existing image that will be replaced.
3876
+ # The ID of the existing image that will be replaced. The ID can be retrieved
3877
+ # from the response of a get request.
3877
3878
  # Corresponds to the JSON property `imageObjectId`
3878
3879
  # @return [String]
3879
3880
  attr_accessor :image_object_id
@@ -3884,10 +3885,10 @@ module Google
3884
3885
  attr_accessor :image_replace_method
3885
3886
 
3886
3887
  # The URI of the new image. The image is fetched once at insertion time and a
3887
- # copy is stored for display inside the document. Images must be less than 50MB
3888
- # in size, cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF
3889
- # format. The provided URI can be at most 2 kB in length. The URI itself is
3890
- # saved with the image, and exposed via the ImageProperties.source_uri field.
3888
+ # copy is stored for display inside the document. Images must be less than 50MB,
3889
+ # cannot exceed 25 megapixels, and must be in PNG, JPEG, or GIF format. The
3890
+ # provided URI can't surpass 2 KB in length. The URI is saved with the image,
3891
+ # and exposed through the ImageProperties.source_uri field.
3891
3892
  # Corresponds to the JSON property `uri`
3892
3893
  # @return [String]
3893
3894
  attr_accessor :uri
@@ -3949,7 +3950,7 @@ module Google
3949
3950
  include Google::Apis::Core::Hashable
3950
3951
 
3951
3952
  # Creates a Footer. The new footer is applied to the SectionStyle at the
3952
- # location of the SectionBreak if specificed, otherwise it is applied to the
3953
+ # location of the SectionBreak if specified, otherwise it is applied to the
3953
3954
  # DocumentStyle. If a footer of the specified type already exists, a 400 bad
3954
3955
  # request error is returned.
3955
3956
  # Corresponds to the JSON property `createFooter`
@@ -3964,7 +3965,7 @@ module Google
3964
3965
  attr_accessor :create_footnote
3965
3966
 
3966
3967
  # Creates a Header. The new header is applied to the SectionStyle at the
3967
- # location of the SectionBreak if specificed, otherwise it is applied to the
3968
+ # location of the SectionBreak if specified, otherwise it is applied to the
3968
3969
  # DocumentStyle. If a header of the specified type already exists, a 400 bad
3969
3970
  # request error is returned.
3970
3971
  # Corresponds to the JSON property `createHeader`
@@ -6302,29 +6303,29 @@ module Google
6302
6303
  class WriteControl
6303
6304
  include Google::Apis::Core::Hashable
6304
6305
 
6305
- # The revision ID of the document that the write request will be applied to. If
6306
- # this is not the latest revision of the document, the request will not be
6307
- # processed and will return a 400 bad request error. When a required revision ID
6308
- # is returned in a response, it indicates the revision ID of the document after
6309
- # the request was applied.
6306
+ # The optional revision ID of the document the write request is applied to. If
6307
+ # this is not the latest revision of the document, the request is not processed
6308
+ # and returns a 400 bad request error. When a required revision ID is returned
6309
+ # in a response, it indicates the revision ID of the document after the request
6310
+ # was applied.
6310
6311
  # Corresponds to the JSON property `requiredRevisionId`
6311
6312
  # @return [String]
6312
6313
  attr_accessor :required_revision_id
6313
6314
 
6314
- # The target revision ID of the document that the write request will be applied
6315
+ # The optional target revision ID of the document the write request is applied
6315
6316
  # to. If collaborator changes have occurred after the document was read using
6316
- # the API, the changes produced by this write request will be transformed
6317
- # against the collaborator changes. This results in a new revision of the
6318
- # document which incorporates both the changes in the request and the
6319
- # collaborator changes, and the Docs server will resolve conflicting changes.
6320
- # When using `target_revision_id`, the API client can be thought of as another
6321
- # collaborator of the document. The target revision ID may only be used to write
6322
- # to recent versions of a document. If the target revision is too far behind the
6323
- # latest revision, the request will not be processed and will return a 400 bad
6324
- # request error and the request should be retried after reading the latest
6325
- # version of the document. In most cases a `revision_id` will remain valid for
6326
- # use as a target revision for several minutes after it is read, but for
6327
- # frequently-edited documents this window may be shorter.
6317
+ # the API, the changes produced by this write request are applied against the
6318
+ # collaborator changes. This results in a new revision of the document that
6319
+ # incorporates both the collaborator changes and the changes in the request,
6320
+ # with the Docs server resolving conflicting changes. When using target revision
6321
+ # ID, the API client can be thought of as another collaborator of the document.
6322
+ # The target revision ID can only be used to write to recent versions of a
6323
+ # document. If the target revision is too far behind the latest revision, the
6324
+ # request is not processed and returns a 400 bad request error. The request
6325
+ # should be tried again after retrieving the latest version of the document.
6326
+ # Usually a revision ID remains valid for use as a target revision for several
6327
+ # minutes after it's read, but for frequently edited documents this window might
6328
+ # be shorter.
6328
6329
  # Corresponds to the JSON property `targetRevisionId`
6329
6330
  # @return [String]
6330
6331
  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.10.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210707"
25
+ REVISION = "20220331"
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.10.0
4
+ version: 0.13.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-04-11 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-docs_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.13.0
62
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: []
@@ -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.2.17
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