google-api-client 0.51.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +23 -45
  3. data/CHANGELOG.md +100 -0
  4. data/README.md +2 -2
  5. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  6. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  7. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  8. data/generated/google/apis/admin_directory_v1.rb +2 -2
  9. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  10. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  11. data/generated/google/apis/admin_directory_v1/service.rb +323 -183
  12. data/generated/google/apis/admin_reports_v1.rb +2 -2
  13. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  14. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  15. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  16. data/generated/google/apis/analytics_v3/service.rb +1 -1
  17. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  18. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +2 -2
  19. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +5 -12
  20. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  21. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
  22. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  23. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  24. data/generated/google/apis/apigateway_v1beta/classes.rb +3 -9
  25. data/generated/google/apis/apigateway_v1beta/representations.rb +0 -1
  26. data/generated/google/apis/apigee_v1.rb +1 -1
  27. data/generated/google/apis/apigee_v1/classes.rb +71 -0
  28. data/generated/google/apis/apigee_v1/representations.rb +42 -0
  29. data/generated/google/apis/apigee_v1/service.rb +206 -0
  30. data/generated/google/apis/appengine_v1.rb +1 -1
  31. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  32. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  33. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  34. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -2
  35. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  36. data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
  37. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +2 -2
  38. data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
  39. data/generated/google/apis/cloudasset_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  41. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  43. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  45. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  46. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  47. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  48. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  49. data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
  50. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
  54. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  55. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  57. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  58. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  59. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  60. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
  61. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
  62. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  63. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
  64. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
  65. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  66. data/generated/google/apis/composer_v1beta1.rb +1 -1
  67. data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
  68. data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
  69. data/generated/google/apis/compute_alpha.rb +1 -1
  70. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  71. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  72. data/generated/google/apis/compute_alpha/service.rb +291 -15
  73. data/generated/google/apis/compute_beta.rb +1 -1
  74. data/generated/google/apis/compute_beta/classes.rb +926 -283
  75. data/generated/google/apis/compute_beta/representations.rb +221 -18
  76. data/generated/google/apis/compute_beta/service.rb +24 -15
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +419 -158
  79. data/generated/google/apis/compute_v1/representations.rb +55 -0
  80. data/generated/google/apis/compute_v1/service.rb +9 -7
  81. data/generated/google/apis/container_v1.rb +1 -1
  82. data/generated/google/apis/container_v1/classes.rb +48 -9
  83. data/generated/google/apis/container_v1/representations.rb +17 -0
  84. data/generated/google/apis/container_v1/service.rb +4 -2
  85. data/generated/google/apis/container_v1beta1.rb +1 -1
  86. data/generated/google/apis/container_v1beta1/classes.rb +24 -13
  87. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  88. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  89. data/generated/google/apis/content_v2_1.rb +1 -1
  90. data/generated/google/apis/content_v2_1/classes.rb +16 -7
  91. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  92. data/generated/google/apis/datamigration_v1beta1.rb +1 -1
  93. data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
  94. data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
  95. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  96. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  97. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  98. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  99. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  100. data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
  101. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
  103. data/generated/google/apis/dialogflow_v2.rb +1 -1
  104. data/generated/google/apis/dialogflow_v2/classes.rb +692 -0
  105. data/generated/google/apis/dialogflow_v2/representations.rb +326 -0
  106. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +692 -0
  108. data/generated/google/apis/dialogflow_v2beta1/representations.rb +326 -0
  109. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  110. data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
  111. data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
  112. data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
  113. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  114. data/generated/google/apis/dialogflow_v3beta1/classes.rb +784 -0
  115. data/generated/google/apis/dialogflow_v3beta1/representations.rb +360 -0
  116. data/generated/google/apis/dialogflow_v3beta1/service.rb +173 -0
  117. data/generated/google/apis/dlp_v2.rb +1 -1
  118. data/generated/google/apis/dlp_v2/service.rb +294 -1
  119. data/generated/google/apis/dns_v1.rb +1 -1
  120. data/generated/google/apis/dns_v1/classes.rb +65 -0
  121. data/generated/google/apis/dns_v1/representations.rb +32 -0
  122. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  123. data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
  124. data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
  125. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  126. data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
  127. data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
  128. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  129. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  130. data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
  131. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  132. data/generated/google/apis/file_v1.rb +1 -1
  133. data/generated/google/apis/file_v1/classes.rb +61 -0
  134. data/generated/google/apis/file_v1/representations.rb +19 -0
  135. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  136. data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
  137. data/generated/google/apis/healthcare_v1.rb +1 -1
  138. data/generated/google/apis/healthcare_v1/classes.rb +0 -6
  139. data/generated/google/apis/healthcare_v1/representations.rb +0 -1
  140. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  141. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  142. data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
  143. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
  144. data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
  145. data/generated/google/apis/iap_v1.rb +1 -1
  146. data/generated/google/apis/iap_v1/classes.rb +0 -6
  147. data/generated/google/apis/iap_v1/representations.rb +0 -1
  148. data/generated/google/apis/iap_v1beta1.rb +1 -1
  149. data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
  150. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  151. data/generated/google/apis/metastore_v1beta.rb +35 -0
  152. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  153. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  154. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  155. data/generated/google/apis/ml_v1.rb +1 -1
  156. data/generated/google/apis/ml_v1/classes.rb +51 -18
  157. data/generated/google/apis/ml_v1/representations.rb +16 -0
  158. data/generated/google/apis/monitoring_v3.rb +1 -1
  159. data/generated/google/apis/monitoring_v3/classes.rb +8 -4
  160. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  161. data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
  162. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  163. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
  164. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
  165. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  166. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  167. data/generated/google/apis/redis_v1.rb +1 -1
  168. data/generated/google/apis/redis_v1/classes.rb +2 -2
  169. data/generated/google/apis/redis_v1beta1.rb +1 -1
  170. data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
  171. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  172. data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
  173. data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
  174. data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
  175. data/generated/google/apis/searchconsole_v1.rb +1 -1
  176. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  177. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  178. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  179. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
  180. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  181. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  182. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  183. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  184. data/generated/google/apis/servicedirectory_v1.rb +35 -0
  185. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  186. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  187. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  188. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  189. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
  190. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  191. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  192. data/generated/google/apis/serviceusage_v1.rb +1 -1
  193. data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
  194. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  195. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
  196. data/generated/google/apis/slides_v1.rb +1 -1
  197. data/generated/google/apis/slides_v1/classes.rb +9 -3
  198. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  199. data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
  200. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
  201. data/generated/google/apis/testing_v1.rb +1 -1
  202. data/generated/google/apis/testing_v1/classes.rb +1 -1
  203. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  204. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  205. data/generated/google/apis/transcoder_v1beta1.rb +1 -1
  206. data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
  207. data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/translate_v3.rb +1 -1
  209. data/generated/google/apis/translate_v3/classes.rb +1 -1
  210. data/generated/google/apis/translate_v3beta1.rb +1 -1
  211. data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
  212. data/generated/google/apis/workflows_v1beta.rb +1 -1
  213. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  214. data/lib/google/apis/version.rb +1 -1
  215. metadata +15 -7
  216. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  217. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  218. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201112'
28
+ REVISION = '20201207'
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'
@@ -961,6 +961,33 @@ module Google
961
961
  end
962
962
  end
963
963
 
964
+ # Represents the config of disk options.
965
+ class GoogleCloudMlV1DiskConfig
966
+ include Google::Apis::Core::Hashable
967
+
968
+ # Size in GB of the boot disk (default is 100GB).
969
+ # Corresponds to the JSON property `bootDiskSizeGb`
970
+ # @return [Fixnum]
971
+ attr_accessor :boot_disk_size_gb
972
+
973
+ # Type of the boot disk (default is "pd-standard"). Valid values: "pd-ssd" (
974
+ # Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk
975
+ # Drive).
976
+ # Corresponds to the JSON property `bootDiskType`
977
+ # @return [String]
978
+ attr_accessor :boot_disk_type
979
+
980
+ def initialize(**args)
981
+ update!(**args)
982
+ end
983
+
984
+ # Update properties of this object
985
+ def update!(**args)
986
+ @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
987
+ @boot_disk_type = args[:boot_disk_type] if args.key?(:boot_disk_type)
988
+ end
989
+ end
990
+
964
991
  # Represents a custom encryption key configuration that can be applied to a
965
992
  # resource.
966
993
  class GoogleCloudMlV1EncryptionConfig
@@ -2135,6 +2162,11 @@ module Google
2135
2162
  # @return [Array<String>]
2136
2163
  attr_accessor :container_command
2137
2164
 
2165
+ # Represents the config of disk options.
2166
+ # Corresponds to the JSON property `diskConfig`
2167
+ # @return [Google::Apis::MlV1::GoogleCloudMlV1DiskConfig]
2168
+ attr_accessor :disk_config
2169
+
2138
2170
  # The Docker image to run on the replica. This image must be in Container
2139
2171
  # Registry. Learn more about [configuring custom containers](/ai-platform/
2140
2172
  # training/docs/distributed-training-containers).
@@ -2166,6 +2198,7 @@ module Google
2166
2198
  @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
2167
2199
  @container_args = args[:container_args] if args.key?(:container_args)
2168
2200
  @container_command = args[:container_command] if args.key?(:container_command)
2201
+ @disk_config = args[:disk_config] if args.key?(:disk_config)
2169
2202
  @image_uri = args[:image_uri] if args.key?(:image_uri)
2170
2203
  @tpu_tf_version = args[:tpu_tf_version] if args.key?(:tpu_tf_version)
2171
2204
  end
@@ -2226,14 +2259,14 @@ module Google
2226
2259
  # and port to check that the container is healthy. Read more about [health
2227
2260
  # checks](/ai-platform/prediction/docs/custom-container-requirements#checks).
2228
2261
  # For example, if you set this field to `/bar`, then AI Platform Prediction
2229
- # intermittently sends a GET request to the following URL on the container:
2230
- # localhost:PORT/bar PORT refers to the first value of Version.container.ports.
2231
- # If you don't specify this field, it defaults to the following value: /v1/
2232
- # models/MODEL/versions/VERSION The placeholders in this value are replaced as
2233
- # follows: * MODEL: The name of the parent Model. This does not include the "
2234
- # projects/PROJECT_ID/models/" prefix that the API returns in output; it is the
2235
- # bare model name, as provided to projects.models.create. * VERSION: The name of
2236
- # the model version. This does not include the "projects/PROJECT_ID/models/MODEL/
2262
+ # intermittently sends a GET request to the `/bar` path on the port of your
2263
+ # container specified by the first value of Version.container.ports. If you don'
2264
+ # t specify this field, it defaults to the following value: /v1/models/ MODEL/
2265
+ # versions/VERSION The placeholders in this value are replaced as follows: *
2266
+ # MODEL: The name of the parent Model. This does not include the "projects/
2267
+ # PROJECT_ID/models/" prefix that the API returns in output; it is the bare
2268
+ # model name, as provided to projects.models.create. * VERSION: The name of the
2269
+ # model version. This does not include the "projects/PROJECT_ID /models/MODEL/
2237
2270
  # versions/" prefix that the API returns in output; it is the bare version name,
2238
2271
  # as provided to projects.models.versions.create.
2239
2272
  # Corresponds to the JSON property `health`
@@ -2245,16 +2278,16 @@ module Google
2245
2278
  # container's IP address and port. AI Platform Prediction then returns the
2246
2279
  # container's response in the API response. For example, if you set this field
2247
2280
  # to `/foo`, then when AI Platform Prediction receives a prediction request, it
2248
- # forwards the request body in a POST request to the following URL on the
2249
- # container: localhost:PORT/foo PORT refers to the first value of Version.
2250
- # container.ports. If you don't specify this field, it defaults to the following
2251
- # value: /v1/models/MODEL/versions/VERSION:predict The placeholders in this
2252
- # value are replaced as follows: * MODEL: The name of the parent Model. This
2253
- # does not include the "projects/PROJECT_ID/models/" prefix that the API returns
2254
- # in output; it is the bare model name, as provided to projects.models.create. *
2255
- # VERSION: The name of the model version. This does not include the "projects/
2256
- # PROJECT_ID/models/MODEL/versions/" prefix that the API returns in output; it
2257
- # is the bare version name, as provided to projects.models.versions.create.
2281
+ # forwards the request body in a POST request to the `/foo` path on the port of
2282
+ # your container specified by the first value of Version.container.ports. If you
2283
+ # don't specify this field, it defaults to the following value: /v1/models/MODEL/
2284
+ # versions/VERSION:predict The placeholders in this value are replaced as
2285
+ # follows: * MODEL: The name of the parent Model. This does not include the "
2286
+ # projects/PROJECT_ID/models/" prefix that the API returns in output; it is the
2287
+ # bare model name, as provided to projects.models.create. * VERSION: The name of
2288
+ # the model version. This does not include the "projects/PROJECT_ID/models/MODEL/
2289
+ # versions/" prefix that the API returns in output; it is the bare version name,
2290
+ # as provided to projects.models.versions.create.
2258
2291
  # Corresponds to the JSON property `predict`
2259
2292
  # @return [String]
2260
2293
  attr_accessor :predict
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class GoogleCloudMlV1DiskConfig
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class GoogleCloudMlV1EncryptionConfig
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -786,6 +792,14 @@ module Google
786
792
  end
787
793
  end
788
794
 
795
+ class GoogleCloudMlV1DiskConfig
796
+ # @private
797
+ class Representation < Google::Apis::Core::JsonRepresentation
798
+ property :boot_disk_size_gb, as: 'bootDiskSizeGb'
799
+ property :boot_disk_type, as: 'bootDiskType'
800
+ end
801
+ end
802
+
789
803
  class GoogleCloudMlV1EncryptionConfig
790
804
  # @private
791
805
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1081,6 +1095,8 @@ module Google
1081
1095
 
1082
1096
  collection :container_args, as: 'containerArgs'
1083
1097
  collection :container_command, as: 'containerCommand'
1098
+ property :disk_config, as: 'diskConfig', class: Google::Apis::MlV1::GoogleCloudMlV1DiskConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1DiskConfig::Representation
1099
+
1084
1100
  property :image_uri, as: 'imageUri'
1085
1101
  property :tpu_tf_version, as: 'tpuTfVersion'
1086
1102
  end
@@ -29,7 +29,7 @@ module Google
29
29
  # @see https://cloud.google.com/monitoring/api/
30
30
  module MonitoringV3
31
31
  VERSION = 'V3'
32
- REVISION = '20201116'
32
+ REVISION = '20201208'
33
33
 
34
34
  # View and manage your data across Google Cloud Platform services
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -426,7 +426,8 @@ module Google
426
426
  end
427
427
 
428
428
  # Istio service scoped to a single Kubernetes cluster. Learn more at http://
429
- # istio.io.
429
+ # istio.io. Clusters running OSS Istio will have their services ingested as this
430
+ # type.
430
431
  class ClusterIstio
431
432
  include Google::Apis::Core::Hashable
432
433
 
@@ -2088,7 +2089,8 @@ module Google
2088
2089
  end
2089
2090
  end
2090
2091
 
2091
- # Istio service scoped to an Istio mesh
2092
+ # Istio service scoped to an Istio mesh. Anthos clusters running ASM < 1.6.8
2093
+ # will have their services ingested as this type.
2092
2094
  class MeshIstio
2093
2095
  include Google::Apis::Core::Hashable
2094
2096
 
@@ -3235,7 +3237,8 @@ module Google
3235
3237
  attr_accessor :cloud_endpoints
3236
3238
 
3237
3239
  # Istio service scoped to a single Kubernetes cluster. Learn more at http://
3238
- # istio.io.
3240
+ # istio.io. Clusters running OSS Istio will have their services ingested as this
3241
+ # type.
3239
3242
  # Corresponds to the JSON property `clusterIstio`
3240
3243
  # @return [Google::Apis::MonitoringV3::ClusterIstio]
3241
3244
  attr_accessor :cluster_istio
@@ -3251,7 +3254,8 @@ module Google
3251
3254
  # @return [String]
3252
3255
  attr_accessor :display_name
3253
3256
 
3254
- # Istio service scoped to an Istio mesh
3257
+ # Istio service scoped to an Istio mesh. Anthos clusters running ASM < 1.6.8
3258
+ # will have their services ingested as this type.
3255
3259
  # Corresponds to the JSON property `meshIstio`
3256
3260
  # @return [Google::Apis::MonitoringV3::MeshIstio]
3257
3261
  attr_accessor :mesh_istio
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/
28
28
  module PrivatecaV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20201112'
30
+ REVISION = '20201203'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1750,7 +1750,8 @@ module Google
1750
1750
  # @return [String]
1751
1751
  attr_accessor :key
1752
1752
 
1753
- # Required. The type of public key.
1753
+ # Optional. The type of public key. If specified, it must match the public key
1754
+ # used for the`key` field.
1754
1755
  # Corresponds to the JSON property `type`
1755
1756
  # @return [String]
1756
1757
  attr_accessor :type
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/spectrum-access-system/
26
26
  module ProdTtSasportalV1alpha1
27
27
  VERSION = 'V1alpha1'
28
- REVISION = '20201013'
28
+ REVISION = '20201210'
29
29
 
30
30
  # View your email address
31
31
  AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
@@ -89,6 +89,31 @@ module Google
89
89
  end
90
90
  end
91
91
 
92
+ # The channel with score.
93
+ class SasPortalChannelWithScore
94
+ include Google::Apis::Core::Hashable
95
+
96
+ # Frequency range from `low_frequency` to `high_frequency`.
97
+ # Corresponds to the JSON property `frequencyRange`
98
+ # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalFrequencyRange]
99
+ attr_accessor :frequency_range
100
+
101
+ # The channel score, normalized to be in [0,1].
102
+ # Corresponds to the JSON property `score`
103
+ # @return [Float]
104
+ attr_accessor :score
105
+
106
+ def initialize(**args)
107
+ update!(**args)
108
+ end
109
+
110
+ # Update properties of this object
111
+ def update!(**args)
112
+ @frequency_range = args[:frequency_range] if args.key?(:frequency_range)
113
+ @score = args[:score] if args.key?(:score)
114
+ end
115
+ end
116
+
92
117
  # Request for CreateSignedDevice method.
93
118
  class SasPortalCreateSignedDeviceRequest
94
119
  include Google::Apis::Core::Hashable
@@ -187,6 +212,16 @@ module Google
187
212
  # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceConfig]
188
213
  attr_accessor :preloaded_config
189
214
 
215
+ # Output only. Recommended channels.
216
+ # Corresponds to the JSON property `recommendedChannels`
217
+ # @return [Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalChannelWithScore>]
218
+ attr_accessor :recommended_channels
219
+
220
+ # Output only. Recommended power for the device.
221
+ # Corresponds to the JSON property `recommendedPowerDbmPerMhz`
222
+ # @return [Float]
223
+ attr_accessor :recommended_power_dbm_per_mhz
224
+
190
225
  # A serial number assigned to the device by the device manufacturer.
191
226
  # Corresponds to the JSON property `serialNumber`
192
227
  # @return [String]
@@ -210,6 +245,8 @@ module Google
210
245
  @grants = args[:grants] if args.key?(:grants)
211
246
  @name = args[:name] if args.key?(:name)
212
247
  @preloaded_config = args[:preloaded_config] if args.key?(:preloaded_config)
248
+ @recommended_channels = args[:recommended_channels] if args.key?(:recommended_channels)
249
+ @recommended_power_dbm_per_mhz = args[:recommended_power_dbm_per_mhz] if args.key?(:recommended_power_dbm_per_mhz)
213
250
  @serial_number = args[:serial_number] if args.key?(:serial_number)
214
251
  @state = args[:state] if args.key?(:state)
215
252
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class SasPortalChannelWithScore
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class SasPortalCreateSignedDeviceRequest
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -255,6 +261,15 @@ module Google
255
261
  end
256
262
  end
257
263
 
264
+ class SasPortalChannelWithScore
265
+ # @private
266
+ class Representation < Google::Apis::Core::JsonRepresentation
267
+ property :frequency_range, as: 'frequencyRange', class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalFrequencyRange, decorator: Google::Apis::ProdTtSasportalV1alpha1::SasPortalFrequencyRange::Representation
268
+
269
+ property :score, as: 'score'
270
+ end
271
+ end
272
+
258
273
  class SasPortalCreateSignedDeviceRequest
259
274
  # @private
260
275
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -286,6 +301,9 @@ module Google
286
301
  property :name, as: 'name'
287
302
  property :preloaded_config, as: 'preloadedConfig', class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceConfig, decorator: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceConfig::Representation
288
303
 
304
+ collection :recommended_channels, as: 'recommendedChannels', class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalChannelWithScore, decorator: Google::Apis::ProdTtSasportalV1alpha1::SasPortalChannelWithScore::Representation
305
+
306
+ property :recommended_power_dbm_per_mhz, as: 'recommendedPowerDbmPerMhz'
289
307
  property :serial_number, as: 'serialNumber'
290
308
  property :state, as: 'state'
291
309
  end
@@ -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 = '20201113'
28
+ REVISION = '20201204'
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'
@@ -47,6 +47,323 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
+ # Gets the requested insight. Requires the recommender.*.get IAM permission for
51
+ # the specified insight type.
52
+ # @param [String] name
53
+ # Required. Name of the insight.
54
+ # @param [String] fields
55
+ # Selector specifying which fields to include in a partial response.
56
+ # @param [String] quota_user
57
+ # Available to use for quota purposes for server-side applications. Can be any
58
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
59
+ # @param [Google::Apis::RequestOptions] options
60
+ # Request-specific options
61
+ #
62
+ # @yield [result, err] Result & error if block supplied
63
+ # @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Insight] parsed result object
64
+ # @yieldparam err [StandardError] error object if request failed
65
+ #
66
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Insight]
67
+ #
68
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
69
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
70
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
71
+ def get_billing_account_location_insight_type_insight(name, fields: nil, quota_user: nil, options: nil, &block)
72
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
73
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Insight::Representation
74
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Insight
75
+ command.params['name'] = name unless name.nil?
76
+ command.query['fields'] = fields unless fields.nil?
77
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
78
+ execute_or_queue_command(command, &block)
79
+ end
80
+
81
+ # Lists insights for a Cloud project. Requires the recommender.*.list IAM
82
+ # permission for the specified insight type.
83
+ # @param [String] parent
84
+ # Required. The container resource on which to execute the request. Acceptable
85
+ # formats: 1. "projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[
86
+ # INSIGHT_TYPE_ID]", LOCATION here refers to GCP Locations: https://cloud.google.
87
+ # com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https:/
88
+ # /cloud.google.com/recommender/docs/insights/insight-types.
89
+ # @param [String] filter
90
+ # Optional. Filter expression to restrict the insights returned. Supported
91
+ # filter fields: state Eg: `state:"DISMISSED" or state:"ACTIVE"
92
+ # @param [Fixnum] page_size
93
+ # Optional. The maximum number of results to return from this request. Non-
94
+ # positive values are ignored. If not specified, the server will determine the
95
+ # number of results to return.
96
+ # @param [String] page_token
97
+ # Optional. If present, retrieves the next batch of results from the preceding
98
+ # call to this method. `page_token` must be the value of `next_page_token` from
99
+ # the previous response. The values of other method parameters must be identical
100
+ # to those in the previous call.
101
+ # @param [String] fields
102
+ # Selector specifying which fields to include in a partial response.
103
+ # @param [String] quota_user
104
+ # Available to use for quota purposes for server-side applications. Can be any
105
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
106
+ # @param [Google::Apis::RequestOptions] options
107
+ # Request-specific options
108
+ #
109
+ # @yield [result, err] Result & error if block supplied
110
+ # @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListInsightsResponse] parsed result object
111
+ # @yieldparam err [StandardError] error object if request failed
112
+ #
113
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListInsightsResponse]
114
+ #
115
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
116
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
117
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
118
+ def list_billing_account_location_insight_type_insights(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
119
+ command = make_simple_command(:get, 'v1beta1/{+parent}/insights', options)
120
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListInsightsResponse::Representation
121
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListInsightsResponse
122
+ command.params['parent'] = parent unless parent.nil?
123
+ command.query['filter'] = filter unless filter.nil?
124
+ command.query['pageSize'] = page_size unless page_size.nil?
125
+ command.query['pageToken'] = page_token unless page_token.nil?
126
+ command.query['fields'] = fields unless fields.nil?
127
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
128
+ execute_or_queue_command(command, &block)
129
+ end
130
+
131
+ # Marks the Insight State as Accepted. Users can use this method to indicate to
132
+ # the Recommender API that they have applied some action based on the insight.
133
+ # This stops the insight content from being updated. MarkInsightAccepted can be
134
+ # applied to insights in ACTIVE state. Requires the recommender.*.update IAM
135
+ # permission for the specified insight.
136
+ # @param [String] name
137
+ # Required. Name of the insight.
138
+ # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest] google_cloud_recommender_v1beta1_mark_insight_accepted_request_object
139
+ # @param [String] fields
140
+ # Selector specifying which fields to include in a partial response.
141
+ # @param [String] quota_user
142
+ # Available to use for quota purposes for server-side applications. Can be any
143
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
144
+ # @param [Google::Apis::RequestOptions] options
145
+ # Request-specific options
146
+ #
147
+ # @yield [result, err] Result & error if block supplied
148
+ # @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Insight] parsed result object
149
+ # @yieldparam err [StandardError] error object if request failed
150
+ #
151
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Insight]
152
+ #
153
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
154
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
155
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
156
+ def mark_billing_account_location_insight_type_insight_accepted(name, google_cloud_recommender_v1beta1_mark_insight_accepted_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
157
+ command = make_simple_command(:post, 'v1beta1/{+name}:markAccepted', options)
158
+ command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest::Representation
159
+ command.request_object = google_cloud_recommender_v1beta1_mark_insight_accepted_request_object
160
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Insight::Representation
161
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Insight
162
+ command.params['name'] = name unless name.nil?
163
+ command.query['fields'] = fields unless fields.nil?
164
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
165
+ execute_or_queue_command(command, &block)
166
+ end
167
+
168
+ # Gets the requested recommendation. Requires the recommender.*.get IAM
169
+ # permission for the specified recommender.
170
+ # @param [String] name
171
+ # Required. Name of the recommendation.
172
+ # @param [String] fields
173
+ # Selector specifying which fields to include in a partial response.
174
+ # @param [String] quota_user
175
+ # Available to use for quota purposes for server-side applications. Can be any
176
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
177
+ # @param [Google::Apis::RequestOptions] options
178
+ # Request-specific options
179
+ #
180
+ # @yield [result, err] Result & error if block supplied
181
+ # @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation] parsed result object
182
+ # @yieldparam err [StandardError] error object if request failed
183
+ #
184
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation]
185
+ #
186
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
187
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
188
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
189
+ def get_billing_account_location_recommender_recommendation(name, fields: nil, quota_user: nil, options: nil, &block)
190
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
191
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation::Representation
192
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation
193
+ command.params['name'] = name unless name.nil?
194
+ command.query['fields'] = fields unless fields.nil?
195
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
196
+ execute_or_queue_command(command, &block)
197
+ end
198
+
199
+ # Lists recommendations for a Cloud project. Requires the recommender.*.list IAM
200
+ # permission for the specified recommender.
201
+ # @param [String] parent
202
+ # Required. The container resource on which to execute the request. Acceptable
203
+ # formats: 1. "projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[
204
+ # RECOMMENDER_ID]", LOCATION here refers to GCP Locations: https://cloud.google.
205
+ # com/about/locations/ RECOMMENDER_ID refers to supported recommenders: https://
206
+ # cloud.google.com/recommender/docs/recommenders.
207
+ # @param [String] filter
208
+ # Filter expression to restrict the recommendations returned. Supported filter
209
+ # fields: state_info.state Eg: `state_info.state:"DISMISSED" or state_info.state:
210
+ # "FAILED"
211
+ # @param [Fixnum] page_size
212
+ # Optional. The maximum number of results to return from this request. Non-
213
+ # positive values are ignored. If not specified, the server will determine the
214
+ # number of results to return.
215
+ # @param [String] page_token
216
+ # Optional. If present, retrieves the next batch of results from the preceding
217
+ # call to this method. `page_token` must be the value of `next_page_token` from
218
+ # the previous response. The values of other method parameters must be identical
219
+ # to those in the previous call.
220
+ # @param [String] fields
221
+ # Selector specifying which fields to include in a partial response.
222
+ # @param [String] quota_user
223
+ # Available to use for quota purposes for server-side applications. Can be any
224
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
225
+ # @param [Google::Apis::RequestOptions] options
226
+ # Request-specific options
227
+ #
228
+ # @yield [result, err] Result & error if block supplied
229
+ # @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListRecommendationsResponse] parsed result object
230
+ # @yieldparam err [StandardError] error object if request failed
231
+ #
232
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListRecommendationsResponse]
233
+ #
234
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
235
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
236
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
237
+ def list_billing_account_location_recommender_recommendations(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
238
+ command = make_simple_command(:get, 'v1beta1/{+parent}/recommendations', options)
239
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListRecommendationsResponse::Representation
240
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListRecommendationsResponse
241
+ command.params['parent'] = parent unless parent.nil?
242
+ command.query['filter'] = filter unless filter.nil?
243
+ command.query['pageSize'] = page_size unless page_size.nil?
244
+ command.query['pageToken'] = page_token unless page_token.nil?
245
+ command.query['fields'] = fields unless fields.nil?
246
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
247
+ execute_or_queue_command(command, &block)
248
+ end
249
+
250
+ # Marks the Recommendation State as Claimed. Users can use this method to
251
+ # indicate to the Recommender API that they are starting to apply the
252
+ # recommendation themselves. This stops the recommendation content from being
253
+ # updated. Associated insights are frozen and placed in the ACCEPTED state.
254
+ # MarkRecommendationClaimed can be applied to recommendations in CLAIMED or
255
+ # ACTIVE state. Requires the recommender.*.update IAM permission for the
256
+ # specified recommender.
257
+ # @param [String] name
258
+ # Required. Name of the recommendation.
259
+ # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest] google_cloud_recommender_v1beta1_mark_recommendation_claimed_request_object
260
+ # @param [String] fields
261
+ # Selector specifying which fields to include in a partial response.
262
+ # @param [String] quota_user
263
+ # Available to use for quota purposes for server-side applications. Can be any
264
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
265
+ # @param [Google::Apis::RequestOptions] options
266
+ # Request-specific options
267
+ #
268
+ # @yield [result, err] Result & error if block supplied
269
+ # @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation] parsed result object
270
+ # @yieldparam err [StandardError] error object if request failed
271
+ #
272
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation]
273
+ #
274
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
275
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
276
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
277
+ def mark_billing_account_location_recommender_recommendation_claimed(name, google_cloud_recommender_v1beta1_mark_recommendation_claimed_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
278
+ command = make_simple_command(:post, 'v1beta1/{+name}:markClaimed', options)
279
+ command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest::Representation
280
+ command.request_object = google_cloud_recommender_v1beta1_mark_recommendation_claimed_request_object
281
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation::Representation
282
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation
283
+ command.params['name'] = name unless name.nil?
284
+ command.query['fields'] = fields unless fields.nil?
285
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
286
+ execute_or_queue_command(command, &block)
287
+ end
288
+
289
+ # Marks the Recommendation State as Failed. Users can use this method to
290
+ # indicate to the Recommender API that they have applied the recommendation
291
+ # themselves, and the operation failed. This stops the recommendation content
292
+ # from being updated. Associated insights are frozen and placed in the ACCEPTED
293
+ # state. MarkRecommendationFailed can be applied to recommendations in ACTIVE,
294
+ # CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM
295
+ # permission for the specified recommender.
296
+ # @param [String] name
297
+ # Required. Name of the recommendation.
298
+ # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest] google_cloud_recommender_v1beta1_mark_recommendation_failed_request_object
299
+ # @param [String] fields
300
+ # Selector specifying which fields to include in a partial response.
301
+ # @param [String] quota_user
302
+ # Available to use for quota purposes for server-side applications. Can be any
303
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
304
+ # @param [Google::Apis::RequestOptions] options
305
+ # Request-specific options
306
+ #
307
+ # @yield [result, err] Result & error if block supplied
308
+ # @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation] parsed result object
309
+ # @yieldparam err [StandardError] error object if request failed
310
+ #
311
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation]
312
+ #
313
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
314
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
315
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
316
+ def mark_billing_account_location_recommender_recommendation_failed(name, google_cloud_recommender_v1beta1_mark_recommendation_failed_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
317
+ command = make_simple_command(:post, 'v1beta1/{+name}:markFailed', options)
318
+ command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest::Representation
319
+ command.request_object = google_cloud_recommender_v1beta1_mark_recommendation_failed_request_object
320
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation::Representation
321
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation
322
+ command.params['name'] = name unless name.nil?
323
+ command.query['fields'] = fields unless fields.nil?
324
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
325
+ execute_or_queue_command(command, &block)
326
+ end
327
+
328
+ # Marks the Recommendation State as Succeeded. Users can use this method to
329
+ # indicate to the Recommender API that they have applied the recommendation
330
+ # themselves, and the operation was successful. This stops the recommendation
331
+ # content from being updated. Associated insights are frozen and placed in the
332
+ # ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations
333
+ # in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.
334
+ # update IAM permission for the specified recommender.
335
+ # @param [String] name
336
+ # Required. Name of the recommendation.
337
+ # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest] google_cloud_recommender_v1beta1_mark_recommendation_succeeded_request_object
338
+ # @param [String] fields
339
+ # Selector specifying which fields to include in a partial response.
340
+ # @param [String] quota_user
341
+ # Available to use for quota purposes for server-side applications. Can be any
342
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
343
+ # @param [Google::Apis::RequestOptions] options
344
+ # Request-specific options
345
+ #
346
+ # @yield [result, err] Result & error if block supplied
347
+ # @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation] parsed result object
348
+ # @yieldparam err [StandardError] error object if request failed
349
+ #
350
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation]
351
+ #
352
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
353
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
354
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
355
+ def mark_billing_account_location_recommender_recommendation_succeeded(name, google_cloud_recommender_v1beta1_mark_recommendation_succeeded_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
356
+ command = make_simple_command(:post, 'v1beta1/{+name}:markSucceeded', options)
357
+ command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest::Representation
358
+ command.request_object = google_cloud_recommender_v1beta1_mark_recommendation_succeeded_request_object
359
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation::Representation
360
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation
361
+ command.params['name'] = name unless name.nil?
362
+ command.query['fields'] = fields unless fields.nil?
363
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
364
+ execute_or_queue_command(command, &block)
365
+ end
366
+
50
367
  # Gets the requested insight. Requires the recommender.*.get IAM permission for
51
368
  # the specified insight type.
52
369
  # @param [String] name