google-api-client 0.33.1 → 0.33.2

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 (104) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +42 -0
  3. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1beta1/classes.rb +11 -0
  5. data/generated/google/apis/accessapproval_v1beta1/representations.rb +1 -0
  6. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -72
  8. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
  9. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
  13. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  14. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  15. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  16. data/generated/google/apis/admin_reports_v1.rb +1 -1
  17. data/generated/google/apis/admin_reports_v1/service.rb +6 -3
  18. data/generated/google/apis/appengine_v1.rb +1 -1
  19. data/generated/google/apis/appengine_v1/service.rb +3 -3
  20. data/generated/google/apis/appengine_v1beta.rb +1 -1
  21. data/generated/google/apis/appengine_v1beta/service.rb +3 -3
  22. data/generated/google/apis/bigquery_v2.rb +1 -1
  23. data/generated/google/apis/bigquery_v2/classes.rb +9 -1
  24. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  25. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +1 -1
  26. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  27. data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
  28. data/generated/google/apis/civicinfo_v2.rb +1 -1
  29. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  30. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  31. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +2 -2
  32. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  33. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
  34. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  35. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +4 -8
  36. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  37. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  38. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +4 -8
  39. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  40. data/generated/google/apis/cloudshell_v1.rb +1 -1
  41. data/generated/google/apis/cloudshell_v1/classes.rb +6 -0
  42. data/generated/google/apis/cloudshell_v1/representations.rb +1 -0
  43. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  44. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
  45. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
  46. data/generated/google/apis/container_v1.rb +1 -1
  47. data/generated/google/apis/container_v1/classes.rb +205 -4
  48. data/generated/google/apis/container_v1/representations.rb +85 -0
  49. data/generated/google/apis/container_v1beta1.rb +1 -1
  50. data/generated/google/apis/container_v1beta1/classes.rb +93 -2
  51. data/generated/google/apis/container_v1beta1/representations.rb +18 -0
  52. data/generated/google/apis/docs_v1.rb +1 -1
  53. data/generated/google/apis/docs_v1/classes.rb +112 -0
  54. data/generated/google/apis/docs_v1/representations.rb +60 -0
  55. data/generated/google/apis/drive_v2.rb +1 -1
  56. data/generated/google/apis/drive_v2/classes.rb +2 -1
  57. data/generated/google/apis/fitness_v1.rb +1 -1
  58. data/generated/google/apis/fitness_v1/service.rb +1 -1
  59. data/generated/google/apis/healthcare_v1beta1/service.rb +11 -7
  60. data/generated/google/apis/licensing_v1.rb +4 -4
  61. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  62. data/generated/google/apis/licensing_v1/service.rb +81 -37
  63. data/generated/google/apis/ml_v1.rb +2 -2
  64. data/generated/google/apis/ml_v1/classes.rb +9 -0
  65. data/generated/google/apis/ml_v1/representations.rb +1 -0
  66. data/generated/google/apis/ml_v1/service.rb +1 -1
  67. data/generated/google/apis/oslogin_v1.rb +1 -1
  68. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  69. data/generated/google/apis/oslogin_v1/service.rb +8 -5
  70. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  71. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  72. data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
  73. data/generated/google/apis/reseller_v1.rb +1 -1
  74. data/generated/google/apis/reseller_v1/service.rb +1 -1
  75. data/generated/google/apis/run_v1alpha1.rb +1 -1
  76. data/generated/google/apis/run_v1alpha1/classes.rb +319 -0
  77. data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
  78. data/generated/google/apis/run_v1alpha1/service.rb +408 -0
  79. data/generated/google/apis/speech_v2beta1.rb +34 -0
  80. data/generated/google/apis/speech_v2beta1/classes.rb +356 -0
  81. data/generated/google/apis/speech_v2beta1/representations.rb +152 -0
  82. data/generated/google/apis/speech_v2beta1/service.rb +138 -0
  83. data/generated/google/apis/sql_v1beta4.rb +1 -1
  84. data/generated/google/apis/sql_v1beta4/classes.rb +63 -0
  85. data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
  86. data/generated/google/apis/sql_v1beta4/service.rb +161 -30
  87. data/generated/google/apis/storage_v1.rb +1 -1
  88. data/generated/google/apis/testing_v1.rb +1 -1
  89. data/generated/google/apis/testing_v1/classes.rb +141 -0
  90. data/generated/google/apis/testing_v1/representations.rb +76 -0
  91. data/generated/google/apis/videointelligence_v1.rb +1 -1
  92. data/generated/google/apis/videointelligence_v1/classes.rb +34 -34
  93. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  94. data/generated/google/apis/videointelligence_v1beta2/classes.rb +34 -34
  95. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  96. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +34 -34
  97. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  98. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +34 -34
  99. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  100. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +34 -34
  101. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  102. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  103. data/lib/google/apis/version.rb +1 -1
  104. metadata +6 -2
@@ -73,7 +73,7 @@ module Google
73
73
  # identified parent.
74
74
  # @param [Google::Apis::CloudresourcemanagerV2::Folder] folder_object
75
75
  # @param [String] parent
76
- # The resource name of the new Folder's parent.
76
+ # Required. The resource name of the new Folder's parent.
77
77
  # Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
78
78
  # @param [String] fields
79
79
  # Selector specifying which fields to include in a partial response.
@@ -114,7 +114,7 @@ module Google
114
114
  # The caller must have `resourcemanager.folders.delete` permission on the
115
115
  # identified folder.
116
116
  # @param [String] name
117
- # the resource name of the Folder to be deleted.
117
+ # Required. the resource name of the Folder to be deleted.
118
118
  # Must be of the form `folders/`folder_id``.
119
119
  # @param [String] fields
120
120
  # Selector specifying which fields to include in a partial response.
@@ -149,7 +149,7 @@ module Google
149
149
  # The caller must have `resourcemanager.folders.get` permission on the
150
150
  # identified folder.
151
151
  # @param [String] name
152
- # The resource name of the Folder to retrieve.
152
+ # Required. The resource name of the Folder to retrieve.
153
153
  # Must be of the form `folders/`folder_id``.
154
154
  # @param [String] fields
155
155
  # Selector specifying which fields to include in a partial response.
@@ -224,22 +224,20 @@ module Google
224
224
  # The caller must have `resourcemanager.folders.list` permission on the
225
225
  # identified parent.
226
226
  # @param [Fixnum] page_size
227
- # The maximum number of Folders to return in the response.
228
- # This field is optional.
227
+ # Optional. The maximum number of Folders to return in the response.
229
228
  # @param [String] page_token
230
- # A pagination token returned from a previous call to `ListFolders`
229
+ # Optional. A pagination token returned from a previous call to `ListFolders`
231
230
  # that indicates where this listing should continue from.
232
- # This field is optional.
233
231
  # @param [String] parent
234
- # The resource name of the Organization or Folder whose Folders are
232
+ # Required. The resource name of the Organization or Folder whose Folders are
235
233
  # being listed.
236
234
  # Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
237
235
  # Access to this method is controlled by checking the
238
236
  # `resourcemanager.folders.list` permission on the `parent`.
239
237
  # @param [Boolean] show_deleted
240
- # Controls whether Folders in the
238
+ # Optional. Controls whether Folders in the
241
239
  # DELETE_REQUESTED
242
- # state should be returned. Defaults to false. This field is optional.
240
+ # state should be returned. Defaults to false.
243
241
  # @param [String] fields
244
242
  # Selector specifying which fields to include in a partial response.
245
243
  # @param [String] quota_user
@@ -288,7 +286,7 @@ module Google
288
286
  # The caller must have `resourcemanager.folders.move` permission on the
289
287
  # folder's current and proposed new parent.
290
288
  # @param [String] name
291
- # The resource name of the Folder to move.
289
+ # Required. The resource name of the Folder to move.
292
290
  # Must be of the form folders/`folder_id`
293
291
  # @param [Google::Apis::CloudresourcemanagerV2::MoveFolderRequest] move_folder_request_object
294
292
  # @param [String] fields
@@ -338,7 +336,7 @@ module Google
338
336
  # Its format is `folders/`folder_id``, for example: "folders/1234".
339
337
  # @param [Google::Apis::CloudresourcemanagerV2::Folder] folder_object
340
338
  # @param [String] update_mask
341
- # Fields to be updated.
339
+ # Required. Fields to be updated.
342
340
  # Only the `display_name` can be updated.
343
341
  # @param [String] fields
344
342
  # Selector specifying which fields to include in a partial response.
@@ -490,7 +488,7 @@ module Google
490
488
  # The caller must have `resourcemanager.folders.undelete` permission on the
491
489
  # identified folder.
492
490
  # @param [String] name
493
- # The resource name of the Folder to undelete.
491
+ # Required. The resource name of the Folder to undelete.
494
492
  # Must be of the form `folders/`folder_id``.
495
493
  # @param [Google::Apis::CloudresourcemanagerV2::UndeleteFolderRequest] undelete_folder_request_object
496
494
  # @param [String] fields
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20190927'
29
+ REVISION = '20191018'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -268,7 +268,7 @@ module Google
268
268
  # @return [String]
269
269
  attr_accessor :name
270
270
 
271
- # The Folder’s parent's resource name.
271
+ # Required. The Folder’s parent's resource name.
272
272
  # Updates to the folder's parent must be performed via
273
273
  # MoveFolder.
274
274
  # Corresponds to the JSON property `parent`
@@ -402,7 +402,6 @@ module Google
402
402
 
403
403
  # A pagination token returned from a previous call to `ListFolders`
404
404
  # that indicates from where listing should continue.
405
- # This field is optional.
406
405
  # Corresponds to the JSON property `nextPageToken`
407
406
  # @return [String]
408
407
  attr_accessor :next_page_token
@@ -422,7 +421,7 @@ module Google
422
421
  class MoveFolderRequest
423
422
  include Google::Apis::Core::Hashable
424
423
 
425
- # The resource name of the Folder or Organization to reparent
424
+ # Required. The resource name of the Folder or Organization to reparent
426
425
  # the folder under.
427
426
  # Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
428
427
  # Corresponds to the JSON property `destinationParent`
@@ -652,15 +651,13 @@ module Google
652
651
  class SearchFoldersRequest
653
652
  include Google::Apis::Core::Hashable
654
653
 
655
- # The maximum number of folders to return in the response.
656
- # This field is optional.
654
+ # Optional. The maximum number of folders to return in the response.
657
655
  # Corresponds to the JSON property `pageSize`
658
656
  # @return [Fixnum]
659
657
  attr_accessor :page_size
660
658
 
661
- # A pagination token returned from a previous call to `SearchFolders`
659
+ # Optional. A pagination token returned from a previous call to `SearchFolders`
662
660
  # that indicates from where search should continue.
663
- # This field is optional.
664
661
  # Corresponds to the JSON property `pageToken`
665
662
  # @return [String]
666
663
  attr_accessor :page_token
@@ -712,7 +709,6 @@ module Google
712
709
 
713
710
  # A pagination token returned from a previous call to `SearchFolders`
714
711
  # that indicates from where searching should continue.
715
- # This field is optional.
716
712
  # Corresponds to the JSON property `nextPageToken`
717
713
  # @return [String]
718
714
  attr_accessor :next_page_token
@@ -73,7 +73,7 @@ module Google
73
73
  # identified parent.
74
74
  # @param [Google::Apis::CloudresourcemanagerV2beta1::Folder] folder_object
75
75
  # @param [String] parent
76
- # The resource name of the new Folder's parent.
76
+ # Required. The resource name of the new Folder's parent.
77
77
  # Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
78
78
  # @param [String] fields
79
79
  # Selector specifying which fields to include in a partial response.
@@ -114,7 +114,7 @@ module Google
114
114
  # The caller must have `resourcemanager.folders.delete` permission on the
115
115
  # identified folder.
116
116
  # @param [String] name
117
- # the resource name of the Folder to be deleted.
117
+ # Required. the resource name of the Folder to be deleted.
118
118
  # Must be of the form `folders/`folder_id``.
119
119
  # @param [String] fields
120
120
  # Selector specifying which fields to include in a partial response.
@@ -149,7 +149,7 @@ module Google
149
149
  # The caller must have `resourcemanager.folders.get` permission on the
150
150
  # identified folder.
151
151
  # @param [String] name
152
- # The resource name of the Folder to retrieve.
152
+ # Required. The resource name of the Folder to retrieve.
153
153
  # Must be of the form `folders/`folder_id``.
154
154
  # @param [String] fields
155
155
  # Selector specifying which fields to include in a partial response.
@@ -224,22 +224,20 @@ module Google
224
224
  # The caller must have `resourcemanager.folders.list` permission on the
225
225
  # identified parent.
226
226
  # @param [Fixnum] page_size
227
- # The maximum number of Folders to return in the response.
228
- # This field is optional.
227
+ # Optional. The maximum number of Folders to return in the response.
229
228
  # @param [String] page_token
230
- # A pagination token returned from a previous call to `ListFolders`
229
+ # Optional. A pagination token returned from a previous call to `ListFolders`
231
230
  # that indicates where this listing should continue from.
232
- # This field is optional.
233
231
  # @param [String] parent
234
- # The resource name of the Organization or Folder whose Folders are
232
+ # Required. The resource name of the Organization or Folder whose Folders are
235
233
  # being listed.
236
234
  # Must be of the form `folders/`folder_id`` or `organizations/`org_id``.
237
235
  # Access to this method is controlled by checking the
238
236
  # `resourcemanager.folders.list` permission on the `parent`.
239
237
  # @param [Boolean] show_deleted
240
- # Controls whether Folders in the
238
+ # Optional. Controls whether Folders in the
241
239
  # DELETE_REQUESTED
242
- # state should be returned. Defaults to false. This field is optional.
240
+ # state should be returned. Defaults to false.
243
241
  # @param [String] fields
244
242
  # Selector specifying which fields to include in a partial response.
245
243
  # @param [String] quota_user
@@ -288,7 +286,7 @@ module Google
288
286
  # The caller must have `resourcemanager.folders.move` permission on the
289
287
  # folder's current and proposed new parent.
290
288
  # @param [String] name
291
- # The resource name of the Folder to move.
289
+ # Required. The resource name of the Folder to move.
292
290
  # Must be of the form folders/`folder_id`
293
291
  # @param [Google::Apis::CloudresourcemanagerV2beta1::MoveFolderRequest] move_folder_request_object
294
292
  # @param [String] fields
@@ -338,7 +336,7 @@ module Google
338
336
  # Its format is `folders/`folder_id``, for example: "folders/1234".
339
337
  # @param [Google::Apis::CloudresourcemanagerV2beta1::Folder] folder_object
340
338
  # @param [String] update_mask
341
- # Fields to be updated.
339
+ # Required. Fields to be updated.
342
340
  # Only the `display_name` can be updated.
343
341
  # @param [String] fields
344
342
  # Selector specifying which fields to include in a partial response.
@@ -490,7 +488,7 @@ module Google
490
488
  # The caller must have `resourcemanager.folders.undelete` permission on the
491
489
  # identified folder.
492
490
  # @param [String] name
493
- # The resource name of the Folder to undelete.
491
+ # Required. The resource name of the Folder to undelete.
494
492
  # Must be of the form `folders/`folder_id``.
495
493
  # @param [Google::Apis::CloudresourcemanagerV2beta1::UndeleteFolderRequest] undelete_folder_request_object
496
494
  # @param [String] fields
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/shell/docs/
27
27
  module CloudshellV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191016'
29
+ REVISION = '20191023'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -67,6 +67,11 @@ module Google
67
67
  # @return [String]
68
68
  attr_accessor :docker_image
69
69
 
70
+ # Output only. List of ports users can connect to on the environment.
71
+ # Corresponds to the JSON property `httpsPorts`
72
+ # @return [Array<Fixnum>]
73
+ attr_accessor :https_ports
74
+
70
75
  # Output only. The environment's identifier, which is always "default".
71
76
  # Corresponds to the JSON property `id`
72
77
  # @return [String]
@@ -139,6 +144,7 @@ module Google
139
144
  # Update properties of this object
140
145
  def update!(**args)
141
146
  @docker_image = args[:docker_image] if args.key?(:docker_image)
147
+ @https_ports = args[:https_ports] if args.key?(:https_ports)
142
148
  @id = args[:id] if args.key?(:id)
143
149
  @name = args[:name] if args.key?(:name)
144
150
  @public_keys = args[:public_keys] if args.key?(:public_keys)
@@ -92,6 +92,7 @@ module Google
92
92
  # @private
93
93
  class Representation < Google::Apis::Core::JsonRepresentation
94
94
  property :docker_image, as: 'dockerImage'
95
+ collection :https_ports, as: 'httpsPorts'
95
96
  property :id, as: 'id'
96
97
  property :name, as: 'name'
97
98
  collection :public_keys, as: 'publicKeys', class: Google::Apis::CloudshellV1::PublicKey, decorator: Google::Apis::CloudshellV1::PublicKey::Representation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/shell/docs/
27
27
  module CloudshellV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20191016'
29
+ REVISION = '20191023'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -105,6 +105,11 @@ module Google
105
105
  # @return [String]
106
106
  attr_accessor :docker_image
107
107
 
108
+ # Output only. List of ports users can connect to on the environment.
109
+ # Corresponds to the JSON property `httpsPorts`
110
+ # @return [Array<Fixnum>]
111
+ attr_accessor :https_ports
112
+
108
113
  # Output only. The environment's identifier, which is always "default".
109
114
  # Corresponds to the JSON property `id`
110
115
  # @return [String]
@@ -177,6 +182,7 @@ module Google
177
182
  # Update properties of this object
178
183
  def update!(**args)
179
184
  @docker_image = args[:docker_image] if args.key?(:docker_image)
185
+ @https_ports = args[:https_ports] if args.key?(:https_ports)
180
186
  @id = args[:id] if args.key?(:id)
181
187
  @name = args[:name] if args.key?(:name)
182
188
  @public_keys = args[:public_keys] if args.key?(:public_keys)
@@ -109,6 +109,7 @@ module Google
109
109
  # @private
110
110
  class Representation < Google::Apis::Core::JsonRepresentation
111
111
  property :docker_image, as: 'dockerImage'
112
+ collection :https_ports, as: 'httpsPorts'
112
113
  property :id, as: 'id'
113
114
  property :name, as: 'name'
114
115
  collection :public_keys, as: 'publicKeys', class: Google::Apis::CloudshellV1alpha1::PublicKey, decorator: Google::Apis::CloudshellV1alpha1::PublicKey::Representation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190906'
29
+ REVISION = '20191021'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -91,6 +91,34 @@ module Google
91
91
  end
92
92
  end
93
93
 
94
+ # Configuration for returning group information from authenticators.
95
+ class AuthenticatorGroupsConfig
96
+ include Google::Apis::Core::Hashable
97
+
98
+ # Whether this cluster should return group membership lookups
99
+ # during authentication using a group of security groups.
100
+ # Corresponds to the JSON property `enabled`
101
+ # @return [Boolean]
102
+ attr_accessor :enabled
103
+ alias_method :enabled?, :enabled
104
+
105
+ # The name of the security group-of-groups to be used. Only relevant
106
+ # if enabled = true.
107
+ # Corresponds to the JSON property `securityGroup`
108
+ # @return [String]
109
+ attr_accessor :security_group
110
+
111
+ def initialize(**args)
112
+ update!(**args)
113
+ end
114
+
115
+ # Update properties of this object
116
+ def update!(**args)
117
+ @enabled = args[:enabled] if args.key?(:enabled)
118
+ @security_group = args[:security_group] if args.key?(:security_group)
119
+ end
120
+ end
121
+
94
122
  # AutoUpgradeOptions defines the set of options for the user to control how
95
123
  # the Auto Upgrades will proceed.
96
124
  class AutoUpgradeOptions
@@ -120,6 +148,34 @@ module Google
120
148
  end
121
149
  end
122
150
 
151
+ # AutoprovisioningNodePoolDefaults contains defaults for a node pool created
152
+ # by NAP.
153
+ class AutoprovisioningNodePoolDefaults
154
+ include Google::Apis::Core::Hashable
155
+
156
+ # Scopes that are used by NAP when creating node pools. If oauth_scopes are
157
+ # specified, service_account should be empty.
158
+ # Corresponds to the JSON property `oauthScopes`
159
+ # @return [Array<String>]
160
+ attr_accessor :oauth_scopes
161
+
162
+ # The Google Cloud Platform Service Account to be used by the node VMs. If
163
+ # service_account is specified, scopes should be empty.
164
+ # Corresponds to the JSON property `serviceAccount`
165
+ # @return [String]
166
+ attr_accessor :service_account
167
+
168
+ def initialize(**args)
169
+ update!(**args)
170
+ end
171
+
172
+ # Update properties of this object
173
+ def update!(**args)
174
+ @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
175
+ @service_account = args[:service_account] if args.key?(:service_account)
176
+ end
177
+ end
178
+
123
179
  # Parameters for using BigQuery as the destination of resource usage export.
124
180
  class BigQueryDestination
125
181
  include Google::Apis::Core::Hashable
@@ -258,6 +314,19 @@ module Google
258
314
  # @return [Google::Apis::ContainerV1::AddonsConfig]
259
315
  attr_accessor :addons_config
260
316
 
317
+ # Configuration for returning group information from authenticators.
318
+ # Corresponds to the JSON property `authenticatorGroupsConfig`
319
+ # @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
320
+ attr_accessor :authenticator_groups_config
321
+
322
+ # ClusterAutoscaling contains global, per-cluster information
323
+ # required by Cluster Autoscaler to automatically adjust
324
+ # the size of the cluster and create/delete
325
+ # node pools based on the current needs.
326
+ # Corresponds to the JSON property `autoscaling`
327
+ # @return [Google::Apis::ContainerV1::ClusterAutoscaling]
328
+ attr_accessor :autoscaling
329
+
261
330
  # Configuration for Binary Authorization.
262
331
  # Corresponds to the JSON property `binaryAuthorization`
263
332
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
@@ -417,7 +486,7 @@ module Google
417
486
  # The logging service the cluster should use to write logs.
418
487
  # Currently available options:
419
488
  # * "logging.googleapis.com/kubernetes" - the Google Cloud Logging
420
- # service with Kubernetes-native resource model in Stackdriver
489
+ # service with Kubernetes-native resource model
421
490
  # * `logging.googleapis.com` - the Google Cloud Logging service.
422
491
  # * `none` - no logs will be exported from the cluster.
423
492
  # * if left as an empty string,`logging.googleapis.com` will be used.
@@ -557,6 +626,13 @@ module Google
557
626
  # @return [String]
558
627
  attr_accessor :tpu_ipv4_cidr_block
559
628
 
629
+ # VerticalPodAutoscaling contains global, per-cluster information
630
+ # required by Vertical Pod Autoscaler to automatically adjust
631
+ # the resources of pods controlled by it.
632
+ # Corresponds to the JSON property `verticalPodAutoscaling`
633
+ # @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
634
+ attr_accessor :vertical_pod_autoscaling
635
+
560
636
  # [Output only] The name of the Google Compute Engine
561
637
  # [zone](/compute/docs/zones#available) in which the cluster
562
638
  # resides.
@@ -572,6 +648,8 @@ module Google
572
648
  # Update properties of this object
573
649
  def update!(**args)
574
650
  @addons_config = args[:addons_config] if args.key?(:addons_config)
651
+ @authenticator_groups_config = args[:authenticator_groups_config] if args.key?(:authenticator_groups_config)
652
+ @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
575
653
  @binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
576
654
  @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
577
655
  @conditions = args[:conditions] if args.key?(:conditions)
@@ -615,10 +693,55 @@ module Google
615
693
  @status_message = args[:status_message] if args.key?(:status_message)
616
694
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
617
695
  @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
696
+ @vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling)
618
697
  @zone = args[:zone] if args.key?(:zone)
619
698
  end
620
699
  end
621
700
 
701
+ # ClusterAutoscaling contains global, per-cluster information
702
+ # required by Cluster Autoscaler to automatically adjust
703
+ # the size of the cluster and create/delete
704
+ # node pools based on the current needs.
705
+ class ClusterAutoscaling
706
+ include Google::Apis::Core::Hashable
707
+
708
+ # The list of Google Compute Engine [zones](/compute/docs/zones#available)
709
+ # in which the NodePool's nodes can be created by NAP.
710
+ # Corresponds to the JSON property `autoprovisioningLocations`
711
+ # @return [Array<String>]
712
+ attr_accessor :autoprovisioning_locations
713
+
714
+ # AutoprovisioningNodePoolDefaults contains defaults for a node pool created
715
+ # by NAP.
716
+ # Corresponds to the JSON property `autoprovisioningNodePoolDefaults`
717
+ # @return [Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults]
718
+ attr_accessor :autoprovisioning_node_pool_defaults
719
+
720
+ # Enables automatic node pool creation and deletion.
721
+ # Corresponds to the JSON property `enableNodeAutoprovisioning`
722
+ # @return [Boolean]
723
+ attr_accessor :enable_node_autoprovisioning
724
+ alias_method :enable_node_autoprovisioning?, :enable_node_autoprovisioning
725
+
726
+ # Contains global constraints regarding minimum and maximum
727
+ # amount of resources in the cluster.
728
+ # Corresponds to the JSON property `resourceLimits`
729
+ # @return [Array<Google::Apis::ContainerV1::ResourceLimit>]
730
+ attr_accessor :resource_limits
731
+
732
+ def initialize(**args)
733
+ update!(**args)
734
+ end
735
+
736
+ # Update properties of this object
737
+ def update!(**args)
738
+ @autoprovisioning_locations = args[:autoprovisioning_locations] if args.key?(:autoprovisioning_locations)
739
+ @autoprovisioning_node_pool_defaults = args[:autoprovisioning_node_pool_defaults] if args.key?(:autoprovisioning_node_pool_defaults)
740
+ @enable_node_autoprovisioning = args[:enable_node_autoprovisioning] if args.key?(:enable_node_autoprovisioning)
741
+ @resource_limits = args[:resource_limits] if args.key?(:resource_limits)
742
+ end
743
+ end
744
+
622
745
  # ClusterUpdate describes an update to the cluster. Exactly one update can
623
746
  # be applied to a cluster with each request, so at most one field can be
624
747
  # provided.
@@ -636,6 +759,14 @@ module Google
636
759
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
637
760
  attr_accessor :desired_binary_authorization
638
761
 
762
+ # ClusterAutoscaling contains global, per-cluster information
763
+ # required by Cluster Autoscaler to automatically adjust
764
+ # the size of the cluster and create/delete
765
+ # node pools based on the current needs.
766
+ # Corresponds to the JSON property `desiredClusterAutoscaling`
767
+ # @return [Google::Apis::ContainerV1::ClusterAutoscaling]
768
+ attr_accessor :desired_cluster_autoscaling
769
+
639
770
  # Configuration of etcd encryption.
640
771
  # Corresponds to the JSON property `desiredDatabaseEncryption`
641
772
  # @return [Google::Apis::ContainerV1::DatabaseEncryption]
@@ -666,7 +797,7 @@ module Google
666
797
  # The logging service the cluster should use to write logs.
667
798
  # Currently available options:
668
799
  # * "logging.googleapis.com/kubernetes" - the Google Cloud Logging
669
- # service with Kubernetes-native resource model in Stackdriver
800
+ # service with Kubernetes-native resource model
670
801
  # * "logging.googleapis.com" - the Google Cloud Logging service
671
802
  # * "none" - no logs will be exported from the cluster
672
803
  # Corresponds to the JSON property `desiredLoggingService`
@@ -696,7 +827,7 @@ module Google
696
827
  # The monitoring service the cluster should use to write metrics.
697
828
  # Currently available options:
698
829
  # * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
699
- # service with Kubernetes-native resource model in Stackdriver
830
+ # service with Kubernetes-native resource model
700
831
  # * "monitoring.googleapis.com" - the Google Cloud Monitoring service
701
832
  # * "none" - no metrics will be exported from the cluster
702
833
  # Corresponds to the JSON property `desiredMonitoringService`
@@ -735,6 +866,13 @@ module Google
735
866
  # @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
736
867
  attr_accessor :desired_resource_usage_export_config
737
868
 
869
+ # VerticalPodAutoscaling contains global, per-cluster information
870
+ # required by Vertical Pod Autoscaler to automatically adjust
871
+ # the resources of pods controlled by it.
872
+ # Corresponds to the JSON property `desiredVerticalPodAutoscaling`
873
+ # @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
874
+ attr_accessor :desired_vertical_pod_autoscaling
875
+
738
876
  def initialize(**args)
739
877
  update!(**args)
740
878
  end
@@ -743,6 +881,7 @@ module Google
743
881
  def update!(**args)
744
882
  @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
745
883
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
884
+ @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
746
885
  @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
747
886
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
748
887
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
@@ -755,6 +894,7 @@ module Google
755
894
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
756
895
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
757
896
  @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
897
+ @desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
758
898
  end
759
899
  end
760
900
 
@@ -2095,6 +2235,12 @@ module Google
2095
2235
  class NodePoolAutoscaling
2096
2236
  include Google::Apis::Core::Hashable
2097
2237
 
2238
+ # Can this node pool be deleted automatically.
2239
+ # Corresponds to the JSON property `autoprovisioned`
2240
+ # @return [Boolean]
2241
+ attr_accessor :autoprovisioned
2242
+ alias_method :autoprovisioned?, :autoprovisioned
2243
+
2098
2244
  # Is autoscaling enabled for this node pool.
2099
2245
  # Corresponds to the JSON property `enabled`
2100
2246
  # @return [Boolean]
@@ -2119,6 +2265,7 @@ module Google
2119
2265
 
2120
2266
  # Update properties of this object
2121
2267
  def update!(**args)
2268
+ @autoprovisioned = args[:autoprovisioned] if args.key?(:autoprovisioned)
2122
2269
  @enabled = args[:enabled] if args.key?(:enabled)
2123
2270
  @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
2124
2271
  @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
@@ -2309,6 +2456,38 @@ module Google
2309
2456
  end
2310
2457
  end
2311
2458
 
2459
+ # Contains information about amount of some resource in the cluster.
2460
+ # For memory, value should be in GB.
2461
+ class ResourceLimit
2462
+ include Google::Apis::Core::Hashable
2463
+
2464
+ # Maximum amount of the resource in the cluster.
2465
+ # Corresponds to the JSON property `maximum`
2466
+ # @return [Fixnum]
2467
+ attr_accessor :maximum
2468
+
2469
+ # Minimum amount of the resource in the cluster.
2470
+ # Corresponds to the JSON property `minimum`
2471
+ # @return [Fixnum]
2472
+ attr_accessor :minimum
2473
+
2474
+ # Resource name "cpu", "memory" or gpu-specific string.
2475
+ # Corresponds to the JSON property `resourceType`
2476
+ # @return [String]
2477
+ attr_accessor :resource_type
2478
+
2479
+ def initialize(**args)
2480
+ update!(**args)
2481
+ end
2482
+
2483
+ # Update properties of this object
2484
+ def update!(**args)
2485
+ @maximum = args[:maximum] if args.key?(:maximum)
2486
+ @minimum = args[:minimum] if args.key?(:minimum)
2487
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
2488
+ end
2489
+ end
2490
+
2312
2491
  # Configuration for exporting cluster resource usages.
2313
2492
  class ResourceUsageExportConfig
2314
2493
  include Google::Apis::Core::Hashable
@@ -2832,7 +3011,7 @@ module Google
2832
3011
  # The monitoring service the cluster should use to write metrics.
2833
3012
  # Currently available options:
2834
3013
  # * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
2835
- # service with Kubernetes-native resource model in Stackdriver
3014
+ # service with Kubernetes-native resource model
2836
3015
  # * "monitoring.googleapis.com" - the Google Cloud Monitoring service
2837
3016
  # * "none" - no metrics will be exported from the cluster
2838
3017
  # Corresponds to the JSON property `monitoringService`
@@ -3476,6 +3655,28 @@ module Google
3476
3655
  @status = args[:status] if args.key?(:status)
3477
3656
  end
3478
3657
  end
3658
+
3659
+ # VerticalPodAutoscaling contains global, per-cluster information
3660
+ # required by Vertical Pod Autoscaler to automatically adjust
3661
+ # the resources of pods controlled by it.
3662
+ class VerticalPodAutoscaling
3663
+ include Google::Apis::Core::Hashable
3664
+
3665
+ # Enables vertical pod autoscaling.
3666
+ # Corresponds to the JSON property `enabled`
3667
+ # @return [Boolean]
3668
+ attr_accessor :enabled
3669
+ alias_method :enabled?, :enabled
3670
+
3671
+ def initialize(**args)
3672
+ update!(**args)
3673
+ end
3674
+
3675
+ # Update properties of this object
3676
+ def update!(**args)
3677
+ @enabled = args[:enabled] if args.key?(:enabled)
3678
+ end
3679
+ end
3479
3680
  end
3480
3681
  end
3481
3682
  end