google-api-client 0.44.2 → 0.45.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 (154) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +61 -0
  3. data/generated/google/apis/admob_v1.rb +4 -1
  4. data/generated/google/apis/admob_v1/classes.rb +2 -2
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/apigee_v1.rb +1 -1
  9. data/generated/google/apis/apigee_v1/classes.rb +206 -2
  10. data/generated/google/apis/apigee_v1/representations.rb +74 -0
  11. data/generated/google/apis/apigee_v1/service.rb +41 -19
  12. data/generated/google/apis/appengine_v1.rb +1 -1
  13. data/generated/google/apis/appengine_v1beta.rb +1 -1
  14. data/generated/google/apis/appsmarket_v2.rb +1 -1
  15. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  16. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  17. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  18. data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
  19. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
  20. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
  21. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  22. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  23. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
  24. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  25. data/generated/google/apis/chat_v1.rb +1 -1
  26. data/generated/google/apis/chat_v1/classes.rb +3 -3
  27. data/generated/google/apis/classroom_v1.rb +7 -1
  28. data/generated/google/apis/classroom_v1/classes.rb +132 -0
  29. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  30. data/generated/google/apis/classroom_v1/service.rb +240 -0
  31. data/generated/google/apis/cloudasset_v1.rb +1 -1
  32. data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
  33. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  34. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
  36. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  37. data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
  38. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  39. data/generated/google/apis/cloudidentity_v1/classes.rb +84 -0
  40. data/generated/google/apis/cloudidentity_v1/representations.rb +46 -0
  41. data/generated/google/apis/cloudidentity_v1/service.rb +39 -1
  42. data/generated/google/apis/cloudkms_v1.rb +1 -1
  43. data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
  44. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  45. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  46. data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
  47. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  48. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  49. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
  50. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  51. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  52. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
  53. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  54. data/generated/google/apis/container_v1beta1.rb +1 -1
  55. data/generated/google/apis/container_v1beta1/classes.rb +28 -0
  56. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  57. data/generated/google/apis/content_v2_1.rb +1 -1
  58. data/generated/google/apis/content_v2_1/classes.rb +1 -1
  59. data/generated/google/apis/customsearch_v1.rb +1 -1
  60. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  61. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  62. data/generated/google/apis/dataflow_v1b3/classes.rb +135 -0
  63. data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
  64. data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
  65. data/generated/google/apis/dataproc_v1.rb +1 -1
  66. data/generated/google/apis/dataproc_v1/classes.rb +3 -3
  67. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  68. data/generated/google/apis/dataproc_v1beta2/classes.rb +5 -4
  69. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  70. data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
  71. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  72. data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
  73. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  74. data/generated/google/apis/dialogflow_v3beta1/classes.rb +18 -0
  75. data/generated/google/apis/dialogflow_v3beta1/representations.rb +2 -0
  76. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  77. data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
  78. data/generated/google/apis/healthcare_v1.rb +1 -1
  79. data/generated/google/apis/healthcare_v1/service.rb +1 -3
  80. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  81. data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -0
  82. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
  83. data/generated/google/apis/healthcare_v1beta1/service.rb +1 -3
  84. data/generated/google/apis/iam_v1.rb +1 -1
  85. data/generated/google/apis/iam_v1/service.rb +2 -1
  86. data/generated/google/apis/licensing_v1.rb +4 -3
  87. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  88. data/generated/google/apis/licensing_v1/service.rb +55 -85
  89. data/generated/google/apis/monitoring_v1.rb +1 -1
  90. data/generated/google/apis/monitoring_v1/classes.rb +10 -10
  91. data/generated/google/apis/monitoring_v3.rb +1 -1
  92. data/generated/google/apis/monitoring_v3/classes.rb +36 -30
  93. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  94. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
  95. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
  96. data/generated/google/apis/pubsub_v1.rb +1 -1
  97. data/generated/google/apis/pubsub_v1/classes.rb +7 -0
  98. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  99. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  100. data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
  101. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  102. data/generated/google/apis/pubsublite_v1.rb +1 -1
  103. data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
  104. data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
  105. data/generated/google/apis/pubsublite_v1/service.rb +33 -0
  106. data/generated/google/apis/redis_v1.rb +1 -1
  107. data/generated/google/apis/redis_v1/classes.rb +0 -386
  108. data/generated/google/apis/redis_v1/representations.rb +0 -139
  109. data/generated/google/apis/redis_v1beta1.rb +1 -1
  110. data/generated/google/apis/redis_v1beta1/classes.rb +0 -386
  111. data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
  112. data/generated/google/apis/reseller_v1.rb +2 -2
  113. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  114. data/generated/google/apis/reseller_v1/service.rb +122 -173
  115. data/generated/google/apis/run_v1.rb +1 -1
  116. data/generated/google/apis/run_v1/classes.rb +8 -8
  117. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  118. data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
  119. data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
  120. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  121. data/generated/google/apis/secretmanager_v1.rb +1 -1
  122. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  123. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
  124. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
  125. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  126. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -5
  127. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  128. data/generated/google/apis/servicecontrol_v2/classes.rb +7 -4
  129. data/generated/google/apis/sheets_v4.rb +1 -1
  130. data/generated/google/apis/sheets_v4/classes.rb +1 -1
  131. data/generated/google/apis/spanner_v1.rb +1 -1
  132. data/generated/google/apis/spanner_v1/classes.rb +7 -0
  133. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  134. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  135. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +142 -97
  136. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +104 -87
  137. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
  138. data/generated/google/apis/tagmanager_v2.rb +1 -1
  139. data/generated/google/apis/tasks_v1.rb +1 -1
  140. data/generated/google/apis/tasks_v1/classes.rb +1 -1
  141. data/generated/google/apis/tasks_v1/service.rb +4 -3
  142. data/generated/google/apis/testing_v1.rb +1 -1
  143. data/generated/google/apis/testing_v1/classes.rb +2 -2
  144. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  145. data/generated/google/apis/youtube_v3.rb +1 -1
  146. data/generated/google/apis/youtube_v3/classes.rb +46 -845
  147. data/generated/google/apis/youtube_v3/representations.rb +0 -390
  148. data/generated/google/apis/youtube_v3/service.rb +2 -197
  149. data/lib/google/apis/version.rb +1 -1
  150. metadata +11 -11
  151. data/generated/google/apis/plus_v1.rb +0 -43
  152. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  153. data/generated/google/apis/plus_v1/representations.rb +0 -907
  154. data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/secret-manager/
27
27
  module SecretmanagerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200903'
29
+ REVISION = '20200911'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/service-consumer-management/docs/overview
26
26
  module ServiceconsumermanagementV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200818'
28
+ REVISION = '20200915'
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'
@@ -34,7 +34,7 @@ module Google
34
34
  # @return [Google::Apis::ServiceconsumermanagementV1::TenantProjectConfig]
35
35
  attr_accessor :project_config
36
36
 
37
- # Tag of the added project. Must be less than 128 characters. Required.
37
+ # Required. Tag of the added project. Must be less than 128 characters. Required.
38
38
  # Corresponds to the JSON property `tag`
39
39
  # @return [String]
40
40
  attr_accessor :tag
@@ -137,7 +137,7 @@ module Google
137
137
  # @return [Google::Apis::ServiceconsumermanagementV1::TenantProjectConfig]
138
138
  attr_accessor :project_config
139
139
 
140
- # Tag of the project. Must be less than 128 characters. Required.
140
+ # Required. Tag of the project. Must be less than 128 characters. Required.
141
141
  # Corresponds to the JSON property `tag`
142
142
  # @return [String]
143
143
  attr_accessor :tag
@@ -171,8 +171,8 @@ module Google
171
171
  # @return [String]
172
172
  attr_accessor :reserved_resource
173
173
 
174
- # Tag of the tenant resource after attachment. Must be less than 128 characters.
175
- # Required.
174
+ # Required. Tag of the tenant resource after attachment. Must be less than 128
175
+ # characters. Required.
176
176
  # Corresponds to the JSON property `tag`
177
177
  # @return [String]
178
178
  attr_accessor :tag
@@ -805,7 +805,7 @@ module Google
805
805
  class DeleteTenantProjectRequest
806
806
  include Google::Apis::Core::Hashable
807
807
 
808
- # Tag of the resource within the tenancy unit.
808
+ # Required. Tag of the resource within the tenancy unit.
809
809
  # Corresponds to the JSON property `tag`
810
810
  # @return [String]
811
811
  attr_accessor :tag
@@ -2462,7 +2462,7 @@ module Google
2462
2462
  class RemoveTenantProjectRequest
2463
2463
  include Google::Apis::Core::Hashable
2464
2464
 
2465
- # Tag of the resource within the tenancy unit.
2465
+ # Required. Tag of the resource within the tenancy unit.
2466
2466
  # Corresponds to the JSON property `tag`
2467
2467
  # @return [String]
2468
2468
  attr_accessor :tag
@@ -3069,13 +3069,13 @@ module Google
3069
3069
  class TenancyUnit
3070
3070
  include Google::Apis::Core::Hashable
3071
3071
 
3072
- # @OutputOnly Cloud resource name of the consumer of this service. For example '
3073
- # projects/123456'.
3072
+ # Output only. @OutputOnly Cloud resource name of the consumer of this service.
3073
+ # For example 'projects/123456'.
3074
3074
  # Corresponds to the JSON property `consumer`
3075
3075
  # @return [String]
3076
3076
  attr_accessor :consumer
3077
3077
 
3078
- # @OutputOnly The time this tenancy unit was created.
3078
+ # Output only. @OutputOnly The time this tenancy unit was created.
3079
3079
  # Corresponds to the JSON property `createTime`
3080
3080
  # @return [String]
3081
3081
  attr_accessor :create_time
@@ -3198,8 +3198,8 @@ module Google
3198
3198
  class TenantResource
3199
3199
  include Google::Apis::Core::Hashable
3200
3200
 
3201
- # @OutputOnly Identifier of the tenant resource. For cloud projects, it is in
3202
- # the form 'projects/`number`'. For example 'projects/123456'.
3201
+ # Output only. @OutputOnly Identifier of the tenant resource. For cloud projects,
3202
+ # it is in the form 'projects/`number`'. For example 'projects/123456'.
3203
3203
  # Corresponds to the JSON property `resource`
3204
3204
  # @return [String]
3205
3205
  attr_accessor :resource
@@ -3281,7 +3281,7 @@ module Google
3281
3281
  class UndeleteTenantProjectRequest
3282
3282
  include Google::Apis::Core::Hashable
3283
3283
 
3284
- # Tag of the resource within the tenancy unit.
3284
+ # Required. Tag of the resource within the tenancy unit.
3285
3285
  # Corresponds to the JSON property `tag`
3286
3286
  # @return [String]
3287
3287
  attr_accessor :tag
@@ -199,8 +199,8 @@ module Google
199
199
 
200
200
  # Search tenancy units for a managed service.
201
201
  # @param [String] parent
202
- # Service for which search is performed. services/`service` `service` the name
203
- # of a service, for example 'service.googleapis.com'.
202
+ # Required. Service for which search is performed. services/`service` `service`
203
+ # the name of a service, for example 'service.googleapis.com'.
204
204
  # @param [Fixnum] page_size
205
205
  # Optional. The maximum number of results returned by this request. Currently,
206
206
  # the default maximum is set to 1000. If `page_size` isn't provided or the size
@@ -257,8 +257,8 @@ module Google
257
257
  # resolve them before you can make another call to `AddTenantProject` with the
258
258
  # same tag. Operation.
259
259
  # @param [String] parent
260
- # Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/
261
- # 12345/tenancyUnits/abcd'.
260
+ # Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/
261
+ # projects/12345/tenancyUnits/abcd'.
262
262
  # @param [Google::Apis::ServiceconsumermanagementV1::AddTenantProjectRequest] add_tenant_project_request_object
263
263
  # @param [String] fields
264
264
  # Selector specifying which fields to include in a partial response.
@@ -303,8 +303,8 @@ module Google
303
303
  # isn't supported. The operation fails if any of the steps fail, but no rollback
304
304
  # of already applied configuration changes is attempted. Operation.
305
305
  # @param [String] name
306
- # Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/
307
- # 12345/tenancyUnits/abcd'.
306
+ # Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/
307
+ # projects/12345/tenancyUnits/abcd'.
308
308
  # @param [Google::Apis::ServiceconsumermanagementV1::ApplyTenantProjectConfigRequest] apply_tenant_project_config_request_object
309
309
  # @param [String] fields
310
310
  # Selector specifying which fields to include in a partial response.
@@ -345,8 +345,8 @@ module Google
345
345
  # of that project. These two requirements are already met if the project is
346
346
  # reserved by calling `AddTenantProject`. Operation.
347
347
  # @param [String] name
348
- # Name of the tenancy unit that the project will be attached to. Such as '
349
- # services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
348
+ # Required. Name of the tenancy unit that the project will be attached to. Such
349
+ # as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
350
350
  # @param [Google::Apis::ServiceconsumermanagementV1::AttachTenantProjectRequest] attach_tenant_project_request_object
351
351
  # @param [String] fields
352
352
  # Selector specifying which fields to include in a partial response.
@@ -382,11 +382,12 @@ module Google
382
382
  # not have tenant_resources field set and ListTenancyUnits has to be used to get
383
383
  # a complete TenancyUnit with all fields populated.
384
384
  # @param [String] parent
385
- # services/`service`/`collection id`/`resource id` `collection id` is the cloud
386
- # resource collection type representing the service consumer, for example '
387
- # projects', or 'organizations'. `resource id` is the consumer numeric id, such
388
- # as project number: '123456'. `service` the name of a managed service, such as '
389
- # service.googleapis.com'. Enables service binding using the new tenancy unit.
385
+ # Required. services/`service`/`collection id`/`resource id` `collection id` is
386
+ # the cloud resource collection type representing the service consumer, for
387
+ # example 'projects', or 'organizations'. `resource id` is the consumer numeric
388
+ # id, such as project number: '123456'. `service` the name of a managed service,
389
+ # such as 'service.googleapis.com'. Enables service binding using the new
390
+ # tenancy unit.
390
391
  # @param [Google::Apis::ServiceconsumermanagementV1::CreateTenancyUnitRequest] create_tenancy_unit_request_object
391
392
  # @param [String] fields
392
393
  # Selector specifying which fields to include in a partial response.
@@ -420,7 +421,7 @@ module Google
420
421
  # Delete a tenancy unit. Before you delete the tenancy unit, there should be no
421
422
  # tenant resources in it that aren't in a DELETED state. Operation.
422
423
  # @param [String] name
423
- # Name of the tenancy unit to be deleted.
424
+ # Required. Name of the tenancy unit to be deleted.
424
425
  # @param [String] fields
425
426
  # Selector specifying which fields to include in a partial response.
426
427
  # @param [String] quota_user
@@ -456,8 +457,8 @@ module Google
456
457
  # call the `RemoveTenantProject` method. New resources with the same tag can't
457
458
  # be added if there are existing resources in a DELETED state. Operation.
458
459
  # @param [String] name
459
- # Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/
460
- # 12345/tenancyUnits/abcd'.
460
+ # Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/
461
+ # projects/12345/tenancyUnits/abcd'.
461
462
  # @param [Google::Apis::ServiceconsumermanagementV1::DeleteTenantProjectRequest] delete_tenant_project_request_object
462
463
  # @param [String] fields
463
464
  # Selector specifying which fields to include in a partial response.
@@ -493,18 +494,19 @@ module Google
493
494
  # the tenant project number when creating VMs. Service producers must persist
494
495
  # the tenant project's information after the project is created.
495
496
  # @param [String] parent
496
- # Managed service and service consumer. Required. services/`service`/`collection
497
- # id`/`resource id` `collection id` is the cloud resource collection type
498
- # representing the service consumer, for example 'projects', or 'organizations'.
499
- # `resource id` is the consumer numeric id, such as project number: '123456'. `
500
- # service` the name of a service, such as 'service.googleapis.com'.
497
+ # Required. Managed service and service consumer. Required. services/`service`/`
498
+ # collection id`/`resource id` `collection id` is the cloud resource collection
499
+ # type representing the service consumer, for example 'projects', or '
500
+ # organizations'. `resource id` is the consumer numeric id, such as project
501
+ # number: '123456'. `service` the name of a service, such as 'service.googleapis.
502
+ # com'.
501
503
  # @param [String] filter
502
- # Filter expression over tenancy resources field. Optional.
504
+ # Optional. Filter expression over tenancy resources field. Optional.
503
505
  # @param [Fixnum] page_size
504
- # The maximum number of results returned by this request.
506
+ # Optional. The maximum number of results returned by this request.
505
507
  # @param [String] page_token
506
- # The continuation token, which is used to page through large result sets. To
507
- # get the next page of results, set this parameter to the value of `
508
+ # Optional. The continuation token, which is used to page through large result
509
+ # sets. To get the next page of results, set this parameter to the value of `
508
510
  # nextPageToken` from the previous response.
509
511
  # @param [String] fields
510
512
  # Selector specifying which fields to include in a partial response.
@@ -544,8 +546,8 @@ module Google
544
546
  # DELETED state, resource metadata is permanently removed from the tenancy unit.
545
547
  # Operation.
546
548
  # @param [String] name
547
- # Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/
548
- # 12345/tenancyUnits/abcd'.
549
+ # Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/
550
+ # projects/12345/tenancyUnits/abcd'.
549
551
  # @param [Google::Apis::ServiceconsumermanagementV1::RemoveTenantProjectRequest] remove_tenant_project_request_object
550
552
  # @param [String] fields
551
553
  # Selector specifying which fields to include in a partial response.
@@ -582,8 +584,8 @@ module Google
582
584
  # method to update its configuration and then validate all managed service
583
585
  # resources. Operation.
584
586
  # @param [String] name
585
- # Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/
586
- # 12345/tenancyUnits/abcd'.
587
+ # Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/
588
+ # projects/12345/tenancyUnits/abcd'.
587
589
  # @param [Google::Apis::ServiceconsumermanagementV1::UndeleteTenantProjectRequest] undelete_tenant_project_request_object
588
590
  # @param [String] fields
589
591
  # Selector specifying which fields to include in a partial response.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200814'
29
+ REVISION = '20200911'
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'
@@ -390,15 +390,18 @@ module Google
390
390
  attr_accessor :authority_selector
391
391
 
392
392
  # The email address of the authenticated user (or service account on behalf of
393
- # third party principal) making the request. For privacy reasons, the principal
394
- # email address is redacted for all read-only operations that fail with a "
395
- # permission denied" error.
393
+ # third party principal) making the request. For third party identity callers,
394
+ # the `principal_subject` field is populated instead of this field. For privacy
395
+ # reasons, the principal email address is sometimes redacted. For more
396
+ # information, see [Caller identities in audit logs](https://cloud.google.com/
397
+ # logging/docs/audit#user-id).
396
398
  # Corresponds to the JSON property `principalEmail`
397
399
  # @return [String]
398
400
  attr_accessor :principal_email
399
401
 
400
402
  # String representation of identity of requesting party. Populated for both
401
- # first and third party identities.
403
+ # first and third party identities. Only present for APIs that support third-
404
+ # party identities.
402
405
  # Corresponds to the JSON property `principalSubject`
403
406
  # @return [String]
404
407
  attr_accessor :principal_subject
@@ -2079,7 +2082,7 @@ module Google
2079
2082
  include Google::Apis::Core::Hashable
2080
2083
 
2081
2084
  # The identifier of the parent of this resource instance. Must be in one of the
2082
- # following formats: - projects/” - folders/” - organizations/”
2085
+ # following formats: - `projects/` - `folders/` - `organizations/`
2083
2086
  # Corresponds to the JSON property `resourceContainer`
2084
2087
  # @return [String]
2085
2088
  attr_accessor :resource_container
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV2
28
28
  VERSION = 'V2'
29
- REVISION = '20200808'
29
+ REVISION = '20200911'
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'
@@ -361,15 +361,18 @@ module Google
361
361
  attr_accessor :authority_selector
362
362
 
363
363
  # The email address of the authenticated user (or service account on behalf of
364
- # third party principal) making the request. For privacy reasons, the principal
365
- # email address is redacted for all read-only operations that fail with a "
366
- # permission denied" error.
364
+ # third party principal) making the request. For third party identity callers,
365
+ # the `principal_subject` field is populated instead of this field. For privacy
366
+ # reasons, the principal email address is sometimes redacted. For more
367
+ # information, see [Caller identities in audit logs](https://cloud.google.com/
368
+ # logging/docs/audit#user-id).
367
369
  # Corresponds to the JSON property `principalEmail`
368
370
  # @return [String]
369
371
  attr_accessor :principal_email
370
372
 
371
373
  # String representation of identity of requesting party. Populated for both
372
- # first and third party identities.
374
+ # first and third party identities. Only present for APIs that support third-
375
+ # party identities.
373
376
  # Corresponds to the JSON property `principalSubject`
374
377
  # @return [String]
375
378
  attr_accessor :principal_subject
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/sheets/
26
26
  module SheetsV4
27
27
  VERSION = 'V4'
28
- REVISION = '20200825'
28
+ REVISION = '20200908'
29
29
 
30
30
  # See, edit, create, and delete all of your Google Drive files
31
31
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -9032,7 +9032,7 @@ module Google
9032
9032
  class SpreadsheetTheme
9033
9033
  include Google::Apis::Core::Hashable
9034
9034
 
9035
- # / Name of the primary font family.
9035
+ # Name of the primary font family.
9036
9036
  # Corresponds to the JSON property `primaryFontFamily`
9037
9037
  # @return [String]
9038
9038
  attr_accessor :primary_font_family
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/spanner/
27
27
  module SpannerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200807'
29
+ REVISION = '20200905'
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'
@@ -356,6 +356,12 @@ module Google
356
356
  class Binding
357
357
  include Google::Apis::Core::Hashable
358
358
 
359
+ # A client-specified ID for this binding. Expected to be globally unique to
360
+ # support the internal bindings-by-ID API.
361
+ # Corresponds to the JSON property `bindingId`
362
+ # @return [String]
363
+ attr_accessor :binding_id
364
+
359
365
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
360
366
  # CEL is a C-like expression language. The syntax and semantics of CEL are
361
367
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -417,6 +423,7 @@ module Google
417
423
 
418
424
  # Update properties of this object
419
425
  def update!(**args)
426
+ @binding_id = args[:binding_id] if args.key?(:binding_id)
420
427
  @condition = args[:condition] if args.key?(:condition)
421
428
  @members = args[:members] if args.key?(:members)
422
429
  @role = args[:role] if args.key?(:role)
@@ -558,6 +558,7 @@ module Google
558
558
  class Binding
559
559
  # @private
560
560
  class Representation < Google::Apis::Core::JsonRepresentation
561
+ property :binding_id, as: 'bindingId'
561
562
  property :condition, as: 'condition', class: Google::Apis::SpannerV1::Expr, decorator: Google::Apis::SpannerV1::Expr::Representation
562
563
 
563
564
  collection :members, as: 'members'
@@ -12,9 +12,9 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- require 'google/apis/sql_v1beta4/service.rb'
16
- require 'google/apis/sql_v1beta4/classes.rb'
17
- require 'google/apis/sql_v1beta4/representations.rb'
15
+ require 'google/apis/sqladmin_v1beta4/service.rb'
16
+ require 'google/apis/sqladmin_v1beta4/classes.rb'
17
+ require 'google/apis/sqladmin_v1beta4/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
@@ -23,9 +23,9 @@ module Google
23
23
  # API for Cloud SQL database instance management
24
24
  #
25
25
  # @see https://developers.google.com/cloud-sql/
26
- module SqlV1beta4
26
+ module SqladminV1beta4
27
27
  VERSION = 'V1beta4'
28
- REVISION = '20200828'
28
+ REVISION = '20200903'
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'
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
 
21
21
  module Google
22
22
  module Apis
23
- module SqlV1beta4
23
+ module SqladminV1beta4
24
24
 
25
25
  # An entry for an Access Control list.
26
26
  class AclEntry
@@ -162,12 +162,12 @@ module Google
162
162
 
163
163
  # Disk encryption configuration for an instance.
164
164
  # Corresponds to the JSON property `diskEncryptionConfiguration`
165
- # @return [Google::Apis::SqlV1beta4::DiskEncryptionConfiguration]
165
+ # @return [Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration]
166
166
  attr_accessor :disk_encryption_configuration
167
167
 
168
168
  # Disk encryption status for an instance.
169
169
  # Corresponds to the JSON property `diskEncryptionStatus`
170
- # @return [Google::Apis::SqlV1beta4::DiskEncryptionStatus]
170
+ # @return [Google::Apis::SqladminV1beta4::DiskEncryptionStatus]
171
171
  attr_accessor :disk_encryption_status
172
172
 
173
173
  # The time the backup operation completed in UTC timezone in RFC 3339 format,
@@ -184,7 +184,7 @@ module Google
184
184
 
185
185
  # Database instance operation error.
186
186
  # Corresponds to the JSON property `error`
187
- # @return [Google::Apis::SqlV1beta4::OperationError]
187
+ # @return [Google::Apis::SqladminV1beta4::OperationError]
188
188
  attr_accessor :error
189
189
 
190
190
  # The identifier for this backup run. Unique only for a specific Cloud SQL
@@ -261,12 +261,12 @@ module Google
261
261
  end
262
262
 
263
263
  # Backup run list results.
264
- class BackupRunsListResponse
264
+ class ListBackupRunsResponse
265
265
  include Google::Apis::Core::Hashable
266
266
 
267
267
  # A list of backup runs in reverse chronological order of the enqueued time.
268
268
  # Corresponds to the JSON property `items`
269
- # @return [Array<Google::Apis::SqlV1beta4::BackupRun>]
269
+ # @return [Array<Google::Apis::SqladminV1beta4::BackupRun>]
270
270
  attr_accessor :items
271
271
 
272
272
  # This is always *sql#backupRunsList*.
@@ -329,7 +329,7 @@ module Google
329
329
 
330
330
  # Binary log coordinates.
331
331
  # Corresponds to the JSON property `binLogCoordinates`
332
- # @return [Google::Apis::SqlV1beta4::BinLogCoordinates]
332
+ # @return [Google::Apis::SqladminV1beta4::BinLogCoordinates]
333
333
  attr_accessor :bin_log_coordinates
334
334
 
335
335
  # Name of the Cloud SQL instance to be created as a clone.
@@ -414,7 +414,7 @@ module Google
414
414
 
415
415
  # Represents a Sql Server database on the Cloud SQL instance.
416
416
  # Corresponds to the JSON property `sqlserverDatabaseDetails`
417
- # @return [Google::Apis::SqlV1beta4::SqlServerDatabaseDetails]
417
+ # @return [Google::Apis::SqladminV1beta4::SqlServerDatabaseDetails]
418
418
  attr_accessor :sqlserver_database_details
419
419
 
420
420
  def initialize(**args)
@@ -464,7 +464,7 @@ module Google
464
464
  end
465
465
  end
466
466
 
467
- # A Cloud SQL instance resource. Next field: 35
467
+ # A Cloud SQL instance resource. Next field: 36
468
468
  class DatabaseInstance
469
469
  include Google::Apis::Core::Hashable
470
470
 
@@ -499,12 +499,12 @@ module Google
499
499
 
500
500
  # Disk encryption configuration for an instance.
501
501
  # Corresponds to the JSON property `diskEncryptionConfiguration`
502
- # @return [Google::Apis::SqlV1beta4::DiskEncryptionConfiguration]
502
+ # @return [Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration]
503
503
  attr_accessor :disk_encryption_configuration
504
504
 
505
505
  # Disk encryption status for an instance.
506
506
  # Corresponds to the JSON property `diskEncryptionStatus`
507
- # @return [Google::Apis::SqlV1beta4::DiskEncryptionStatus]
507
+ # @return [Google::Apis::SqladminV1beta4::DiskEncryptionStatus]
508
508
  attr_accessor :disk_encryption_status
509
509
 
510
510
  # This field is deprecated and will be removed from a future version of the API.
@@ -516,7 +516,7 @@ module Google
516
516
  # The name and status of the failover replica. This property is applicable only
517
517
  # to Second Generation instances.
518
518
  # Corresponds to the JSON property `failoverReplica`
519
- # @return [Google::Apis::SqlV1beta4::DatabaseInstance::FailoverReplica]
519
+ # @return [Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica]
520
520
  attr_accessor :failover_replica
521
521
 
522
522
  # The Compute Engine zone that the instance is currently serving from. This
@@ -527,7 +527,7 @@ module Google
527
527
  attr_accessor :gce_zone
528
528
 
529
529
  # The instance type. This can be one of the following. *CLOUD_SQL_INSTANCE*: A
530
- # Cloud SQL instance that is not replicating from a master. *
530
+ # Cloud SQL instance that is not replicating from a primary instance. *
531
531
  # ON_PREMISES_INSTANCE*: An instance running on the customer's premises. *
532
532
  # READ_REPLICA_INSTANCE*: A Cloud SQL instance configured as a read-replica.
533
533
  # Corresponds to the JSON property `instanceType`
@@ -536,7 +536,7 @@ module Google
536
536
 
537
537
  # The assigned IP addresses for the instance.
538
538
  # Corresponds to the JSON property `ipAddresses`
539
- # @return [Array<Google::Apis::SqlV1beta4::IpMapping>]
539
+ # @return [Array<Google::Apis::SqladminV1beta4::IpMapping>]
540
540
  attr_accessor :ip_addresses
541
541
 
542
542
  # The IPv6 address assigned to the instance. (Deprecated) This property was
@@ -550,7 +550,7 @@ module Google
550
550
  # @return [String]
551
551
  attr_accessor :kind
552
552
 
553
- # The name of the instance which will act as master in the replication setup.
553
+ # The name of the instance which will act as primary in the replication setup.
554
554
  # Corresponds to the JSON property `masterInstanceName`
555
555
  # @return [String]
556
556
  attr_accessor :master_instance_name
@@ -567,7 +567,7 @@ module Google
567
567
 
568
568
  # On-premises instance configuration.
569
569
  # Corresponds to the JSON property `onPremisesConfiguration`
570
- # @return [Google::Apis::SqlV1beta4::OnPremisesConfiguration]
570
+ # @return [Google::Apis::SqladminV1beta4::OnPremisesConfiguration]
571
571
  attr_accessor :on_premises_configuration
572
572
 
573
573
  # The project ID of the project containing the Cloud SQL instance. The Google
@@ -584,9 +584,9 @@ module Google
584
584
  # @return [String]
585
585
  attr_accessor :region
586
586
 
587
- # Read-replica configuration for connecting to the master.
587
+ # Read-replica configuration for connecting to the primary instance.
588
588
  # Corresponds to the JSON property `replicaConfiguration`
589
- # @return [Google::Apis::SqlV1beta4::ReplicaConfiguration]
589
+ # @return [Google::Apis::SqladminV1beta4::ReplicaConfiguration]
590
590
  attr_accessor :replica_configuration
591
591
 
592
592
  # The replicas of the instance.
@@ -601,7 +601,7 @@ module Google
601
601
 
602
602
  # Any scheduled maintenancce for this instance.
603
603
  # Corresponds to the JSON property `scheduledMaintenance`
604
- # @return [Google::Apis::SqlV1beta4::SqlScheduledMaintenance]
604
+ # @return [Google::Apis::SqladminV1beta4::SqlScheduledMaintenance]
605
605
  attr_accessor :scheduled_maintenance
606
606
 
607
607
  # The URI of this resource.
@@ -611,7 +611,7 @@ module Google
611
611
 
612
612
  # SslCerts Resource
613
613
  # Corresponds to the JSON property `serverCaCert`
614
- # @return [Google::Apis::SqlV1beta4::SslCert]
614
+ # @return [Google::Apis::SqladminV1beta4::SslCert]
615
615
  attr_accessor :server_ca_cert
616
616
 
617
617
  # The service account email address assigned to the instance. This property is
@@ -622,7 +622,7 @@ module Google
622
622
 
623
623
  # Database instance settings.
624
624
  # Corresponds to the JSON property `settings`
625
- # @return [Google::Apis::SqlV1beta4::Settings]
625
+ # @return [Google::Apis::SqladminV1beta4::Settings]
626
626
  attr_accessor :settings
627
627
 
628
628
  # The current serving state of the Cloud SQL instance. This can be one of the
@@ -683,8 +683,8 @@ module Google
683
683
  include Google::Apis::Core::Hashable
684
684
 
685
685
  # The availability status of the failover replica. A false status indicates that
686
- # the failover replica is out of sync. The master can only failover to the
687
- # failover replica when the status is true.
686
+ # the failover replica is out of sync. The primary instance can only failover to
687
+ # the failover replica when the status is true.
688
688
  # Corresponds to the JSON property `available`
689
689
  # @return [Boolean]
690
690
  attr_accessor :available
@@ -710,12 +710,12 @@ module Google
710
710
  end
711
711
 
712
712
  # Database list response.
713
- class DatabasesListResponse
713
+ class ListDatabasesResponse
714
714
  include Google::Apis::Core::Hashable
715
715
 
716
716
  # List of database resources in the instance.
717
717
  # Corresponds to the JSON property `items`
718
- # @return [Array<Google::Apis::SqlV1beta4::Database>]
718
+ # @return [Array<Google::Apis::SqladminV1beta4::Database>]
719
719
  attr_accessor :items
720
720
 
721
721
  # This is always *sql#databasesList*.
@@ -734,7 +734,7 @@ module Google
734
734
  end
735
735
  end
736
736
 
737
- # Read-replica configuration for connecting to the on-premises master.
737
+ # Read-replica configuration for connecting to the on-premises primary instance.
738
738
  class DemoteMasterConfiguration
739
739
  include Google::Apis::Core::Hashable
740
740
 
@@ -745,7 +745,7 @@ module Google
745
745
 
746
746
  # Read-replica configuration specific to MySQL databases.
747
747
  # Corresponds to the JSON property `mysqlReplicaConfiguration`
748
- # @return [Google::Apis::SqlV1beta4::DemoteMasterMySqlReplicaConfiguration]
748
+ # @return [Google::Apis::SqladminV1beta4::DemoteMasterMySqlReplicaConfiguration]
749
749
  attr_accessor :mysql_replica_configuration
750
750
 
751
751
  def initialize(**args)
@@ -759,7 +759,7 @@ module Google
759
759
  end
760
760
  end
761
761
 
762
- # Database instance demote master context.
762
+ # Database instance demote primary instance context.
763
763
  class DemoteMasterContext
764
764
  include Google::Apis::Core::Hashable
765
765
 
@@ -768,24 +768,24 @@ module Google
768
768
  # @return [String]
769
769
  attr_accessor :kind
770
770
 
771
- # The name of the instance which will act as on-premises master in the
771
+ # The name of the instance which will act as on-premises primary instance in the
772
772
  # replication setup.
773
773
  # Corresponds to the JSON property `masterInstanceName`
774
774
  # @return [String]
775
775
  attr_accessor :master_instance_name
776
776
 
777
- # Read-replica configuration for connecting to the on-premises master.
777
+ # Read-replica configuration for connecting to the on-premises primary instance.
778
778
  # Corresponds to the JSON property `replicaConfiguration`
779
- # @return [Google::Apis::SqlV1beta4::DemoteMasterConfiguration]
779
+ # @return [Google::Apis::SqladminV1beta4::DemoteMasterConfiguration]
780
780
  attr_accessor :replica_configuration
781
781
 
782
782
  # Verify GTID consistency for demote operation. Default value: *True*. Second
783
783
  # Generation instances only. Setting this flag to false enables you to bypass
784
- # GTID consistency check between on-premises master and Cloud SQL instance
785
- # during the demotion operation but also exposes you to the risk of future
786
- # replication failures. Change the value only if you know the reason for the
787
- # GTID divergence and are confident that doing so will not cause any replication
788
- # issues.
784
+ # GTID consistency check between on-premises primary instance and Cloud SQL
785
+ # instance during the demotion operation but also exposes you to the risk of
786
+ # future replication failures. Change the value only if you know the reason for
787
+ # the GTID divergence and are confident that doing so will not cause any
788
+ # replication issues.
789
789
  # Corresponds to the JSON property `verifyGtidConsistency`
790
790
  # @return [Boolean]
791
791
  attr_accessor :verify_gtid_consistency
@@ -911,7 +911,7 @@ module Google
911
911
 
912
912
  # Options for exporting data as CSV.
913
913
  # Corresponds to the JSON property `csvExportOptions`
914
- # @return [Google::Apis::SqlV1beta4::ExportContext::CsvExportOptions]
914
+ # @return [Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions]
915
915
  attr_accessor :csv_export_options
916
916
 
917
917
  # Databases to be exported. *MySQL instances:* If *fileType* is *SQL* and no
@@ -944,7 +944,7 @@ module Google
944
944
 
945
945
  # Options for exporting data as SQL statements.
946
946
  # Corresponds to the JSON property `sqlExportOptions`
947
- # @return [Google::Apis::SqlV1beta4::ExportContext::SqlExportOptions]
947
+ # @return [Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions]
948
948
  attr_accessor :sql_export_options
949
949
 
950
950
  # The path to the file in Google Cloud Storage where the export will be stored.
@@ -995,7 +995,7 @@ module Google
995
995
 
996
996
  # Options for exporting from MySQL.
997
997
  # Corresponds to the JSON property `mysqlExportOptions`
998
- # @return [Google::Apis::SqlV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions]
998
+ # @return [Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::MysqlExportOptions]
999
999
  attr_accessor :mysql_export_options
1000
1000
 
1001
1001
  # Export only schemas.
@@ -1154,12 +1154,12 @@ module Google
1154
1154
  end
1155
1155
 
1156
1156
  # Flags list response.
1157
- class FlagsListResponse
1157
+ class ListFlagsResponse
1158
1158
  include Google::Apis::Core::Hashable
1159
1159
 
1160
1160
  # List of flags.
1161
1161
  # Corresponds to the JSON property `items`
1162
- # @return [Array<Google::Apis::SqlV1beta4::Flag>]
1162
+ # @return [Array<Google::Apis::SqladminV1beta4::Flag>]
1163
1163
  attr_accessor :items
1164
1164
 
1165
1165
  # This is always *sql#flagsList*.
@@ -1184,12 +1184,12 @@ module Google
1184
1184
 
1185
1185
  # Import parameters specific to SQL Server .BAK files
1186
1186
  # Corresponds to the JSON property `bakImportOptions`
1187
- # @return [Google::Apis::SqlV1beta4::ImportContext::BakImportOptions]
1187
+ # @return [Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions]
1188
1188
  attr_accessor :bak_import_options
1189
1189
 
1190
1190
  # Options for importing data as CSV.
1191
1191
  # Corresponds to the JSON property `csvImportOptions`
1192
- # @return [Google::Apis::SqlV1beta4::ImportContext::CsvImportOptions]
1192
+ # @return [Google::Apis::SqladminV1beta4::ImportContext::CsvImportOptions]
1193
1193
  attr_accessor :csv_import_options
1194
1194
 
1195
1195
  # The target database for the import. If *fileType* is *SQL*, this field is
@@ -1245,7 +1245,7 @@ module Google
1245
1245
 
1246
1246
  #
1247
1247
  # Corresponds to the JSON property `encryptionOptions`
1248
- # @return [Google::Apis::SqlV1beta4::ImportContext::BakImportOptions::EncryptionOptions]
1248
+ # @return [Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions]
1249
1249
  attr_accessor :encryption_options
1250
1250
 
1251
1251
  def initialize(**args)
@@ -1321,12 +1321,12 @@ module Google
1321
1321
  end
1322
1322
 
1323
1323
  # Database instance clone request.
1324
- class InstancesCloneRequest
1324
+ class CloneInstancesRequest
1325
1325
  include Google::Apis::Core::Hashable
1326
1326
 
1327
1327
  # Database instance clone context.
1328
1328
  # Corresponds to the JSON property `cloneContext`
1329
- # @return [Google::Apis::SqlV1beta4::CloneContext]
1329
+ # @return [Google::Apis::SqladminV1beta4::CloneContext]
1330
1330
  attr_accessor :clone_context
1331
1331
 
1332
1332
  def initialize(**args)
@@ -1339,13 +1339,13 @@ module Google
1339
1339
  end
1340
1340
  end
1341
1341
 
1342
- # Database demote master request.
1342
+ # Database demote primary instance request.
1343
1343
  class InstancesDemoteMasterRequest
1344
1344
  include Google::Apis::Core::Hashable
1345
1345
 
1346
- # Database instance demote master context.
1346
+ # Database instance demote primary instance context.
1347
1347
  # Corresponds to the JSON property `demoteMasterContext`
1348
- # @return [Google::Apis::SqlV1beta4::DemoteMasterContext]
1348
+ # @return [Google::Apis::SqladminV1beta4::DemoteMasterContext]
1349
1349
  attr_accessor :demote_master_context
1350
1350
 
1351
1351
  def initialize(**args)
@@ -1359,12 +1359,12 @@ module Google
1359
1359
  end
1360
1360
 
1361
1361
  # Database instance export request.
1362
- class InstancesExportRequest
1362
+ class ExportInstancesRequest
1363
1363
  include Google::Apis::Core::Hashable
1364
1364
 
1365
1365
  # Database instance export context.
1366
1366
  # Corresponds to the JSON property `exportContext`
1367
- # @return [Google::Apis::SqlV1beta4::ExportContext]
1367
+ # @return [Google::Apis::SqladminV1beta4::ExportContext]
1368
1368
  attr_accessor :export_context
1369
1369
 
1370
1370
  def initialize(**args)
@@ -1383,7 +1383,7 @@ module Google
1383
1383
 
1384
1384
  # Database instance failover context.
1385
1385
  # Corresponds to the JSON property `failoverContext`
1386
- # @return [Google::Apis::SqlV1beta4::FailoverContext]
1386
+ # @return [Google::Apis::SqladminV1beta4::FailoverContext]
1387
1387
  attr_accessor :failover_context
1388
1388
 
1389
1389
  def initialize(**args)
@@ -1397,12 +1397,12 @@ module Google
1397
1397
  end
1398
1398
 
1399
1399
  # Database instance import request.
1400
- class InstancesImportRequest
1400
+ class ImportInstancesRequest
1401
1401
  include Google::Apis::Core::Hashable
1402
1402
 
1403
1403
  # Database instance import context.
1404
1404
  # Corresponds to the JSON property `importContext`
1405
- # @return [Google::Apis::SqlV1beta4::ImportContext]
1405
+ # @return [Google::Apis::SqladminV1beta4::ImportContext]
1406
1406
  attr_accessor :import_context
1407
1407
 
1408
1408
  def initialize(**args)
@@ -1416,12 +1416,12 @@ module Google
1416
1416
  end
1417
1417
 
1418
1418
  # Database instances list response.
1419
- class InstancesListResponse
1419
+ class ListInstancesResponse
1420
1420
  include Google::Apis::Core::Hashable
1421
1421
 
1422
1422
  # List of database instance resources.
1423
1423
  # Corresponds to the JSON property `items`
1424
- # @return [Array<Google::Apis::SqlV1beta4::DatabaseInstance>]
1424
+ # @return [Array<Google::Apis::SqladminV1beta4::DatabaseInstance>]
1425
1425
  attr_accessor :items
1426
1426
 
1427
1427
  # This is always *sql#instancesList*.
@@ -1437,7 +1437,7 @@ module Google
1437
1437
 
1438
1438
  # List of warnings that occurred while handling the request.
1439
1439
  # Corresponds to the JSON property `warnings`
1440
- # @return [Array<Google::Apis::SqlV1beta4::ApiWarning>]
1440
+ # @return [Array<Google::Apis::SqladminV1beta4::ApiWarning>]
1441
1441
  attr_accessor :warnings
1442
1442
 
1443
1443
  def initialize(**args)
@@ -1464,7 +1464,7 @@ module Google
1464
1464
 
1465
1465
  # List of server CA certificates for the instance.
1466
1466
  # Corresponds to the JSON property `certs`
1467
- # @return [Array<Google::Apis::SqlV1beta4::SslCert>]
1467
+ # @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
1468
1468
  attr_accessor :certs
1469
1469
 
1470
1470
  # This is always *sql#instancesListServerCas*.
@@ -1485,13 +1485,13 @@ module Google
1485
1485
  end
1486
1486
 
1487
1487
  # Database instance restore backup request.
1488
- class InstancesRestoreBackupRequest
1488
+ class RestoreInstancesBackupRequest
1489
1489
  include Google::Apis::Core::Hashable
1490
1490
 
1491
1491
  # Database instance restore from backup context. Backup context contains source
1492
1492
  # instance id and project id.
1493
1493
  # Corresponds to the JSON property `restoreBackupContext`
1494
- # @return [Google::Apis::SqlV1beta4::RestoreBackupContext]
1494
+ # @return [Google::Apis::SqladminV1beta4::RestoreBackupContext]
1495
1495
  attr_accessor :restore_backup_context
1496
1496
 
1497
1497
  def initialize(**args)
@@ -1510,7 +1510,7 @@ module Google
1510
1510
 
1511
1511
  # Instance rotate server CA context.
1512
1512
  # Corresponds to the JSON property `rotateServerCaContext`
1513
- # @return [Google::Apis::SqlV1beta4::RotateServerCaContext]
1513
+ # @return [Google::Apis::SqladminV1beta4::RotateServerCaContext]
1514
1514
  attr_accessor :rotate_server_ca_context
1515
1515
 
1516
1516
  def initialize(**args)
@@ -1529,7 +1529,7 @@ module Google
1529
1529
 
1530
1530
  # Database Instance truncate log context.
1531
1531
  # Corresponds to the JSON property `truncateLogContext`
1532
- # @return [Google::Apis::SqlV1beta4::TruncateLogContext]
1532
+ # @return [Google::Apis::SqladminV1beta4::TruncateLogContext]
1533
1533
  attr_accessor :truncate_log_context
1534
1534
 
1535
1535
  def initialize(**args)
@@ -1550,7 +1550,7 @@ module Google
1550
1550
  # using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
1551
1551
  # *192.168.100.0/24*).
1552
1552
  # Corresponds to the JSON property `authorizedNetworks`
1553
- # @return [Array<Google::Apis::SqlV1beta4::AclEntry>]
1553
+ # @return [Array<Google::Apis::SqladminV1beta4::AclEntry>]
1554
1554
  attr_accessor :authorized_networks
1555
1555
 
1556
1556
  # Whether the instance is assigned a public IP address or not.
@@ -1659,6 +1659,45 @@ module Google
1659
1659
  end
1660
1660
  end
1661
1661
 
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
+
1662
1701
  # Maintenance window. This specifies when a Cloud SQL instance is restarted for
1663
1702
  # system maintenance purposes.
1664
1703
  class MaintenanceWindow
@@ -1756,8 +1795,8 @@ module Google
1756
1795
  # @return [String]
1757
1796
  attr_accessor :username
1758
1797
 
1759
- # Whether or not to check the master's Common Name value in the certificate that
1760
- # it sends during the SSL handshake.
1798
+ # Whether or not to check the primary instance's Common Name value in the
1799
+ # certificate that it sends during the SSL handshake.
1761
1800
  # Corresponds to the JSON property `verifyServerCertificate`
1762
1801
  # @return [Boolean]
1763
1802
  attr_accessor :verify_server_certificate
@@ -1859,17 +1898,17 @@ module Google
1859
1898
 
1860
1899
  # Database instance operation errors list wrapper.
1861
1900
  # Corresponds to the JSON property `error`
1862
- # @return [Google::Apis::SqlV1beta4::OperationErrors]
1901
+ # @return [Google::Apis::SqladminV1beta4::OperationErrors]
1863
1902
  attr_accessor :error
1864
1903
 
1865
1904
  # Database instance export context.
1866
1905
  # Corresponds to the JSON property `exportContext`
1867
- # @return [Google::Apis::SqlV1beta4::ExportContext]
1906
+ # @return [Google::Apis::SqladminV1beta4::ExportContext]
1868
1907
  attr_accessor :export_context
1869
1908
 
1870
1909
  # Database instance import context.
1871
1910
  # Corresponds to the JSON property `importContext`
1872
- # @return [Google::Apis::SqlV1beta4::ImportContext]
1911
+ # @return [Google::Apis::SqladminV1beta4::ImportContext]
1873
1912
  attr_accessor :import_context
1874
1913
 
1875
1914
  # The time this operation was enqueued in UTC timezone in RFC 3339 format, for
@@ -1995,7 +2034,7 @@ module Google
1995
2034
 
1996
2035
  # The list of errors encountered while processing this operation.
1997
2036
  # Corresponds to the JSON property `errors`
1998
- # @return [Array<Google::Apis::SqlV1beta4::OperationError>]
2037
+ # @return [Array<Google::Apis::SqladminV1beta4::OperationError>]
1999
2038
  attr_accessor :errors
2000
2039
 
2001
2040
  # This is always *sql#operationErrors*.
@@ -2015,12 +2054,12 @@ module Google
2015
2054
  end
2016
2055
 
2017
2056
  # Database instance list operations response.
2018
- class OperationsListResponse
2057
+ class ListOperationsResponse
2019
2058
  include Google::Apis::Core::Hashable
2020
2059
 
2021
2060
  # List of operation resources.
2022
2061
  # Corresponds to the JSON property `items`
2023
- # @return [Array<Google::Apis::SqlV1beta4::Operation>]
2062
+ # @return [Array<Google::Apis::SqladminV1beta4::Operation>]
2024
2063
  attr_accessor :items
2025
2064
 
2026
2065
  # This is always *sql#operationsList*.
@@ -2046,15 +2085,15 @@ module Google
2046
2085
  end
2047
2086
  end
2048
2087
 
2049
- # Read-replica configuration for connecting to the master.
2088
+ # Read-replica configuration for connecting to the primary instance.
2050
2089
  class ReplicaConfiguration
2051
2090
  include Google::Apis::Core::Hashable
2052
2091
 
2053
2092
  # Specifies if the replica is the failover target. If the field is set to *true*
2054
- # the replica will be designated as a failover replica. In case the master
2055
- # instance fails, the replica instance will be promoted as the new master
2093
+ # the replica will be designated as a failover replica. In case the primary
2094
+ # instance fails, the replica instance will be promoted as the new primary
2056
2095
  # instance. Only one replica can be specified as failover target, and the
2057
- # replica has to be in different zone with the master instance.
2096
+ # replica has to be in different zone with the primary instance.
2058
2097
  # Corresponds to the JSON property `failoverTarget`
2059
2098
  # @return [Boolean]
2060
2099
  attr_accessor :failover_target
@@ -2067,7 +2106,7 @@ module Google
2067
2106
 
2068
2107
  # Read-replica configuration specific to MySQL databases.
2069
2108
  # Corresponds to the JSON property `mysqlReplicaConfiguration`
2070
- # @return [Google::Apis::SqlV1beta4::MySqlReplicaConfiguration]
2109
+ # @return [Google::Apis::SqladminV1beta4::MySqlReplicaConfiguration]
2071
2110
  attr_accessor :mysql_replica_configuration
2072
2111
 
2073
2112
  def initialize(**args)
@@ -2203,7 +2242,7 @@ module Google
2203
2242
 
2204
2243
  # Database instance backup configuration.
2205
2244
  # Corresponds to the JSON property `backupConfiguration`
2206
- # @return [Google::Apis::SqlV1beta4::BackupConfiguration]
2245
+ # @return [Google::Apis::SqladminV1beta4::BackupConfiguration]
2207
2246
  attr_accessor :backup_configuration
2208
2247
 
2209
2248
  # The name of server Instance collation.
@@ -2232,7 +2271,7 @@ module Google
2232
2271
 
2233
2272
  # The database flags passed to the instance at startup.
2234
2273
  # Corresponds to the JSON property `databaseFlags`
2235
- # @return [Array<Google::Apis::SqlV1beta4::DatabaseFlags>]
2274
+ # @return [Array<Google::Apis::SqladminV1beta4::DatabaseFlags>]
2236
2275
  attr_accessor :database_flags
2237
2276
 
2238
2277
  # Configuration specific to read replica instances. Indicates whether
@@ -2244,7 +2283,7 @@ module Google
2244
2283
 
2245
2284
  # IP Management configuration.
2246
2285
  # Corresponds to the JSON property `ipConfiguration`
2247
- # @return [Google::Apis::SqlV1beta4::IpConfiguration]
2286
+ # @return [Google::Apis::SqladminV1beta4::IpConfiguration]
2248
2287
  attr_accessor :ip_configuration
2249
2288
 
2250
2289
  # This is always *sql#settings*.
@@ -2258,13 +2297,18 @@ module Google
2258
2297
  # instance will be located as close as possible within the region. Only one
2259
2298
  # location may be specified.
2260
2299
  # Corresponds to the JSON property `locationPreference`
2261
- # @return [Google::Apis::SqlV1beta4::LocationPreference]
2300
+ # @return [Google::Apis::SqladminV1beta4::LocationPreference]
2262
2301
  attr_accessor :location_preference
2263
2302
 
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
+
2264
2308
  # Maintenance window. This specifies when a Cloud SQL instance is restarted for
2265
2309
  # system maintenance purposes.
2266
2310
  # Corresponds to the JSON property `maintenanceWindow`
2267
- # @return [Google::Apis::SqlV1beta4::MaintenanceWindow]
2311
+ # @return [Google::Apis::SqladminV1beta4::MaintenanceWindow]
2268
2312
  attr_accessor :maintenance_window
2269
2313
 
2270
2314
  # The pricing plan for this instance. This can be either *PER_USE* or *PACKAGE*.
@@ -2332,6 +2376,7 @@ module Google
2332
2376
  @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
2333
2377
  @kind = args[:kind] if args.key?(:kind)
2334
2378
  @location_preference = args[:location_preference] if args.key?(:location_preference)
2379
+ @maintenance_deny_periods = args[:maintenance_deny_periods] if args.key?(:maintenance_deny_periods)
2335
2380
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
2336
2381
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
2337
2382
  @replication_type = args[:replication_type] if args.key?(:replication_type)
@@ -2343,7 +2388,7 @@ module Google
2343
2388
  end
2344
2389
  end
2345
2390
 
2346
- # External master migration setting error.
2391
+ # External primary instance migration setting error.
2347
2392
  class SqlExternalSyncSettingError
2348
2393
  include Google::Apis::Core::Hashable
2349
2394
 
@@ -2380,7 +2425,7 @@ module Google
2380
2425
 
2381
2426
  # Required. The type of the reschedule the user wants.
2382
2427
  # Corresponds to the JSON property `reschedule`
2383
- # @return [Google::Apis::SqlV1beta4::Reschedule]
2428
+ # @return [Google::Apis::SqladminV1beta4::Reschedule]
2384
2429
  attr_accessor :reschedule
2385
2430
 
2386
2431
  def initialize(**args)
@@ -2399,7 +2444,7 @@ module Google
2399
2444
 
2400
2445
  # List of migration violations.
2401
2446
  # Corresponds to the JSON property `errors`
2402
- # @return [Array<Google::Apis::SqlV1beta4::SqlExternalSyncSettingError>]
2447
+ # @return [Array<Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError>]
2403
2448
  attr_accessor :errors
2404
2449
 
2405
2450
  # This is always *sql#migrationSettingErrorList*.
@@ -2577,7 +2622,7 @@ module Google
2577
2622
 
2578
2623
  # SslCerts Resource
2579
2624
  # Corresponds to the JSON property `certInfo`
2580
- # @return [Google::Apis::SqlV1beta4::SslCert]
2625
+ # @return [Google::Apis::SqladminV1beta4::SslCert]
2581
2626
  attr_accessor :cert_info
2582
2627
 
2583
2628
  # The private key for the client cert, in pem format. Keep private in order to
@@ -2617,7 +2662,7 @@ module Google
2617
2662
  end
2618
2663
 
2619
2664
  # SslCerts insert request.
2620
- class SslCertsInsertRequest
2665
+ class InsertSslCertsRequest
2621
2666
  include Google::Apis::Core::Hashable
2622
2667
 
2623
2668
  # User supplied name. Must be a distinct name from the other certificates for
@@ -2637,12 +2682,12 @@ module Google
2637
2682
  end
2638
2683
 
2639
2684
  # SslCert insert response.
2640
- class SslCertsInsertResponse
2685
+ class InsertSslCertsResponse
2641
2686
  include Google::Apis::Core::Hashable
2642
2687
 
2643
2688
  # SslCertDetail.
2644
2689
  # Corresponds to the JSON property `clientCert`
2645
- # @return [Google::Apis::SqlV1beta4::SslCertDetail]
2690
+ # @return [Google::Apis::SqladminV1beta4::SslCertDetail]
2646
2691
  attr_accessor :client_cert
2647
2692
 
2648
2693
  # This is always *sql#sslCertsInsert*.
@@ -2654,12 +2699,12 @@ module Google
2654
2699
  # resource, only the fields relevant to the operation are populated in the
2655
2700
  # resource.
2656
2701
  # Corresponds to the JSON property `operation`
2657
- # @return [Google::Apis::SqlV1beta4::Operation]
2702
+ # @return [Google::Apis::SqladminV1beta4::Operation]
2658
2703
  attr_accessor :operation
2659
2704
 
2660
2705
  # SslCerts Resource
2661
2706
  # Corresponds to the JSON property `serverCaCert`
2662
- # @return [Google::Apis::SqlV1beta4::SslCert]
2707
+ # @return [Google::Apis::SqladminV1beta4::SslCert]
2663
2708
  attr_accessor :server_ca_cert
2664
2709
 
2665
2710
  def initialize(**args)
@@ -2676,12 +2721,12 @@ module Google
2676
2721
  end
2677
2722
 
2678
2723
  # SslCerts list response.
2679
- class SslCertsListResponse
2724
+ class ListSslCertsResponse
2680
2725
  include Google::Apis::Core::Hashable
2681
2726
 
2682
2727
  # List of client certificates for the instance.
2683
2728
  # Corresponds to the JSON property `items`
2684
- # @return [Array<Google::Apis::SqlV1beta4::SslCert>]
2729
+ # @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
2685
2730
  attr_accessor :items
2686
2731
 
2687
2732
  # This is always *sql#sslCertsList*.
@@ -2745,12 +2790,12 @@ module Google
2745
2790
  end
2746
2791
 
2747
2792
  # Tiers list response.
2748
- class TiersListResponse
2793
+ class ListTiersResponse
2749
2794
  include Google::Apis::Core::Hashable
2750
2795
 
2751
2796
  # List of tiers.
2752
2797
  # Corresponds to the JSON property `items`
2753
- # @return [Array<Google::Apis::SqlV1beta4::Tier>]
2798
+ # @return [Array<Google::Apis::SqladminV1beta4::Tier>]
2754
2799
  attr_accessor :items
2755
2800
 
2756
2801
  # This is always *sql#tiersList*.
@@ -2842,7 +2887,7 @@ module Google
2842
2887
 
2843
2888
  # Represents a Sql Server user on the Cloud SQL instance.
2844
2889
  # Corresponds to the JSON property `sqlserverUserDetails`
2845
- # @return [Google::Apis::SqlV1beta4::SqlServerUserDetails]
2890
+ # @return [Google::Apis::SqladminV1beta4::SqlServerUserDetails]
2846
2891
  attr_accessor :sqlserver_user_details
2847
2892
 
2848
2893
  # The user type. It determines the method to authenticate the user during login.
@@ -2870,12 +2915,12 @@ module Google
2870
2915
  end
2871
2916
 
2872
2917
  # User list response.
2873
- class UsersListResponse
2918
+ class ListUsersResponse
2874
2919
  include Google::Apis::Core::Hashable
2875
2920
 
2876
2921
  # List of user resources in the instance.
2877
2922
  # Corresponds to the JSON property `items`
2878
- # @return [Array<Google::Apis::SqlV1beta4::User>]
2923
+ # @return [Array<Google::Apis::SqladminV1beta4::User>]
2879
2924
  attr_accessor :items
2880
2925
 
2881
2926
  # This is always *sql#usersList*.