google-api-client 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -8
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +28 -184
  7. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  8. data/generated/google/apis/analyticsreporting_v4/classes.rb +56 -0
  9. data/generated/google/apis/analyticsreporting_v4/representations.rb +18 -0
  10. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  11. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  12. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +116 -0
  13. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +17 -0
  14. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  15. data/generated/google/apis/cloudtasks_v2beta2/service.rb +2 -0
  16. data/generated/google/apis/cloudtrace_v1.rb +4 -5
  17. data/generated/google/apis/cloudtrace_v1/service.rb +3 -4
  18. data/generated/google/apis/cloudtrace_v2.rb +4 -5
  19. data/generated/google/apis/cloudtrace_v2/classes.rb +18 -16
  20. data/generated/google/apis/cloudtrace_v2/service.rb +13 -16
  21. data/generated/google/apis/container_v1.rb +1 -1
  22. data/generated/google/apis/container_v1/classes.rb +1 -1
  23. data/generated/google/apis/container_v1beta1.rb +1 -1
  24. data/generated/google/apis/container_v1beta1/classes.rb +335 -1
  25. data/generated/google/apis/container_v1beta1/representations.rb +107 -0
  26. data/generated/google/apis/container_v1beta1/service.rb +482 -0
  27. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  28. data/generated/google/apis/deploymentmanager_alpha/classes.rb +2 -1
  29. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  30. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2 -1
  31. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  32. data/generated/google/apis/dfareporting_v2_7/classes.rb +6 -3
  33. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  34. data/generated/google/apis/dfareporting_v2_8/classes.rb +8 -5
  35. data/generated/google/apis/dfareporting_v3_0.rb +40 -0
  36. data/generated/google/apis/dfareporting_v3_0/classes.rb +12117 -0
  37. data/generated/google/apis/dfareporting_v3_0/representations.rb +4336 -0
  38. data/generated/google/apis/dfareporting_v3_0/service.rb +9108 -0
  39. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  40. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +9 -0
  41. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
  42. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  43. data/generated/google/apis/firestore_v1beta1/classes.rb +1 -0
  44. data/generated/google/apis/ml_v1.rb +1 -1
  45. data/generated/google/apis/ml_v1/classes.rb +76 -3
  46. data/generated/google/apis/ml_v1/representations.rb +7 -0
  47. data/generated/google/apis/ml_v1/service.rb +53 -0
  48. data/generated/google/apis/monitoring_v3.rb +1 -1
  49. data/generated/google/apis/monitoring_v3/service.rb +1 -5
  50. data/generated/google/apis/oslogin_v1alpha.rb +2 -2
  51. data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
  52. data/generated/google/apis/oslogin_v1beta.rb +2 -2
  53. data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
  54. data/generated/google/apis/people_v1.rb +1 -1
  55. data/generated/google/apis/people_v1/classes.rb +2 -0
  56. data/generated/google/apis/people_v1/service.rb +0 -4
  57. data/generated/google/apis/script_v1.rb +1 -1
  58. data/generated/google/apis/script_v1/classes.rb +5 -6
  59. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  60. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -8
  61. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  62. data/generated/google/apis/serviceuser_v1.rb +1 -1
  63. data/generated/google/apis/serviceuser_v1/classes.rb +0 -8
  64. data/generated/google/apis/serviceuser_v1/representations.rb +0 -1
  65. data/generated/google/apis/spanner_v1.rb +1 -1
  66. data/generated/google/apis/spanner_v1/classes.rb +13 -14
  67. data/generated/google/apis/spanner_v1/service.rb +13 -13
  68. data/generated/google/apis/tagmanager_v1.rb +1 -1
  69. data/generated/google/apis/tagmanager_v1/classes.rb +70 -9
  70. data/generated/google/apis/tagmanager_v1/representations.rb +22 -3
  71. data/generated/google/apis/tagmanager_v2.rb +1 -1
  72. data/generated/google/apis/tagmanager_v2/classes.rb +7 -0
  73. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  74. data/generated/google/apis/vision_v1.rb +1 -1
  75. data/generated/google/apis/vision_v1/classes.rb +434 -434
  76. data/generated/google/apis/vision_v1/representations.rb +178 -178
  77. data/generated/google/apis/vision_v1/service.rb +8 -8
  78. data/generated/google/apis/vision_v1p1beta1.rb +39 -0
  79. data/generated/google/apis/vision_v1p1beta1/classes.rb +1800 -0
  80. data/generated/google/apis/vision_v1p1beta1/representations.rb +728 -0
  81. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -0
  82. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  83. data/lib/google/apis/version.rb +1 -1
  84. metadata +10 -2
@@ -0,0 +1,91 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module VisionV1p1beta1
23
+ # Google Cloud Vision API
24
+ #
25
+ # Integrates Google Vision features, including image labeling, face, logo, and
26
+ # landmark detection, optical character recognition (OCR), and detection of
27
+ # explicit content, into applications.
28
+ #
29
+ # @example
30
+ # require 'google/apis/vision_v1p1beta1'
31
+ #
32
+ # Vision = Google::Apis::VisionV1p1beta1 # Alias the module
33
+ # service = Vision::VisionService.new
34
+ #
35
+ # @see https://cloud.google.com/vision/
36
+ class VisionService < Google::Apis::Core::BaseService
37
+ # @return [String]
38
+ # API key. Your API key identifies your project and provides you with API access,
39
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
40
+ attr_accessor :key
41
+
42
+ # @return [String]
43
+ # Available to use for quota purposes for server-side applications. Can be any
44
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
45
+ attr_accessor :quota_user
46
+
47
+ def initialize
48
+ super('https://vision.googleapis.com/', '')
49
+ @batch_path = 'batch'
50
+ end
51
+
52
+ # Run image detection and annotation for a batch of images.
53
+ # @param [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest] google_cloud_vision_v1p1beta1_batch_annotate_images_request_object
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::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse] parsed result object
64
+ # @yieldparam err [StandardError] error object if request failed
65
+ #
66
+ # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse]
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 annotate_image(google_cloud_vision_v1p1beta1_batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
72
+ command = make_simple_command(:post, 'v1p1beta1/images:annotate', options)
73
+ command.request_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest::Representation
74
+ command.request_object = google_cloud_vision_v1p1beta1_batch_annotate_images_request_object
75
+ command.response_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse::Representation
76
+ command.response_class = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse
77
+ command.query['fields'] = fields unless fields.nil?
78
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
79
+ execute_or_queue_command(command, &block)
80
+ end
81
+
82
+ protected
83
+
84
+ def apply_command_defaults(command)
85
+ command.query['key'] = key unless key.nil?
86
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
87
+ end
88
+ end
89
+ end
90
+ end
91
+ end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/youtube/partner/
26
26
  module YoutubePartnerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20171030'
28
+ REVISION = '20171106'
29
29
 
30
30
  # View and manage your assets and associated content on YouTube
31
31
  AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.17.0'
18
+ VERSION = '0.17.1'
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-11-06 00:00:00.000000000 Z
14
+ date: 2017-11-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -490,6 +490,10 @@ files:
490
490
  - generated/google/apis/dfareporting_v2_8/classes.rb
491
491
  - generated/google/apis/dfareporting_v2_8/representations.rb
492
492
  - generated/google/apis/dfareporting_v2_8/service.rb
493
+ - generated/google/apis/dfareporting_v3_0.rb
494
+ - generated/google/apis/dfareporting_v3_0/classes.rb
495
+ - generated/google/apis/dfareporting_v3_0/representations.rb
496
+ - generated/google/apis/dfareporting_v3_0/service.rb
493
497
  - generated/google/apis/discovery_v1.rb
494
498
  - generated/google/apis/discovery_v1/classes.rb
495
499
  - generated/google/apis/discovery_v1/representations.rb
@@ -890,6 +894,10 @@ files:
890
894
  - generated/google/apis/vision_v1/classes.rb
891
895
  - generated/google/apis/vision_v1/representations.rb
892
896
  - generated/google/apis/vision_v1/service.rb
897
+ - generated/google/apis/vision_v1p1beta1.rb
898
+ - generated/google/apis/vision_v1p1beta1/classes.rb
899
+ - generated/google/apis/vision_v1p1beta1/representations.rb
900
+ - generated/google/apis/vision_v1p1beta1/service.rb
893
901
  - generated/google/apis/webfonts_v1.rb
894
902
  - generated/google/apis/webfonts_v1/classes.rb
895
903
  - generated/google/apis/webfonts_v1/representations.rb