google-apis-blogger_v3 0.13.0 → 0.14.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: 1146f7107122378d8768923f65087cc9bc8f2a4c5acdf8bee5f8bebea9173855
4
+ data.tar.gz: a285bffec239c1e27148017b185fc2e8b513c207cc2b62d5a402a3b3f4733798
5
5
  SHA512:
6
- metadata.gz: a02543905fd7805d82b8fcdb9f03f7772645fcd699e8f8002627a34998370a1f0e004efeb2205fdff5d57bc7bd88a21f561f2d5e40b28134ff02e891be522b1a
7
- data.tar.gz: 431902d9e56ea63ab7c813f65e1abb21416d1665738d9d3cfc63d5592f702a36cfbfc813f0f4fb44ce6627d3d9112d461ebb05881dc64733c33fec4d2165406d
6
+ metadata.gz: 41a6b8c4ec33feaf1fc7822eda6de2a2cbacbaec2e42b636444b7ebef0b5d0eb6c719512f5e7133a6458a00db2ffe6cc1ac86a95f4a15ab86b1dbd99b3b3e3cb
7
+ data.tar.gz: 7337257a5997ab20c7eaad689ec0f6913d34523c79122389971c03268c516cad83abe8c9127f833b528632fc777fbcee2e67b3abeff5e936282830bc4e43390f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-blogger_v3
2
2
 
3
+ ### v0.14.0 (2022-12-30)
4
+
5
+ * Regenerated from discovery document revision 20221220
6
+
3
7
  ### v0.13.0 (2022-10-18)
4
8
 
5
9
  * 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.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.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.14.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-01-04 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-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.14.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: []