google-api-client 0.45.1 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +61 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
  5. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  6. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  9. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  10. data/generated/google/apis/apigee_v1.rb +1 -1
  11. data/generated/google/apis/apigee_v1/classes.rb +5 -5
  12. data/generated/google/apis/apigee_v1/service.rb +21 -19
  13. data/generated/google/apis/appsmarket_v2.rb +1 -1
  14. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  15. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
  16. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
  17. data/generated/google/apis/bigquery_v2.rb +1 -1
  18. data/generated/google/apis/bigquery_v2/classes.rb +38 -18
  19. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  20. data/generated/google/apis/books_v1.rb +1 -1
  21. data/generated/google/apis/books_v1/service.rb +2 -2
  22. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  23. data/generated/google/apis/cloudidentity_v1/classes.rb +78 -64
  24. data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
  25. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  26. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +3 -0
  27. data/generated/google/apis/cloudidentity_v1beta1/service.rb +26 -11
  28. data/generated/google/apis/composer_v1beta1.rb +1 -1
  29. data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
  30. data/generated/google/apis/compute_alpha.rb +1 -1
  31. data/generated/google/apis/compute_alpha/classes.rb +513 -131
  32. data/generated/google/apis/compute_alpha/representations.rb +124 -8
  33. data/generated/google/apis/compute_alpha/service.rb +1685 -762
  34. data/generated/google/apis/compute_beta.rb +1 -1
  35. data/generated/google/apis/compute_beta/classes.rb +491 -83
  36. data/generated/google/apis/compute_beta/representations.rb +96 -1
  37. data/generated/google/apis/compute_beta/service.rb +802 -133
  38. data/generated/google/apis/compute_v1.rb +1 -1
  39. data/generated/google/apis/compute_v1/classes.rb +308 -45
  40. data/generated/google/apis/compute_v1/representations.rb +54 -1
  41. data/generated/google/apis/compute_v1/service.rb +736 -130
  42. data/generated/google/apis/content_v2.rb +1 -1
  43. data/generated/google/apis/content_v2/classes.rb +2 -1
  44. data/generated/google/apis/content_v2_1.rb +1 -1
  45. data/generated/google/apis/content_v2_1/classes.rb +2 -1
  46. data/generated/google/apis/datafusion_v1.rb +1 -1
  47. data/generated/google/apis/dataproc_v1.rb +1 -1
  48. data/generated/google/apis/dataproc_v1/classes.rb +28 -2
  49. data/generated/google/apis/dataproc_v1/representations.rb +15 -0
  50. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  51. data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
  52. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  53. data/generated/google/apis/dialogflow_v2.rb +1 -1
  54. data/generated/google/apis/dialogflow_v2/classes.rb +87 -0
  55. data/generated/google/apis/dialogflow_v2/representations.rb +45 -0
  56. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  57. data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -8
  58. data/generated/google/apis/dialogflow_v2beta1/representations.rb +45 -0
  59. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  60. data/generated/google/apis/dialogflow_v3beta1/classes.rb +87 -0
  61. data/generated/google/apis/dialogflow_v3beta1/representations.rb +45 -0
  62. data/generated/google/apis/file_v1.rb +1 -1
  63. data/generated/google/apis/file_v1/classes.rb +1 -1
  64. data/generated/google/apis/file_v1beta1.rb +1 -1
  65. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  66. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  67. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  68. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  69. data/generated/google/apis/jobs_v2.rb +1 -1
  70. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  71. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  72. data/generated/google/apis/jobs_v3.rb +1 -1
  73. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  74. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  75. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  76. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  77. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  78. data/generated/google/apis/managedidentities_v1.rb +1 -1
  79. data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
  80. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  81. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  82. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +7 -0
  83. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  84. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  85. data/generated/google/apis/managedidentities_v1beta1/classes.rb +7 -0
  86. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  87. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  88. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  89. data/generated/google/apis/monitoring_v3.rb +1 -1
  90. data/generated/google/apis/monitoring_v3/classes.rb +7 -7
  91. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  92. data/generated/google/apis/osconfig_v1.rb +3 -3
  93. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  94. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  95. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  96. data/generated/google/apis/pubsublite_v1.rb +1 -1
  97. data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
  98. data/generated/google/apis/recommender_v1.rb +1 -1
  99. data/generated/google/apis/recommender_v1/service.rb +4 -2
  100. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  101. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  102. data/generated/google/apis/redis_v1.rb +1 -1
  103. data/generated/google/apis/redis_v1/classes.rb +5 -5
  104. data/generated/google/apis/redis_v1/service.rb +2 -2
  105. data/generated/google/apis/redis_v1beta1.rb +1 -1
  106. data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
  107. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  108. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  109. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  110. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
  111. data/generated/google/apis/sheets_v4.rb +1 -1
  112. data/generated/google/apis/sheets_v4/classes.rb +174 -84
  113. data/generated/google/apis/storage_v1.rb +1 -1
  114. data/generated/google/apis/storage_v1/classes.rb +2 -10
  115. data/generated/google/apis/storage_v1/representations.rb +0 -1
  116. data/generated/google/apis/storage_v1/service.rb +3 -2
  117. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  118. data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
  119. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  120. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  121. data/generated/google/apis/translate_v3.rb +1 -1
  122. data/generated/google/apis/translate_v3/classes.rb +2 -2
  123. data/generated/google/apis/videointelligence_v1.rb +1 -1
  124. data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
  125. data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
  126. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  127. data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
  128. data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
  129. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  130. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
  131. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
  132. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  133. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
  134. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
  135. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  136. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
  137. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
  138. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  139. data/generated/google/apis/youtube_v3.rb +1 -1
  140. data/generated/google/apis/youtube_v3/service.rb +2 -2
  141. data/lib/google/apis/version.rb +1 -1
  142. metadata +3 -15
  143. data/generated/google/apis/apigateway_v1alpha1.rb +0 -34
  144. data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
  145. data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
  146. data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
  147. data/generated/google/apis/apigateway_v1alpha2.rb +0 -34
  148. data/generated/google/apis/apigateway_v1alpha2/classes.rb +0 -633
  149. data/generated/google/apis/apigateway_v1alpha2/representations.rb +0 -250
  150. data/generated/google/apis/apigateway_v1alpha2/service.rb +0 -623
  151. data/generated/google/apis/appsactivity_v1.rb +0 -34
  152. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  153. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  154. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -1226,11 +1226,11 @@ module Google
1226
1226
  # The alignment_period specifies a time interval, in seconds, that is used to
1227
1227
  # divide the data in all the time series into consistent blocks of time. This
1228
1228
  # will be done before the per-series aligner can be applied to the data.The
1229
- # value must be at least 60 seconds, at most 104 weeks. If a per-series aligner
1230
- # other than ALIGN_NONE is specified, this field is required or an error is
1231
- # returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is
1232
- # specified, then this field is ignored.The maximum value of the
1233
- # alignment_period is 2 years, or 104 weeks.
1229
+ # value must be at least 60 seconds. If a per-series aligner other than
1230
+ # ALIGN_NONE is specified, this field is required or an error is returned. If no
1231
+ # per-series aligner is specified, or the aligner ALIGN_NONE is specified, then
1232
+ # this field is ignored.The maximum value of the alignment_period is 104 weeks (
1233
+ # 2 years) for charts, and 90,000 seconds (25 hours) for alerting policies.
1234
1234
  # @param [String] aggregation_cross_series_reducer
1235
1235
  # The reduction operation to be used to combine time series into a single time
1236
1236
  # series, where the value of each data point in the resulting series is a
@@ -18,15 +18,15 @@ require 'google/apis/osconfig_v1/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Cloud OS Config API
21
+ # OS Config API
22
22
  #
23
23
  # OS management tools that can be used for patch management, patch compliance,
24
24
  # and configuration management on VM instances.
25
25
  #
26
- # @see https://cloud.google.com/
26
+ # @see https://cloud.google.com/compute/docs/manage-os
27
27
  module OsconfigV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200903'
29
+ REVISION = '20200930'
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'
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module OsconfigV1
23
- # Cloud OS Config API
23
+ # OS Config API
24
24
  #
25
25
  # OS management tools that can be used for patch management, patch compliance,
26
26
  # and configuration management on VM instances.
@@ -29,10 +29,10 @@ module Google
29
29
  # require 'google/apis/osconfig_v1'
30
30
  #
31
31
  # Osconfig = Google::Apis::OsconfigV1 # Alias the module
32
- # service = Osconfig::SystemsManagementService.new
32
+ # service = Osconfig::OSConfigService.new
33
33
  #
34
- # @see https://cloud.google.com/
35
- class SystemsManagementService < Google::Apis::Core::BaseService
34
+ # @see https://cloud.google.com/compute/docs/manage-os
35
+ class OSConfigService < Google::Apis::Core::BaseService
36
36
  # @return [String]
37
37
  # API key. Your API key identifies your project and provides you with API access,
38
38
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -18,15 +18,15 @@ require 'google/apis/osconfig_v1beta/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Cloud OS Config API
21
+ # OS Config API
22
22
  #
23
23
  # OS management tools that can be used for patch management, patch compliance,
24
24
  # and configuration management on VM instances.
25
25
  #
26
- # @see https://cloud.google.com/
26
+ # @see https://cloud.google.com/compute/docs/manage-os
27
27
  module OsconfigV1beta
28
28
  VERSION = 'V1beta'
29
- REVISION = '20200903'
29
+ REVISION = '20200930'
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'
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module OsconfigV1beta
23
- # Cloud OS Config API
23
+ # OS Config API
24
24
  #
25
25
  # OS management tools that can be used for patch management, patch compliance,
26
26
  # and configuration management on VM instances.
@@ -29,10 +29,10 @@ module Google
29
29
  # require 'google/apis/osconfig_v1beta'
30
30
  #
31
31
  # Osconfig = Google::Apis::OsconfigV1beta # Alias the module
32
- # service = Osconfig::SystemsManagementService.new
32
+ # service = Osconfig::OSConfigService.new
33
33
  #
34
- # @see https://cloud.google.com/
35
- class SystemsManagementService < Google::Apis::Core::BaseService
34
+ # @see https://cloud.google.com/compute/docs/manage-os
35
+ class OSConfigService < Google::Apis::Core::BaseService
36
36
  # @return [String]
37
37
  # API key. Your API key identifies your project and provides you with API access,
38
38
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/pubsub/lite/docs
26
26
  module PubsubliteV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200915'
28
+ REVISION = '20200929'
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'
@@ -100,8 +100,8 @@ module Google
100
100
  attr_accessor :minimum_event_time
101
101
 
102
102
  # The minimum publish timestamp across these messages. Note that publish
103
- # timestamps within a partition are non-decreasing. The timestamp will be unset
104
- # if there are no messages.
103
+ # timestamps within a partition are not guaranteed to be non-decreasing. The
104
+ # timestamp will be unset if there are no messages.
105
105
  # Corresponds to the JSON property `minimumPublishTime`
106
106
  # @return [String]
107
107
  attr_accessor :minimum_publish_time
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/recommender/docs/
26
26
  module RecommenderV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200801'
28
+ REVISION = '20200927'
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'
@@ -84,7 +84,8 @@ module Google
84
84
  # Required. The container resource on which to execute the request. Acceptable
85
85
  # formats: 1. "projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[
86
86
  # INSIGHT_TYPE_ID]", LOCATION here refers to GCP Locations: https://cloud.google.
87
- # com/about/locations/
87
+ # com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https:/
88
+ # /cloud.google.com/recommender/docs/insights/insight-types.)
88
89
  # @param [String] filter
89
90
  # Optional. Filter expression to restrict the insights returned. Supported
90
91
  # filter fields: state Eg: `state:"DISMISSED" or state:"ACTIVE"
@@ -201,7 +202,8 @@ module Google
201
202
  # Required. The container resource on which to execute the request. Acceptable
202
203
  # formats: 1. "projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[
203
204
  # RECOMMENDER_ID]", LOCATION here refers to GCP Locations: https://cloud.google.
204
- # com/about/locations/
205
+ # com/about/locations/ RECOMMENDER_ID refers to supported recommenders: https://
206
+ # cloud.google.com/recommender/docs/recommenders.
205
207
  # @param [String] filter
206
208
  # Filter expression to restrict the recommendations returned. Supported filter
207
209
  # fields: state_info.state Eg: `state_info.state:"DISMISSED" or state_info.state:
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/recommender/docs/
26
26
  module RecommenderV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200801'
28
+ REVISION = '20200927'
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'
@@ -84,7 +84,8 @@ module Google
84
84
  # Required. The container resource on which to execute the request. Acceptable
85
85
  # formats: 1. "projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[
86
86
  # INSIGHT_TYPE_ID]", LOCATION here refers to GCP Locations: https://cloud.google.
87
- # com/about/locations/
87
+ # com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https:/
88
+ # /cloud.google.com/recommender/docs/insights/insight-types.
88
89
  # @param [String] filter
89
90
  # Optional. Filter expression to restrict the insights returned. Supported
90
91
  # filter fields: state Eg: `state:"DISMISSED" or state:"ACTIVE"
@@ -201,7 +202,8 @@ module Google
201
202
  # Required. The container resource on which to execute the request. Acceptable
202
203
  # formats: 1. "projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[
203
204
  # RECOMMENDER_ID]", LOCATION here refers to GCP Locations: https://cloud.google.
204
- # com/about/locations/
205
+ # com/about/locations/ RECOMMENDER_ID refers to supported recommenders: https://
206
+ # cloud.google.com/recommender/docs/recommenders.
205
207
  # @param [String] filter
206
208
  # Filter expression to restrict the recommendations returned. Supported filter
207
209
  # fields: state_info.state Eg: `state_info.state:"DISMISSED" or state_info.state:
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/memorystore/docs/redis/
26
26
  module RedisV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200916'
28
+ REVISION = '20200928'
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'
@@ -416,11 +416,11 @@ module Google
416
416
  # A list of Redis instances in the project in the specified location, or across
417
417
  # all locations. If the `location_id` in the parent field of the request is "-",
418
418
  # all regions available to the project are queried, and the results aggregated.
419
- # If in such an aggregated query a location is unavailable, a dummy Redis entry
420
- # is included in the response with the `name` field set to a value of the form `
421
- # projects/`project_id`/locations/`location_id`/instances/`- and the `status`
422
- # field set to ERROR and `status_message` field set to "location not available
423
- # for ListInstances".
419
+ # If in such an aggregated query a location is unavailable, a placeholder Redis
420
+ # entry is included in the response with the `name` field set to a value of the
421
+ # form `projects/`project_id`/locations/`location_id`/instances/`- and the `
422
+ # status` field set to ERROR and `status_message` field set to "location not
423
+ # available for ListInstances".
424
424
  # Corresponds to the JSON property `instances`
425
425
  # @return [Array<Google::Apis::RedisV1::Instance>]
426
426
  attr_accessor :instances
@@ -235,8 +235,8 @@ module Google
235
235
  execute_or_queue_command(command, &block)
236
236
  end
237
237
 
238
- # Initiates a failover of the master node to current replica node for a specific
239
- # STANDARD tier Cloud Memorystore for Redis instance.
238
+ # Initiates a failover of the primary node to current replica node for a
239
+ # specific STANDARD tier Cloud Memorystore for Redis instance.
240
240
  # @param [String] name
241
241
  # Required. Redis instance resource name using the form: `projects/`project_id`/
242
242
  # locations/`location_id`/instances/`instance_id`` where `location_id` refers to
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/memorystore/docs/redis/
26
26
  module RedisV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200916'
28
+ REVISION = '20200928'
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'
@@ -263,6 +263,14 @@ module Google
263
263
  # @return [String]
264
264
  attr_accessor :alternative_location_id
265
265
 
266
+ # Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set
267
+ # to "true" AUTH is enabled on the instance. Default value is "false" meaning
268
+ # AUTH is disabled.
269
+ # Corresponds to the JSON property `authEnabled`
270
+ # @return [Boolean]
271
+ attr_accessor :auth_enabled
272
+ alias_method :auth_enabled?, :auth_enabled
273
+
266
274
  # Optional. The full name of the Google Compute Engine [network](https://cloud.
267
275
  # google.com/vpc/docs/vpc) to which the instance is connected. If left
268
276
  # unspecified, the `default` network will be used.
@@ -391,6 +399,7 @@ module Google
391
399
  # Update properties of this object
392
400
  def update!(**args)
393
401
  @alternative_location_id = args[:alternative_location_id] if args.key?(:alternative_location_id)
402
+ @auth_enabled = args[:auth_enabled] if args.key?(:auth_enabled)
394
403
  @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
395
404
  @connect_mode = args[:connect_mode] if args.key?(:connect_mode)
396
405
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -412,6 +421,25 @@ module Google
412
421
  end
413
422
  end
414
423
 
424
+ # Instance AUTH string details.
425
+ class InstanceAuthString
426
+ include Google::Apis::Core::Hashable
427
+
428
+ # AUTH string set on the instance.
429
+ # Corresponds to the JSON property `authString`
430
+ # @return [String]
431
+ attr_accessor :auth_string
432
+
433
+ def initialize(**args)
434
+ update!(**args)
435
+ end
436
+
437
+ # Update properties of this object
438
+ def update!(**args)
439
+ @auth_string = args[:auth_string] if args.key?(:auth_string)
440
+ end
441
+ end
442
+
415
443
  # Response for ListInstances.
416
444
  class ListInstancesResponse
417
445
  include Google::Apis::Core::Hashable
@@ -419,11 +447,11 @@ module Google
419
447
  # A list of Redis instances in the project in the specified location, or across
420
448
  # all locations. If the `location_id` in the parent field of the request is "-",
421
449
  # all regions available to the project are queried, and the results aggregated.
422
- # If in such an aggregated query a location is unavailable, a dummy Redis entry
423
- # is included in the response with the `name` field set to a value of the form `
424
- # projects/`project_id`/locations/`location_id`/instances/`- and the `status`
425
- # field set to ERROR and `status_message` field set to "location not available
426
- # for ListInstances".
450
+ # If in such an aggregated query a location is unavailable, a placeholder Redis
451
+ # entry is included in the response with the `name` field set to a value of the
452
+ # form `projects/`project_id`/locations/`location_id`/instances/`- and the `
453
+ # status` field set to ERROR and `status_message` field set to "location not
454
+ # available for ListInstances".
427
455
  # Corresponds to the JSON property `instances`
428
456
  # @return [Array<Google::Apis::RedisV1beta1::Instance>]
429
457
  attr_accessor :instances
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class InstanceAuthString
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class ListInstancesResponse
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -218,6 +224,7 @@ module Google
218
224
  # @private
219
225
  class Representation < Google::Apis::Core::JsonRepresentation
220
226
  property :alternative_location_id, as: 'alternativeLocationId'
227
+ property :auth_enabled, as: 'authEnabled'
221
228
  property :authorized_network, as: 'authorizedNetwork'
222
229
  property :connect_mode, as: 'connectMode'
223
230
  property :create_time, as: 'createTime'
@@ -239,6 +246,13 @@ module Google
239
246
  end
240
247
  end
241
248
 
249
+ class InstanceAuthString
250
+ # @private
251
+ class Representation < Google::Apis::Core::JsonRepresentation
252
+ property :auth_string, as: 'authString'
253
+ end
254
+ end
255
+
242
256
  class ListInstancesResponse
243
257
  # @private
244
258
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -235,8 +235,8 @@ module Google
235
235
  execute_or_queue_command(command, &block)
236
236
  end
237
237
 
238
- # Initiates a failover of the master node to current replica node for a specific
239
- # STANDARD tier Cloud Memorystore for Redis instance.
238
+ # Initiates a failover of the primary node to current replica node for a
239
+ # specific STANDARD tier Cloud Memorystore for Redis instance.
240
240
  # @param [String] name
241
241
  # Required. Redis instance resource name using the form: `projects/`project_id`/
242
242
  # locations/`location_id`/instances/`instance_id`` where `location_id` refers to
@@ -303,6 +303,40 @@ module Google
303
303
  execute_or_queue_command(command, &block)
304
304
  end
305
305
 
306
+ # Gets the AUTH string for a Redis instance. If AUTH is not enabled for the
307
+ # instance the response will be empty. This information is not included in the
308
+ # details returned to GetInstance.
309
+ # @param [String] name
310
+ # Required. Redis instance resource name using the form: `projects/`project_id`/
311
+ # locations/`location_id`/instances/`instance_id`` where `location_id` refers to
312
+ # a GCP region.
313
+ # @param [String] fields
314
+ # Selector specifying which fields to include in a partial response.
315
+ # @param [String] quota_user
316
+ # Available to use for quota purposes for server-side applications. Can be any
317
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
318
+ # @param [Google::Apis::RequestOptions] options
319
+ # Request-specific options
320
+ #
321
+ # @yield [result, err] Result & error if block supplied
322
+ # @yieldparam result [Google::Apis::RedisV1beta1::InstanceAuthString] parsed result object
323
+ # @yieldparam err [StandardError] error object if request failed
324
+ #
325
+ # @return [Google::Apis::RedisV1beta1::InstanceAuthString]
326
+ #
327
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
328
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
329
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
330
+ def get_project_location_instance_auth_string(name, fields: nil, quota_user: nil, options: nil, &block)
331
+ command = make_simple_command(:get, 'v1beta1/{+name}/authString', options)
332
+ command.response_representation = Google::Apis::RedisV1beta1::InstanceAuthString::Representation
333
+ command.response_class = Google::Apis::RedisV1beta1::InstanceAuthString
334
+ command.params['name'] = name unless name.nil?
335
+ command.query['fields'] = fields unless fields.nil?
336
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
337
+ execute_or_queue_command(command, &block)
338
+ end
339
+
306
340
  # Import a Redis RDB snapshot file from Cloud Storage into a Redis instance.
307
341
  # Redis may stop serving during this operation. Instance state will be IMPORTING
308
342
  # for entire operation. When complete, the instance will contain only data from
@@ -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 = '20200915'
28
+ REVISION = '20200929'
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'
@@ -251,7 +251,7 @@ module Google
251
251
  execute_or_queue_command(command, &block)
252
252
  end
253
253
 
254
- # Add a new tenant project to the tenancy unit. There can be a maximum of 512
254
+ # Add a new tenant project to the tenancy unit. There can be a maximum of 1024
255
255
  # tenant projects in a tenancy unit. If there are previously failed `
256
256
  # AddTenantProject` calls, you might need to call `RemoveTenantProject` first to
257
257
  # resolve them before you can make another call to `AddTenantProject` with the
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/sheets/
26
26
  module SheetsV4
27
27
  VERSION = 'V4'
28
- REVISION = '20200908'
28
+ REVISION = '20200922'
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'
@@ -125,9 +125,9 @@ module Google
125
125
  end
126
126
 
127
127
  # Adds a data source. After the data source is added successfully, an associated
128
- # DataSource sheet is created and an execution is triggered to refresh the sheet
129
- # to read data from the data source. The request requires an additional bigquery.
130
- # readonly OAuth scope.
128
+ # DATA_SOURCE sheet is created and an execution is triggered to refresh the
129
+ # sheet to read data from the data source. The request requires an additional `
130
+ # bigquery.readonly` OAuth scope.
131
131
  class AddDataSourceRequest
132
132
  include Google::Apis::Core::Hashable
133
133
 
@@ -150,7 +150,15 @@ module Google
150
150
  class AddDataSourceResponse
151
151
  include Google::Apis::Core::Hashable
152
152
 
153
- # The data execution status.
153
+ # The data execution status. A data execution is created to sync a data source
154
+ # object with the latest data from a DataSource. It is usually scheduled to run
155
+ # at background, you can check its state to tell if an execution completes There
156
+ # are several scenarios where a data execution is triggered to run: * Adding a
157
+ # data source creates an associated data source sheet as well as a data
158
+ # execution to sync the data from the data source to the sheet. * Updating a
159
+ # data source creates a data execution to refresh the associated data source
160
+ # sheet similarly. * You can send refresh request to explicitly refresh one or
161
+ # multiple data source objects.
154
162
  # Corresponds to the JSON property `dataExecutionStatus`
155
163
  # @return [Google::Apis::SheetsV4::DataExecutionStatus]
156
164
  attr_accessor :data_execution_status
@@ -563,7 +571,7 @@ module Google
563
571
  class AutoResizeDimensionsRequest
564
572
  include Google::Apis::Core::Hashable
565
573
 
566
- # A range along a single dimension on a DataSource sheet.
574
+ # A range along a single dimension on a DATA_SOURCE sheet.
567
575
  # Corresponds to the JSON property `dataSourceSheetDimensions`
568
576
  # @return [Google::Apis::SheetsV4::DataSourceSheetDimensionRange]
569
577
  attr_accessor :data_source_sheet_dimensions
@@ -1320,7 +1328,8 @@ module Google
1320
1328
  include Google::Apis::Core::Hashable
1321
1329
 
1322
1330
  # The criteria for showing/hiding values per column. The map's key is the column
1323
- # index, and the value is the criteria for that column.
1331
+ # index, and the value is the criteria for that column. This field is deprecated
1332
+ # in favor of filter_specs.
1324
1333
  # Corresponds to the JSON property `criteria`
1325
1334
  # @return [Hash<String,Google::Apis::SheetsV4::FilterCriteria>]
1326
1335
  attr_accessor :criteria
@@ -1840,7 +1849,7 @@ module Google
1840
1849
  end
1841
1850
  end
1842
1851
 
1843
- # The specification of a BigQuery data source.
1852
+ # The specification of a BigQuery data source that's connected to a sheet.
1844
1853
  class BigQueryDataSourceSpec
1845
1854
  include Google::Apis::Core::Hashable
1846
1855
 
@@ -1855,7 +1864,8 @@ module Google
1855
1864
  # @return [Google::Apis::SheetsV4::BigQueryQuerySpec]
1856
1865
  attr_accessor :query_spec
1857
1866
 
1858
- # Specifies a BigQuery table definition. Only native tables is allowed.
1867
+ # Specifies a BigQuery table definition. Only [native tables](https://cloud.
1868
+ # google.com/bigquery/docs/tables-intro) is allowed.
1859
1869
  # Corresponds to the JSON property `tableSpec`
1860
1870
  # @return [Google::Apis::SheetsV4::BigQueryTableSpec]
1861
1871
  attr_accessor :table_spec
@@ -1891,7 +1901,8 @@ module Google
1891
1901
  end
1892
1902
  end
1893
1903
 
1894
- # Specifies a BigQuery table definition. Only native tables is allowed.
1904
+ # Specifies a BigQuery table definition. Only [native tables](https://cloud.
1905
+ # google.com/bigquery/docs/tables-intro) is allowed.
1895
1906
  class BigQueryTableSpec
1896
1907
  include Google::Apis::Core::Hashable
1897
1908
 
@@ -2346,8 +2357,9 @@ module Google
2346
2357
  # @return [Google::Apis::SheetsV4::DataSourceFormula]
2347
2358
  attr_accessor :data_source_formula
2348
2359
 
2349
- # A data source table, allowing to import a static table of data from the
2350
- # DataSource into Sheets. This is also known as "Extract" in the Sheets editor.
2360
+ # A data source table, which allows the user to import a static table of data
2361
+ # from the DataSource into Sheets. This is also known as "Extract" in the Sheets
2362
+ # editor.
2351
2363
  # Corresponds to the JSON property `dataSourceTable`
2352
2364
  # @return [Google::Apis::SheetsV4::DataSourceTable]
2353
2365
  attr_accessor :data_source_table
@@ -2631,7 +2643,7 @@ module Google
2631
2643
  # @return [String]
2632
2644
  attr_accessor :aggregate_type
2633
2645
 
2634
- # An unique identifier that references to a data source column.
2646
+ # An unique identifier that references a data source column.
2635
2647
  # Corresponds to the JSON property `columnReference`
2636
2648
  # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
2637
2649
  attr_accessor :column_reference
@@ -3461,7 +3473,15 @@ module Google
3461
3473
  end
3462
3474
  end
3463
3475
 
3464
- # The data execution status.
3476
+ # The data execution status. A data execution is created to sync a data source
3477
+ # object with the latest data from a DataSource. It is usually scheduled to run
3478
+ # at background, you can check its state to tell if an execution completes There
3479
+ # are several scenarios where a data execution is triggered to run: * Adding a
3480
+ # data source creates an associated data source sheet as well as a data
3481
+ # execution to sync the data from the data source to the sheet. * Updating a
3482
+ # data source creates a data execution to refresh the associated data source
3483
+ # sheet similarly. * You can send refresh request to explicitly refresh one or
3484
+ # multiple data source objects.
3465
3485
  class DataExecutionStatus
3466
3486
  include Google::Apis::Core::Hashable
3467
3487
 
@@ -3592,20 +3612,22 @@ module Google
3592
3612
  # @return [Array<Google::Apis::SheetsV4::DataSourceColumn>]
3593
3613
  attr_accessor :calculated_columns
3594
3614
 
3595
- # The spreadsheet-scoped unique ID that identifies the data source.
3615
+ # The spreadsheet-scoped unique ID that identifies the data source. Example:
3616
+ # 1080547365.
3596
3617
  # Corresponds to the JSON property `dataSourceId`
3597
3618
  # @return [String]
3598
3619
  attr_accessor :data_source_id
3599
3620
 
3600
3621
  # The ID of the Sheet connected with the data source. The field cannot be
3601
- # changed once set. When creating a data source, an associated SheetType.
3602
- # DATA_SOURCE sheet is also created, if the field is not specified, the ID of
3603
- # the created sheet will be randomly generated.
3622
+ # changed once set. When creating a data source, an associated DATA_SOURCE sheet
3623
+ # is also created, if the field is not specified, the ID of the created sheet
3624
+ # will be randomly generated.
3604
3625
  # Corresponds to the JSON property `sheetId`
3605
3626
  # @return [Fixnum]
3606
3627
  attr_accessor :sheet_id
3607
3628
 
3608
- # The specification of a data source.
3629
+ # This specifies the details of the data source. For example, for BigQuery, this
3630
+ # specifies information about the BigQuery source.
3609
3631
  # Corresponds to the JSON property `spec`
3610
3632
  # @return [Google::Apis::SheetsV4::DataSourceSpec]
3611
3633
  attr_accessor :spec
@@ -3627,7 +3649,15 @@ module Google
3627
3649
  class DataSourceChartProperties
3628
3650
  include Google::Apis::Core::Hashable
3629
3651
 
3630
- # The data execution status.
3652
+ # The data execution status. A data execution is created to sync a data source
3653
+ # object with the latest data from a DataSource. It is usually scheduled to run
3654
+ # at background, you can check its state to tell if an execution completes There
3655
+ # are several scenarios where a data execution is triggered to run: * Adding a
3656
+ # data source creates an associated data source sheet as well as a data
3657
+ # execution to sync the data from the data source to the sheet. * Updating a
3658
+ # data source creates a data execution to refresh the associated data source
3659
+ # sheet similarly. * You can send refresh request to explicitly refresh one or
3660
+ # multiple data source objects.
3631
3661
  # Corresponds to the JSON property `dataExecutionStatus`
3632
3662
  # @return [Google::Apis::SheetsV4::DataExecutionStatus]
3633
3663
  attr_accessor :data_execution_status
@@ -3648,7 +3678,7 @@ module Google
3648
3678
  end
3649
3679
  end
3650
3680
 
3651
- # A data source column.
3681
+ # A column in a data source.
3652
3682
  class DataSourceColumn
3653
3683
  include Google::Apis::Core::Hashable
3654
3684
 
@@ -3657,7 +3687,7 @@ module Google
3657
3687
  # @return [String]
3658
3688
  attr_accessor :formula
3659
3689
 
3660
- # An unique identifier that references to a data source column.
3690
+ # An unique identifier that references a data source column.
3661
3691
  # Corresponds to the JSON property `reference`
3662
3692
  # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
3663
3693
  attr_accessor :reference
@@ -3673,7 +3703,7 @@ module Google
3673
3703
  end
3674
3704
  end
3675
3705
 
3676
- # An unique identifier that references to a data source column.
3706
+ # An unique identifier that references a data source column.
3677
3707
  class DataSourceColumnReference
3678
3708
  include Google::Apis::Core::Hashable
3679
3709
 
@@ -3696,7 +3726,15 @@ module Google
3696
3726
  class DataSourceFormula
3697
3727
  include Google::Apis::Core::Hashable
3698
3728
 
3699
- # The data execution status.
3729
+ # The data execution status. A data execution is created to sync a data source
3730
+ # object with the latest data from a DataSource. It is usually scheduled to run
3731
+ # at background, you can check its state to tell if an execution completes There
3732
+ # are several scenarios where a data execution is triggered to run: * Adding a
3733
+ # data source creates an associated data source sheet as well as a data
3734
+ # execution to sync the data from the data source to the sheet. * Updating a
3735
+ # data source creates a data execution to refresh the associated data source
3736
+ # sheet similarly. * You can send refresh request to explicitly refresh one or
3737
+ # multiple data source objects.
3700
3738
  # Corresponds to the JSON property `dataExecutionStatus`
3701
3739
  # @return [Google::Apis::SheetsV4::DataExecutionStatus]
3702
3740
  attr_accessor :data_execution_status
@@ -3721,7 +3759,7 @@ module Google
3721
3759
  class DataSourceObjectReference
3722
3760
  include Google::Apis::Core::Hashable
3723
3761
 
3724
- # References to a DataSourceChart.
3762
+ # References to a data source chart.
3725
3763
  # Corresponds to the JSON property `chartId`
3726
3764
  # @return [Fixnum]
3727
3765
  attr_accessor :chart_id
@@ -3741,7 +3779,7 @@ module Google
3741
3779
  # @return [Google::Apis::SheetsV4::GridCoordinate]
3742
3780
  attr_accessor :data_source_table_anchor_cell
3743
3781
 
3744
- # References to a SheetType.DATA_SOURCE sheet.
3782
+ # References to a DATA_SOURCE sheet.
3745
3783
  # Corresponds to the JSON property `sheetId`
3746
3784
  # @return [String]
3747
3785
  attr_accessor :sheet_id
@@ -3779,13 +3817,14 @@ module Google
3779
3817
  end
3780
3818
  end
3781
3819
 
3782
- # A parameter in a data source's query. The parameter allows user to pass in
3820
+ # A parameter in a data source's query. The parameter allows the user to pass in
3783
3821
  # values from the spreadsheet into a query.
3784
3822
  class DataSourceParameter
3785
3823
  include Google::Apis::Core::Hashable
3786
3824
 
3787
3825
  # Named parameter. Must be a legitimate identifier for the DataSource that
3788
- # supports it. For example, BigQuery identifier
3826
+ # supports it. For example, [BigQuery identifier](https://cloud.google.com/
3827
+ # bigquery/docs/reference/standard-sql/lexical#identifiers).
3789
3828
  # Corresponds to the JSON property `name`
3790
3829
  # @return [String]
3791
3830
  attr_accessor :name
@@ -3824,7 +3863,7 @@ module Google
3824
3863
  end
3825
3864
  end
3826
3865
 
3827
- # Schedule refreshes in a time interval everyday.
3866
+ # A schedule for data to refresh every day in a given time interval.
3828
3867
  class DataSourceRefreshDailySchedule
3829
3868
  include Google::Apis::Core::Hashable
3830
3869
 
@@ -3845,8 +3884,8 @@ module Google
3845
3884
  end
3846
3885
  end
3847
3886
 
3848
- # Schedule refreshes in a time interval on specified days in a month and repeats
3849
- # monthly.
3887
+ # A monthly schedule for data to refresh on specific days in the month in a
3888
+ # given time interval.
3850
3889
  class DataSourceRefreshMonthlySchedule
3851
3890
  include Google::Apis::Core::Hashable
3852
3891
 
@@ -3874,15 +3913,15 @@ module Google
3874
3913
  end
3875
3914
  end
3876
3915
 
3877
- # The data source refresh schedule. All data sources in the spreadsheet are
3878
- # scheduled to refresh in a future time interval. The time interval size
3879
- # defaults to the one defined in the Sheets editor. For example, if a daily
3880
- # schedule at start time of 8am is scheduled, and the time interval is 4 hours,
3881
- # the scheduled refresh will happen between 8am and 12pm every day.
3916
+ # Schedule for refreshing the data source. Data sources in the spreadsheet are
3917
+ # refreshed within a time interval. You can specify the start time by clicking
3918
+ # the Scheduled Refresh button in the Sheets editor, but the interval is fixed
3919
+ # at 4 hours. For example, if you specify a start time of 8am , the refresh will
3920
+ # take place between 8am and 12pm every day.
3882
3921
  class DataSourceRefreshSchedule
3883
3922
  include Google::Apis::Core::Hashable
3884
3923
 
3885
- # Schedule refreshes in a time interval everyday.
3924
+ # A schedule for data to refresh every day in a given time interval.
3886
3925
  # Corresponds to the JSON property `dailySchedule`
3887
3926
  # @return [Google::Apis::SheetsV4::DataSourceRefreshDailySchedule]
3888
3927
  attr_accessor :daily_schedule
@@ -3893,8 +3932,8 @@ module Google
3893
3932
  attr_accessor :enabled
3894
3933
  alias_method :enabled?, :enabled
3895
3934
 
3896
- # Schedule refreshes in a time interval on specified days in a month and repeats
3897
- # monthly.
3935
+ # A monthly schedule for data to refresh on specific days in the month in a
3936
+ # given time interval.
3898
3937
  # Corresponds to the JSON property `monthlySchedule`
3899
3938
  # @return [Google::Apis::SheetsV4::DataSourceRefreshMonthlySchedule]
3900
3939
  attr_accessor :monthly_schedule
@@ -3907,13 +3946,13 @@ module Google
3907
3946
  # @return [Google::Apis::SheetsV4::Interval]
3908
3947
  attr_accessor :next_run
3909
3948
 
3910
- # The scope of the refresh.
3949
+ # The scope of the refresh. Must be ALL_DATA_SOURCES.
3911
3950
  # Corresponds to the JSON property `refreshScope`
3912
3951
  # @return [String]
3913
3952
  attr_accessor :refresh_scope
3914
3953
 
3915
- # Schedule refreshes in a time interval on specified days in a week and repeats
3916
- # weekly.
3954
+ # A weekly schedule for data to refresh on specific days in a given time
3955
+ # interval.
3917
3956
  # Corresponds to the JSON property `weeklySchedule`
3918
3957
  # @return [Google::Apis::SheetsV4::DataSourceRefreshWeeklySchedule]
3919
3958
  attr_accessor :weekly_schedule
@@ -3933,8 +3972,8 @@ module Google
3933
3972
  end
3934
3973
  end
3935
3974
 
3936
- # Schedule refreshes in a time interval on specified days in a week and repeats
3937
- # weekly.
3975
+ # A weekly schedule for data to refresh on specific days in a given time
3976
+ # interval.
3938
3977
  class DataSourceRefreshWeeklySchedule
3939
3978
  include Google::Apis::Core::Hashable
3940
3979
 
@@ -3961,7 +4000,7 @@ module Google
3961
4000
  end
3962
4001
  end
3963
4002
 
3964
- # A range along a single dimension on a DataSource sheet.
4003
+ # A range along a single dimension on a DATA_SOURCE sheet.
3965
4004
  class DataSourceSheetDimensionRange
3966
4005
  include Google::Apis::Core::Hashable
3967
4006
 
@@ -3986,7 +4025,7 @@ module Google
3986
4025
  end
3987
4026
  end
3988
4027
 
3989
- # Additional properties of a SheetType.DATA_SOURCE sheet.
4028
+ # Additional properties of a DATA_SOURCE sheet.
3990
4029
  class DataSourceSheetProperties
3991
4030
  include Google::Apis::Core::Hashable
3992
4031
 
@@ -3995,12 +4034,20 @@ module Google
3995
4034
  # @return [Array<Google::Apis::SheetsV4::DataSourceColumn>]
3996
4035
  attr_accessor :columns
3997
4036
 
3998
- # The data execution status.
4037
+ # The data execution status. A data execution is created to sync a data source
4038
+ # object with the latest data from a DataSource. It is usually scheduled to run
4039
+ # at background, you can check its state to tell if an execution completes There
4040
+ # are several scenarios where a data execution is triggered to run: * Adding a
4041
+ # data source creates an associated data source sheet as well as a data
4042
+ # execution to sync the data from the data source to the sheet. * Updating a
4043
+ # data source creates a data execution to refresh the associated data source
4044
+ # sheet similarly. * You can send refresh request to explicitly refresh one or
4045
+ # multiple data source objects.
3999
4046
  # Corresponds to the JSON property `dataExecutionStatus`
4000
4047
  # @return [Google::Apis::SheetsV4::DataExecutionStatus]
4001
4048
  attr_accessor :data_execution_status
4002
4049
 
4003
- # ID of the DataSource the sheet connected with.
4050
+ # ID of the DataSource the sheet is connected to.
4004
4051
  # Corresponds to the JSON property `dataSourceId`
4005
4052
  # @return [String]
4006
4053
  attr_accessor :data_source_id
@@ -4017,16 +4064,17 @@ module Google
4017
4064
  end
4018
4065
  end
4019
4066
 
4020
- # The specification of a data source.
4067
+ # This specifies the details of the data source. For example, for BigQuery, this
4068
+ # specifies information about the BigQuery source.
4021
4069
  class DataSourceSpec
4022
4070
  include Google::Apis::Core::Hashable
4023
4071
 
4024
- # The specification of a BigQuery data source.
4072
+ # The specification of a BigQuery data source that's connected to a sheet.
4025
4073
  # Corresponds to the JSON property `bigQuery`
4026
4074
  # @return [Google::Apis::SheetsV4::BigQueryDataSourceSpec]
4027
4075
  attr_accessor :big_query
4028
4076
 
4029
- # The parameters of the data source.
4077
+ # The parameters of the data source, used when querying the data source.
4030
4078
  # Corresponds to the JSON property `parameters`
4031
4079
  # @return [Array<Google::Apis::SheetsV4::DataSourceParameter>]
4032
4080
  attr_accessor :parameters
@@ -4042,8 +4090,9 @@ module Google
4042
4090
  end
4043
4091
  end
4044
4092
 
4045
- # A data source table, allowing to import a static table of data from the
4046
- # DataSource into Sheets. This is also known as "Extract" in the Sheets editor.
4093
+ # A data source table, which allows the user to import a static table of data
4094
+ # from the DataSource into Sheets. This is also known as "Extract" in the Sheets
4095
+ # editor.
4047
4096
  class DataSourceTable
4048
4097
  include Google::Apis::Core::Hashable
4049
4098
 
@@ -4058,7 +4107,15 @@ module Google
4058
4107
  # @return [Array<Google::Apis::SheetsV4::DataSourceColumnReference>]
4059
4108
  attr_accessor :columns
4060
4109
 
4061
- # The data execution status.
4110
+ # The data execution status. A data execution is created to sync a data source
4111
+ # object with the latest data from a DataSource. It is usually scheduled to run
4112
+ # at background, you can check its state to tell if an execution completes There
4113
+ # are several scenarios where a data execution is triggered to run: * Adding a
4114
+ # data source creates an associated data source sheet as well as a data
4115
+ # execution to sync the data from the data source to the sheet. * Updating a
4116
+ # data source creates a data execution to refresh the associated data source
4117
+ # sheet similarly. * You can send refresh request to explicitly refresh one or
4118
+ # multiple data source objects.
4062
4119
  # Corresponds to the JSON property `dataExecutionStatus`
4063
4120
  # @return [Google::Apis::SheetsV4::DataExecutionStatus]
4064
4121
  attr_accessor :data_execution_status
@@ -4539,7 +4596,8 @@ module Google
4539
4596
  class DeleteSheetRequest
4540
4597
  include Google::Apis::Core::Hashable
4541
4598
 
4542
- # The ID of the sheet to delete.
4599
+ # The ID of the sheet to delete. If the sheet is of SheetType.DATA_SOURCE type,
4600
+ # the associated DataSource is also deleted.
4543
4601
  # Corresponds to the JSON property `sheetId`
4544
4602
  # @return [Fixnum]
4545
4603
  attr_accessor :sheet_id
@@ -4776,7 +4834,7 @@ module Google
4776
4834
  class DimensionProperties
4777
4835
  include Google::Apis::Core::Hashable
4778
4836
 
4779
- # An unique identifier that references to a data source column.
4837
+ # An unique identifier that references a data source column.
4780
4838
  # Corresponds to the JSON property `dataSourceColumnReference`
4781
4839
  # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
4782
4840
  attr_accessor :data_source_column_reference
@@ -4915,7 +4973,10 @@ module Google
4915
4973
  # @return [String]
4916
4974
  attr_accessor :new_sheet_name
4917
4975
 
4918
- # The sheet to duplicate.
4976
+ # The sheet to duplicate. If the source sheet is of DATA_SOURCE type, its
4977
+ # backing DataSource is also duplicated and associated with the new copy of the
4978
+ # sheet. No data execution is triggered, the grid data of this sheet is also
4979
+ # copied over but only available after the batch request completes.
4919
4980
  # Corresponds to the JSON property `sourceSheetId`
4920
4981
  # @return [Fixnum]
4921
4982
  attr_accessor :source_sheet_id
@@ -5269,7 +5330,7 @@ module Google
5269
5330
  # @return [Fixnum]
5270
5331
  attr_accessor :column_index
5271
5332
 
5272
- # An unique identifier that references to a data source column.
5333
+ # An unique identifier that references a data source column.
5273
5334
  # Corresponds to the JSON property `dataSourceColumnReference`
5274
5335
  # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
5275
5336
  attr_accessor :data_source_column_reference
@@ -5296,7 +5357,8 @@ module Google
5296
5357
  include Google::Apis::Core::Hashable
5297
5358
 
5298
5359
  # The criteria for showing/hiding values per column. The map's key is the column
5299
- # index, and the value is the criteria for that column.
5360
+ # index, and the value is the criteria for that column. This field is deprecated
5361
+ # in favor of filter_specs.
5300
5362
  # Corresponds to the JSON property `criteria`
5301
5363
  # @return [Hash<String,Google::Apis::SheetsV4::FilterCriteria>]
5302
5364
  attr_accessor :criteria
@@ -6816,7 +6878,7 @@ module Google
6816
6878
  # @return [Fixnum]
6817
6879
  attr_accessor :column_offset_index
6818
6880
 
6819
- # An unique identifier that references to a data source column.
6881
+ # An unique identifier that references a data source column.
6820
6882
  # Corresponds to the JSON property `dataSourceColumnReference`
6821
6883
  # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
6822
6884
  attr_accessor :data_source_column_reference
@@ -6842,7 +6904,7 @@ module Google
6842
6904
  class PivotGroup
6843
6905
  include Google::Apis::Core::Hashable
6844
6906
 
6845
- # An unique identifier that references to a data source column.
6907
+ # An unique identifier that references a data source column.
6846
6908
  # Corresponds to the JSON property `dataSourceColumnReference`
6847
6909
  # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
6848
6910
  attr_accessor :data_source_column_reference
@@ -7108,12 +7170,20 @@ module Google
7108
7170
  # column offset of the source range that you want to filter, and the value is
7109
7171
  # the criteria for that column. For example, if the source was `C10:E15`, a key
7110
7172
  # of `0` will have the filter for column `C`, whereas the key `1` is for column `
7111
- # D`.
7173
+ # D`. This field is deprecated in favor of filter_specs.
7112
7174
  # Corresponds to the JSON property `criteria`
7113
7175
  # @return [Hash<String,Google::Apis::SheetsV4::PivotFilterCriteria>]
7114
7176
  attr_accessor :criteria
7115
7177
 
7116
- # The data execution status.
7178
+ # The data execution status. A data execution is created to sync a data source
7179
+ # object with the latest data from a DataSource. It is usually scheduled to run
7180
+ # at background, you can check its state to tell if an execution completes There
7181
+ # are several scenarios where a data execution is triggered to run: * Adding a
7182
+ # data source creates an associated data source sheet as well as a data
7183
+ # execution to sync the data from the data source to the sheet. * Updating a
7184
+ # data source creates a data execution to refresh the associated data source
7185
+ # sheet similarly. * You can send refresh request to explicitly refresh one or
7186
+ # multiple data source objects.
7117
7187
  # Corresponds to the JSON property `dataExecutionStatus`
7118
7188
  # @return [Google::Apis::SheetsV4::DataExecutionStatus]
7119
7189
  attr_accessor :data_execution_status
@@ -7194,7 +7264,7 @@ module Google
7194
7264
  # @return [String]
7195
7265
  attr_accessor :calculated_display_type
7196
7266
 
7197
- # An unique identifier that references to a data source column.
7267
+ # An unique identifier that references a data source column.
7198
7268
  # Corresponds to the JSON property `dataSourceColumnReference`
7199
7269
  # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
7200
7270
  attr_accessor :data_source_column_reference
@@ -7358,7 +7428,15 @@ module Google
7358
7428
  class RefreshDataSourceObjectExecutionStatus
7359
7429
  include Google::Apis::Core::Hashable
7360
7430
 
7361
- # The data execution status.
7431
+ # The data execution status. A data execution is created to sync a data source
7432
+ # object with the latest data from a DataSource. It is usually scheduled to run
7433
+ # at background, you can check its state to tell if an execution completes There
7434
+ # are several scenarios where a data execution is triggered to run: * Adding a
7435
+ # data source creates an associated data source sheet as well as a data
7436
+ # execution to sync the data from the data source to the sheet. * Updating a
7437
+ # data source creates a data execution to refresh the associated data source
7438
+ # sheet similarly. * You can send refresh request to explicitly refresh one or
7439
+ # multiple data source objects.
7362
7440
  # Corresponds to the JSON property `dataExecutionStatus`
7363
7441
  # @return [Google::Apis::SheetsV4::DataExecutionStatus]
7364
7442
  attr_accessor :data_execution_status
@@ -7380,8 +7458,8 @@ module Google
7380
7458
  end
7381
7459
 
7382
7460
  # Refreshes one or multiple data source objects in the spreadsheet by the
7383
- # specified references. The request requires an additional bigquery.readonly
7384
- # OAuth scope. If there're multiple refresh requests referencing the same data
7461
+ # specified references. The request requires an additional `bigquery.readonly`
7462
+ # OAuth scope. If there are multiple refresh requests referencing the same data
7385
7463
  # source objects in one batch, only the last refresh request is processed, and
7386
7464
  # all those requests will have the same response accordingly.
7387
7465
  class RefreshDataSourceRequest
@@ -7519,9 +7597,9 @@ module Google
7519
7597
  attr_accessor :add_conditional_format_rule
7520
7598
 
7521
7599
  # Adds a data source. After the data source is added successfully, an associated
7522
- # DataSource sheet is created and an execution is triggered to refresh the sheet
7523
- # to read data from the data source. The request requires an additional bigquery.
7524
- # readonly OAuth scope.
7600
+ # DATA_SOURCE sheet is created and an execution is triggered to refresh the
7601
+ # sheet to read data from the data source. The request requires an additional `
7602
+ # bigquery.readonly` OAuth scope.
7525
7603
  # Corresponds to the JSON property `addDataSource`
7526
7604
  # @return [Google::Apis::SheetsV4::AddDataSourceRequest]
7527
7605
  attr_accessor :add_data_source
@@ -7736,8 +7814,8 @@ module Google
7736
7814
  attr_accessor :randomize_range
7737
7815
 
7738
7816
  # Refreshes one or multiple data source objects in the spreadsheet by the
7739
- # specified references. The request requires an additional bigquery.readonly
7740
- # OAuth scope. If there're multiple refresh requests referencing the same data
7817
+ # specified references. The request requires an additional `bigquery.readonly`
7818
+ # OAuth scope. If there are multiple refresh requests referencing the same data
7741
7819
  # source objects in one batch, only the last refresh request is processed, and
7742
7820
  # all those requests will have the same response accordingly.
7743
7821
  # Corresponds to the JSON property `refreshDataSource`
@@ -7826,9 +7904,9 @@ module Google
7826
7904
  attr_accessor :update_conditional_format_rule
7827
7905
 
7828
7906
  # Updates a data source. After the data source is updated successfully, an
7829
- # execution is triggered to refresh the associated DataSource sheet to read data
7830
- # from the updated data source. The request requires an additional bigquery.
7831
- # readonly OAuth scope.
7907
+ # execution is triggered to refresh the associated DATA_SOURCE sheet to read
7908
+ # data from the updated data source. The request requires an additional `
7909
+ # bigquery.readonly` OAuth scope.
7832
7910
  # Corresponds to the JSON property `updateDataSource`
7833
7911
  # @return [Google::Apis::SheetsV4::UpdateDataSourceRequest]
7834
7912
  attr_accessor :update_data_source
@@ -8141,7 +8219,9 @@ module Google
8141
8219
  include Google::Apis::Core::Hashable
8142
8220
 
8143
8221
  # The aggregation type for key and baseline chart data in scorecard chart. This
8144
- # field is optional.
8222
+ # field is not supported for data source charts. Use the ChartData.aggregateType
8223
+ # field of the key_value_data or baseline_value_data instead for data source
8224
+ # charts. This field is optional.
8145
8225
  # Corresponds to the JSON property `aggregateType`
8146
8226
  # @return [String]
8147
8227
  attr_accessor :aggregate_type
@@ -8332,7 +8412,9 @@ module Google
8332
8412
  # example, if this is representing `Sheet1`, and the spreadsheet was requested
8333
8413
  # with ranges `Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will
8334
8414
  # have a startRow/startColumn of `0`, while the second one will have `startRow
8335
- # 14` (zero-based row 15), and `startColumn 3` (zero-based column D).
8415
+ # 14` (zero-based row 15), and `startColumn 3` (zero-based column D). For a
8416
+ # DATA_SOURCE sheet, you can not request a specific range, the GridData contains
8417
+ # all the values.
8336
8418
  # Corresponds to the JSON property `data`
8337
8419
  # @return [Array<Google::Apis::SheetsV4::GridData>]
8338
8420
  attr_accessor :data
@@ -8399,7 +8481,7 @@ module Google
8399
8481
  class SheetProperties
8400
8482
  include Google::Apis::Core::Hashable
8401
8483
 
8402
- # Additional properties of a SheetType.DATA_SOURCE sheet.
8484
+ # Additional properties of a DATA_SOURCE sheet.
8403
8485
  # Corresponds to the JSON property `dataSourceSheetProperties`
8404
8486
  # @return [Google::Apis::SheetsV4::DataSourceSheetProperties]
8405
8487
  attr_accessor :data_source_sheet_properties
@@ -8775,7 +8857,7 @@ module Google
8775
8857
  # @return [Google::Apis::SheetsV4::ColorStyle]
8776
8858
  attr_accessor :background_color_style
8777
8859
 
8778
- # An unique identifier that references to a data source column.
8860
+ # An unique identifier that references a data source column.
8779
8861
  # Corresponds to the JSON property `dataSourceColumnReference`
8780
8862
  # @return [Google::Apis::SheetsV4::DataSourceColumnReference]
8781
8863
  attr_accessor :data_source_column_reference
@@ -10075,9 +10157,9 @@ module Google
10075
10157
  end
10076
10158
 
10077
10159
  # Updates a data source. After the data source is updated successfully, an
10078
- # execution is triggered to refresh the associated DataSource sheet to read data
10079
- # from the updated data source. The request requires an additional bigquery.
10080
- # readonly OAuth scope.
10160
+ # execution is triggered to refresh the associated DATA_SOURCE sheet to read
10161
+ # data from the updated data source. The request requires an additional `
10162
+ # bigquery.readonly` OAuth scope.
10081
10163
  class UpdateDataSourceRequest
10082
10164
  include Google::Apis::Core::Hashable
10083
10165
 
@@ -10087,7 +10169,7 @@ module Google
10087
10169
  attr_accessor :data_source
10088
10170
 
10089
10171
  # The fields that should be updated. At least one field must be specified. The
10090
- # root 'dataSource' is implied and should not be specified. A single `"*"` can
10172
+ # root `dataSource` is implied and should not be specified. A single `"*"` can
10091
10173
  # be used as short-hand for listing every field.
10092
10174
  # Corresponds to the JSON property `fields`
10093
10175
  # @return [String]
@@ -10108,7 +10190,15 @@ module Google
10108
10190
  class UpdateDataSourceResponse
10109
10191
  include Google::Apis::Core::Hashable
10110
10192
 
10111
- # The data execution status.
10193
+ # The data execution status. A data execution is created to sync a data source
10194
+ # object with the latest data from a DataSource. It is usually scheduled to run
10195
+ # at background, you can check its state to tell if an execution completes There
10196
+ # are several scenarios where a data execution is triggered to run: * Adding a
10197
+ # data source creates an associated data source sheet as well as a data
10198
+ # execution to sync the data from the data source to the sheet. * Updating a
10199
+ # data source creates a data execution to refresh the associated data source
10200
+ # sheet similarly. * You can send refresh request to explicitly refresh one or
10201
+ # multiple data source objects.
10112
10202
  # Corresponds to the JSON property `dataExecutionStatus`
10113
10203
  # @return [Google::Apis::SheetsV4::DataExecutionStatus]
10114
10204
  attr_accessor :data_execution_status
@@ -10225,7 +10315,7 @@ module Google
10225
10315
  class UpdateDimensionPropertiesRequest
10226
10316
  include Google::Apis::Core::Hashable
10227
10317
 
10228
- # A range along a single dimension on a DataSource sheet.
10318
+ # A range along a single dimension on a DATA_SOURCE sheet.
10229
10319
  # Corresponds to the JSON property `dataSourceSheetRange`
10230
10320
  # @return [Google::Apis::SheetsV4::DataSourceSheetDimensionRange]
10231
10321
  attr_accessor :data_source_sheet_range