google-api-client 0.23.5 → 0.23.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  4. data/generated/google/apis/cloudtrace_v1.rb +4 -2
  5. data/generated/google/apis/cloudtrace_v1/service.rb +3 -1
  6. data/generated/google/apis/cloudtrace_v2.rb +4 -2
  7. data/generated/google/apis/cloudtrace_v2/service.rb +3 -1
  8. data/generated/google/apis/container_v1.rb +1 -1
  9. data/generated/google/apis/container_v1/classes.rb +6 -3
  10. data/generated/google/apis/container_v1beta1.rb +1 -1
  11. data/generated/google/apis/container_v1beta1/classes.rb +51 -1
  12. data/generated/google/apis/container_v1beta1/representations.rb +18 -0
  13. data/generated/google/apis/content_v2.rb +1 -1
  14. data/generated/google/apis/content_v2/classes.rb +174 -0
  15. data/generated/google/apis/content_v2/representations.rb +73 -0
  16. data/generated/google/apis/content_v2/service.rb +100 -1
  17. data/generated/google/apis/content_v2sandbox.rb +1 -1
  18. data/generated/google/apis/content_v2sandbox/service.rb +2 -1
  19. data/generated/google/apis/dlp_v2.rb +1 -1
  20. data/generated/google/apis/dlp_v2/classes.rb +9 -7
  21. data/generated/google/apis/dlp_v2/service.rb +2 -0
  22. data/generated/google/apis/drive_v2.rb +1 -1
  23. data/generated/google/apis/drive_v2/classes.rb +72 -6
  24. data/generated/google/apis/drive_v2/representations.rb +8 -0
  25. data/generated/google/apis/drive_v3.rb +1 -1
  26. data/generated/google/apis/drive_v3/classes.rb +72 -6
  27. data/generated/google/apis/drive_v3/representations.rb +8 -0
  28. data/generated/google/apis/firestore_v1.rb +3 -2
  29. data/generated/google/apis/firestore_v1/service.rb +2 -1
  30. data/generated/google/apis/firestore_v1beta1.rb +3 -2
  31. data/generated/google/apis/firestore_v1beta1/service.rb +2 -1
  32. data/generated/google/apis/firestore_v1beta2.rb +3 -2
  33. data/generated/google/apis/firestore_v1beta2/service.rb +2 -1
  34. data/generated/google/apis/gmail_v1.rb +1 -1
  35. data/generated/google/apis/gmail_v1/classes.rb +47 -0
  36. data/generated/google/apis/gmail_v1/representations.rb +28 -0
  37. data/generated/google/apis/gmail_v1/service.rb +165 -0
  38. data/generated/google/apis/jobs_v2.rb +2 -2
  39. data/generated/google/apis/jobs_v2/classes.rb +4 -1
  40. data/generated/google/apis/jobs_v2/service.rb +1 -1
  41. data/generated/google/apis/jobs_v3.rb +38 -0
  42. data/generated/google/apis/jobs_v3/classes.rb +2587 -0
  43. data/generated/google/apis/jobs_v3/representations.rb +872 -0
  44. data/generated/google/apis/jobs_v3/service.rb +652 -0
  45. data/generated/google/apis/testing_v1.rb +1 -1
  46. data/generated/google/apis/testing_v1/classes.rb +7 -0
  47. data/generated/google/apis/testing_v1/representations.rb +1 -0
  48. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  49. data/lib/google/apis/version.rb +1 -1
  50. metadata +6 -2
@@ -694,6 +694,18 @@ module Google
694
694
  include Google::Apis::Core::JsonObjectSupport
695
695
  end
696
696
 
697
+ class OrderReportDisbursement
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
703
+ class OrderReportTransaction
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
697
709
  class OrderReturn
698
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
711
 
@@ -796,6 +808,18 @@ module Google
796
808
  include Google::Apis::Core::JsonObjectSupport
797
809
  end
798
810
 
811
+ class OrderreportsListDisbursementsResponse
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
817
+ class OrderreportsListTransactionsResponse
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
799
823
  class OrdersAcknowledgeRequest
800
824
  class Representation < Google::Apis::Core::JsonRepresentation; end
801
825
 
@@ -2749,6 +2773,35 @@ module Google
2749
2773
  end
2750
2774
  end
2751
2775
 
2776
+ class OrderReportDisbursement
2777
+ # @private
2778
+ class Representation < Google::Apis::Core::JsonRepresentation
2779
+ property :disbursement_amount, as: 'disbursementAmount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2780
+
2781
+ property :disbursement_creation_date, as: 'disbursementCreationDate'
2782
+ property :disbursement_date, as: 'disbursementDate'
2783
+ property :disbursement_id, as: 'disbursementId'
2784
+ property :merchant_id, :numeric_string => true, as: 'merchantId'
2785
+ end
2786
+ end
2787
+
2788
+ class OrderReportTransaction
2789
+ # @private
2790
+ class Representation < Google::Apis::Core::JsonRepresentation
2791
+ property :disbursement_amount, as: 'disbursementAmount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2792
+
2793
+ property :disbursement_creation_date, as: 'disbursementCreationDate'
2794
+ property :disbursement_date, as: 'disbursementDate'
2795
+ property :disbursement_id, as: 'disbursementId'
2796
+ property :merchant_id, :numeric_string => true, as: 'merchantId'
2797
+ property :merchant_order_id, as: 'merchantOrderId'
2798
+ property :order_id, as: 'orderId'
2799
+ property :product_amount, as: 'productAmount', class: Google::Apis::ContentV2::Amount, decorator: Google::Apis::ContentV2::Amount::Representation
2800
+
2801
+ property :transaction_date, as: 'transactionDate'
2802
+ end
2803
+ end
2804
+
2752
2805
  class OrderReturn
2753
2806
  # @private
2754
2807
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2907,6 +2960,26 @@ module Google
2907
2960
  end
2908
2961
  end
2909
2962
 
2963
+ class OrderreportsListDisbursementsResponse
2964
+ # @private
2965
+ class Representation < Google::Apis::Core::JsonRepresentation
2966
+ collection :disbursements, as: 'disbursements', class: Google::Apis::ContentV2::OrderReportDisbursement, decorator: Google::Apis::ContentV2::OrderReportDisbursement::Representation
2967
+
2968
+ property :kind, as: 'kind'
2969
+ property :next_page_token, as: 'nextPageToken'
2970
+ end
2971
+ end
2972
+
2973
+ class OrderreportsListTransactionsResponse
2974
+ # @private
2975
+ class Representation < Google::Apis::Core::JsonRepresentation
2976
+ property :kind, as: 'kind'
2977
+ property :next_page_token, as: 'nextPageToken'
2978
+ collection :transactions, as: 'transactions', class: Google::Apis::ContentV2::OrderReportTransaction, decorator: Google::Apis::ContentV2::OrderReportTransaction::Representation
2979
+
2980
+ end
2981
+ end
2982
+
2910
2983
  class OrdersAcknowledgeRequest
2911
2984
  # @private
2912
2985
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1992,6 +1992,104 @@ module Google
1992
1992
  execute_or_queue_command(command, &block)
1993
1993
  end
1994
1994
 
1995
+ # Retrieves a report for disbursements from your Merchant Center account.
1996
+ # @param [Fixnum] merchant_id
1997
+ # The ID of the account that manages the order. This cannot be a multi-client
1998
+ # account.
1999
+ # @param [String] disbursement_end_date
2000
+ # The last date which disbursements occurred. In ISO 8601 format. Default:
2001
+ # current date.
2002
+ # @param [String] disbursement_start_date
2003
+ # The first date which disbursements occurred. In ISO 8601 format.
2004
+ # @param [Fixnum] max_results
2005
+ # The maximum number of disbursements to return in the response, used for paging.
2006
+ # @param [String] page_token
2007
+ # The token returned by the previous request.
2008
+ # @param [String] fields
2009
+ # Selector specifying which fields to include in a partial response.
2010
+ # @param [String] quota_user
2011
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
2012
+ # characters.
2013
+ # @param [String] user_ip
2014
+ # Deprecated. Please use quotaUser instead.
2015
+ # @param [Google::Apis::RequestOptions] options
2016
+ # Request-specific options
2017
+ #
2018
+ # @yield [result, err] Result & error if block supplied
2019
+ # @yieldparam result [Google::Apis::ContentV2::OrderreportsListDisbursementsResponse] parsed result object
2020
+ # @yieldparam err [StandardError] error object if request failed
2021
+ #
2022
+ # @return [Google::Apis::ContentV2::OrderreportsListDisbursementsResponse]
2023
+ #
2024
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2025
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2026
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2027
+ def listdisbursements_orderreport(merchant_id, disbursement_end_date: nil, disbursement_start_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2028
+ command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
2029
+ command.response_representation = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse::Representation
2030
+ command.response_class = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse
2031
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2032
+ command.query['disbursementEndDate'] = disbursement_end_date unless disbursement_end_date.nil?
2033
+ command.query['disbursementStartDate'] = disbursement_start_date unless disbursement_start_date.nil?
2034
+ command.query['maxResults'] = max_results unless max_results.nil?
2035
+ command.query['pageToken'] = page_token unless page_token.nil?
2036
+ command.query['fields'] = fields unless fields.nil?
2037
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2038
+ command.query['userIp'] = user_ip unless user_ip.nil?
2039
+ execute_or_queue_command(command, &block)
2040
+ end
2041
+
2042
+ # Retrieves a list of transactions for an disbursement from your Merchant Center
2043
+ # account.
2044
+ # @param [Fixnum] merchant_id
2045
+ # The ID of the account that manages the order. This cannot be a multi-client
2046
+ # account.
2047
+ # @param [String] disbursement_id
2048
+ # The Google-provided ID of the disbursement (found in Wallet).
2049
+ # @param [String] disbursement_end_date
2050
+ # The last date in which disbursements occurred. In ISO 8601 format. Default:
2051
+ # current date.
2052
+ # @param [String] disbursement_start_date
2053
+ # The first date in which disbursements occurred. In ISO 8601 format.
2054
+ # @param [Fixnum] max_results
2055
+ # The maximum number of disbursements to return in the response, used for paging.
2056
+ # @param [String] page_token
2057
+ # The token returned by the previous request.
2058
+ # @param [String] fields
2059
+ # Selector specifying which fields to include in a partial response.
2060
+ # @param [String] quota_user
2061
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
2062
+ # characters.
2063
+ # @param [String] user_ip
2064
+ # Deprecated. Please use quotaUser instead.
2065
+ # @param [Google::Apis::RequestOptions] options
2066
+ # Request-specific options
2067
+ #
2068
+ # @yield [result, err] Result & error if block supplied
2069
+ # @yieldparam result [Google::Apis::ContentV2::OrderreportsListTransactionsResponse] parsed result object
2070
+ # @yieldparam err [StandardError] error object if request failed
2071
+ #
2072
+ # @return [Google::Apis::ContentV2::OrderreportsListTransactionsResponse]
2073
+ #
2074
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2075
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2076
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2077
+ def listtransactions_orderreport(merchant_id, disbursement_id, disbursement_end_date: nil, disbursement_start_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2078
+ command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
2079
+ command.response_representation = Google::Apis::ContentV2::OrderreportsListTransactionsResponse::Representation
2080
+ command.response_class = Google::Apis::ContentV2::OrderreportsListTransactionsResponse
2081
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2082
+ command.params['disbursementId'] = disbursement_id unless disbursement_id.nil?
2083
+ command.query['disbursementEndDate'] = disbursement_end_date unless disbursement_end_date.nil?
2084
+ command.query['disbursementStartDate'] = disbursement_start_date unless disbursement_start_date.nil?
2085
+ command.query['maxResults'] = max_results unless max_results.nil?
2086
+ command.query['pageToken'] = page_token unless page_token.nil?
2087
+ command.query['fields'] = fields unless fields.nil?
2088
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2089
+ command.query['userIp'] = user_ip unless user_ip.nil?
2090
+ execute_or_queue_command(command, &block)
2091
+ end
2092
+
1995
2093
  # Marks an order as acknowledged.
1996
2094
  # @param [Fixnum] merchant_id
1997
2095
  # The ID of the account that manages the order. This cannot be a multi-client
@@ -2335,7 +2433,8 @@ module Google
2335
2433
  execute_or_queue_command(command, &block)
2336
2434
  end
2337
2435
 
2338
- # Notifies that item return and refund was handled directly in store.
2436
+ # Notifies that item return and refund was handled directly by merchant outside
2437
+ # of Google payments processing (e.g. cash refund done in store).
2339
2438
  # @param [Fixnum] merchant_id
2340
2439
  # The ID of the account that manages the order. This cannot be a multi-client
2341
2440
  # account.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2sandbox
28
28
  VERSION = 'V2sandbox'
29
- REVISION = '20180809'
29
+ REVISION = '20180821'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -639,7 +639,8 @@ module Google
639
639
  execute_or_queue_command(command, &block)
640
640
  end
641
641
 
642
- # Notifies that item return and refund was handled directly in store.
642
+ # Notifies that item return and refund was handled directly by merchant outside
643
+ # of Google payments processing (e.g. cash refund done in store).
643
644
  # @param [Fixnum] merchant_id
644
645
  # The ID of the account that manages the order. This cannot be a multi-client
645
646
  # account.
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2
29
29
  VERSION = 'V2'
30
- REVISION = '20180814'
30
+ REVISION = '20180821'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -656,8 +656,8 @@ module Google
656
656
  end
657
657
  end
658
658
 
659
- # Options defining a file or a set of files (path ending with *) within
660
- # a Google Cloud Storage bucket.
659
+ # Options defining a file or a set of files within a Google Cloud Storage
660
+ # bucket.
661
661
  class GooglePrivacyDlpV2CloudStorageOptions
662
662
  include Google::Apis::Core::Hashable
663
663
 
@@ -2097,8 +2097,8 @@ module Google
2097
2097
  class GooglePrivacyDlpV2FileSet
2098
2098
  include Google::Apis::Core::Hashable
2099
2099
 
2100
- # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
2101
- # path is allowed.
2100
+ # The Cloud Storage url of the file(s) to scan, in the format
2101
+ # `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
2102
2102
  # Corresponds to the JSON property `url`
2103
2103
  # @return [String]
2104
2104
  attr_accessor :url
@@ -4373,7 +4373,9 @@ module Google
4373
4373
  class GooglePrivacyDlpV2Regex
4374
4374
  include Google::Apis::Core::Hashable
4375
4375
 
4376
- # Pattern defining the regular expression.
4376
+ # Pattern defining the regular expression. Its syntax
4377
+ # (https://github.com/google/re2/wiki/Syntax) can be found under the
4378
+ # google/re2 repository on GitHub.
4377
4379
  # Corresponds to the JSON property `pattern`
4378
4380
  # @return [String]
4379
4381
  attr_accessor :pattern
@@ -4716,8 +4718,8 @@ module Google
4716
4718
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryOptions]
4717
4719
  attr_accessor :big_query_options
4718
4720
 
4719
- # Options defining a file or a set of files (path ending with *) within
4720
- # a Google Cloud Storage bucket.
4721
+ # Options defining a file or a set of files within a Google Cloud Storage
4722
+ # bucket.
4721
4723
  # Corresponds to the JSON property `cloudStorageOptions`
4722
4724
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageOptions]
4723
4725
  attr_accessor :cloud_storage_options
@@ -1461,6 +1461,8 @@ module Google
1461
1461
  # - `create_time`: corresponds to time the triggeredJob was created.
1462
1462
  # - `update_time`: corresponds to time the triggeredJob was last updated.
1463
1463
  # - `name`: corresponds to JobTrigger's name.
1464
+ # - `display_name`: corresponds to JobTrigger's display name.
1465
+ # - `status`: corresponds to JobTrigger's status.
1464
1466
  # @param [Fixnum] page_size
1465
1467
  # Optional size of the page, can be limited by a server.
1466
1468
  # @param [String] page_token
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV2
28
28
  VERSION = 'V2'
29
- REVISION = '20180809'
29
+ REVISION = '20180816'
30
30
 
31
31
  # View and manage the files in your Google Drive
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -1801,6 +1801,13 @@ module Google
1801
1801
  attr_accessor :can_delete
1802
1802
  alias_method :can_delete?, :can_delete
1803
1803
 
1804
+ # Whether the current user can delete children of this folder. This is false
1805
+ # when the item is not a folder. Only populated for Team Drive items.
1806
+ # Corresponds to the JSON property `canDeleteChildren`
1807
+ # @return [Boolean]
1808
+ attr_accessor :can_delete_children
1809
+ alias_method :can_delete_children?, :can_delete_children
1810
+
1804
1811
  # Whether the current user can download this file.
1805
1812
  # Corresponds to the JSON property `canDownload`
1806
1813
  # @return [Boolean]
@@ -1820,6 +1827,22 @@ module Google
1820
1827
  attr_accessor :can_list_children
1821
1828
  alias_method :can_list_children?, :can_list_children
1822
1829
 
1830
+ # Whether the current user can move children of this folder outside of the Team
1831
+ # Drive. This is false when the item is not a folder. Only populated for Team
1832
+ # Drive items.
1833
+ # Corresponds to the JSON property `canMoveChildrenOutOfTeamDrive`
1834
+ # @return [Boolean]
1835
+ attr_accessor :can_move_children_out_of_team_drive
1836
+ alias_method :can_move_children_out_of_team_drive?, :can_move_children_out_of_team_drive
1837
+
1838
+ # Whether the current user can move children of this folder within the Team
1839
+ # Drive. This is false when the item is not a folder. Only populated for Team
1840
+ # Drive items.
1841
+ # Corresponds to the JSON property `canMoveChildrenWithinTeamDrive`
1842
+ # @return [Boolean]
1843
+ attr_accessor :can_move_children_within_team_drive
1844
+ alias_method :can_move_children_within_team_drive?, :can_move_children_within_team_drive
1845
+
1823
1846
  # Whether the current user can move this item into a Team Drive. If the item is
1824
1847
  # in a Team Drive, this field is equivalent to canMoveTeamDriveItem.
1825
1848
  # Corresponds to the JSON property `canMoveItemIntoTeamDrive`
@@ -1827,10 +1850,25 @@ module Google
1827
1850
  attr_accessor :can_move_item_into_team_drive
1828
1851
  alias_method :can_move_item_into_team_drive?, :can_move_item_into_team_drive
1829
1852
 
1830
- # Whether the current user can move this Team Drive item by changing its parent.
1831
- # Note that a request to change the parent for this item may still fail
1832
- # depending on the new parent that is being added. Only populated for Team Drive
1833
- # files.
1853
+ # Whether the current user can move this Team Drive item outside of this Team
1854
+ # Drive by changing its parent. Note that a request to change the parent of the
1855
+ # item may still fail depending on the new parent that is being added. Only
1856
+ # populated for Team Drive items.
1857
+ # Corresponds to the JSON property `canMoveItemOutOfTeamDrive`
1858
+ # @return [Boolean]
1859
+ attr_accessor :can_move_item_out_of_team_drive
1860
+ alias_method :can_move_item_out_of_team_drive?, :can_move_item_out_of_team_drive
1861
+
1862
+ # Whether the current user can move this Team Drive item within this Team Drive.
1863
+ # Note that a request to change the parent of the item may still fail depending
1864
+ # on the new parent that is being added. Only populated for Team Drive items.
1865
+ # Corresponds to the JSON property `canMoveItemWithinTeamDrive`
1866
+ # @return [Boolean]
1867
+ attr_accessor :can_move_item_within_team_drive
1868
+ alias_method :can_move_item_within_team_drive?, :can_move_item_within_team_drive
1869
+
1870
+ # Deprecated - use canMoveItemWithinTeamDrive or canMoveItemOutOfTeamDrive
1871
+ # instead.
1834
1872
  # Corresponds to the JSON property `canMoveTeamDriveItem`
1835
1873
  # @return [Boolean]
1836
1874
  attr_accessor :can_move_team_drive_item
@@ -1852,7 +1890,8 @@ module Google
1852
1890
  alias_method :can_read_team_drive?, :can_read_team_drive
1853
1891
 
1854
1892
  # Whether the current user can remove children from this folder. This is always
1855
- # false when the item is not a folder.
1893
+ # false when the item is not a folder. For Team Drive items, use
1894
+ # canDeleteChildren or canTrashChildren instead.
1856
1895
  # Corresponds to the JSON property `canRemoveChildren`
1857
1896
  # @return [Boolean]
1858
1897
  attr_accessor :can_remove_children
@@ -1876,6 +1915,13 @@ module Google
1876
1915
  attr_accessor :can_trash
1877
1916
  alias_method :can_trash?, :can_trash
1878
1917
 
1918
+ # Whether the current user can trash children of this folder. This is false when
1919
+ # the item is not a folder. Only populated for Team Drive items.
1920
+ # Corresponds to the JSON property `canTrashChildren`
1921
+ # @return [Boolean]
1922
+ attr_accessor :can_trash_children
1923
+ alias_method :can_trash_children?, :can_trash_children
1924
+
1879
1925
  # Whether the current user can restore this file from trash.
1880
1926
  # Corresponds to the JSON property `canUntrash`
1881
1927
  # @return [Boolean]
@@ -1894,10 +1940,15 @@ module Google
1894
1940
  @can_comment = args[:can_comment] if args.key?(:can_comment)
1895
1941
  @can_copy = args[:can_copy] if args.key?(:can_copy)
1896
1942
  @can_delete = args[:can_delete] if args.key?(:can_delete)
1943
+ @can_delete_children = args[:can_delete_children] if args.key?(:can_delete_children)
1897
1944
  @can_download = args[:can_download] if args.key?(:can_download)
1898
1945
  @can_edit = args[:can_edit] if args.key?(:can_edit)
1899
1946
  @can_list_children = args[:can_list_children] if args.key?(:can_list_children)
1947
+ @can_move_children_out_of_team_drive = args[:can_move_children_out_of_team_drive] if args.key?(:can_move_children_out_of_team_drive)
1948
+ @can_move_children_within_team_drive = args[:can_move_children_within_team_drive] if args.key?(:can_move_children_within_team_drive)
1900
1949
  @can_move_item_into_team_drive = args[:can_move_item_into_team_drive] if args.key?(:can_move_item_into_team_drive)
1950
+ @can_move_item_out_of_team_drive = args[:can_move_item_out_of_team_drive] if args.key?(:can_move_item_out_of_team_drive)
1951
+ @can_move_item_within_team_drive = args[:can_move_item_within_team_drive] if args.key?(:can_move_item_within_team_drive)
1901
1952
  @can_move_team_drive_item = args[:can_move_team_drive_item] if args.key?(:can_move_team_drive_item)
1902
1953
  @can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions)
1903
1954
  @can_read_team_drive = args[:can_read_team_drive] if args.key?(:can_read_team_drive)
@@ -1905,6 +1956,7 @@ module Google
1905
1956
  @can_rename = args[:can_rename] if args.key?(:can_rename)
1906
1957
  @can_share = args[:can_share] if args.key?(:can_share)
1907
1958
  @can_trash = args[:can_trash] if args.key?(:can_trash)
1959
+ @can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children)
1908
1960
  @can_untrash = args[:can_untrash] if args.key?(:can_untrash)
1909
1961
  end
1910
1962
  end
@@ -3148,6 +3200,12 @@ module Google
3148
3200
  attr_accessor :can_copy
3149
3201
  alias_method :can_copy?, :can_copy
3150
3202
 
3203
+ # Whether the current user can delete children from folders in this Team Drive.
3204
+ # Corresponds to the JSON property `canDeleteChildren`
3205
+ # @return [Boolean]
3206
+ attr_accessor :can_delete_children
3207
+ alias_method :can_delete_children?, :can_delete_children
3208
+
3151
3209
  # Whether the current user can delete this Team Drive. Attempting to delete the
3152
3210
  # Team Drive may still fail if there are untrashed items inside the Team Drive.
3153
3211
  # Corresponds to the JSON property `canDeleteTeamDrive`
@@ -3187,7 +3245,7 @@ module Google
3187
3245
  attr_accessor :can_read_revisions
3188
3246
  alias_method :can_read_revisions?, :can_read_revisions
3189
3247
 
3190
- # Whether the current user can remove children from folders in this Team Drive.
3248
+ # Deprecated - use canDeleteChildren or canTrashChildren instead.
3191
3249
  # Corresponds to the JSON property `canRemoveChildren`
3192
3250
  # @return [Boolean]
3193
3251
  attr_accessor :can_remove_children
@@ -3211,6 +3269,12 @@ module Google
3211
3269
  attr_accessor :can_share
3212
3270
  alias_method :can_share?, :can_share
3213
3271
 
3272
+ # Whether the current user can trash children from folders in this Team Drive.
3273
+ # Corresponds to the JSON property `canTrashChildren`
3274
+ # @return [Boolean]
3275
+ attr_accessor :can_trash_children
3276
+ alias_method :can_trash_children?, :can_trash_children
3277
+
3214
3278
  def initialize(**args)
3215
3279
  update!(**args)
3216
3280
  end
@@ -3224,6 +3288,7 @@ module Google
3224
3288
  @can_change_team_members_only_restriction = args[:can_change_team_members_only_restriction] if args.key?(:can_change_team_members_only_restriction)
3225
3289
  @can_comment = args[:can_comment] if args.key?(:can_comment)
3226
3290
  @can_copy = args[:can_copy] if args.key?(:can_copy)
3291
+ @can_delete_children = args[:can_delete_children] if args.key?(:can_delete_children)
3227
3292
  @can_delete_team_drive = args[:can_delete_team_drive] if args.key?(:can_delete_team_drive)
3228
3293
  @can_download = args[:can_download] if args.key?(:can_download)
3229
3294
  @can_edit = args[:can_edit] if args.key?(:can_edit)
@@ -3234,6 +3299,7 @@ module Google
3234
3299
  @can_rename = args[:can_rename] if args.key?(:can_rename)
3235
3300
  @can_rename_team_drive = args[:can_rename_team_drive] if args.key?(:can_rename_team_drive)
3236
3301
  @can_share = args[:can_share] if args.key?(:can_share)
3302
+ @can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children)
3237
3303
  end
3238
3304
  end
3239
3305