google-apis-docs_v1 0.23.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e92d8710d9e65a84d3a443d92bbcf660ac482208f034ab76140bad6678f3055
4
- data.tar.gz: aae42d96a295a4a5ad1a5b385ff5f1f67135faed619425119715b83cc0bef946
3
+ metadata.gz: 654307285903454c9dd95fdc5cb2dbb2476ae14d091ca07b8710e46667cd7049
4
+ data.tar.gz: 6fc4ecbf0814f0f571e71cad7cb269024eff45d82b211d351612782b3b20833d
5
5
  SHA512:
6
- metadata.gz: 223061bbf40330832433e4550d237a08edb527d47ae7de42905e43a196430640e94685bea6b29b8234ec2a5b33efcaffde61b435aa96d32a1e7f0679bffe7b0f
7
- data.tar.gz: 07f1c0672e4cdb56a0320c4d82deb196503430e8cee05513e3368a57ebd2676379ac756e09c011ed67df990174cd12aa58479de089844a235c2ec4bba06bd1f9
6
+ metadata.gz: '0238dd388384f8c946bc53d8764e2840178517653d6028a75f32529c0ad481a75e234894db90e1284e5962b2a506fa7a464db1d4d5c9201d8544265dbfa8d3ec'
7
+ data.tar.gz: a9321442fd1f4faf8cb6b3c8f132bfd622bd17f4ab318c12724e1f76d58a576aa6029de4fc85242c1149470e7e4a024202e0d698bf89a05a1d3afd80baeb08df
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-docs_v1
2
2
 
3
+ ### v0.25.0 (2024-01-23)
4
+
5
+ * Regenerated using generator version 0.13.0
6
+
7
+ ### v0.24.0 (2023-10-08)
8
+
9
+ * Regenerated from discovery document revision 20230929
10
+
3
11
  ### v0.23.0 (2023-03-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20230227
@@ -1041,6 +1041,13 @@ module Google
1041
1041
  # @return [String]
1042
1042
  attr_accessor :first_page_header_id
1043
1043
 
1044
+ # Optional. Indicates whether to flip the dimensions of the page_size, which
1045
+ # allows changing the page orientation between portrait and landscape.
1046
+ # Corresponds to the JSON property `flipPageOrientation`
1047
+ # @return [Boolean]
1048
+ attr_accessor :flip_page_orientation
1049
+ alias_method :flip_page_orientation?, :flip_page_orientation
1050
+
1044
1051
  # A magnitude in a single direction in the specified units.
1045
1052
  # Corresponds to the JSON property `marginBottom`
1046
1053
  # @return [Google::Apis::DocsV1::Dimension]
@@ -1115,6 +1122,7 @@ module Google
1115
1122
  @even_page_header_id = args[:even_page_header_id] if args.key?(:even_page_header_id)
1116
1123
  @first_page_footer_id = args[:first_page_footer_id] if args.key?(:first_page_footer_id)
1117
1124
  @first_page_header_id = args[:first_page_header_id] if args.key?(:first_page_header_id)
1125
+ @flip_page_orientation = args[:flip_page_orientation] if args.key?(:flip_page_orientation)
1118
1126
  @margin_bottom = args[:margin_bottom] if args.key?(:margin_bottom)
1119
1127
  @margin_footer = args[:margin_footer] if args.key?(:margin_footer)
1120
1128
  @margin_header = args[:margin_header] if args.key?(:margin_header)
@@ -1178,6 +1186,12 @@ module Google
1178
1186
  attr_accessor :first_page_header_id_suggested
1179
1187
  alias_method :first_page_header_id_suggested?, :first_page_header_id_suggested
1180
1188
 
1189
+ # Optional. Indicates if there was a suggested change to flip_page_orientation.
1190
+ # Corresponds to the JSON property `flipPageOrientationSuggested`
1191
+ # @return [Boolean]
1192
+ attr_accessor :flip_page_orientation_suggested
1193
+ alias_method :flip_page_orientation_suggested?, :flip_page_orientation_suggested
1194
+
1181
1195
  # Indicates if there was a suggested change to margin_bottom.
1182
1196
  # Corresponds to the JSON property `marginBottomSuggested`
1183
1197
  # @return [Boolean]
@@ -1258,6 +1272,7 @@ module Google
1258
1272
  @even_page_header_id_suggested = args[:even_page_header_id_suggested] if args.key?(:even_page_header_id_suggested)
1259
1273
  @first_page_footer_id_suggested = args[:first_page_footer_id_suggested] if args.key?(:first_page_footer_id_suggested)
1260
1274
  @first_page_header_id_suggested = args[:first_page_header_id_suggested] if args.key?(:first_page_header_id_suggested)
1275
+ @flip_page_orientation_suggested = args[:flip_page_orientation_suggested] if args.key?(:flip_page_orientation_suggested)
1261
1276
  @margin_bottom_suggested = args[:margin_bottom_suggested] if args.key?(:margin_bottom_suggested)
1262
1277
  @margin_footer_suggested = args[:margin_footer_suggested] if args.key?(:margin_footer_suggested)
1263
1278
  @margin_header_suggested = args[:margin_header_suggested] if args.key?(:margin_header_suggested)
@@ -4558,6 +4573,16 @@ module Google
4558
4573
  # @return [String]
4559
4574
  attr_accessor :first_page_header_id
4560
4575
 
4576
+ # Optional. Indicates whether to flip the dimensions of DocumentStyle's
4577
+ # page_size for this section, which allows changing the page orientation between
4578
+ # portrait and landscape. If unset, the value inherits from DocumentStyle's
4579
+ # flip_page_orientation. When updating this property, setting a concrete value
4580
+ # is required. Unsetting this property results in a 400 bad request error.
4581
+ # Corresponds to the JSON property `flipPageOrientation`
4582
+ # @return [Boolean]
4583
+ attr_accessor :flip_page_orientation
4584
+ alias_method :flip_page_orientation?, :flip_page_orientation
4585
+
4561
4586
  # A magnitude in a single direction in the specified units.
4562
4587
  # Corresponds to the JSON property `marginBottom`
4563
4588
  # @return [Google::Apis::DocsV1::Dimension]
@@ -4628,6 +4653,7 @@ module Google
4628
4653
  @even_page_header_id = args[:even_page_header_id] if args.key?(:even_page_header_id)
4629
4654
  @first_page_footer_id = args[:first_page_footer_id] if args.key?(:first_page_footer_id)
4630
4655
  @first_page_header_id = args[:first_page_header_id] if args.key?(:first_page_header_id)
4656
+ @flip_page_orientation = args[:flip_page_orientation] if args.key?(:flip_page_orientation)
4631
4657
  @margin_bottom = args[:margin_bottom] if args.key?(:margin_bottom)
4632
4658
  @margin_footer = args[:margin_footer] if args.key?(:margin_footer)
4633
4659
  @margin_header = args[:margin_header] if args.key?(:margin_header)
@@ -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.23.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230227"
25
+ REVISION = "20230929"
26
26
  end
27
27
  end
28
28
  end
@@ -1235,6 +1235,7 @@ module Google
1235
1235
  property :even_page_header_id, as: 'evenPageHeaderId'
1236
1236
  property :first_page_footer_id, as: 'firstPageFooterId'
1237
1237
  property :first_page_header_id, as: 'firstPageHeaderId'
1238
+ property :flip_page_orientation, as: 'flipPageOrientation'
1238
1239
  property :margin_bottom, as: 'marginBottom', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
1239
1240
 
1240
1241
  property :margin_footer, as: 'marginFooter', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
@@ -1267,6 +1268,7 @@ module Google
1267
1268
  property :even_page_header_id_suggested, as: 'evenPageHeaderIdSuggested'
1268
1269
  property :first_page_footer_id_suggested, as: 'firstPageFooterIdSuggested'
1269
1270
  property :first_page_header_id_suggested, as: 'firstPageHeaderIdSuggested'
1271
+ property :flip_page_orientation_suggested, as: 'flipPageOrientationSuggested'
1270
1272
  property :margin_bottom_suggested, as: 'marginBottomSuggested'
1271
1273
  property :margin_footer_suggested, as: 'marginFooterSuggested'
1272
1274
  property :margin_header_suggested, as: 'marginHeaderSuggested'
@@ -2190,6 +2192,7 @@ module Google
2190
2192
  property :even_page_header_id, as: 'evenPageHeaderId'
2191
2193
  property :first_page_footer_id, as: 'firstPageFooterId'
2192
2194
  property :first_page_header_id, as: 'firstPageHeaderId'
2195
+ property :flip_page_orientation, as: 'flipPageOrientation'
2193
2196
  property :margin_bottom, as: 'marginBottom', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
2194
2197
 
2195
2198
  property :margin_footer, as: 'marginFooter', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://developers.google.com/docs/
34
34
  class DocsService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://docs.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://docs.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-docs_v1',
48
50
  client_version: Google::Apis::DocsV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
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.23.0
4
+ version: 0.25.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: 2023-03-05 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-docs_v1/v0.25.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.4.2
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Docs API V1