google-api-client 0.45.0 → 0.45.1

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 (152) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +56 -0
  3. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  6. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  7. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  8. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  9. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  10. data/generated/google/apis/apigateway_v1alpha2.rb +34 -0
  11. data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
  12. data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
  13. data/generated/google/apis/apigateway_v1alpha2/service.rb +623 -0
  14. data/generated/google/apis/apigee_v1.rb +1 -1
  15. data/generated/google/apis/apigee_v1/classes.rb +0 -6
  16. data/generated/google/apis/apigee_v1/representations.rb +0 -1
  17. data/generated/google/apis/apigee_v1/service.rb +1 -5
  18. data/generated/google/apis/appsmarket_v2.rb +1 -1
  19. data/generated/google/apis/bigquery_v2.rb +1 -1
  20. data/generated/google/apis/bigquery_v2/classes.rb +22 -0
  21. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  22. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  23. data/generated/google/apis/binaryauthorization_v1/classes.rb +187 -0
  24. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  25. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  26. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  27. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +187 -0
  28. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  29. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  30. data/generated/google/apis/calendar_v3.rb +1 -1
  31. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  32. data/generated/google/apis/chat_v1.rb +1 -1
  33. data/generated/google/apis/chat_v1/classes.rb +76 -2
  34. data/generated/google/apis/chat_v1/representations.rb +35 -0
  35. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  36. data/generated/google/apis/cloudbuild_v1/classes.rb +0 -34
  37. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  38. data/generated/google/apis/cloudbuild_v1/service.rb +7 -4
  39. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  40. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  41. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  42. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  43. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -34
  44. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
  45. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +185 -0
  47. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  48. data/generated/google/apis/cloudidentity_v1beta1/service.rb +164 -0
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  51. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  52. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  53. data/generated/google/apis/content_v2_1.rb +1 -1
  54. data/generated/google/apis/content_v2_1/service.rb +1 -1
  55. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  56. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
  57. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  58. data/generated/google/apis/dataflow_v1b3/classes.rb +20 -8
  59. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  60. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  61. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  62. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  63. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  64. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  65. data/generated/google/apis/dialogflow_v2.rb +1 -1
  66. data/generated/google/apis/dialogflow_v2/classes.rb +73 -0
  67. data/generated/google/apis/dialogflow_v2/representations.rb +51 -0
  68. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  69. data/generated/google/apis/dialogflow_v2beta1/classes.rb +73 -0
  70. data/generated/google/apis/dialogflow_v2beta1/representations.rb +51 -0
  71. data/generated/google/apis/dialogflow_v2beta1/service.rb +6 -6
  72. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  73. data/generated/google/apis/dialogflow_v3beta1/classes.rb +142 -0
  74. data/generated/google/apis/dialogflow_v3beta1/representations.rb +83 -0
  75. data/generated/google/apis/displayvideo_v1.rb +1 -1
  76. data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
  77. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  78. data/generated/google/apis/dlp_v2.rb +1 -1
  79. data/generated/google/apis/dlp_v2/classes.rb +26 -0
  80. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  81. data/generated/google/apis/dlp_v2/service.rb +328 -328
  82. data/generated/google/apis/firestore_v1.rb +1 -1
  83. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  84. data/generated/google/apis/gmail_v1.rb +1 -1
  85. data/generated/google/apis/gmail_v1/service.rb +1 -1
  86. data/generated/google/apis/healthcare_v1.rb +1 -1
  87. data/generated/google/apis/healthcare_v1/classes.rb +3 -1
  88. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  89. data/generated/google/apis/healthcare_v1beta1/classes.rb +1014 -16
  90. data/generated/google/apis/healthcare_v1beta1/representations.rb +453 -0
  91. data/generated/google/apis/healthcare_v1beta1/service.rb +1226 -0
  92. data/generated/google/apis/logging_v2.rb +1 -1
  93. data/generated/google/apis/logging_v2/classes.rb +98 -55
  94. data/generated/google/apis/logging_v2/representations.rb +32 -0
  95. data/generated/google/apis/logging_v2/service.rb +1214 -264
  96. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  97. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  98. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  99. data/generated/google/apis/people_v1.rb +1 -1
  100. data/generated/google/apis/people_v1/service.rb +8 -6
  101. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  102. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  103. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  104. data/generated/google/apis/run_v1.rb +1 -1
  105. data/generated/google/apis/run_v1/classes.rb +0 -124
  106. data/generated/google/apis/run_v1/representations.rb +0 -61
  107. data/generated/google/apis/run_v1/service.rb +0 -342
  108. data/generated/google/apis/searchconsole_v1.rb +7 -1
  109. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  110. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  111. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  112. data/generated/google/apis/securitycenter_v1.rb +1 -1
  113. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  114. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  115. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  116. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  117. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  118. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  119. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  120. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  121. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  122. data/generated/google/apis/servicecontrol_v1/classes.rb +1 -2
  123. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  124. data/generated/google/apis/servicecontrol_v2/classes.rb +1 -2
  125. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  126. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  127. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  128. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  129. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  130. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  131. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
  132. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  133. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  134. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  135. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  136. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  137. data/generated/google/apis/sqladmin_v1beta4/classes.rb +83 -52
  138. data/generated/google/apis/sqladmin_v1beta4/representations.rb +33 -17
  139. data/generated/google/apis/storage_v1.rb +1 -1
  140. data/generated/google/apis/sts_v1beta.rb +1 -1
  141. data/generated/google/apis/sts_v1beta/classes.rb +4 -1
  142. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  143. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  144. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  145. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  146. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  147. data/generated/google/apis/youtube_v3.rb +1 -1
  148. data/generated/google/apis/youtube_v3/classes.rb +0 -134
  149. data/generated/google/apis/youtube_v3/representations.rb +0 -55
  150. data/generated/google/apis/youtube_v3/service.rb +2 -2
  151. data/lib/google/apis/version.rb +1 -1
  152. metadata +15 -3
@@ -49,8 +49,7 @@ module Google
49
49
 
50
50
  # Returns the Cloud Source Repositories configuration of the project.
51
51
  # @param [String] name
52
- # The name of the requested project. Values are of the form
53
- # `projects/<project>`.
52
+ # The name of the requested project. Values are of the form `projects/`.
54
53
  # @param [String] fields
55
54
  # Selector specifying which fields to include in a partial response.
56
55
  # @param [String] quota_user
@@ -80,8 +79,7 @@ module Google
80
79
 
81
80
  # Updates the Cloud Source Repositories configuration of the project.
82
81
  # @param [String] name
83
- # The name of the requested project. Values are of the form
84
- # `projects/<project>`.
82
+ # The name of the requested project. Values are of the form `projects/`.
85
83
  # @param [Google::Apis::SourcerepoV1::UpdateProjectConfigRequest] update_project_config_request_object
86
84
  # @param [String] fields
87
85
  # Selector specifying which fields to include in a partial response.
@@ -112,12 +110,10 @@ module Google
112
110
  execute_or_queue_command(command, &block)
113
111
  end
114
112
 
115
- # Creates a repo in the given project with the given name.
116
- # If the named repository already exists, `CreateRepo` returns
117
- # `ALREADY_EXISTS`.
113
+ # Creates a repo in the given project with the given name. If the named
114
+ # repository already exists, `CreateRepo` returns `ALREADY_EXISTS`.
118
115
  # @param [String] parent
119
- # The project in which to create the repo. Values are of the form
120
- # `projects/<project>`.
116
+ # The project in which to create the repo. Values are of the form `projects/`.
121
117
  # @param [Google::Apis::SourcerepoV1::Repo] repo_object
122
118
  # @param [String] fields
123
119
  # Selector specifying which fields to include in a partial response.
@@ -150,8 +146,7 @@ module Google
150
146
 
151
147
  # Deletes a repo.
152
148
  # @param [String] name
153
- # The name of the repo to delete. Values are of the form
154
- # `projects/<project>/repos/<repo>`.
149
+ # The name of the repo to delete. Values are of the form `projects//repos/`.
155
150
  # @param [String] fields
156
151
  # Selector specifying which fields to include in a partial response.
157
152
  # @param [String] quota_user
@@ -181,8 +176,8 @@ module Google
181
176
 
182
177
  # Returns information about a repo.
183
178
  # @param [String] name
184
- # The name of the requested repository. Values are of the form
185
- # `projects/<project>/repos/<repo>`.
179
+ # The name of the requested repository. Values are of the form `projects//repos/`
180
+ # .
186
181
  # @param [String] fields
187
182
  # Selector specifying which fields to include in a partial response.
188
183
  # @param [String] quota_user
@@ -210,22 +205,19 @@ module Google
210
205
  execute_or_queue_command(command, &block)
211
206
  end
212
207
 
213
- # Gets the access control policy for a resource.
214
- # Returns an empty policy if the resource exists and does not have a policy
215
- # set.
208
+ # Gets the access control policy for a resource. Returns an empty policy if the
209
+ # resource exists and does not have a policy set.
216
210
  # @param [String] resource
217
- # REQUIRED: The resource for which the policy is being requested.
218
- # See the operation documentation for the appropriate value for this field.
211
+ # REQUIRED: The resource for which the policy is being requested. See the
212
+ # operation documentation for the appropriate value for this field.
219
213
  # @param [Fixnum] options_requested_policy_version
220
- # Optional. The policy format version to be returned.
221
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
222
- # rejected.
223
- # Requests for policies with any conditional bindings must specify version 3.
224
- # Policies without any conditional bindings may specify any valid value or
225
- # leave the field unset.
226
- # To learn which resources support conditions in their IAM policies, see the
227
- # [IAM
228
- # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
214
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
215
+ # 3. Requests specifying an invalid value will be rejected. Requests for
216
+ # policies with any conditional bindings must specify version 3. Policies
217
+ # without any conditional bindings may specify any valid value or leave the
218
+ # field unset. To learn which resources support conditions in their IAM policies,
219
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
220
+ # resource-policies).
229
221
  # @param [String] fields
230
222
  # Selector specifying which fields to include in a partial response.
231
223
  # @param [String] quota_user
@@ -254,18 +246,18 @@ module Google
254
246
  execute_or_queue_command(command, &block)
255
247
  end
256
248
 
257
- # Returns all repos belonging to a project. The sizes of the repos are
258
- # not set by ListRepos. To get the size of a repo, use GetRepo.
249
+ # Returns all repos belonging to a project. The sizes of the repos are not set
250
+ # by ListRepos. To get the size of a repo, use GetRepo.
259
251
  # @param [String] name
260
- # The project ID whose repos should be listed. Values are of the form
261
- # `projects/<project>`.
252
+ # The project ID whose repos should be listed. Values are of the form `projects/`
253
+ # .
262
254
  # @param [Fixnum] page_size
263
- # Maximum number of repositories to return; between 1 and 500.
264
- # If not set or zero, defaults to 100 at the server.
255
+ # Maximum number of repositories to return; between 1 and 500. If not set or
256
+ # zero, defaults to 100 at the server.
265
257
  # @param [String] page_token
266
- # Resume listing repositories where a prior ListReposResponse
267
- # left off. This is an opaque token that must be obtained from
268
- # a recent, prior ListReposResponse's next_page_token field.
258
+ # Resume listing repositories where a prior ListReposResponse left off. This is
259
+ # an opaque token that must be obtained from a recent, prior ListReposResponse's
260
+ # next_page_token field.
269
261
  # @param [String] fields
270
262
  # Selector specifying which fields to include in a partial response.
271
263
  # @param [String] quota_user
@@ -297,8 +289,8 @@ module Google
297
289
 
298
290
  # Updates information about a repo.
299
291
  # @param [String] name
300
- # The name of the requested repository. Values are of the form
301
- # `projects/<project>/repos/<repo>`.
292
+ # The name of the requested repository. Values are of the form `projects//repos/`
293
+ # .
302
294
  # @param [Google::Apis::SourcerepoV1::UpdateRepoRequest] update_repo_request_object
303
295
  # @param [String] fields
304
296
  # Selector specifying which fields to include in a partial response.
@@ -332,8 +324,8 @@ module Google
332
324
  # Sets the access control policy on the specified resource. Replaces any
333
325
  # existing policy.
334
326
  # @param [String] resource
335
- # REQUIRED: The resource for which the policy is being specified.
336
- # See the operation documentation for the appropriate value for this field.
327
+ # REQUIRED: The resource for which the policy is being specified. See the
328
+ # operation documentation for the appropriate value for this field.
337
329
  # @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_request_object
338
330
  # @param [String] fields
339
331
  # Selector specifying which fields to include in a partial response.
@@ -364,11 +356,10 @@ module Google
364
356
  execute_or_queue_command(command, &block)
365
357
  end
366
358
 
367
- # Synchronize a connected repo.
368
- # The response contains SyncRepoMetadata in the metadata field.
359
+ # Synchronize a connected repo. The response contains SyncRepoMetadata in the
360
+ # metadata field.
369
361
  # @param [String] name
370
- # The name of the repo to synchronize. Values are of the form
371
- # `projects/<project>/repos/<repo>`.
362
+ # The name of the repo to synchronize. Values are of the form `projects//repos/`.
372
363
  # @param [Google::Apis::SourcerepoV1::SyncRepoRequest] sync_repo_request_object
373
364
  # @param [String] fields
374
365
  # Selector specifying which fields to include in a partial response.
@@ -399,12 +390,12 @@ module Google
399
390
  execute_or_queue_command(command, &block)
400
391
  end
401
392
 
402
- # Returns permissions that a caller has on the specified resource.
403
- # If the resource does not exist, this will return an empty set of
404
- # permissions, not a NOT_FOUND error.
393
+ # Returns permissions that a caller has on the specified resource. If the
394
+ # resource does not exist, this will return an empty set of permissions, not a
395
+ # NOT_FOUND error.
405
396
  # @param [String] resource
406
- # REQUIRED: The resource for which the policy detail is being requested.
407
- # See the operation documentation for the appropriate value for this field.
397
+ # REQUIRED: The resource for which the policy detail is being requested. See the
398
+ # operation documentation for the appropriate value for this field.
408
399
  # @param [Google::Apis::SourcerepoV1::TestIamPermissionsRequest] test_iam_permissions_request_object
409
400
  # @param [String] fields
410
401
  # Selector specifying which fields to include in a partial response.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/cloud-sql/
26
26
  module SqladminV1beta4
27
27
  VERSION = 'V1beta4'
28
- REVISION = '20200903'
28
+ REVISION = '20200919'
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'
@@ -488,11 +488,11 @@ module Google
488
488
  attr_accessor :current_disk_size
489
489
 
490
490
  # The database engine type and version. The *databaseVersion* field cannot be
491
- # changed after instance creation. MySQL instances: *MYSQL_5_7* (default), or *
492
- # MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*, *POSTGRES_11*
493
- # or *POSTGRES_12* (default). SQL Server instances: *SQLSERVER_2017_STANDARD* (
494
- # default), *SQLSERVER_2017_ENTERPRISE*, *SQLSERVER_2017_EXPRESS*, or *
495
- # SQLSERVER_2017_WEB*.
491
+ # changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (
492
+ # default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*,
493
+ # *POSTGRES_11* or *POSTGRES_12* (default). SQL Server instances: *
494
+ # SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, *
495
+ # SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.
496
496
  # Corresponds to the JSON property `databaseVersion`
497
497
  # @return [String]
498
498
  attr_accessor :database_version
@@ -855,6 +855,45 @@ module Google
855
855
  end
856
856
  end
857
857
 
858
+ # Deny Maintenance Periods. This specifies a date range during when all CSA
859
+ # rollout will be denied.
860
+ class DenyMaintenancePeriod
861
+ include Google::Apis::Core::Hashable
862
+
863
+ # "deny maintenance period" end date. If the year of the end date is empty, the
864
+ # year of the start date also must be empty. In this case, it means the deny
865
+ # maintenance period recurs every year. The date is in format yyyy-mm-dd i.e.,
866
+ # 2020-11-01, or mm-dd, i.e., 11-01
867
+ # Corresponds to the JSON property `endDate`
868
+ # @return [String]
869
+ attr_accessor :end_date
870
+
871
+ # "deny maintenance period" start date. If the year of the start date is empty,
872
+ # the year of the end date also must be empty. In this case, it means the deny
873
+ # maintenance period recurs every year. The date is in format yyyy-mm-dd i.e.,
874
+ # 2020-11-01, or mm-dd, i.e., 11-01
875
+ # Corresponds to the JSON property `startDate`
876
+ # @return [String]
877
+ attr_accessor :start_date
878
+
879
+ # Time in UTC when the "deny maintenance period" starts on start_date and ends
880
+ # on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
881
+ # Corresponds to the JSON property `time`
882
+ # @return [String]
883
+ attr_accessor :time
884
+
885
+ def initialize(**args)
886
+ update!(**args)
887
+ end
888
+
889
+ # Update properties of this object
890
+ def update!(**args)
891
+ @end_date = args[:end_date] if args.key?(:end_date)
892
+ @start_date = args[:start_date] if args.key?(:start_date)
893
+ @time = args[:time] if args.key?(:time)
894
+ end
895
+ end
896
+
858
897
  # Disk encryption configuration for an instance.
859
898
  class DiskEncryptionConfiguration
860
899
  include Google::Apis::Core::Hashable
@@ -1087,8 +1126,8 @@ module Google
1087
1126
  # @return [Array<String>]
1088
1127
  attr_accessor :allowed_string_values
1089
1128
 
1090
- # The database version this flag applies to. Can be *MYSQL_5_5*, *MYSQL_5_6*, or
1091
- # *MYSQL_5_7*. *MYSQL_5_7* is applicable only to Second Generation instances.
1129
+ # The database version this flag applies to. Can be *MYSQL_8_0*, *MYSQL_5_6*, or
1130
+ # *MYSQL_5_7*.
1092
1131
  # Corresponds to the JSON property `appliesTo`
1093
1132
  # @return [Array<String>]
1094
1133
  attr_accessor :applies_to
@@ -1659,45 +1698,6 @@ module Google
1659
1698
  end
1660
1699
  end
1661
1700
 
1662
- # Maintenance Deny Periods. This specifies a date range during when all CSA
1663
- # rollout will be denied.
1664
- class MaintenanceDenyPeriod
1665
- include Google::Apis::Core::Hashable
1666
-
1667
- # "maintenance deny period" end date. If the year of the end date is empty, the
1668
- # year of the start date also must be empty. In this case, it means the no
1669
- # maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e.,
1670
- # 2020-11-01, or mm-dd, i.e., 11-01
1671
- # Corresponds to the JSON property `endDate`
1672
- # @return [String]
1673
- attr_accessor :end_date
1674
-
1675
- # "maintenance deny period" start date. If the year of the start date is empty,
1676
- # the year of the end date also must be empty. In this case, it means the no
1677
- # maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e.,
1678
- # 2020-11-01, or mm-dd, i.e., 11-01
1679
- # Corresponds to the JSON property `startDate`
1680
- # @return [String]
1681
- attr_accessor :start_date
1682
-
1683
- # Time in UTC when the "no maintenance interval" starts on start_date and ends
1684
- # on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
1685
- # Corresponds to the JSON property `time`
1686
- # @return [String]
1687
- attr_accessor :time
1688
-
1689
- def initialize(**args)
1690
- update!(**args)
1691
- end
1692
-
1693
- # Update properties of this object
1694
- def update!(**args)
1695
- @end_date = args[:end_date] if args.key?(:end_date)
1696
- @start_date = args[:start_date] if args.key?(:start_date)
1697
- @time = args[:time] if args.key?(:time)
1698
- end
1699
- end
1700
-
1701
1701
  # Maintenance window. This specifies when a Cloud SQL instance is restarted for
1702
1702
  # system maintenance purposes.
1703
1703
  class MaintenanceWindow
@@ -2225,6 +2225,11 @@ module Google
2225
2225
  # @return [String]
2226
2226
  attr_accessor :activation_policy
2227
2227
 
2228
+ # Active Directory configuration, for now relevant only for SQL Server
2229
+ # Corresponds to the JSON property `activeDirectoryConfig`
2230
+ # @return [Google::Apis::SqladminV1beta4::SqlActiveDirectoryConfig]
2231
+ attr_accessor :active_directory_config
2232
+
2228
2233
  # The App Engine app IDs that can access this instance. (Deprecated) Applied to
2229
2234
  # First Generation instances only.
2230
2235
  # Corresponds to the JSON property `authorizedGaeApplications`
@@ -2281,6 +2286,11 @@ module Google
2281
2286
  attr_accessor :database_replication_enabled
2282
2287
  alias_method :database_replication_enabled?, :database_replication_enabled
2283
2288
 
2289
+ # Deny maintenance periods
2290
+ # Corresponds to the JSON property `denyMaintenancePeriods`
2291
+ # @return [Array<Google::Apis::SqladminV1beta4::DenyMaintenancePeriod>]
2292
+ attr_accessor :deny_maintenance_periods
2293
+
2284
2294
  # IP Management configuration.
2285
2295
  # Corresponds to the JSON property `ipConfiguration`
2286
2296
  # @return [Google::Apis::SqladminV1beta4::IpConfiguration]
@@ -2300,11 +2310,6 @@ module Google
2300
2310
  # @return [Google::Apis::SqladminV1beta4::LocationPreference]
2301
2311
  attr_accessor :location_preference
2302
2312
 
2303
- # Maintenance deny periods
2304
- # Corresponds to the JSON property `maintenanceDenyPeriods`
2305
- # @return [Array<Google::Apis::SqladminV1beta4::MaintenanceDenyPeriod>]
2306
- attr_accessor :maintenance_deny_periods
2307
-
2308
2313
  # Maintenance window. This specifies when a Cloud SQL instance is restarted for
2309
2314
  # system maintenance purposes.
2310
2315
  # Corresponds to the JSON property `maintenanceWindow`
@@ -2364,6 +2369,7 @@ module Google
2364
2369
  # Update properties of this object
2365
2370
  def update!(**args)
2366
2371
  @activation_policy = args[:activation_policy] if args.key?(:activation_policy)
2372
+ @active_directory_config = args[:active_directory_config] if args.key?(:active_directory_config)
2367
2373
  @authorized_gae_applications = args[:authorized_gae_applications] if args.key?(:authorized_gae_applications)
2368
2374
  @availability_type = args[:availability_type] if args.key?(:availability_type)
2369
2375
  @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
@@ -2373,10 +2379,10 @@ module Google
2373
2379
  @data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
2374
2380
  @database_flags = args[:database_flags] if args.key?(:database_flags)
2375
2381
  @database_replication_enabled = args[:database_replication_enabled] if args.key?(:database_replication_enabled)
2382
+ @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
2376
2383
  @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
2377
2384
  @kind = args[:kind] if args.key?(:kind)
2378
2385
  @location_preference = args[:location_preference] if args.key?(:location_preference)
2379
- @maintenance_deny_periods = args[:maintenance_deny_periods] if args.key?(:maintenance_deny_periods)
2380
2386
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
2381
2387
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
2382
2388
  @replication_type = args[:replication_type] if args.key?(:replication_type)
@@ -2388,6 +2394,31 @@ module Google
2388
2394
  end
2389
2395
  end
2390
2396
 
2397
+ # Active Directory configuration, for now relevant only for SQL Server
2398
+ class SqlActiveDirectoryConfig
2399
+ include Google::Apis::Core::Hashable
2400
+
2401
+ # Domain name
2402
+ # Corresponds to the JSON property `domain`
2403
+ # @return [String]
2404
+ attr_accessor :domain
2405
+
2406
+ # This will be always sql#activeDirectoryConfig.
2407
+ # Corresponds to the JSON property `kind`
2408
+ # @return [String]
2409
+ attr_accessor :kind
2410
+
2411
+ def initialize(**args)
2412
+ update!(**args)
2413
+ end
2414
+
2415
+ # Update properties of this object
2416
+ def update!(**args)
2417
+ @domain = args[:domain] if args.key?(:domain)
2418
+ @kind = args[:kind] if args.key?(:kind)
2419
+ end
2420
+ end
2421
+
2391
2422
  # External primary instance migration setting error.
2392
2423
  class SqlExternalSyncSettingError
2393
2424
  include Google::Apis::Core::Hashable
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class DenyMaintenancePeriod
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class DiskEncryptionConfiguration
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -268,12 +274,6 @@ module Google
268
274
  include Google::Apis::Core::JsonObjectSupport
269
275
  end
270
276
 
271
- class MaintenanceDenyPeriod
272
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
-
274
- include Google::Apis::Core::JsonObjectSupport
275
- end
276
-
277
277
  class MaintenanceWindow
278
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
279
 
@@ -346,6 +346,12 @@ module Google
346
346
  include Google::Apis::Core::JsonObjectSupport
347
347
  end
348
348
 
349
+ class SqlActiveDirectoryConfig
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
349
355
  class SqlExternalSyncSettingError
350
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
357
 
@@ -652,6 +658,15 @@ module Google
652
658
  end
653
659
  end
654
660
 
661
+ class DenyMaintenancePeriod
662
+ # @private
663
+ class Representation < Google::Apis::Core::JsonRepresentation
664
+ property :end_date, as: 'endDate'
665
+ property :start_date, as: 'startDate'
666
+ property :time, as: 'time'
667
+ end
668
+ end
669
+
655
670
  class DiskEncryptionConfiguration
656
671
  # @private
657
672
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -895,15 +910,6 @@ module Google
895
910
  end
896
911
  end
897
912
 
898
- class MaintenanceDenyPeriod
899
- # @private
900
- class Representation < Google::Apis::Core::JsonRepresentation
901
- property :end_date, as: 'endDate'
902
- property :start_date, as: 'startDate'
903
- property :time, as: 'time'
904
- end
905
- end
906
-
907
913
  class MaintenanceWindow
908
914
  # @private
909
915
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1037,6 +1043,8 @@ module Google
1037
1043
  # @private
1038
1044
  class Representation < Google::Apis::Core::JsonRepresentation
1039
1045
  property :activation_policy, as: 'activationPolicy'
1046
+ property :active_directory_config, as: 'activeDirectoryConfig', class: Google::Apis::SqladminV1beta4::SqlActiveDirectoryConfig, decorator: Google::Apis::SqladminV1beta4::SqlActiveDirectoryConfig::Representation
1047
+
1040
1048
  collection :authorized_gae_applications, as: 'authorizedGaeApplications'
1041
1049
  property :availability_type, as: 'availabilityType'
1042
1050
  property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1beta4::BackupConfiguration, decorator: Google::Apis::SqladminV1beta4::BackupConfiguration::Representation
@@ -1048,13 +1056,13 @@ module Google
1048
1056
  collection :database_flags, as: 'databaseFlags', class: Google::Apis::SqladminV1beta4::DatabaseFlags, decorator: Google::Apis::SqladminV1beta4::DatabaseFlags::Representation
1049
1057
 
1050
1058
  property :database_replication_enabled, as: 'databaseReplicationEnabled'
1059
+ collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::SqladminV1beta4::DenyMaintenancePeriod, decorator: Google::Apis::SqladminV1beta4::DenyMaintenancePeriod::Representation
1060
+
1051
1061
  property :ip_configuration, as: 'ipConfiguration', class: Google::Apis::SqladminV1beta4::IpConfiguration, decorator: Google::Apis::SqladminV1beta4::IpConfiguration::Representation
1052
1062
 
1053
1063
  property :kind, as: 'kind'
1054
1064
  property :location_preference, as: 'locationPreference', class: Google::Apis::SqladminV1beta4::LocationPreference, decorator: Google::Apis::SqladminV1beta4::LocationPreference::Representation
1055
1065
 
1056
- collection :maintenance_deny_periods, as: 'maintenanceDenyPeriods', class: Google::Apis::SqladminV1beta4::MaintenanceDenyPeriod, decorator: Google::Apis::SqladminV1beta4::MaintenanceDenyPeriod::Representation
1057
-
1058
1066
  property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::SqladminV1beta4::MaintenanceWindow, decorator: Google::Apis::SqladminV1beta4::MaintenanceWindow::Representation
1059
1067
 
1060
1068
  property :pricing_plan, as: 'pricingPlan'
@@ -1067,6 +1075,14 @@ module Google
1067
1075
  end
1068
1076
  end
1069
1077
 
1078
+ class SqlActiveDirectoryConfig
1079
+ # @private
1080
+ class Representation < Google::Apis::Core::JsonRepresentation
1081
+ property :domain, as: 'domain'
1082
+ property :kind, as: 'kind'
1083
+ end
1084
+ end
1085
+
1070
1086
  class SqlExternalSyncSettingError
1071
1087
  # @private
1072
1088
  class Representation < Google::Apis::Core::JsonRepresentation