google-api-client 0.19.1 → 0.19.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +36 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +8 -2
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +10 -0
  7. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  8. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  9. data/generated/google/apis/androidpublisher_v2/classes.rb +7 -6
  10. data/generated/google/apis/appengine_v1.rb +1 -1
  11. data/generated/google/apis/appengine_v1/classes.rb +66 -4
  12. data/generated/google/apis/appengine_v1/representations.rb +31 -0
  13. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  14. data/generated/google/apis/appengine_v1alpha/classes.rb +56 -0
  15. data/generated/google/apis/appengine_v1alpha/representations.rb +30 -0
  16. data/generated/google/apis/appengine_v1beta.rb +1 -1
  17. data/generated/google/apis/appengine_v1beta/classes.rb +104 -4
  18. data/generated/google/apis/appengine_v1beta/representations.rb +47 -0
  19. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  20. data/generated/google/apis/appengine_v1beta4/classes.rb +56 -0
  21. data/generated/google/apis/appengine_v1beta4/representations.rb +30 -0
  22. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  23. data/generated/google/apis/appengine_v1beta5/classes.rb +56 -0
  24. data/generated/google/apis/appengine_v1beta5/representations.rb +30 -0
  25. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  26. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
  27. data/generated/google/apis/books_v1.rb +1 -1
  28. data/generated/google/apis/books_v1/classes.rb +119 -0
  29. data/generated/google/apis/books_v1/representations.rb +62 -0
  30. data/generated/google/apis/books_v1/service.rb +115 -0
  31. data/generated/google/apis/classroom_v1.rb +1 -1
  32. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  33. data/generated/google/apis/cloudbuild_v1/classes.rb +5 -6
  34. data/generated/google/apis/cloudiot_v1.rb +1 -1
  35. data/generated/google/apis/cloudiot_v1/classes.rb +3 -3
  36. data/generated/google/apis/cloudiot_v1beta1.rb +1 -1
  37. data/generated/google/apis/cloudiot_v1beta1/classes.rb +3 -3
  38. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  39. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +3 -3
  40. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -1
  41. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  42. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
  43. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -0
  44. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +3 -3
  46. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  47. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  48. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +20 -113
  49. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -30
  50. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -60
  51. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  52. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -0
  53. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -0
  54. data/generated/google/apis/dataproc_v1.rb +1 -1
  55. data/generated/google/apis/dataproc_v1/classes.rb +33 -33
  56. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  57. data/generated/google/apis/dataproc_v1beta2/classes.rb +42 -42
  58. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  59. data/generated/google/apis/dlp_v2beta1/classes.rb +11 -8
  60. data/generated/google/apis/dlp_v2beta2.rb +1 -1
  61. data/generated/google/apis/dlp_v2beta2/classes.rb +11 -8
  62. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  63. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +7 -0
  64. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
  65. data/generated/google/apis/iam_v1.rb +1 -1
  66. data/generated/google/apis/iam_v1/classes.rb +3 -3
  67. data/generated/google/apis/plus_domains_v1.rb +1 -1
  68. data/generated/google/apis/plus_domains_v1/service.rb +1 -1
  69. data/generated/google/apis/plus_v1.rb +1 -1
  70. data/generated/google/apis/plus_v1/service.rb +1 -1
  71. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  72. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  73. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -3
  74. data/generated/google/apis/storage_v1beta1.rb +1 -1
  75. data/generated/google/apis/storage_v1beta2.rb +1 -1
  76. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  77. data/generated/google/apis/vision_v1.rb +1 -1
  78. data/generated/google/apis/vision_v1/classes.rb +25 -21
  79. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  80. data/generated/google/apis/vision_v1p1beta1/classes.rb +25 -21
  81. data/lib/google/apis/version.rb +1 -1
  82. metadata +2 -2
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2beta1
29
29
  VERSION = 'V2beta1'
30
- REVISION = '20171219'
30
+ REVISION = '20180103'
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'
@@ -1309,7 +1309,7 @@ module Google
1309
1309
  end
1310
1310
  end
1311
1311
 
1312
- # Container structure describing a single finding within a string or image.
1312
+ # Represents a piece of potentially sensitive content.
1313
1313
  class GooglePrivacyDlpV2beta1Finding
1314
1314
  include Google::Apis::Core::Hashable
1315
1315
 
@@ -1323,17 +1323,19 @@ module Google
1323
1323
  # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType]
1324
1324
  attr_accessor :info_type
1325
1325
 
1326
- # Estimate of how likely it is that the info_type is correct.
1326
+ # Estimate of how likely it is that the `info_type` is correct.
1327
1327
  # Corresponds to the JSON property `likelihood`
1328
1328
  # @return [String]
1329
1329
  attr_accessor :likelihood
1330
1330
 
1331
- # Specifies the location of a finding within its source item.
1331
+ # Specifies the location of the finding.
1332
1332
  # Corresponds to the JSON property `location`
1333
1333
  # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Location]
1334
1334
  attr_accessor :location
1335
1335
 
1336
- # The specific string that may be potentially sensitive info.
1336
+ # The content that was found. Even if the content is not textual, it
1337
+ # may be converted to a textual representation here.
1338
+ # Provided if requested by the `InspectConfig`.
1337
1339
  # Corresponds to the JSON property `quote`
1338
1340
  # @return [String]
1339
1341
  attr_accessor :quote
@@ -2377,7 +2379,7 @@ module Google
2377
2379
  end
2378
2380
  end
2379
2381
 
2380
- # Specifies the location of a finding within its source item.
2382
+ # Specifies the location of the finding.
2381
2383
  class GooglePrivacyDlpV2beta1Location
2382
2384
  include Google::Apis::Core::Hashable
2383
2385
 
@@ -2396,7 +2398,8 @@ module Google
2396
2398
  # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId]
2397
2399
  attr_accessor :field_id
2398
2400
 
2399
- # Location within an image's pixels.
2401
+ # The area within the image that contained the finding.
2402
+ # Provided when the content is an image.
2400
2403
  # Corresponds to the JSON property `imageBoxes`
2401
2404
  # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ImageLocation>]
2402
2405
  attr_accessor :image_boxes
@@ -2406,7 +2409,7 @@ module Google
2406
2409
  # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordKey]
2407
2410
  attr_accessor :record_key
2408
2411
 
2409
- # Location of a finding within a `ContentItem.Table`.
2412
+ # Location of a finding within a table.
2410
2413
  # Corresponds to the JSON property `tableLocation`
2411
2414
  # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TableLocation]
2412
2415
  attr_accessor :table_location
@@ -3291,7 +3294,7 @@ module Google
3291
3294
  end
3292
3295
  end
3293
3296
 
3294
- # Location of a finding within a `ContentItem.Table`.
3297
+ # Location of a finding within a table.
3295
3298
  class GooglePrivacyDlpV2beta1TableLocation
3296
3299
  include Google::Apis::Core::Hashable
3297
3300
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2beta2
29
29
  VERSION = 'V2beta2'
30
- REVISION = '20171219'
30
+ REVISION = '20180103'
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'
@@ -2886,7 +2886,7 @@ module Google
2886
2886
  end
2887
2887
  end
2888
2888
 
2889
- # Container structure describing a single finding within a string or image.
2889
+ # Represents a piece of potentially sensitive content.
2890
2890
  class GooglePrivacyDlpV2beta2Finding
2891
2891
  include Google::Apis::Core::Hashable
2892
2892
 
@@ -2900,17 +2900,19 @@ module Google
2900
2900
  # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType]
2901
2901
  attr_accessor :info_type
2902
2902
 
2903
- # Estimate of how likely it is that the info_type is correct.
2903
+ # Estimate of how likely it is that the `info_type` is correct.
2904
2904
  # Corresponds to the JSON property `likelihood`
2905
2905
  # @return [String]
2906
2906
  attr_accessor :likelihood
2907
2907
 
2908
- # Specifies the location of a finding within its source item.
2908
+ # Specifies the location of the finding.
2909
2909
  # Corresponds to the JSON property `location`
2910
2910
  # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Location]
2911
2911
  attr_accessor :location
2912
2912
 
2913
- # The specific string that may be potentially sensitive info.
2913
+ # The content that was found. Even if the content is not textual, it
2914
+ # may be converted to a textual representation here.
2915
+ # Provided if requested by the `InspectConfig`.
2914
2916
  # Corresponds to the JSON property `quote`
2915
2917
  # @return [String]
2916
2918
  attr_accessor :quote
@@ -4085,7 +4087,7 @@ module Google
4085
4087
  end
4086
4088
  end
4087
4089
 
4088
- # Specifies the location of a finding within its source item.
4090
+ # Specifies the location of the finding.
4089
4091
  class GooglePrivacyDlpV2beta2Location
4090
4092
  include Google::Apis::Core::Hashable
4091
4093
 
@@ -4104,7 +4106,8 @@ module Google
4104
4106
  # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId]
4105
4107
  attr_accessor :field_id
4106
4108
 
4107
- # Location within an image's pixels.
4109
+ # The area within the image that contained the finding.
4110
+ # Provided when the content is an image.
4108
4111
  # Corresponds to the JSON property `imageBoxes`
4109
4112
  # @return [Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ImageLocation>]
4110
4113
  attr_accessor :image_boxes
@@ -4114,7 +4117,7 @@ module Google
4114
4117
  # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordKey]
4115
4118
  attr_accessor :record_key
4116
4119
 
4117
- # Location of a finding within a `ContentItem.Table`.
4120
+ # Location of a finding within a table.
4118
4121
  # Corresponds to the JSON property `tableLocation`
4119
4122
  # @return [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TableLocation]
4120
4123
  attr_accessor :table_location
@@ -5007,7 +5010,7 @@ module Google
5007
5010
  end
5008
5011
  end
5009
5012
 
5010
- # Location of a finding within a `ContentItem.Table`.
5013
+ # Location of a finding within a table.
5011
5014
  class GooglePrivacyDlpV2beta2TableLocation
5012
5015
  include Google::Apis::Core::Hashable
5013
5016
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://firebase.google.com/docs/dynamic-links/
26
26
  module FirebasedynamiclinksV1
27
27
  VERSION = 'V1'
28
- REVISION = '20171108'
28
+ REVISION = '20180102'
29
29
 
30
30
  # View and administer all your Firebase data and settings
31
31
  AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
@@ -186,6 +186,12 @@ module Google
186
186
  # @return [String]
187
187
  attr_accessor :language_code
188
188
 
189
+ # Device language code setting obtained by executing JavaScript code in
190
+ # WebView.
191
+ # Corresponds to the JSON property `languageCodeFromWebview`
192
+ # @return [String]
193
+ attr_accessor :language_code_from_webview
194
+
189
195
  # Device language code raw setting.
190
196
  # iOS does returns language code in different format than iOS WebView.
191
197
  # For example WebView returns en_US, but iOS returns en-US.
@@ -217,6 +223,7 @@ module Google
217
223
  def update!(**args)
218
224
  @device_model_name = args[:device_model_name] if args.key?(:device_model_name)
219
225
  @language_code = args[:language_code] if args.key?(:language_code)
226
+ @language_code_from_webview = args[:language_code_from_webview] if args.key?(:language_code_from_webview)
220
227
  @language_code_raw = args[:language_code_raw] if args.key?(:language_code_raw)
221
228
  @screen_resolution_height = args[:screen_resolution_height] if args.key?(:screen_resolution_height)
222
229
  @screen_resolution_width = args[:screen_resolution_width] if args.key?(:screen_resolution_width)
@@ -183,6 +183,7 @@ module Google
183
183
  class Representation < Google::Apis::Core::JsonRepresentation
184
184
  property :device_model_name, as: 'deviceModelName'
185
185
  property :language_code, as: 'languageCode'
186
+ property :language_code_from_webview, as: 'languageCodeFromWebview'
186
187
  property :language_code_raw, as: 'languageCodeRaw'
187
188
  property :screen_resolution_height, :numeric_string => true, as: 'screenResolutionHeight'
188
189
  property :screen_resolution_width, :numeric_string => true, as: 'screenResolutionWidth'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20171214'
30
+ REVISION = '20171228'
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'
@@ -379,7 +379,7 @@ module Google
379
379
  # ]
380
380
  # `
381
381
  # For a description of IAM and its features, see the
382
- # [IAM developer's guide](https://cloud.google.com/iam).
382
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
383
383
  class Policy
384
384
  include Google::Apis::Core::Hashable
385
385
 
@@ -403,7 +403,7 @@ module Google
403
403
  # @return [String]
404
404
  attr_accessor :etag
405
405
 
406
- # Version of the `Policy`. The default version is 0.
406
+ # Deprecated.
407
407
  # Corresponds to the JSON property `version`
408
408
  # @return [Fixnum]
409
409
  attr_accessor :version
@@ -816,7 +816,7 @@ module Google
816
816
  # ]
817
817
  # `
818
818
  # For a description of IAM and its features, see the
819
- # [IAM developer's guide](https://cloud.google.com/iam).
819
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
820
820
  # Corresponds to the JSON property `policy`
821
821
  # @return [Google::Apis::IamV1::Policy]
822
822
  attr_accessor :policy
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/+/domains/
26
26
  module PlusDomainsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170828'
28
+ REVISION = '20171030'
29
29
 
30
30
  # View your circles and the people and pages in them
31
31
  AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'plusDomains/v1/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/plusDomains/v1'
54
54
  end
55
55
 
56
56
  # Get an activity.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/+/api/
26
26
  module PlusV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170828'
28
+ REVISION = '20171030'
29
29
 
30
30
  # Know the list of people in your circles, your age range, and language
31
31
  AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'plus/v1/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/plus/v1'
54
54
  end
55
55
 
56
56
  # Get an activity.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV1
28
28
  VERSION = 'V1'
29
- REVISION = '20171218'
29
+ REVISION = '20171229'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-management/
28
28
  module ServicemanagementV1
29
29
  VERSION = 'V1'
30
- REVISION = '20171216'
30
+ REVISION = '20171229'
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'
@@ -3189,7 +3189,7 @@ module Google
3189
3189
  # ]
3190
3190
  # `
3191
3191
  # For a description of IAM and its features, see the
3192
- # [IAM developer's guide](https://cloud.google.com/iam).
3192
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
3193
3193
  class Policy
3194
3194
  include Google::Apis::Core::Hashable
3195
3195
 
@@ -3224,7 +3224,7 @@ module Google
3224
3224
  attr_accessor :iam_owned
3225
3225
  alias_method :iam_owned?, :iam_owned
3226
3226
 
3227
- # Version of the `Policy`. The default version is 0.
3227
+ # Deprecated.
3228
3228
  # Corresponds to the JSON property `version`
3229
3229
  # @return [Fixnum]
3230
3230
  attr_accessor :version
@@ -4001,7 +4001,7 @@ module Google
4001
4001
  # ]
4002
4002
  # `
4003
4003
  # For a description of IAM and its features, see the
4004
- # [IAM developer's guide](https://cloud.google.com/iam).
4004
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
4005
4005
  # Corresponds to the JSON property `policy`
4006
4006
  # @return [Google::Apis::ServicemanagementV1::Policy]
4007
4007
  attr_accessor :policy
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/storage/docs/json_api/
26
26
  module StorageV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20170830'
28
+ REVISION = '20171212'
29
29
 
30
30
  # Manage your data and permissions in Google Cloud Storage
31
31
  AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/storage/docs/json_api/
26
26
  module StorageV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20170830'
28
+ REVISION = '20171212'
29
29
 
30
30
  # Manage your data and permissions in Google Cloud Storage
31
31
  AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'storage/v1beta2/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/storage/v1beta2'
54
54
  end
55
55
 
56
56
  # Permanently deletes the ACL entry for the specified entity on the specified
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1
29
29
  VERSION = 'V1'
30
- REVISION = '20171107'
30
+ REVISION = '20180103'
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'
@@ -703,6 +703,7 @@ module Google
703
703
  # @return [Google::Apis::VisionV1::BoundingPoly]
704
704
  attr_accessor :bounding_poly
705
705
 
706
+ # **Deprecated. Use `score` instead.**
706
707
  # The accuracy of the entity detection in an image.
707
708
  # For example, for an image in which the "Eiffel Tower" entity is detected,
708
709
  # this field represents the confidence that there is a tower in the query
@@ -884,14 +885,14 @@ module Google
884
885
  end
885
886
  end
886
887
 
887
- # Users describe the type of Google Cloud Vision API tasks to perform over
888
- # images by using *Feature*s. Each Feature indicates a type of image
889
- # detection task to perform. Features encode the Cloud Vision API
890
- # vertical to operate on and the number of top-scoring results to return.
888
+ # The type of Google Cloud Vision API detection to perform, and the maximum
889
+ # number of results to return for that type. Multiple `Feature` objects can
890
+ # be specified in the `features` list.
891
891
  class Feature
892
892
  include Google::Apis::Core::Hashable
893
893
 
894
- # Maximum number of results of this type.
894
+ # Maximum number of results of this type. Does not apply to
895
+ # `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`.
895
896
  # Corresponds to the JSON property `maxResults`
896
897
  # @return [Fixnum]
897
898
  attr_accessor :max_results
@@ -917,14 +918,14 @@ module Google
917
918
  include Google::Apis::Core::Hashable
918
919
 
919
920
  # Image content, represented as a stream of bytes.
920
- # Note: as with all `bytes` fields, protobuffers use a pure binary
921
+ # Note: As with all `bytes` fields, protobuffers use a pure binary
921
922
  # representation, whereas JSON representations use base64.
922
923
  # Corresponds to the JSON property `content`
923
924
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
924
925
  # @return [String]
925
926
  attr_accessor :content
926
927
 
927
- # External image source (Google Cloud Storage image location).
928
+ # External image source (Google Cloud Storage or web URL image location).
928
929
  # Corresponds to the JSON property `source`
929
930
  # @return [Google::Apis::VisionV1::ImageSource]
930
931
  attr_accessor :source
@@ -997,29 +998,32 @@ module Google
997
998
  end
998
999
  end
999
1000
 
1000
- # External image source (Google Cloud Storage image location).
1001
+ # External image source (Google Cloud Storage or web URL image location).
1001
1002
  class ImageSource
1002
1003
  include Google::Apis::Core::Hashable
1003
1004
 
1004
- # NOTE: For new code `image_uri` below is preferred.
1005
- # Google Cloud Storage image URI, which must be in the following form:
1006
- # `gs://bucket_name/object_name` (for details, see
1005
+ # **Use `image_uri` instead.**
1006
+ # The Google Cloud Storage URI of the form
1007
+ # `gs://bucket_name/object_name`. Object versioning is not supported. See
1007
1008
  # [Google Cloud Storage Request
1008
- # URIs](https://cloud.google.com/storage/docs/reference-uris)).
1009
- # NOTE: Cloud Storage object versioning is not supported.
1009
+ # URIs](https://cloud.google.com/storage/docs/reference-uris) for more info.
1010
1010
  # Corresponds to the JSON property `gcsImageUri`
1011
1011
  # @return [String]
1012
1012
  attr_accessor :gcs_image_uri
1013
1013
 
1014
- # Image URI which supports:
1015
- # 1) Google Cloud Storage image URI, which must be in the following form:
1016
- # `gs://bucket_name/object_name` (for details, see
1014
+ # The URI of the source image. Can be either:
1015
+ # 1. A Google Cloud Storage URI of the form
1016
+ # `gs://bucket_name/object_name`. Object versioning is not supported. See
1017
1017
  # [Google Cloud Storage Request
1018
- # URIs](https://cloud.google.com/storage/docs/reference-uris)).
1019
- # NOTE: Cloud Storage object versioning is not supported.
1020
- # 2) Publicly accessible image HTTP/HTTPS URL.
1021
- # This is preferred over the legacy `gcs_image_uri` above. When both
1022
- # `gcs_image_uri` and `image_uri` are specified, `image_uri` takes
1018
+ # URIs](https://cloud.google.com/storage/docs/reference-uris) for more
1019
+ # info.
1020
+ # 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from
1021
+ # HTTP/HTTPS URLs, Google cannot guarantee that the request will be
1022
+ # completed. Your request may fail if the specified host denies the
1023
+ # request (e.g. due to request throttling or DOS prevention), or if Google
1024
+ # throttles requests to the site for abuse prevention. You should not
1025
+ # depend on externally-hosted images for production applications.
1026
+ # When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes
1023
1027
  # precedence.
1024
1028
  # Corresponds to the JSON property `imageUri`
1025
1029
  # @return [String]
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1p1beta1
29
29
  VERSION = 'V1p1beta1'
30
- REVISION = '20171107'
30
+ REVISION = '20180103'
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'