google-api-client 0.46.2 → 0.47.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/trampoline.sh +0 -0
  3. data/CHANGELOG.md +370 -192
  4. data/Gemfile +1 -0
  5. data/Rakefile +31 -3
  6. data/generated/google/apis/accessapproval_v1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
  8. data/generated/google/apis/admob_v1.rb +1 -1
  9. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  10. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +26 -12
  11. data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -1
  12. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  13. data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
  14. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  15. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
  16. data/generated/google/apis/apigee_v1.rb +1 -1
  17. data/generated/google/apis/apigee_v1/classes.rb +16 -54
  18. data/generated/google/apis/apigee_v1/representations.rb +1 -18
  19. data/generated/google/apis/apigee_v1/service.rb +21 -13
  20. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  21. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  22. data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
  23. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  24. data/generated/google/apis/bigquery_v2.rb +1 -1
  25. data/generated/google/apis/bigquery_v2/classes.rb +72 -0
  26. data/generated/google/apis/bigquery_v2/representations.rb +33 -0
  27. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  28. data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -2
  29. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  30. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
  31. data/generated/google/apis/books_v1.rb +1 -1
  32. data/generated/google/apis/books_v1/service.rb +52 -52
  33. data/generated/google/apis/chat_v1.rb +1 -1
  34. data/generated/google/apis/chat_v1/classes.rb +8 -0
  35. data/generated/google/apis/chat_v1/representations.rb +1 -0
  36. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  37. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  38. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
  40. data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
  41. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  42. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  43. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  44. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  45. data/generated/google/apis/compute_v1.rb +1 -1
  46. data/generated/google/apis/compute_v1/classes.rb +15 -8
  47. data/generated/google/apis/content_v2.rb +2 -3
  48. data/generated/google/apis/content_v2/classes.rb +508 -1216
  49. data/generated/google/apis/content_v2/service.rb +373 -646
  50. data/generated/google/apis/dataproc_v1.rb +1 -1
  51. data/generated/google/apis/dataproc_v1/classes.rb +15 -3
  52. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  53. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  54. data/generated/google/apis/dataproc_v1beta2/classes.rb +15 -3
  55. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  56. data/generated/google/apis/dialogflow_v2.rb +1 -1
  57. data/generated/google/apis/dialogflow_v2/classes.rb +651 -374
  58. data/generated/google/apis/dialogflow_v2/representations.rb +284 -185
  59. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  60. data/generated/google/apis/dialogflow_v2beta1/classes.rb +651 -374
  61. data/generated/google/apis/dialogflow_v2beta1/representations.rb +288 -189
  62. data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
  63. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  64. data/generated/google/apis/dialogflow_v3beta1/classes.rb +682 -374
  65. data/generated/google/apis/dialogflow_v3beta1/representations.rb +303 -188
  66. data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
  67. data/generated/google/apis/dlp_v2.rb +1 -1
  68. data/generated/google/apis/dlp_v2/classes.rb +29 -29
  69. data/generated/google/apis/dns_v1.rb +2 -2
  70. data/generated/google/apis/dns_v1/service.rb +1 -1
  71. data/generated/google/apis/dns_v1beta2.rb +2 -2
  72. data/generated/google/apis/dns_v1beta2/classes.rb +1 -1
  73. data/generated/google/apis/dns_v1beta2/service.rb +1 -1
  74. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  75. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
  76. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  77. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
  78. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  79. data/generated/google/apis/eventarc_v1beta1/classes.rb +933 -0
  80. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  81. data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
  82. data/generated/google/apis/games_v1.rb +1 -1
  83. data/generated/google/apis/healthcare_v1.rb +1 -1
  84. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  85. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  86. data/generated/google/apis/healthcare_v1beta1/classes.rb +79 -0
  87. data/generated/google/apis/healthcare_v1beta1/representations.rb +31 -0
  88. data/generated/google/apis/healthcare_v1beta1/service.rb +53 -11
  89. data/generated/google/apis/licensing_v1.rb +1 -1
  90. data/generated/google/apis/licensing_v1/service.rb +2 -2
  91. data/generated/google/apis/localservices_v1.rb +1 -1
  92. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  93. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  94. data/generated/google/apis/logging_v2.rb +1 -1
  95. data/generated/google/apis/logging_v2/classes.rb +4 -5
  96. data/generated/google/apis/ml_v1.rb +1 -1
  97. data/generated/google/apis/ml_v1/classes.rb +238 -77
  98. data/generated/google/apis/ml_v1/representations.rb +17 -0
  99. data/generated/google/apis/monitoring_v3.rb +1 -1
  100. data/generated/google/apis/monitoring_v3/classes.rb +11 -5
  101. data/generated/google/apis/monitoring_v3/service.rb +50 -1
  102. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  103. data/generated/google/apis/pubsub_v1.rb +1 -1
  104. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  105. data/generated/google/apis/recommender_v1.rb +1 -1
  106. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  107. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  108. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  109. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  110. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  111. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  112. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
  113. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  114. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  115. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
  116. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  117. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  118. data/generated/google/apis/servicecontrol_v1/classes.rb +32 -2
  119. data/generated/google/apis/servicecontrol_v1/representations.rb +4 -0
  120. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  121. data/generated/google/apis/servicecontrol_v2/classes.rb +17 -0
  122. data/generated/google/apis/servicecontrol_v2/representations.rb +2 -0
  123. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  124. data/generated/google/apis/servicemanagement_v1/classes.rb +4 -3
  125. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  126. data/generated/google/apis/servicenetworking_v1/classes.rb +78 -60
  127. data/generated/google/apis/servicenetworking_v1/representations.rb +29 -14
  128. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  129. data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -60
  130. data/generated/google/apis/servicenetworking_v1beta/representations.rb +12 -14
  131. data/generated/google/apis/serviceusage_v1.rb +1 -1
  132. data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
  133. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  134. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  135. data/generated/google/apis/serviceusage_v1beta1/classes.rb +5 -63
  136. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -18
  137. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  138. data/generated/google/apis/storagetransfer_v1/classes.rb +29 -29
  139. data/generated/google/apis/tagmanager_v2.rb +1 -1
  140. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  141. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  142. data/generated/google/apis/testing_v1.rb +1 -1
  143. data/generated/google/apis/testing_v1/classes.rb +45 -33
  144. data/generated/google/apis/testing_v1/representations.rb +1 -0
  145. data/generated/google/apis/testing_v1/service.rb +4 -4
  146. data/generated/google/apis/videointelligence_v1.rb +1 -1
  147. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  148. data/generated/google/apis/youtube_v3.rb +1 -1
  149. data/generated/google/apis/youtube_v3/service.rb +2 -2
  150. data/google-api-client.gemspec +25 -25
  151. data/lib/google/apis/core/http_command.rb +2 -1
  152. data/lib/google/apis/options.rb +8 -5
  153. data/lib/google/apis/version.rb +1 -1
  154. metadata +12 -8
  155. data/generated/google/apis/safebrowsing_v4.rb +0 -35
  156. data/generated/google/apis/safebrowsing_v4/classes.rb +0 -909
  157. data/generated/google/apis/safebrowsing_v4/representations.rb +0 -445
  158. data/generated/google/apis/safebrowsing_v4/service.rb +0 -286
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/games/
27
27
  module GamesV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200826'
29
+ REVISION = '20201016'
30
30
 
31
31
  # View and manage its own configuration data in your Google Drive
32
32
  AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201006'
28
+ REVISION = '20201013'
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'
@@ -2515,7 +2515,8 @@ module Google
2515
2515
  # entire year: `_at=2019` * An entire month: `_at=2019-01` * A specific day: `
2516
2516
  # _at=2019-01-20` * A specific second: `_at=2018-12-31T23:59:58Z`
2517
2517
  # @param [Fixnum] _count
2518
- # The maximum number of search results on a page. Defaults to 1000.
2518
+ # The maximum number of search results on a page. Default value is 100. Maximum
2519
+ # value is 1,000.
2519
2520
  # @param [String] _page_token
2520
2521
  # Used to retrieve the first, previous, next, or last page of resource versions
2521
2522
  # when using pagination. Value should be set to the value of `_page_token` set
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20201006'
28
+ REVISION = '20201013'
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'
@@ -1507,6 +1507,49 @@ module Google
1507
1507
  end
1508
1508
  end
1509
1509
 
1510
+ # Request to schedule an export.
1511
+ class ExportMessagesRequest
1512
+ include Google::Apis::Core::Hashable
1513
+
1514
+ # The end of the range in `send_time` (MSH.7, https://www.hl7.org/documentcenter/
1515
+ # public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.htm) to process.
1516
+ # If not specified, the time when the export is scheduled is used. This value
1517
+ # has to come after the `start_time` defined below. Only messages whose `
1518
+ # send_time` lies in the range `start_time` (inclusive) to `end_time` (exclusive)
1519
+ # are exported.
1520
+ # Corresponds to the JSON property `endTime`
1521
+ # @return [String]
1522
+ attr_accessor :end_time
1523
+
1524
+ # The Cloud Storage output destination. The Cloud Healthcare Service Agent
1525
+ # requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage
1526
+ # location.
1527
+ # Corresponds to the JSON property `gcsDestination`
1528
+ # @return [Google::Apis::HealthcareV1beta1::GcsDestination]
1529
+ attr_accessor :gcs_destination
1530
+
1531
+ # The start of the range in `send_time` (MSH.7, https://www.hl7.org/
1532
+ # documentcenter/public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.
1533
+ # htm) to process. If not specified, the UNIX epoch (1970-01-01T00:00:00Z) is
1534
+ # used. This value has to come before the `end_time` defined below. Only
1535
+ # messages whose `send_time` lies in the range `start_time` (inclusive) to `
1536
+ # end_time` (exclusive) are exported.
1537
+ # Corresponds to the JSON property `startTime`
1538
+ # @return [String]
1539
+ attr_accessor :start_time
1540
+
1541
+ def initialize(**args)
1542
+ update!(**args)
1543
+ end
1544
+
1545
+ # Update properties of this object
1546
+ def update!(**args)
1547
+ @end_time = args[:end_time] if args.key?(:end_time)
1548
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1549
+ @start_time = args[:start_time] if args.key?(:start_time)
1550
+ end
1551
+ end
1552
+
1510
1553
  # Request to export resources.
1511
1554
  class ExportResourcesRequest
1512
1555
  include Google::Apis::Core::Hashable
@@ -1885,6 +1928,42 @@ module Google
1885
1928
  end
1886
1929
  end
1887
1930
 
1931
+ # The Cloud Storage output destination. The Cloud Healthcare Service Agent
1932
+ # requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage
1933
+ # location.
1934
+ class GcsDestination
1935
+ include Google::Apis::Core::Hashable
1936
+
1937
+ # The format of the exported HL7v2 message files.
1938
+ # Corresponds to the JSON property `contentStructure`
1939
+ # @return [String]
1940
+ attr_accessor :content_structure
1941
+
1942
+ # Specifies the parts of the Message resource to include in the export. If not
1943
+ # specified, FULL is used.
1944
+ # Corresponds to the JSON property `messageView`
1945
+ # @return [String]
1946
+ attr_accessor :message_view
1947
+
1948
+ # URI of an existing Cloud Storage directory where the server writes result
1949
+ # files, in the format `gs://`bucket-id`/`path/to/destination/dir``. If there is
1950
+ # no trailing slash, the service appends one when composing the object path.
1951
+ # Corresponds to the JSON property `uriPrefix`
1952
+ # @return [String]
1953
+ attr_accessor :uri_prefix
1954
+
1955
+ def initialize(**args)
1956
+ update!(**args)
1957
+ end
1958
+
1959
+ # Update properties of this object
1960
+ def update!(**args)
1961
+ @content_structure = args[:content_structure] if args.key?(:content_structure)
1962
+ @message_view = args[:message_view] if args.key?(:message_view)
1963
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
1964
+ end
1965
+ end
1966
+
1888
1967
  # Specifies the configuration for importing data from Cloud Storage.
1889
1968
  class GcsSource
1890
1969
  include Google::Apis::Core::Hashable
@@ -298,6 +298,12 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
+ class ExportMessagesRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
301
307
  class ExportResourcesRequest
302
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
309
 
@@ -352,6 +358,12 @@ module Google
352
358
  include Google::Apis::Core::JsonObjectSupport
353
359
  end
354
360
 
361
+ class GcsDestination
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
355
367
  class GcsSource
356
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
369
 
@@ -1348,6 +1360,16 @@ module Google
1348
1360
  end
1349
1361
  end
1350
1362
 
1363
+ class ExportMessagesRequest
1364
+ # @private
1365
+ class Representation < Google::Apis::Core::JsonRepresentation
1366
+ property :end_time, as: 'endTime'
1367
+ property :gcs_destination, as: 'gcsDestination', class: Google::Apis::HealthcareV1beta1::GcsDestination, decorator: Google::Apis::HealthcareV1beta1::GcsDestination::Representation
1368
+
1369
+ property :start_time, as: 'startTime'
1370
+ end
1371
+ end
1372
+
1351
1373
  class ExportResourcesRequest
1352
1374
  # @private
1353
1375
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1437,6 +1459,15 @@ module Google
1437
1459
  end
1438
1460
  end
1439
1461
 
1462
+ class GcsDestination
1463
+ # @private
1464
+ class Representation < Google::Apis::Core::JsonRepresentation
1465
+ property :content_structure, as: 'contentStructure'
1466
+ property :message_view, as: 'messageView'
1467
+ property :uri_prefix, as: 'uriPrefix'
1468
+ end
1469
+ end
1470
+
1440
1471
  class GcsSource
1441
1472
  # @private
1442
1473
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4190,16 +4190,17 @@ module Google
4190
4190
  execute_or_queue_command(command, &block)
4191
4191
  end
4192
4192
 
4193
- # Translates a code from one value set to another using a concept map.
4194
- # Implements the FHIR standard $translate operation ([DSTU2](https://www.hl7.org/
4195
- # fhir/DSTU2/operation-conceptmap-translate.html), [STU3](https://www.hl7.org/
4196
- # fhir/STU3/operation-conceptmap-translate.html), [R4](https://www.hl7.org/fhir/
4197
- # R4/operation-conceptmap-translate.html)). On success, the response body
4198
- # contains a JSON-encoded representation of a FHIR Parameters resource, which
4199
- # includes the translation result. Errors generated by the FHIR store contain a
4200
- # JSON-encoded `OperationOutcome` resource describing the reason for the error.
4201
- # If the request cannot be mapped to a valid API method on a FHIR store, a
4202
- # generic GCP error might be returned instead.
4193
+ # Translates a code from one value set to another using a concept map. You can
4194
+ # provide your own concept maps to translate any code system to another code
4195
+ # system. Implements the FHIR standard $translate operation ([DSTU2](https://www.
4196
+ # hl7.org/fhir/DSTU2/operation-conceptmap-translate.html), [STU3](https://www.
4197
+ # hl7.org/fhir/STU3/operation-conceptmap-translate.html), [R4](https://www.hl7.
4198
+ # org/fhir/R4/operation-conceptmap-translate.html)). On success, the response
4199
+ # body contains a JSON-encoded representation of a FHIR Parameters resource,
4200
+ # which includes the translation result. Errors generated by the FHIR store
4201
+ # contain a JSON-encoded `OperationOutcome` resource describing the reason for
4202
+ # the error. If the request cannot be mapped to a valid API method on a FHIR
4203
+ # store, a generic GCP error might be returned instead.
4203
4204
  # @param [String] name
4204
4205
  # The URL for the concept map to use for the translation.
4205
4206
  # @param [String] code
@@ -4805,7 +4806,8 @@ module Google
4805
4806
  # entire year: `_at=2019` * An entire month: `_at=2019-01` * A specific day: `
4806
4807
  # _at=2019-01-20` * A specific second: `_at=2018-12-31T23:59:58Z`
4807
4808
  # @param [Fixnum] _count
4808
- # The maximum number of search results on a page. Defaults to 1000.
4809
+ # The maximum number of search results on a page. Default value is 100. Maximum
4810
+ # value is 1,000.
4809
4811
  # @param [String] _page_token
4810
4812
  # Used to retrieve the first, previous, next, or last page of resource versions
4811
4813
  # when using pagination. Value should be set to the value of `_page_token` set
@@ -5166,6 +5168,46 @@ module Google
5166
5168
  execute_or_queue_command(command, &block)
5167
5169
  end
5168
5170
 
5171
+ # Exports the messages to a destination. To filter messages to be exported,
5172
+ # define a filter using the start and end time, relative to the message
5173
+ # generation time (MSH.7). This API returns an Operation that can be used to
5174
+ # track the status of the job by calling GetOperation. Immediate fatal errors
5175
+ # appear in the error field. Otherwise, when the operation finishes, a detailed
5176
+ # response of type ExportMessagesResponse is returned in the response field. The
5177
+ # metadata field type for this operation is OperationMetadata.
5178
+ # @param [String] name
5179
+ # The name of the source HL7v2 store, in the format `projects/`project_id`/
5180
+ # locations/`location_id`/datasets/`dataset_id`/hl7v2Stores/`hl7v2_store_id``
5181
+ # @param [Google::Apis::HealthcareV1beta1::ExportMessagesRequest] export_messages_request_object
5182
+ # @param [String] fields
5183
+ # Selector specifying which fields to include in a partial response.
5184
+ # @param [String] quota_user
5185
+ # Available to use for quota purposes for server-side applications. Can be any
5186
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5187
+ # @param [Google::Apis::RequestOptions] options
5188
+ # Request-specific options
5189
+ #
5190
+ # @yield [result, err] Result & error if block supplied
5191
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
5192
+ # @yieldparam err [StandardError] error object if request failed
5193
+ #
5194
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
5195
+ #
5196
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5197
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5198
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5199
+ def export_hl7_v2_store_messages(name, export_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5200
+ command = make_simple_command(:post, 'v1beta1/{+name}:export', options)
5201
+ command.request_representation = Google::Apis::HealthcareV1beta1::ExportMessagesRequest::Representation
5202
+ command.request_object = export_messages_request_object
5203
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
5204
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
5205
+ command.params['name'] = name unless name.nil?
5206
+ command.query['fields'] = fields unless fields.nil?
5207
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5208
+ execute_or_queue_command(command, &block)
5209
+ end
5210
+
5169
5211
  # Gets the specified HL7v2 store.
5170
5212
  # @param [String] name
5171
5213
  # The resource name of the HL7v2 store to get.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/admin-sdk/licensing/
27
27
  module LicensingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20201010'
29
+ REVISION = '20201017'
30
30
 
31
31
  # View and manage G Suite licenses for your domain
32
32
  AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing'
@@ -44,8 +44,8 @@ module Google
44
44
  attr_accessor :quota_user
45
45
 
46
46
  def initialize
47
- super('https://www.googleapis.com/', '')
48
- @batch_path = 'batch/licensing/v1'
47
+ super('https://licensing.googleapis.com/', '')
48
+ @batch_path = 'batch'
49
49
  end
50
50
 
51
51
  # Revoke a license.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://ads.google.com/local-services-ads/
26
26
  module LocalservicesV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201012'
28
+ REVISION = '20201016'
29
29
  end
30
30
  end
31
31
  end
@@ -32,6 +32,12 @@ module Google
32
32
  # @return [Fixnum]
33
33
  attr_accessor :account_id
34
34
 
35
+ # Conatiner for aggregator specific information if lead is for an aggregator GLS
36
+ # account.
37
+ # Corresponds to the JSON property `aggregatorInfo`
38
+ # @return [Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AggregatorInfo]
39
+ attr_accessor :aggregator_info
40
+
35
41
  # Average review rating score from 1-5 stars.
36
42
  # Corresponds to the JSON property `averageFiveStarRating`
37
43
  # @return [Float]
@@ -117,6 +123,7 @@ module Google
117
123
  # Update properties of this object
118
124
  def update!(**args)
119
125
  @account_id = args[:account_id] if args.key?(:account_id)
126
+ @aggregator_info = args[:aggregator_info] if args.key?(:aggregator_info)
120
127
  @average_five_star_rating = args[:average_five_star_rating] if args.key?(:average_five_star_rating)
121
128
  @average_weekly_budget = args[:average_weekly_budget] if args.key?(:average_weekly_budget)
122
129
  @business_name = args[:business_name] if args.key?(:business_name)
@@ -74,6 +74,8 @@ module Google
74
74
  # @private
75
75
  class Representation < Google::Apis::Core::JsonRepresentation
76
76
  property :account_id, :numeric_string => true, as: 'accountId'
77
+ property :aggregator_info, as: 'aggregatorInfo', class: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AggregatorInfo, decorator: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AggregatorInfo::Representation
78
+
77
79
  property :average_five_star_rating, as: 'averageFiveStarRating'
78
80
  property :average_weekly_budget, as: 'averageWeeklyBudget'
79
81
  property :business_name, as: 'businessName'
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://cloud.google.com/logging/docs/
29
29
  module LoggingV2
30
30
  VERSION = 'V2'
31
- REVISION = '20200918'
31
+ REVISION = '20201016'
32
32
 
33
33
  # View and manage your data across Google Cloud Platform services
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1159,11 +1159,10 @@ module Google
1159
1159
  end
1160
1160
 
1161
1161
  # Describes a logs-based metric. The value of the metric is the number of log
1162
- # entries that match a logs filter in a given time interval.Logs-based metric
1163
- # can also be used to extract values from logs and create a a distribution of
1164
- # the values. The distribution records the statistics of the extracted values
1165
- # along with an optional histogram of the values as specified by the bucket
1166
- # options.
1162
+ # entries that match a logs filter in a given time interval.Logs-based metrics
1163
+ # can also be used to extract values from logs and create a distribution of the
1164
+ # values. The distribution records the statistics of the extracted values along
1165
+ # with an optional histogram of the values as specified by the bucket options.
1167
1166
  class LogMetric
1168
1167
  include Google::Apis::Core::Hashable
1169
1168
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200905'
28
+ REVISION = '20201016'
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'
@@ -514,6 +514,18 @@ module Google
514
514
  class GoogleCloudMlV1AutoScaling
515
515
  include Google::Apis::Core::Hashable
516
516
 
517
+ # The maximum number of nodes to scale this model under load. The actual value
518
+ # will depend on resource quota and availability.
519
+ # Corresponds to the JSON property `maxNodes`
520
+ # @return [Fixnum]
521
+ attr_accessor :max_nodes
522
+
523
+ # MetricSpec contains the specifications to use to calculate the desired nodes
524
+ # count.
525
+ # Corresponds to the JSON property `metrics`
526
+ # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1MetricSpec>]
527
+ attr_accessor :metrics
528
+
517
529
  # Optional. The minimum number of nodes to allocate for this model. These nodes
518
530
  # are always up, starting from the time the model is deployed. Therefore, the
519
531
  # cost of operating this model will be at least `rate` * `min_nodes` * number of
@@ -548,6 +560,8 @@ module Google
548
560
 
549
561
  # Update properties of this object
550
562
  def update!(**args)
563
+ @max_nodes = args[:max_nodes] if args.key?(:max_nodes)
564
+ @metrics = args[:metrics] if args.key?(:metrics)
551
565
  @min_nodes = args[:min_nodes] if args.key?(:min_nodes)
552
566
  end
553
567
  end
@@ -790,12 +804,14 @@ module Google
790
804
  end
791
805
  end
792
806
 
793
- # ContainerPort represents a network port in a single container.
807
+ # Represents a network port in a single container. This message is a subset of
808
+ # the [Kubernetes ContainerPort v1 core specification](https://kubernetes.io/
809
+ # docs/reference/generated/kubernetes-api/v1.18/#containerport-v1-core).
794
810
  class GoogleCloudMlV1ContainerPort
795
811
  include Google::Apis::Core::Hashable
796
812
 
797
- # Number of port to expose on the pod's IP address. This must be a valid port
798
- # number, 0 < x < 65536.
813
+ # Number of the port to expose on the container. This must be a valid port
814
+ # number: 0 < PORT_NUMBER < 65536.
799
815
  # Corresponds to the JSON property `containerPort`
800
816
  # @return [Fixnum]
801
817
  attr_accessor :container_port
@@ -810,53 +826,123 @@ module Google
810
826
  end
811
827
  end
812
828
 
813
- # Specify a custom container to deploy. Our ContainerSpec is a subset of the
814
- # Kubernetes Container specification. https://kubernetes.io/docs/reference/
815
- # generated/kubernetes-api/v1.10/#container-v1-core
829
+ # Specification of a custom container for serving predictions. This message is a
830
+ # subset of the [Kubernetes Container v1 core specification](https://kubernetes.
831
+ # io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core).
816
832
  class GoogleCloudMlV1ContainerSpec
817
833
  include Google::Apis::Core::Hashable
818
834
 
819
- # Immutable. Arguments to the entrypoint. The docker image's CMD is used if this
820
- # is not provided. Variable references $(VAR_NAME) are expanded using the
821
- # container's environment. If a variable cannot be resolved, the reference in
822
- # the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with
823
- # a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
824
- # regardless of whether the variable exists or not. More info: https://
825
- # kubernetes.io/docs/tasks/inject-data-application/define-command-argument-
826
- # container/#running-a-command-in-a-shell
835
+ # Immutable. Specifies arguments for the command that runs when the container
836
+ # starts. This overrides the container's [`CMD`](https://docs.docker.com/engine/
837
+ # reference/builder/#cmd). Specify this field as an array of executable and
838
+ # arguments, similar to a Docker `CMD`'s "default parameters" form. If you don't
839
+ # specify this field but do specify the command field, then the command from the
840
+ # `command` field runs without any additional arguments. See the [Kubernetes
841
+ # documentation about how the `command` and `args` fields interact with a
842
+ # container's `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-
843
+ # data-application/define-command-argument-container/#notes). If you don't
844
+ # specify this field and don't specify the `commmand` field, then the container'
845
+ # s [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd) and `
846
+ # CMD` determine what runs based on their default behavior. See the [Docker
847
+ # documentation about how `CMD` and `ENTRYPOINT` interact](https://docs.docker.
848
+ # com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). In
849
+ # this field, you can reference [environment variables set by AI Platform
850
+ # Prediction](/ai-platform/prediction/docs/custom-container-requirements#aip-
851
+ # variables) and environment variables set in the env field. You cannot
852
+ # reference environment variables set in the Docker image. In order for
853
+ # environment variables to be expanded, reference them by using the following
854
+ # syntax: $( VARIABLE_NAME) Note that this differs from Bash variable expansion,
855
+ # which does not use parentheses. If a variable cannot be resolved, the
856
+ # reference in the input string is used unchanged. To avoid variable expansion,
857
+ # you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME) This
858
+ # field corresponds to the `args` field of the [Kubernetes Containers v1 core
859
+ # API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#
860
+ # container-v1-core).
827
861
  # Corresponds to the JSON property `args`
828
862
  # @return [Array<String>]
829
863
  attr_accessor :args
830
864
 
831
- # Immutable. Entrypoint array. Not executed within a shell. The docker image's
832
- # ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME)
833
- # are expanded using the container's environment. If a variable cannot be
834
- # resolved, the reference in the input string will be unchanged. The $(VAR_NAME)
835
- # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references
836
- # will never be expanded, regardless of whether the variable exists or not. More
837
- # info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-
838
- # argument-container/#running-a-command-in-a-shell
865
+ # Immutable. Specifies the command that runs when the container starts. This
866
+ # overrides the container's [`ENTRYPOINT`](https://docs.docker.com/engine/
867
+ # reference/builder/#entrypoint). Specify this field as an array of executable
868
+ # and arguments, similar to a Docker `ENTRYPOINT`'s "exec" form, not its "shell"
869
+ # form. If you do not specify this field, then the container's `ENTRYPOINT` runs,
870
+ # in conjunction with the args field or the container's [`CMD`](https://docs.
871
+ # docker.com/engine/reference/builder/#cmd), if either exists. If this field is
872
+ # not specified and the container does not have an `ENTRYPOINT`, then refer to
873
+ # the [Docker documentation about how `CMD` and `ENTRYPOINT` interact](https://
874
+ # docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-
875
+ # interact). If you specify this field, then you can also specify the `args`
876
+ # field to provide additional arguments for this command. However, if you
877
+ # specify this field, then the container's `CMD` is ignored. See the [Kubernetes
878
+ # documentation about how the `command` and `args` fields interact with a
879
+ # container's `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-
880
+ # data-application/define-command-argument-container/#notes). In this field, you
881
+ # can reference [environment variables set by AI Platform Prediction](/ai-
882
+ # platform/prediction/docs/custom-container-requirements#aip-variables) and
883
+ # environment variables set in the env field. You cannot reference environment
884
+ # variables set in the Docker image. In order for environment variables to be
885
+ # expanded, reference them by using the following syntax: $( VARIABLE_NAME) Note
886
+ # that this differs from Bash variable expansion, which does not use parentheses.
887
+ # If a variable cannot be resolved, the reference in the input string is used
888
+ # unchanged. To avoid variable expansion, you can escape this syntax with `$$`;
889
+ # for example: $$(VARIABLE_NAME) This field corresponds to the `command` field
890
+ # of the [Kubernetes Containers v1 core API](https://kubernetes.io/docs/
891
+ # reference/generated/kubernetes-api/v1.18/#container-v1-core).
839
892
  # Corresponds to the JSON property `command`
840
893
  # @return [Array<String>]
841
894
  attr_accessor :command
842
895
 
843
- # Immutable. List of environment variables to set in the container.
896
+ # Immutable. List of environment variables to set in the container. After the
897
+ # container starts running, code running in the container can read these
898
+ # environment variables. Additionally, the command and args fields can reference
899
+ # these variables. Later entries in this list can also reference earlier entries.
900
+ # For example, the following example sets the variable `VAR_2` to have the
901
+ # value `foo bar`: ```json [ ` "name": "VAR_1", "value": "foo" `, ` "name": "
902
+ # VAR_2", "value": "$(VAR_1) bar" ` ] ``` If you switch the order of the
903
+ # variables in the example, then the expansion does not occur. This field
904
+ # corresponds to the `env` field of the [Kubernetes Containers v1 core API](
905
+ # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-
906
+ # v1-core).
844
907
  # Corresponds to the JSON property `env`
845
908
  # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1EnvVar>]
846
909
  attr_accessor :env
847
910
 
848
- # Docker image name. More info: https://kubernetes.io/docs/concepts/containers/
849
- # images
911
+ # URI of the Docker image to be used as the custom container for serving
912
+ # predictions. This URI must identify [an image in Artifact Registry](/artifact-
913
+ # registry/docs/overview) and begin with the hostname ``REGION`-docker.pkg.dev`,
914
+ # where ``REGION`` is replaced by the region that matches AI Platform Prediction
915
+ # [regional endpoint](/ai-platform/prediction/docs/regional-endpoints) that you
916
+ # are using. For example, if you are using the `us-central1-ml.googleapis.com`
917
+ # endpoint, then this URI must begin with `us-central1-docker.pkg.dev`. To use a
918
+ # custom container, the [AI Platform Google-managed service account](/ai-
919
+ # platform/prediction/docs/custom-service-account#default) must have permission
920
+ # to pull (read) the Docker image at this URI. The AI Platform Google-managed
921
+ # service account has the following format: `service-`PROJECT_NUMBER`@cloud-ml.
922
+ # google.com.iam.gserviceaccount.com` `PROJECT_NUMBER` is replaced by your
923
+ # Google Cloud project number. By default, this service account has necessary
924
+ # permissions to pull an Artifact Registry image in the same Google Cloud
925
+ # project where you are using AI Platform Prediction. In this case, no
926
+ # configuration is necessary. If you want to use an image from a different
927
+ # Google Cloud project, learn how to [grant the Artifact Registry Reader (roles/
928
+ # artifactregistry.reader) role for a repository](/artifact-registry/docs/access-
929
+ # control#grant-repo) to your projet's AI Platform Google-managed service
930
+ # account. To learn about the requirements for the Docker image itself, read [
931
+ # Custom container requirements](/ai-platform/prediction/docs/custom-container-
932
+ # requirements).
850
933
  # Corresponds to the JSON property `image`
851
934
  # @return [String]
852
935
  attr_accessor :image
853
936
 
854
- # Immutable. List of ports to expose from the container. Exposing a port here
855
- # gives the system additional information about the network connections a
856
- # container uses, but is primarily informational. Not specifying a port here
857
- # DOES NOT prevent that port from being exposed. Any port which is listening on
858
- # the default "0.0.0.0" address inside a container will be accessible from the
859
- # network.
937
+ # Immutable. List of ports to expose from the container. AI Platform Prediction
938
+ # sends any prediction requests that it receives to the first port on this list.
939
+ # AI Platform Prediction also sends [liveness and health checks](/ai-platform/
940
+ # prediction/docs/custom-container-requirements#health) to this port. If you do
941
+ # not specify this field, it defaults to following value: ```json [ ` "
942
+ # containerPort": 8080 ` ] ``` AI Platform Prediction does not use ports other
943
+ # than the first one listed. This field corresponds to the `ports` field of the [
944
+ # Kubernetes Containers v1 core API](https://kubernetes.io/docs/reference/
945
+ # generated/kubernetes-api/v1.18/#container-v1-core).
860
946
  # Corresponds to the JSON property `ports`
861
947
  # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1ContainerPort>]
862
948
  attr_accessor :ports
@@ -898,21 +984,30 @@ module Google
898
984
  end
899
985
  end
900
986
 
901
- # EnvVar represents an environment variable present in a Container.
987
+ # Represents an environment variable to be made available in a container. This
988
+ # message is a subset of the [Kubernetes EnvVar v1 core specification](https://
989
+ # kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#envvar-v1-core).
902
990
  class GoogleCloudMlV1EnvVar
903
991
  include Google::Apis::Core::Hashable
904
992
 
905
- # Name of the environment variable. Must be a C_IDENTIFIER.
993
+ # Name of the environment variable. Must be a [valid C identifier](https://
994
+ # github.com/kubernetes/kubernetes/blob/v1.18.8/staging/src/k8s.io/apimachinery/
995
+ # pkg/util/validation/validation.go#L258) and must not begin with the prefix `
996
+ # AIP_`.
906
997
  # Corresponds to the JSON property `name`
907
998
  # @return [String]
908
999
  attr_accessor :name
909
1000
 
910
- # Variable references $(VAR_NAME) are expanded using the previous defined
911
- # environment variables in the container and any service environment variables.
912
- # If a variable cannot be resolved, the reference in the input string will be
913
- # unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(
914
- # VAR_NAME). Escaped references will never be expanded, regardless of whether
915
- # the variable exists or not. Defaults to "".
1001
+ # Value of the environment variable. Defaults to an empty string. In this field,
1002
+ # you can reference [environment variables set by AI Platform Prediction](/ai-
1003
+ # platform/prediction/docs/custom-container-requirements#aip-variables) and
1004
+ # environment variables set earlier in the same env field as where this message
1005
+ # occurs. You cannot reference environment variables set in the Docker image. In
1006
+ # order for environment variables to be expanded, reference them by using the
1007
+ # following syntax: $(VARIABLE_NAME) Note that this differs from Bash variable
1008
+ # expansion, which does not use parentheses. If a variable cannot be resolved,
1009
+ # the reference in the input string is used unchanged. To avoid variable
1010
+ # expansion, you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME)
916
1011
  # Corresponds to the JSON property `value`
917
1012
  # @return [String]
918
1013
  attr_accessor :value
@@ -1537,6 +1632,33 @@ module Google
1537
1632
  end
1538
1633
  end
1539
1634
 
1635
+ # MetricSpec contains the specifications to use to calculate the desired nodes
1636
+ # count when autoscaling is enabled.
1637
+ class GoogleCloudMlV1MetricSpec
1638
+ include Google::Apis::Core::Hashable
1639
+
1640
+ # metric name.
1641
+ # Corresponds to the JSON property `name`
1642
+ # @return [String]
1643
+ attr_accessor :name
1644
+
1645
+ # Target specifies the target value for the given metric; once real metric
1646
+ # deviates from the threshold by a certain percentage, the node count changes.
1647
+ # Corresponds to the JSON property `target`
1648
+ # @return [Fixnum]
1649
+ attr_accessor :target
1650
+
1651
+ def initialize(**args)
1652
+ update!(**args)
1653
+ end
1654
+
1655
+ # Update properties of this object
1656
+ def update!(**args)
1657
+ @name = args[:name] if args.key?(:name)
1658
+ @target = args[:target] if args.key?(:target)
1659
+ end
1660
+ end
1661
+
1540
1662
  # Represents a machine learning solution. A model can have multiple versions,
1541
1663
  # each of which is a deployed, trained model ready to receive prediction
1542
1664
  # requests. The model itself is just a container.
@@ -1583,23 +1705,22 @@ module Google
1583
1705
  attr_accessor :name
1584
1706
 
1585
1707
  # Optional. If true, online prediction nodes send `stderr` and `stdout` streams
1586
- # to Stackdriver Logging. These can be more verbose than the standard access
1587
- # logs (see `onlinePredictionLogging`) and can incur higher cost. However, they
1588
- # are helpful for debugging. Note that [Stackdriver logs may incur a cost](/
1589
- # stackdriver/pricing), especially if your project receives prediction requests
1590
- # at a high QPS. Estimate your costs before enabling this option. Default is
1591
- # false.
1708
+ # to Cloud Logging. These can be more verbose than the standard access logs (see
1709
+ # `onlinePredictionLogging`) and can incur higher cost. However, they are
1710
+ # helpful for debugging. Note that [logs may incur a cost](/stackdriver/pricing),
1711
+ # especially if your project receives prediction requests at a high QPS.
1712
+ # Estimate your costs before enabling this option. Default is false.
1592
1713
  # Corresponds to the JSON property `onlinePredictionConsoleLogging`
1593
1714
  # @return [Boolean]
1594
1715
  attr_accessor :online_prediction_console_logging
1595
1716
  alias_method :online_prediction_console_logging?, :online_prediction_console_logging
1596
1717
 
1597
- # Optional. If true, online prediction access logs are sent to StackDriver
1598
- # Logging. These logs are like standard server access logs, containing
1599
- # information like timestamp and latency for each request. Note that [
1600
- # Stackdriver logs may incur a cost](/stackdriver/pricing), especially if your
1601
- # project receives prediction requests at a high queries per second rate (QPS).
1602
- # Estimate your costs before enabling this option. Default is false.
1718
+ # Optional. If true, online prediction access logs are sent to Cloud Logging.
1719
+ # These logs are like standard server access logs, containing information like
1720
+ # timestamp and latency for each request. Note that [logs may incur a cost](/
1721
+ # stackdriver/pricing), especially if your project receives prediction requests
1722
+ # at a high queries per second rate (QPS). Estimate your costs before enabling
1723
+ # this option. Default is false.
1603
1724
  # Corresponds to the JSON property `onlinePredictionLogging`
1604
1725
  # @return [Boolean]
1605
1726
  attr_accessor :online_prediction_logging
@@ -2057,18 +2178,49 @@ module Google
2057
2178
  end
2058
2179
  end
2059
2180
 
2060
- # RouteMap is used to override HTTP paths sent to a Custom Container. If
2061
- # specified, the HTTP server implemented in the ContainerSpec must support the
2062
- # route. If unspecified, standard HTTP paths will be used.
2181
+ # Specifies HTTP paths served by a custom container. AI Platform Prediction
2182
+ # sends requests to these paths on the container; the custom container must run
2183
+ # an HTTP server that responds to these requests with appropriate responses.
2184
+ # Read [Custom container requirements](/ai-platform/prediction/docs/custom-
2185
+ # container-requirements) for details on how to create your container image to
2186
+ # meet these requirements.
2063
2187
  class GoogleCloudMlV1RouteMap
2064
2188
  include Google::Apis::Core::Hashable
2065
2189
 
2066
- # HTTP path to send health check requests.
2190
+ # HTTP path on the container to send health checkss to. AI Platform Prediction
2191
+ # intermittently sends GET requests to this path on the container's IP address
2192
+ # and port to check that the container is healthy. Read more about [health
2193
+ # checks](/ai-platform/prediction/docs/custom-container-requirements#checks).
2194
+ # For example, if you set this field to `/bar`, then AI Platform Prediction
2195
+ # intermittently sends a GET request to the following URL on the container:
2196
+ # localhost:PORT/bar PORT refers to the first value of Version.container.ports.
2197
+ # If you don't specify this field, it defaults to the following value: /v1/
2198
+ # models/MODEL/versions/VERSION The placeholders in this value are replaced as
2199
+ # follows: * MODEL: The name of the parent Model. This does not include the "
2200
+ # projects/PROJECT_ID/models/" prefix that the API returns in output; it is the
2201
+ # bare model name, as provided to projects.models.create. * VERSION: The name of
2202
+ # the model version. This does not include the "projects/PROJECT_ID/models/MODEL/
2203
+ # versions/" prefix that the API returns in output; it is the bare version name,
2204
+ # as provided to projects.models.versions.create.
2067
2205
  # Corresponds to the JSON property `health`
2068
2206
  # @return [String]
2069
2207
  attr_accessor :health
2070
2208
 
2071
- # HTTP path to send prediction requests.
2209
+ # HTTP path on the container to send prediction requests to. AI Platform
2210
+ # Prediction forwards requests sent using projects.predict to this path on the
2211
+ # container's IP address and port. AI Platform Prediction then returns the
2212
+ # container's response in the API response. For example, if you set this field
2213
+ # to `/foo`, then when AI Platform Prediction receives a prediction request, it
2214
+ # forwards the request body in a POST request to the following URL on the
2215
+ # container: localhost:PORT/foo PORT refers to the first value of Version.
2216
+ # container.ports. If you don't specify this field, it defaults to the following
2217
+ # value: /v1/models/MODEL/versions/VERSION:predict The placeholders in this
2218
+ # value are replaced as follows: * MODEL: The name of the parent Model. This
2219
+ # does not include the "projects/PROJECT_ID/models/" prefix that the API returns
2220
+ # in output; it is the bare model name, as provided to projects.models.create. *
2221
+ # VERSION: The name of the model version. This does not include the "projects/
2222
+ # PROJECT_ID/models/MODEL/versions/" prefix that the API returns in output; it
2223
+ # is the bare version name, as provided to projects.models.versions.create.
2072
2224
  # Corresponds to the JSON property `predict`
2073
2225
  # @return [String]
2074
2226
  attr_accessor :predict
@@ -2785,9 +2937,9 @@ module Google
2785
2937
  # @return [Google::Apis::MlV1::GoogleCloudMlV1AutoScaling]
2786
2938
  attr_accessor :auto_scaling
2787
2939
 
2788
- # Specify a custom container to deploy. Our ContainerSpec is a subset of the
2789
- # Kubernetes Container specification. https://kubernetes.io/docs/reference/
2790
- # generated/kubernetes-api/v1.10/#container-v1-core
2940
+ # Specification of a custom container for serving predictions. This message is a
2941
+ # subset of the [Kubernetes Container v1 core specification](https://kubernetes.
2942
+ # io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core).
2791
2943
  # Corresponds to the JSON property `container`
2792
2944
  # @return [Google::Apis::MlV1::GoogleCloudMlV1ContainerSpec]
2793
2945
  attr_accessor :container
@@ -2797,13 +2949,18 @@ module Google
2797
2949
  # @return [String]
2798
2950
  attr_accessor :create_time
2799
2951
 
2800
- # Required. The Cloud Storage location of the trained model used to create the
2801
- # version. See the [guide to model deployment](/ml-engine/docs/tensorflow/
2802
- # deploying-models) for more information. When passing Version to projects.
2803
- # models.versions.create the model service uses the specified location as the
2804
- # source of the model. Once deployed, the model version is hosted by the
2805
- # prediction service, so this location is useful only as a historical record.
2806
- # The total number of model files can't exceed 1000.
2952
+ # The Cloud Storage URI of a directory containing trained model artifacts to be
2953
+ # used to create the model version. See the [guide to deploying models](/ai-
2954
+ # platform/prediction/docs/deploying-models) for more information. The total
2955
+ # number of files under this directory must not exceed 1000. During projects.
2956
+ # models.versions.create, AI Platform Prediction copies all files from the
2957
+ # specified directory to a location managed by the service. From then on, AI
2958
+ # Platform Prediction uses these copies of the model artifacts to serve
2959
+ # predictions, not the original files in Cloud Storage, so this location is
2960
+ # useful only as a historical record. If you specify container, then this field
2961
+ # is optional. Otherwise, it is required. Learn [how to use this field with a
2962
+ # custom container](/ai-platform/prediction/docs/custom-container-requirements#
2963
+ # artifacts).
2807
2964
  # Corresponds to the JSON property `deploymentUri`
2808
2965
  # @return [String]
2809
2966
  attr_accessor :deployment_uri
@@ -2844,10 +3001,8 @@ module Google
2844
3001
  # deployment_uri to determine a framework. If you choose `SCIKIT_LEARN` or `
2845
3002
  # XGBOOST`, you must also set the runtime version of the model to 1.4 or greater.
2846
3003
  # Do **not** specify a framework if you're deploying a [custom prediction
2847
- # routine](/ml-engine/docs/tensorflow/custom-prediction-routines). If you
2848
- # specify a [Compute Engine (N1) machine type](/ml-engine/docs/machine-types-
2849
- # online-prediction) in the `machineType` field, you must specify `TENSORFLOW`
2850
- # for the framework.
3004
+ # routine](/ai-platform/prediction/docs/custom-prediction-routines) or if you're
3005
+ # using a [custom container](/ai-platform/prediction/docs/use-custom-container).
2851
3006
  # Corresponds to the JSON property `framework`
2852
3007
  # @return [String]
2853
3008
  attr_accessor :framework
@@ -2880,9 +3035,9 @@ module Google
2880
3035
  # standard-8` * `n1-standard-16` * `n1-standard-32` * `n1-highmem-2` * `n1-
2881
3036
  # highmem-4` * `n1-highmem-8` * `n1-highmem-16` * `n1-highmem-32` * `n1-highcpu-
2882
3037
  # 2` * `n1-highcpu-4` * `n1-highcpu-8` * `n1-highcpu-16` * `n1-highcpu-32` `mls1-
2883
- # c1-m2` is generally available. All other machine types are available in beta.
2884
- # Learn more about the [differences between machine types](/ml-engine/docs/
2885
- # machine-types-online-prediction).
3038
+ # c4-m2` is in beta. All other machine types are generally available. Learn more
3039
+ # about the [differences between machine types](/ml-engine/docs/machine-types-
3040
+ # online-prediction).
2886
3041
  # Corresponds to the JSON property `machineType`
2887
3042
  # @return [String]
2888
3043
  attr_accessor :machine_type
@@ -2964,9 +3119,12 @@ module Google
2964
3119
  # @return [Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig]
2965
3120
  attr_accessor :request_logging_config
2966
3121
 
2967
- # RouteMap is used to override HTTP paths sent to a Custom Container. If
2968
- # specified, the HTTP server implemented in the ContainerSpec must support the
2969
- # route. If unspecified, standard HTTP paths will be used.
3122
+ # Specifies HTTP paths served by a custom container. AI Platform Prediction
3123
+ # sends requests to these paths on the container; the custom container must run
3124
+ # an HTTP server that responds to these requests with appropriate responses.
3125
+ # Read [Custom container requirements](/ai-platform/prediction/docs/custom-
3126
+ # container-requirements) for details on how to create your container image to
3127
+ # meet these requirements.
2970
3128
  # Corresponds to the JSON property `routes`
2971
3129
  # @return [Google::Apis::MlV1::GoogleCloudMlV1RouteMap]
2972
3130
  attr_accessor :routes
@@ -2978,7 +3136,10 @@ module Google
2978
3136
  # @return [String]
2979
3137
  attr_accessor :runtime_version
2980
3138
 
2981
- # Optional. Specifies the service account for resource access control.
3139
+ # Optional. Specifies the service account for resource access control. If you
3140
+ # specify this field, then you must also specify either the `containerSpec` or
3141
+ # the `predictionClass` field. Learn more about [using a custom service account](
3142
+ # /ai-platform/prediction/docs/custom-service-account).
2982
3143
  # Corresponds to the JSON property `serviceAccount`
2983
3144
  # @return [String]
2984
3145
  attr_accessor :service_account