google-api-client 0.48.0 → 0.49.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.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +94 -0
  3. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  4. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +13 -12
  5. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +4 -4
  6. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  7. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +145 -6
  8. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -0
  9. data/generated/google/apis/analyticsdata_v1alpha/service.rb +38 -0
  10. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  11. data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
  12. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
  13. data/generated/google/apis/apigee_v1.rb +1 -1
  14. data/generated/google/apis/apigee_v1/classes.rb +253 -78
  15. data/generated/google/apis/apigee_v1/representations.rb +70 -0
  16. data/generated/google/apis/apigee_v1/service.rb +282 -41
  17. data/generated/google/apis/area120tables_v1alpha1.rb +1 -1
  18. data/generated/google/apis/area120tables_v1alpha1/classes.rb +58 -0
  19. data/generated/google/apis/area120tables_v1alpha1/representations.rb +31 -0
  20. data/generated/google/apis/area120tables_v1alpha1/service.rb +67 -0
  21. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  22. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1 -2
  23. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  24. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +10 -2
  25. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +5 -1
  26. data/generated/google/apis/bigquery_v2.rb +1 -1
  27. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  28. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  29. data/generated/google/apis/bigquery_v2/service.rb +1 -1
  30. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  31. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  32. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  33. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  34. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -2
  35. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  36. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +1 -2
  37. data/generated/google/apis/calendar_v3.rb +1 -1
  38. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  39. data/generated/google/apis/chat_v1.rb +1 -1
  40. data/generated/google/apis/chat_v1/classes.rb +1 -2
  41. data/generated/google/apis/cloudasset_v1.rb +1 -1
  42. data/generated/google/apis/cloudasset_v1/classes.rb +6 -0
  43. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  44. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -0
  46. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  47. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  48. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -0
  49. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +1 -0
  50. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  51. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +6 -0
  52. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +1 -0
  53. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  54. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +6 -0
  55. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +1 -0
  56. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  57. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  58. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  59. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudidentity_v1beta1/service.rb +22 -14
  61. data/generated/google/apis/cloudiot_v1.rb +1 -1
  62. data/generated/google/apis/cloudiot_v1/classes.rb +1 -2
  63. data/generated/google/apis/cloudkms_v1.rb +1 -1
  64. data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
  65. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  66. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +79 -2
  67. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +32 -0
  68. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  69. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +79 -2
  70. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +32 -0
  71. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  72. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +83 -6
  73. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +32 -0
  74. data/generated/google/apis/cloudresourcemanager_v2/service.rb +3 -3
  75. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +83 -6
  77. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +32 -0
  78. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +3 -3
  79. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  80. data/generated/google/apis/cloudtasks_v2/classes.rb +1 -2
  81. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  82. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1 -2
  83. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  84. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  85. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1 -2
  86. data/generated/google/apis/container_v1beta1.rb +1 -1
  87. data/generated/google/apis/container_v1beta1/classes.rb +29 -0
  88. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  89. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  90. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -2
  91. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  92. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -2
  93. data/generated/google/apis/content_v2.rb +1 -1
  94. data/generated/google/apis/content_v2/classes.rb +3 -3
  95. data/generated/google/apis/content_v2_1.rb +1 -1
  96. data/generated/google/apis/content_v2_1/classes.rb +7 -5
  97. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  98. data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -12
  99. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  100. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  101. data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
  102. data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
  103. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  104. data/generated/google/apis/dataproc_v1.rb +1 -1
  105. data/generated/google/apis/dataproc_v1/classes.rb +3 -4
  106. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  107. data/generated/google/apis/dataproc_v1beta2/classes.rb +3 -4
  108. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  109. data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -0
  110. data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
  111. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  112. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -0
  113. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -0
  114. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  115. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  116. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  117. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  118. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  119. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  120. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  121. data/generated/google/apis/dialogflow_v3beta1/classes.rb +6 -0
  122. data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -0
  123. data/generated/google/apis/displayvideo_v1.rb +1 -1
  124. data/generated/google/apis/displayvideo_v1/classes.rb +33 -33
  125. data/generated/google/apis/dns_v1beta2.rb +1 -1
  126. data/generated/google/apis/dns_v1beta2/classes.rb +13 -0
  127. data/generated/google/apis/dns_v1beta2/representations.rb +12 -0
  128. data/generated/google/apis/dns_v1beta2/service.rb +176 -0
  129. data/generated/google/apis/drive_v2.rb +1 -1
  130. data/generated/google/apis/drive_v2/classes.rb +19 -19
  131. data/generated/google/apis/drive_v2/service.rb +2 -2
  132. data/generated/google/apis/drive_v3.rb +1 -1
  133. data/generated/google/apis/drive_v3/classes.rb +6 -5
  134. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  135. data/generated/google/apis/eventarc_v1beta1/classes.rb +6 -0
  136. data/generated/google/apis/eventarc_v1beta1/representations.rb +1 -0
  137. data/generated/google/apis/file_v1.rb +1 -1
  138. data/generated/google/apis/file_v1/classes.rb +505 -4
  139. data/generated/google/apis/file_v1/representations.rb +203 -0
  140. data/generated/google/apis/file_v1/service.rb +229 -1
  141. data/generated/google/apis/file_v1beta1.rb +1 -1
  142. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  143. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  144. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  145. data/generated/google/apis/gameservices_v1.rb +1 -1
  146. data/generated/google/apis/gameservices_v1/classes.rb +1 -2
  147. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  148. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  149. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  150. data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
  151. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  152. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  153. data/generated/google/apis/healthcare_v1beta1/classes.rb +266 -0
  154. data/generated/google/apis/healthcare_v1beta1/representations.rb +127 -0
  155. data/generated/google/apis/healthcare_v1beta1/service.rb +38 -2
  156. data/generated/google/apis/iam_v1.rb +1 -1
  157. data/generated/google/apis/iam_v1/classes.rb +8 -11
  158. data/generated/google/apis/iam_v1/representations.rb +0 -1
  159. data/generated/google/apis/iap_v1.rb +1 -1
  160. data/generated/google/apis/iap_v1/classes.rb +1 -13
  161. data/generated/google/apis/iap_v1/representations.rb +0 -1
  162. data/generated/google/apis/iap_v1beta1.rb +1 -1
  163. data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
  164. data/generated/google/apis/logging_v2.rb +1 -1
  165. data/generated/google/apis/logging_v2/classes.rb +106 -3
  166. data/generated/google/apis/logging_v2/representations.rb +45 -0
  167. data/generated/google/apis/logging_v2/service.rb +81 -5
  168. data/generated/google/apis/managedidentities_v1.rb +1 -1
  169. data/generated/google/apis/managedidentities_v1/classes.rb +1 -2
  170. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  171. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1 -2
  172. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  173. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1 -2
  174. data/generated/google/apis/ml_v1.rb +1 -1
  175. data/generated/google/apis/ml_v1/classes.rb +35 -2
  176. data/generated/google/apis/ml_v1/representations.rb +26 -0
  177. data/generated/google/apis/ml_v1/service.rb +35 -0
  178. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  179. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  180. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  181. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  182. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  183. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  184. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  185. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -0
  186. data/generated/google/apis/policytroubleshooter_v1/representations.rb +1 -0
  187. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  188. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -0
  189. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +1 -0
  190. data/generated/google/apis/privateca_v1beta1.rb +4 -2
  191. data/generated/google/apis/privateca_v1beta1/classes.rb +6 -0
  192. data/generated/google/apis/privateca_v1beta1/representations.rb +1 -0
  193. data/generated/google/apis/privateca_v1beta1/service.rb +3 -1
  194. data/generated/google/apis/pubsub_v1.rb +1 -1
  195. data/generated/google/apis/pubsub_v1/classes.rb +1 -2
  196. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  197. data/generated/google/apis/pubsub_v1beta2/classes.rb +1 -2
  198. data/generated/google/apis/redis_v1.rb +1 -1
  199. data/generated/google/apis/redis_v1/classes.rb +28 -0
  200. data/generated/google/apis/redis_v1/representations.rb +14 -0
  201. data/generated/google/apis/redis_v1/service.rb +34 -0
  202. data/generated/google/apis/run_v1.rb +1 -1
  203. data/generated/google/apis/run_v1/classes.rb +6 -0
  204. data/generated/google/apis/run_v1/representations.rb +1 -0
  205. data/generated/google/apis/run_v1alpha1.rb +1 -1
  206. data/generated/google/apis/run_v1alpha1/classes.rb +6 -0
  207. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  208. data/generated/google/apis/securitycenter_v1.rb +1 -1
  209. data/generated/google/apis/securitycenter_v1/classes.rb +6 -0
  210. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  211. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  212. data/generated/google/apis/securitycenter_v1beta1/classes.rb +6 -0
  213. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  214. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  215. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
  216. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  217. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1 -1
  218. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  219. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +1 -2
  220. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  221. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -0
  222. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  223. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  224. data/generated/google/apis/servicenetworking_v1/classes.rb +22 -1
  225. data/generated/google/apis/servicenetworking_v1/representations.rb +14 -0
  226. data/generated/google/apis/servicenetworking_v1/service.rb +42 -0
  227. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  228. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  229. data/generated/google/apis/serviceusage_v1.rb +1 -1
  230. data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
  231. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  232. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
  233. data/generated/google/apis/sheets_v4.rb +1 -1
  234. data/generated/google/apis/sheets_v4/classes.rb +23 -7
  235. data/generated/google/apis/sheets_v4/representations.rb +3 -0
  236. data/generated/google/apis/spanner_v1.rb +1 -1
  237. data/generated/google/apis/spanner_v1/classes.rb +2 -3
  238. data/lib/google/apis/version.rb +1 -1
  239. metadata +7 -15
  240. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  241. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  242. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  243. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  244. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  245. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  246. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  247. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  248. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  249. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  250. data/generated/google/apis/displayvideo_v1dev/representations.rb +0 -72
  251. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV2
28
28
  VERSION = 'V2'
29
- REVISION = '20201012'
29
+ REVISION = '20201101'
30
30
 
31
31
  # See, edit, create, and delete all of your Google Drive files
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -570,7 +570,7 @@ module Google
570
570
  attr_accessor :supports_create
571
571
  alias_method :supports_create?, :supports_create
572
572
 
573
- # Whether this app supports importing Google Docs.
573
+ # Whether this app supports importing from Docs Editors.
574
574
  # Corresponds to the JSON property `supportsImport`
575
575
  # @return [Boolean]
576
576
  attr_accessor :supports_import
@@ -1828,7 +1828,7 @@ module Google
1828
1828
  attr_accessor :description
1829
1829
 
1830
1830
  # Short lived download URL for the file. This field is only populated for files
1831
- # with content stored in Google Drive; it is not populated for Google Docs or
1831
+ # with content stored in Google Drive; it is not populated for Docs Editors or
1832
1832
  # shortcut files.
1833
1833
  # Corresponds to the JSON property `downloadUrl`
1834
1834
  # @return [String]
@@ -1863,21 +1863,21 @@ module Google
1863
1863
  attr_accessor :explicitly_trashed
1864
1864
  alias_method :explicitly_trashed?, :explicitly_trashed
1865
1865
 
1866
- # Links for exporting Google Docs to specific formats.
1866
+ # Links for exporting Docs Editors files to specific formats.
1867
1867
  # Corresponds to the JSON property `exportLinks`
1868
1868
  # @return [Hash<String,String>]
1869
1869
  attr_accessor :export_links
1870
1870
 
1871
1871
  # The final component of fullFileExtension with trailing text that does not
1872
1872
  # appear to be part of the extension removed. This field is only populated for
1873
- # files with content stored in Google Drive; it is not populated for Google Docs
1874
- # or shortcut files.
1873
+ # files with content stored in Google Drive; it is not populated for Docs
1874
+ # Editors or shortcut files.
1875
1875
  # Corresponds to the JSON property `fileExtension`
1876
1876
  # @return [String]
1877
1877
  attr_accessor :file_extension
1878
1878
 
1879
1879
  # The size of the file in bytes. This field is only populated for files with
1880
- # content stored in Google Drive; it is not populated for Google Docs or
1880
+ # content stored in Google Drive; it is not populated for Docs Editors or
1881
1881
  # shortcut files.
1882
1882
  # Corresponds to the JSON property `fileSize`
1883
1883
  # @return [Fixnum]
@@ -1895,7 +1895,7 @@ module Google
1895
1895
  # concatenated extensions, such as "tar.gz". Removing an extension from the
1896
1896
  # title does not clear this field; however, changing the extension on the title
1897
1897
  # does update this field. This field is only populated for files with content
1898
- # stored in Google Drive; it is not populated for Google Docs or shortcut files.
1898
+ # stored in Google Drive; it is not populated for Docs Editors or shortcut files.
1899
1899
  # Corresponds to the JSON property `fullFileExtension`
1900
1900
  # @return [String]
1901
1901
  attr_accessor :full_file_extension
@@ -1916,7 +1916,7 @@ module Google
1916
1916
  alias_method :has_thumbnail?, :has_thumbnail
1917
1917
 
1918
1918
  # The ID of the file's head revision. This field is only populated for files
1919
- # with content stored in Google Drive; it is not populated for Google Docs or
1919
+ # with content stored in Google Drive; it is not populated for Docs Editors or
1920
1920
  # shortcut files.
1921
1921
  # Corresponds to the JSON property `headRevisionId`
1922
1922
  # @return [String]
@@ -1980,8 +1980,8 @@ module Google
1980
1980
  attr_accessor :marked_viewed_by_me_date
1981
1981
 
1982
1982
  # An MD5 checksum for the content of this file. This field is only populated for
1983
- # files with content stored in Google Drive; it is not populated for Google Docs
1984
- # or shortcut files.
1983
+ # files with content stored in Google Drive; it is not populated for Docs
1984
+ # Editors or shortcut files.
1985
1985
  # Corresponds to the JSON property `md5Checksum`
1986
1986
  # @return [String]
1987
1987
  attr_accessor :md5_checksum
@@ -3497,7 +3497,7 @@ module Google
3497
3497
  # @return [String]
3498
3498
  attr_accessor :etag
3499
3499
 
3500
- # Links for exporting Google Docs to specific formats.
3500
+ # Links for exporting Docs Editors files to specific formats.
3501
3501
  # Corresponds to the JSON property `exportLinks`
3502
3502
  # @return [Hash<String,String>]
3503
3503
  attr_accessor :export_links
@@ -3551,25 +3551,25 @@ module Google
3551
3551
  attr_accessor :original_filename
3552
3552
 
3553
3553
  # Whether this revision is pinned to prevent automatic purging. This will only
3554
- # be populated and can only be modified on files with content stored in Drive
3555
- # which are not Google Docs. Revisions can also be pinned when they are created
3556
- # through the drive.files.insert/update/copy by using the pinned query parameter.
3557
- # Pinned revisions are stored indefinitely using additional storage quota, up
3558
- # to a maximum of 200 revisions.
3554
+ # be populated and can only be modified on files with content stored in Drive,
3555
+ # excluding Docs Editors files. Revisions can also be pinned when they are
3556
+ # created through the drive.files.insert/update/copy by using the pinned query
3557
+ # parameter. Pinned revisions are stored indefinitely using additional storage
3558
+ # quota, up to a maximum of 200 revisions.
3559
3559
  # Corresponds to the JSON property `pinned`
3560
3560
  # @return [Boolean]
3561
3561
  attr_accessor :pinned
3562
3562
  alias_method :pinned?, :pinned
3563
3563
 
3564
3564
  # Whether subsequent revisions will be automatically republished. This is only
3565
- # populated and can only be modified for Google Docs.
3565
+ # populated and can only be modified for Docs Editors files.
3566
3566
  # Corresponds to the JSON property `publishAuto`
3567
3567
  # @return [Boolean]
3568
3568
  attr_accessor :publish_auto
3569
3569
  alias_method :publish_auto?, :publish_auto
3570
3570
 
3571
3571
  # Whether this revision is published. This is only populated and can only be
3572
- # modified for Google Docs.
3572
+ # modified for Docs Editors files.
3573
3573
  # Corresponds to the JSON property `published`
3574
3574
  # @return [Boolean]
3575
3575
  attr_accessor :published
@@ -3582,7 +3582,7 @@ module Google
3582
3582
  attr_accessor :published_link
3583
3583
 
3584
3584
  # Whether this revision is published outside the domain. This is only populated
3585
- # and can only be modified for Google Docs.
3585
+ # and can only be modified for Docs Editors files.
3586
3586
  # Corresponds to the JSON property `publishedOutsideDomain`
3587
3587
  # @return [Boolean]
3588
3588
  attr_accessor :published_outside_domain
@@ -1144,7 +1144,7 @@ module Google
1144
1144
  # The ID of the file to copy.
1145
1145
  # @param [Google::Apis::DriveV2::File] file_object
1146
1146
  # @param [Boolean] convert
1147
- # Whether to convert this file to the corresponding Google Docs format.
1147
+ # Whether to convert this file to the corresponding Docs Editors format.
1148
1148
  # @param [Boolean] enforce_single_parent
1149
1149
  # Set to true to opt in to API behavior that aims for all items to have exactly
1150
1150
  # one parent. This parameter only takes effect if the item is not in a shared
@@ -1438,7 +1438,7 @@ module Google
1438
1438
  # Insert a new file.
1439
1439
  # @param [Google::Apis::DriveV2::File] file_object
1440
1440
  # @param [Boolean] convert
1441
- # Whether to convert this file to the corresponding Google Docs format.
1441
+ # Whether to convert this file to the corresponding Docs Editors format.
1442
1442
  # @param [Boolean] enforce_single_parent
1443
1443
  # Set to true to opt in to API behavior that aims for all items to have exactly
1444
1444
  # one parent. This parameter only takes effect if the item is not in a shared
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV3
28
28
  VERSION = 'V3'
29
- REVISION = '20201012'
29
+ REVISION = '20201101'
30
30
 
31
31
  # See, edit, create, and delete all of your Google Drive files
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -1057,7 +1057,7 @@ module Google
1057
1057
  attr_accessor :explicitly_trashed
1058
1058
  alias_method :explicitly_trashed?, :explicitly_trashed
1059
1059
 
1060
- # Links for exporting Google Docs to specific formats.
1060
+ # Links for exporting Docs Editors files to specific formats.
1061
1061
  # Corresponds to the JSON property `exportLinks`
1062
1062
  # @return [Hash<String,String>]
1063
1063
  attr_accessor :export_links
@@ -2436,7 +2436,7 @@ module Google
2436
2436
  class Revision
2437
2437
  include Google::Apis::Core::Hashable
2438
2438
 
2439
- # Links for exporting Google Docs to specific formats.
2439
+ # Links for exporting Docs Editors files to specific formats.
2440
2440
  # Corresponds to the JSON property `exportLinks`
2441
2441
  # @return [Hash<String,String>]
2442
2442
  attr_accessor :export_links
@@ -2490,13 +2490,14 @@ module Google
2490
2490
  attr_accessor :original_filename
2491
2491
 
2492
2492
  # Whether subsequent revisions will be automatically republished. This is only
2493
- # applicable to Google Docs.
2493
+ # applicable to Docs Editors files.
2494
2494
  # Corresponds to the JSON property `publishAuto`
2495
2495
  # @return [Boolean]
2496
2496
  attr_accessor :publish_auto
2497
2497
  alias_method :publish_auto?, :publish_auto
2498
2498
 
2499
- # Whether this revision is published. This is only applicable to Google Docs.
2499
+ # Whether this revision is published. This is only applicable to Docs Editors
2500
+ # files.
2500
2501
  # Corresponds to the JSON property `published`
2501
2502
  # @return [Boolean]
2502
2503
  attr_accessor :published
@@ -2509,7 +2510,7 @@ module Google
2509
2510
  attr_accessor :published_link
2510
2511
 
2511
2512
  # Whether this revision is published outside the domain. This is only applicable
2512
- # to Google Docs.
2513
+ # to Docs Editors files.
2513
2514
  # Corresponds to the JSON property `publishedOutsideDomain`
2514
2515
  # @return [Boolean]
2515
2516
  attr_accessor :published_outside_domain
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/eventarc
26
26
  module EventarcV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20201023'
28
+ REVISION = '20201103'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -97,6 +97,11 @@ module Google
97
97
  class Binding
98
98
  include Google::Apis::Core::Hashable
99
99
 
100
+ #
101
+ # Corresponds to the JSON property `bindingId`
102
+ # @return [String]
103
+ attr_accessor :binding_id
104
+
100
105
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
101
106
  # CEL is a C-like expression language. The syntax and semantics of CEL are
102
107
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -158,6 +163,7 @@ module Google
158
163
 
159
164
  # Update properties of this object
160
165
  def update!(**args)
166
+ @binding_id = args[:binding_id] if args.key?(:binding_id)
161
167
  @condition = args[:condition] if args.key?(:condition)
162
168
  @members = args[:members] if args.key?(:members)
163
169
  @role = args[:role] if args.key?(:role)
@@ -180,6 +180,7 @@ module Google
180
180
  class Binding
181
181
  # @private
182
182
  class Representation < Google::Apis::Core::JsonRepresentation
183
+ property :binding_id, as: 'bindingId'
183
184
  property :condition, as: 'condition', class: Google::Apis::EventarcV1beta1::Expr, decorator: Google::Apis::EventarcV1beta1::Expr::Representation
184
185
 
185
186
  collection :members, as: 'members'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/filestore/
26
26
  module FileV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201001'
28
+ REVISION = '20201029'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,6 +22,94 @@ module Google
22
22
  module Apis
23
23
  module FileV1
24
24
 
25
+ # A Cloud Filestore backup.
26
+ class Backup
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Output only. Capacity of the source file share when the backup was created.
30
+ # Corresponds to the JSON property `capacityGb`
31
+ # @return [Fixnum]
32
+ attr_accessor :capacity_gb
33
+
34
+ # Output only. The time when the backup was created.
35
+ # Corresponds to the JSON property `createTime`
36
+ # @return [String]
37
+ attr_accessor :create_time
38
+
39
+ # A description of the backup with 2048 characters or less. Requests with longer
40
+ # descriptions will be rejected.
41
+ # Corresponds to the JSON property `description`
42
+ # @return [String]
43
+ attr_accessor :description
44
+
45
+ # Output only. Amount of bytes that will be downloaded if the backup is restored.
46
+ # This may be different than storage bytes, since sequential backups of the
47
+ # same disk will share storage.
48
+ # Corresponds to the JSON property `downloadBytes`
49
+ # @return [Fixnum]
50
+ attr_accessor :download_bytes
51
+
52
+ # Resource labels to represent user provided metadata.
53
+ # Corresponds to the JSON property `labels`
54
+ # @return [Hash<String,String>]
55
+ attr_accessor :labels
56
+
57
+ # Output only. The resource name of the backup, in the format projects/`
58
+ # project_number`/locations/`location_id`/backups/`backup_id`.
59
+ # Corresponds to the JSON property `name`
60
+ # @return [String]
61
+ attr_accessor :name
62
+
63
+ # Name of the file share in the source Cloud Filestore instance that the backup
64
+ # is created from.
65
+ # Corresponds to the JSON property `sourceFileShare`
66
+ # @return [String]
67
+ attr_accessor :source_file_share
68
+
69
+ # The resource name of the source Cloud Filestore instance, in the format
70
+ # projects/`project_number`/locations/`location_id`/instances/`instance_id`,
71
+ # used to create this backup.
72
+ # Corresponds to the JSON property `sourceInstance`
73
+ # @return [String]
74
+ attr_accessor :source_instance
75
+
76
+ # Output only. The service tier of the source Cloud Filestore instance that this
77
+ # backup is created from.
78
+ # Corresponds to the JSON property `sourceInstanceTier`
79
+ # @return [String]
80
+ attr_accessor :source_instance_tier
81
+
82
+ # Output only. The backup state.
83
+ # Corresponds to the JSON property `state`
84
+ # @return [String]
85
+ attr_accessor :state
86
+
87
+ # Output only. The size of the storage used by the backup. As backups share
88
+ # storage, this number is expected to change with backup creation/deletion.
89
+ # Corresponds to the JSON property `storageBytes`
90
+ # @return [Fixnum]
91
+ attr_accessor :storage_bytes
92
+
93
+ def initialize(**args)
94
+ update!(**args)
95
+ end
96
+
97
+ # Update properties of this object
98
+ def update!(**args)
99
+ @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
100
+ @create_time = args[:create_time] if args.key?(:create_time)
101
+ @description = args[:description] if args.key?(:description)
102
+ @download_bytes = args[:download_bytes] if args.key?(:download_bytes)
103
+ @labels = args[:labels] if args.key?(:labels)
104
+ @name = args[:name] if args.key?(:name)
105
+ @source_file_share = args[:source_file_share] if args.key?(:source_file_share)
106
+ @source_instance = args[:source_instance] if args.key?(:source_instance)
107
+ @source_instance_tier = args[:source_instance_tier] if args.key?(:source_instance_tier)
108
+ @state = args[:state] if args.key?(:state)
109
+ @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
110
+ end
111
+ end
112
+
25
113
  # The request message for Operations.CancelOperation.
26
114
  class CancelOperationRequest
27
115
  include Google::Apis::Core::Hashable
@@ -35,6 +123,122 @@ module Google
35
123
  end
36
124
  end
37
125
 
126
+ # Time window specified for daily operations.
127
+ class DailyCycle
128
+ include Google::Apis::Core::Hashable
129
+
130
+ # Output only. Duration of the time window, set by service producer.
131
+ # Corresponds to the JSON property `duration`
132
+ # @return [String]
133
+ attr_accessor :duration
134
+
135
+ # Represents a time of day. The date and time zone are either not significant or
136
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
137
+ # types are google.type.Date and `google.protobuf.Timestamp`.
138
+ # Corresponds to the JSON property `startTime`
139
+ # @return [Google::Apis::FileV1::TimeOfDay]
140
+ attr_accessor :start_time
141
+
142
+ def initialize(**args)
143
+ update!(**args)
144
+ end
145
+
146
+ # Update properties of this object
147
+ def update!(**args)
148
+ @duration = args[:duration] if args.key?(:duration)
149
+ @start_time = args[:start_time] if args.key?(:start_time)
150
+ end
151
+ end
152
+
153
+ # Represents a whole or partial calendar date, such as a birthday. The time of
154
+ # day and time zone are either specified elsewhere or are insignificant. The
155
+ # date is relative to the Gregorian Calendar. This can represent one of the
156
+ # following: * A full date, with non-zero year, month, and day values * A month
157
+ # and day value, with a zero year, such as an anniversary * A year on its own,
158
+ # with zero month and day values * A year and month value, with a zero day, such
159
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
160
+ # google.protobuf.Timestamp`.
161
+ class Date
162
+ include Google::Apis::Core::Hashable
163
+
164
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
165
+ # specify a year by itself or a year and month where the day isn't significant.
166
+ # Corresponds to the JSON property `day`
167
+ # @return [Fixnum]
168
+ attr_accessor :day
169
+
170
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
171
+ # and day.
172
+ # Corresponds to the JSON property `month`
173
+ # @return [Fixnum]
174
+ attr_accessor :month
175
+
176
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
177
+ # year.
178
+ # Corresponds to the JSON property `year`
179
+ # @return [Fixnum]
180
+ attr_accessor :year
181
+
182
+ def initialize(**args)
183
+ update!(**args)
184
+ end
185
+
186
+ # Update properties of this object
187
+ def update!(**args)
188
+ @day = args[:day] if args.key?(:day)
189
+ @month = args[:month] if args.key?(:month)
190
+ @year = args[:year] if args.key?(:year)
191
+ end
192
+ end
193
+
194
+ # DenyMaintenancePeriod definition. Maintenance is forbidden within the deny
195
+ # period. The start_date must be less than the end_date.
196
+ class DenyMaintenancePeriod
197
+ include Google::Apis::Core::Hashable
198
+
199
+ # Represents a whole or partial calendar date, such as a birthday. The time of
200
+ # day and time zone are either specified elsewhere or are insignificant. The
201
+ # date is relative to the Gregorian Calendar. This can represent one of the
202
+ # following: * A full date, with non-zero year, month, and day values * A month
203
+ # and day value, with a zero year, such as an anniversary * A year on its own,
204
+ # with zero month and day values * A year and month value, with a zero day, such
205
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
206
+ # google.protobuf.Timestamp`.
207
+ # Corresponds to the JSON property `endDate`
208
+ # @return [Google::Apis::FileV1::Date]
209
+ attr_accessor :end_date
210
+
211
+ # Represents a whole or partial calendar date, such as a birthday. The time of
212
+ # day and time zone are either specified elsewhere or are insignificant. The
213
+ # date is relative to the Gregorian Calendar. This can represent one of the
214
+ # following: * A full date, with non-zero year, month, and day values * A month
215
+ # and day value, with a zero year, such as an anniversary * A year on its own,
216
+ # with zero month and day values * A year and month value, with a zero day, such
217
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
218
+ # google.protobuf.Timestamp`.
219
+ # Corresponds to the JSON property `startDate`
220
+ # @return [Google::Apis::FileV1::Date]
221
+ attr_accessor :start_date
222
+
223
+ # Represents a time of day. The date and time zone are either not significant or
224
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
225
+ # types are google.type.Date and `google.protobuf.Timestamp`.
226
+ # Corresponds to the JSON property `time`
227
+ # @return [Google::Apis::FileV1::TimeOfDay]
228
+ attr_accessor :time
229
+
230
+ def initialize(**args)
231
+ update!(**args)
232
+ end
233
+
234
+ # Update properties of this object
235
+ def update!(**args)
236
+ @end_date = args[:end_date] if args.key?(:end_date)
237
+ @start_date = args[:start_date] if args.key?(:start_date)
238
+ @time = args[:time] if args.key?(:time)
239
+ end
240
+ end
241
+
38
242
  # A generic empty message that you can re-use to avoid defining duplicated empty
39
243
  # messages in your APIs. A typical example is to use it as the request or the
40
244
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -67,6 +271,13 @@ module Google
67
271
  # @return [String]
68
272
  attr_accessor :name
69
273
 
274
+ # The resource name of the backup, in the format projects/`project_number`/
275
+ # locations/`location_id`/backups/`backup_id`, that this file share has been
276
+ # restored from.
277
+ # Corresponds to the JSON property `sourceBackup`
278
+ # @return [String]
279
+ attr_accessor :source_backup
280
+
70
281
  def initialize(**args)
71
282
  update!(**args)
72
283
  end
@@ -75,6 +286,7 @@ module Google
75
286
  def update!(**args)
76
287
  @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
77
288
  @name = args[:name] if args.key?(:name)
289
+ @source_backup = args[:source_backup] if args.key?(:source_backup)
78
290
  end
79
291
  end
80
292
 
@@ -102,10 +314,10 @@ module Google
102
314
  # @return [Hash<String,String>]
103
315
  attr_accessor :labels
104
316
 
105
- # The MaintenancePolicies that have been attached to the instance. The key must
106
- # be of the type name of the oneof policy name defined in MaintenancePolicy, and
107
- # the referenced policy must define the same policy type. For complete details
108
- # of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
317
+ # Deprecated. The MaintenancePolicies that have been attached to the instance.
318
+ # The key must be of the type name of the oneof policy name defined in
319
+ # MaintenancePolicy, and the referenced policy must define the same policy type.
320
+ # For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
109
321
  # Corresponds to the JSON property `maintenancePolicyNames`
110
322
  # @return [Hash<String,String>]
111
323
  attr_accessor :maintenance_policy_names
@@ -257,6 +469,16 @@ module Google
257
469
  attr_accessor :exclude
258
470
  alias_method :exclude?, :exclude
259
471
 
472
+ # Optional. The MaintenancePolicies that have been attached to the instance. The
473
+ # key must be of the type name of the oneof policy name defined in
474
+ # MaintenancePolicy, and the embedded policy must define the same policy type.
475
+ # For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
476
+ # If only the name is needed (like in the deprecated Instance.
477
+ # maintenance_policy_names field) then only populate MaintenancePolicy.name.
478
+ # Corresponds to the JSON property `maintenancePolicies`
479
+ # @return [Hash<String,Google::Apis::FileV1::MaintenancePolicy>]
480
+ attr_accessor :maintenance_policies
481
+
260
482
  def initialize(**args)
261
483
  update!(**args)
262
484
  end
@@ -264,6 +486,7 @@ module Google
264
486
  # Update properties of this object
265
487
  def update!(**args)
266
488
  @exclude = args[:exclude] if args.key?(:exclude)
489
+ @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
267
490
  end
268
491
  end
269
492
 
@@ -541,6 +764,42 @@ module Google
541
764
  end
542
765
  end
543
766
 
767
+ # ListBackupsResponse is the result of ListBackupsRequest.
768
+ class ListBackupsResponse
769
+ include Google::Apis::Core::Hashable
770
+
771
+ # A list of backups in the project for the specified location. If the `location`
772
+ # value in the request is "-", the response contains a list of backups from all
773
+ # locations. If any location is unreachable, the response will only return
774
+ # backups in reachable locations and the "unreachable" field will be populated
775
+ # with a list of unreachable locations.
776
+ # Corresponds to the JSON property `backups`
777
+ # @return [Array<Google::Apis::FileV1::Backup>]
778
+ attr_accessor :backups
779
+
780
+ # The token you can use to retrieve the next page of results. Not returned if
781
+ # there are no more results in the list.
782
+ # Corresponds to the JSON property `nextPageToken`
783
+ # @return [String]
784
+ attr_accessor :next_page_token
785
+
786
+ # Locations that could not be reached.
787
+ # Corresponds to the JSON property `unreachable`
788
+ # @return [Array<String>]
789
+ attr_accessor :unreachable
790
+
791
+ def initialize(**args)
792
+ update!(**args)
793
+ end
794
+
795
+ # Update properties of this object
796
+ def update!(**args)
797
+ @backups = args[:backups] if args.key?(:backups)
798
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
799
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
800
+ end
801
+ end
802
+
544
803
  # ListInstancesResponse is the result of ListInstancesRequest.
545
804
  class ListInstancesResponse
546
805
  include Google::Apis::Core::Hashable
@@ -674,6 +933,93 @@ module Google
674
933
  end
675
934
  end
676
935
 
936
+ # Defines policies to service maintenance events.
937
+ class MaintenancePolicy
938
+ include Google::Apis::Core::Hashable
939
+
940
+ # Output only. The time when the resource was created.
941
+ # Corresponds to the JSON property `createTime`
942
+ # @return [String]
943
+ attr_accessor :create_time
944
+
945
+ # Optional. Description of what this policy is for. Create/Update methods return
946
+ # INVALID_ARGUMENT if the length is greater than 512.
947
+ # Corresponds to the JSON property `description`
948
+ # @return [String]
949
+ attr_accessor :description
950
+
951
+ # Optional. Resource labels to represent user provided metadata. Each label is a
952
+ # key-value pair, where both the key and the value are arbitrary strings
953
+ # provided by the user.
954
+ # Corresponds to the JSON property `labels`
955
+ # @return [Hash<String,String>]
956
+ attr_accessor :labels
957
+
958
+ # Required. MaintenancePolicy name using the form: `projects/`project_id`/
959
+ # locations/`location_id`/maintenancePolicies/`maintenance_policy_id`` where `
960
+ # project_id` refers to a GCP consumer project ID, `location_id` refers to a GCP
961
+ # region/zone, `maintenance_policy_id` must be 1-63 characters long and match
962
+ # the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.
963
+ # Corresponds to the JSON property `name`
964
+ # @return [String]
965
+ attr_accessor :name
966
+
967
+ # Optional. The state of the policy.
968
+ # Corresponds to the JSON property `state`
969
+ # @return [String]
970
+ attr_accessor :state
971
+
972
+ # Maintenance policy applicable to instance updates.
973
+ # Corresponds to the JSON property `updatePolicy`
974
+ # @return [Google::Apis::FileV1::UpdatePolicy]
975
+ attr_accessor :update_policy
976
+
977
+ # Output only. The time when the resource was updated.
978
+ # Corresponds to the JSON property `updateTime`
979
+ # @return [String]
980
+ attr_accessor :update_time
981
+
982
+ def initialize(**args)
983
+ update!(**args)
984
+ end
985
+
986
+ # Update properties of this object
987
+ def update!(**args)
988
+ @create_time = args[:create_time] if args.key?(:create_time)
989
+ @description = args[:description] if args.key?(:description)
990
+ @labels = args[:labels] if args.key?(:labels)
991
+ @name = args[:name] if args.key?(:name)
992
+ @state = args[:state] if args.key?(:state)
993
+ @update_policy = args[:update_policy] if args.key?(:update_policy)
994
+ @update_time = args[:update_time] if args.key?(:update_time)
995
+ end
996
+ end
997
+
998
+ # MaintenanceWindow definition.
999
+ class MaintenanceWindow
1000
+ include Google::Apis::Core::Hashable
1001
+
1002
+ # Time window specified for daily operations.
1003
+ # Corresponds to the JSON property `dailyCycle`
1004
+ # @return [Google::Apis::FileV1::DailyCycle]
1005
+ attr_accessor :daily_cycle
1006
+
1007
+ # Time window specified for weekly operations.
1008
+ # Corresponds to the JSON property `weeklyCycle`
1009
+ # @return [Google::Apis::FileV1::WeeklyCycle]
1010
+ attr_accessor :weekly_cycle
1011
+
1012
+ def initialize(**args)
1013
+ update!(**args)
1014
+ end
1015
+
1016
+ # Update properties of this object
1017
+ def update!(**args)
1018
+ @daily_cycle = args[:daily_cycle] if args.key?(:daily_cycle)
1019
+ @weekly_cycle = args[:weekly_cycle] if args.key?(:weekly_cycle)
1020
+ end
1021
+ end
1022
+
677
1023
  # Network configuration for the instance.
678
1024
  class NetworkConfig
679
1025
  include Google::Apis::Core::Hashable
@@ -840,6 +1186,67 @@ module Google
840
1186
  end
841
1187
  end
842
1188
 
1189
+ # RestoreInstanceRequest restores an existing instances's file share from a
1190
+ # backup.
1191
+ class RestoreInstanceRequest
1192
+ include Google::Apis::Core::Hashable
1193
+
1194
+ # Required. Name of the file share in the Cloud Filestore instance that the
1195
+ # backup is being restored to.
1196
+ # Corresponds to the JSON property `fileShare`
1197
+ # @return [String]
1198
+ attr_accessor :file_share
1199
+
1200
+ # The resource name of the backup, in the format projects/`project_number`/
1201
+ # locations/`location_id`/backups/`backup_id`.
1202
+ # Corresponds to the JSON property `sourceBackup`
1203
+ # @return [String]
1204
+ attr_accessor :source_backup
1205
+
1206
+ def initialize(**args)
1207
+ update!(**args)
1208
+ end
1209
+
1210
+ # Update properties of this object
1211
+ def update!(**args)
1212
+ @file_share = args[:file_share] if args.key?(:file_share)
1213
+ @source_backup = args[:source_backup] if args.key?(:source_backup)
1214
+ end
1215
+ end
1216
+
1217
+ # Configure the schedule.
1218
+ class Schedule
1219
+ include Google::Apis::Core::Hashable
1220
+
1221
+ # Allows to define schedule that runs specified day of the week.
1222
+ # Corresponds to the JSON property `day`
1223
+ # @return [String]
1224
+ attr_accessor :day
1225
+
1226
+ # Output only. Duration of the time window, set by service producer.
1227
+ # Corresponds to the JSON property `duration`
1228
+ # @return [String]
1229
+ attr_accessor :duration
1230
+
1231
+ # Represents a time of day. The date and time zone are either not significant or
1232
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1233
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1234
+ # Corresponds to the JSON property `startTime`
1235
+ # @return [Google::Apis::FileV1::TimeOfDay]
1236
+ attr_accessor :start_time
1237
+
1238
+ def initialize(**args)
1239
+ update!(**args)
1240
+ end
1241
+
1242
+ # Update properties of this object
1243
+ def update!(**args)
1244
+ @day = args[:day] if args.key?(:day)
1245
+ @duration = args[:duration] if args.key?(:duration)
1246
+ @start_time = args[:start_time] if args.key?(:start_time)
1247
+ end
1248
+ end
1249
+
843
1250
  # The `Status` type defines a logical error model that is suitable for different
844
1251
  # programming environments, including REST APIs and RPC APIs. It is used by [
845
1252
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -878,6 +1285,100 @@ module Google
878
1285
  @message = args[:message] if args.key?(:message)
879
1286
  end
880
1287
  end
1288
+
1289
+ # Represents a time of day. The date and time zone are either not significant or
1290
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1291
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1292
+ class TimeOfDay
1293
+ include Google::Apis::Core::Hashable
1294
+
1295
+ # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
1296
+ # allow the value "24:00:00" for scenarios like business closing time.
1297
+ # Corresponds to the JSON property `hours`
1298
+ # @return [Fixnum]
1299
+ attr_accessor :hours
1300
+
1301
+ # Minutes of hour of day. Must be from 0 to 59.
1302
+ # Corresponds to the JSON property `minutes`
1303
+ # @return [Fixnum]
1304
+ attr_accessor :minutes
1305
+
1306
+ # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1307
+ # Corresponds to the JSON property `nanos`
1308
+ # @return [Fixnum]
1309
+ attr_accessor :nanos
1310
+
1311
+ # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
1312
+ # allow the value 60 if it allows leap-seconds.
1313
+ # Corresponds to the JSON property `seconds`
1314
+ # @return [Fixnum]
1315
+ attr_accessor :seconds
1316
+
1317
+ def initialize(**args)
1318
+ update!(**args)
1319
+ end
1320
+
1321
+ # Update properties of this object
1322
+ def update!(**args)
1323
+ @hours = args[:hours] if args.key?(:hours)
1324
+ @minutes = args[:minutes] if args.key?(:minutes)
1325
+ @nanos = args[:nanos] if args.key?(:nanos)
1326
+ @seconds = args[:seconds] if args.key?(:seconds)
1327
+ end
1328
+ end
1329
+
1330
+ # Maintenance policy applicable to instance updates.
1331
+ class UpdatePolicy
1332
+ include Google::Apis::Core::Hashable
1333
+
1334
+ # Optional. Relative scheduling channel applied to resource.
1335
+ # Corresponds to the JSON property `channel`
1336
+ # @return [String]
1337
+ attr_accessor :channel
1338
+
1339
+ # Deny Maintenance Period that is applied to resource to indicate when
1340
+ # maintenance is forbidden. User can specify zero or more non-overlapping deny
1341
+ # periods. For V1, Maximum number of deny_maintenance_periods is expected to be
1342
+ # one.
1343
+ # Corresponds to the JSON property `denyMaintenancePeriods`
1344
+ # @return [Array<Google::Apis::FileV1::DenyMaintenancePeriod>]
1345
+ attr_accessor :deny_maintenance_periods
1346
+
1347
+ # MaintenanceWindow definition.
1348
+ # Corresponds to the JSON property `window`
1349
+ # @return [Google::Apis::FileV1::MaintenanceWindow]
1350
+ attr_accessor :window
1351
+
1352
+ def initialize(**args)
1353
+ update!(**args)
1354
+ end
1355
+
1356
+ # Update properties of this object
1357
+ def update!(**args)
1358
+ @channel = args[:channel] if args.key?(:channel)
1359
+ @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
1360
+ @window = args[:window] if args.key?(:window)
1361
+ end
1362
+ end
1363
+
1364
+ # Time window specified for weekly operations.
1365
+ class WeeklyCycle
1366
+ include Google::Apis::Core::Hashable
1367
+
1368
+ # User can specify multiple windows in a week. Minimum of 1 window.
1369
+ # Corresponds to the JSON property `schedule`
1370
+ # @return [Array<Google::Apis::FileV1::Schedule>]
1371
+ attr_accessor :schedule
1372
+
1373
+ def initialize(**args)
1374
+ update!(**args)
1375
+ end
1376
+
1377
+ # Update properties of this object
1378
+ def update!(**args)
1379
+ @schedule = args[:schedule] if args.key?(:schedule)
1380
+ end
1381
+ end
881
1382
  end
882
1383
  end
883
1384
  end