google-apis-blogger_v3 0.13.0 → 0.15.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: 2ad227247208e26b99ac90fe59d41b29676641812015eddfb945c0644aed91e7
4
- data.tar.gz: 25c5983992073748c8bc9613c7a3967f7c27d28f26933a2eadfe2493fa60bc01
3
+ metadata.gz: 8e44e10ad04c6753cd64971c99655711a4a9feade196cca1c6f1ba83fda71f25
4
+ data.tar.gz: f93f974cbd2e82c299b2f530a9a2434ebb655e835f8a34faffe7570f6dccde0a
5
5
  SHA512:
6
- metadata.gz: a02543905fd7805d82b8fcdb9f03f7772645fcd699e8f8002627a34998370a1f0e004efeb2205fdff5d57bc7bd88a21f561f2d5e40b28134ff02e891be522b1a
7
- data.tar.gz: 431902d9e56ea63ab7c813f65e1abb21416d1665738d9d3cfc63d5592f702a36cfbfc813f0f4fb44ce6627d3d9112d461ebb05881dc64733c33fec4d2165406d
6
+ metadata.gz: 40c15bd800568792322b483524c987543dbc6a2ebfacc30ade15ff9ccfb75f5908a31fc54a12f299bd240236a1130b28ac5963b20b432b7180dda1b72db7f956
7
+ data.tar.gz: a32d28fd8ee2aeb3d4e85b292fb4670af5b50afc95be5cb12a330cfcdcb382de459617bb940114ee3eaeab55a6abf45bb4773b784bd4cca3fa54e3160d7013b7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-blogger_v3
2
2
 
3
+ ### v0.15.0 (2023-02-15)
4
+
5
+ * Regenerated using generator version 0.12.0
6
+
7
+ ### v0.14.0 (2022-12-30)
8
+
9
+ * Regenerated from discovery document revision 20221220
10
+
3
11
  ### v0.13.0 (2022-10-18)
4
12
 
5
13
  * Regenerated using generator version 0.11.0
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BloggerV3
18
18
  # Version of the google-apis-blogger_v3 gem
19
- GEM_VERSION = "0.13.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220727"
25
+ REVISION = "20221220"
26
26
  end
27
27
  end
28
28
  end
@@ -469,6 +469,8 @@ module Google
469
469
  # Deletes a page by blog id and page id.
470
470
  # @param [String] blog_id
471
471
  # @param [String] page_id
472
+ # @param [Boolean] use_trash
473
+ # Move to Trash if possible
472
474
  # @param [String] fields
473
475
  # Selector specifying which fields to include in a partial response.
474
476
  # @param [String] quota_user
@@ -486,10 +488,11 @@ module Google
486
488
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
487
489
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
488
490
  # @raise [Google::Apis::AuthorizationError] Authorization is required
489
- def delete_page(blog_id, page_id, fields: nil, quota_user: nil, options: nil, &block)
491
+ def delete_page(blog_id, page_id, use_trash: nil, fields: nil, quota_user: nil, options: nil, &block)
490
492
  command = make_simple_command(:delete, 'v3/blogs/{blogId}/pages/{pageId}', options)
491
493
  command.params['blogId'] = blog_id unless blog_id.nil?
492
494
  command.params['pageId'] = page_id unless page_id.nil?
495
+ command.query['useTrash'] = use_trash unless use_trash.nil?
493
496
  command.query['fields'] = fields unless fields.nil?
494
497
  command.query['quotaUser'] = quota_user unless quota_user.nil?
495
498
  execute_or_queue_command(command, &block)
@@ -826,6 +829,8 @@ module Google
826
829
  # Deletes a post by blog id and post id.
827
830
  # @param [String] blog_id
828
831
  # @param [String] post_id
832
+ # @param [Boolean] use_trash
833
+ # Move to Trash if possible
829
834
  # @param [String] fields
830
835
  # Selector specifying which fields to include in a partial response.
831
836
  # @param [String] quota_user
@@ -843,10 +848,11 @@ module Google
843
848
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
844
849
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
845
850
  # @raise [Google::Apis::AuthorizationError] Authorization is required
846
- def delete_post(blog_id, post_id, fields: nil, quota_user: nil, options: nil, &block)
851
+ def delete_post(blog_id, post_id, use_trash: nil, fields: nil, quota_user: nil, options: nil, &block)
847
852
  command = make_simple_command(:delete, 'v3/blogs/{blogId}/posts/{postId}', options)
848
853
  command.params['blogId'] = blog_id unless blog_id.nil?
849
854
  command.params['postId'] = post_id unless post_id.nil?
855
+ command.query['useTrash'] = use_trash unless use_trash.nil?
850
856
  command.query['fields'] = fields unless fields.nil?
851
857
  command.query['quotaUser'] = quota_user unless quota_user.nil?
852
858
  execute_or_queue_command(command, &block)
@@ -973,6 +979,8 @@ module Google
973
979
  # @param [Fixnum] max_results
974
980
  # @param [String] order_by
975
981
  # @param [String] page_token
982
+ # @param [String] sort_option
983
+ # Sort direction applied to post list.
976
984
  # @param [String] start_date
977
985
  # @param [Array<String>, String] status
978
986
  # @param [String] view
@@ -993,7 +1001,7 @@ module Google
993
1001
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
994
1002
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
995
1003
  # @raise [Google::Apis::AuthorizationError] Authorization is required
996
- def list_posts(blog_id, end_date: nil, fetch_bodies: nil, fetch_images: nil, labels: nil, max_results: nil, order_by: nil, page_token: nil, start_date: nil, status: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1004
+ def list_posts(blog_id, end_date: nil, fetch_bodies: nil, fetch_images: nil, labels: nil, max_results: nil, order_by: nil, page_token: nil, sort_option: nil, start_date: nil, status: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
997
1005
  command = make_simple_command(:get, 'v3/blogs/{blogId}/posts', options)
998
1006
  command.response_representation = Google::Apis::BloggerV3::PostList::Representation
999
1007
  command.response_class = Google::Apis::BloggerV3::PostList
@@ -1005,6 +1013,7 @@ module Google
1005
1013
  command.query['maxResults'] = max_results unless max_results.nil?
1006
1014
  command.query['orderBy'] = order_by unless order_by.nil?
1007
1015
  command.query['pageToken'] = page_token unless page_token.nil?
1016
+ command.query['sortOption'] = sort_option unless sort_option.nil?
1008
1017
  command.query['startDate'] = start_date unless start_date.nil?
1009
1018
  command.query['status'] = status unless status.nil?
1010
1019
  command.query['view'] = view unless view.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-blogger_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.15.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: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2023-02-19 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.9.1
19
+ version: 0.11.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.9.1
29
+ version: 0.11.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-blogger_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-blogger_v3/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-blogger_v3/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-blogger_v3
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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Blogger API V3