google-api-client 0.17.4 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -0
  3. data/generated/google/apis/abusiveexperiencereport_v1.rb +35 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +101 -0
  5. data/generated/google/apis/abusiveexperiencereport_v1/representations.rb +59 -0
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +124 -0
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -5
  9. data/generated/google/apis/admin_directory_v1.rb +1 -1
  10. data/generated/google/apis/admin_directory_v1/classes.rb +148 -8
  11. data/generated/google/apis/admin_directory_v1/representations.rb +55 -0
  12. data/generated/google/apis/admin_reports_v1.rb +1 -1
  13. data/generated/google/apis/admin_reports_v1/classes.rb +9 -2
  14. data/generated/google/apis/admin_reports_v1/representations.rb +1 -0
  15. data/generated/google/apis/admin_reports_v1/service.rb +58 -0
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidenterprise_v1/classes.rb +55 -0
  18. data/generated/google/apis/androidenterprise_v1/representations.rb +10 -0
  19. data/generated/google/apis/androidmanagement_v1/classes.rb +26 -26
  20. data/generated/google/apis/bigquery_v2.rb +1 -1
  21. data/generated/google/apis/bigquery_v2/classes.rb +28 -1
  22. data/generated/google/apis/bigquery_v2/representations.rb +3 -0
  23. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  24. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -1
  25. data/generated/google/apis/cloudiot_v1beta1.rb +1 -1
  26. data/generated/google/apis/cloudiot_v1beta1/classes.rb +0 -105
  27. data/generated/google/apis/cloudiot_v1beta1/representations.rb +0 -67
  28. data/generated/google/apis/cloudiot_v1beta1/service.rb +0 -107
  29. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  30. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -25
  31. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +0 -4
  32. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  33. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -143
  34. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -66
  35. data/generated/google/apis/cloudtasks_v2beta2/service.rb +3 -0
  36. data/generated/google/apis/dataproc_v1.rb +1 -1
  37. data/generated/google/apis/dataproc_v1/classes.rb +2 -4
  38. data/generated/google/apis/dataproc_v1/service.rb +9 -1
  39. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  40. data/generated/google/apis/dataproc_v1beta2/classes.rb +17 -6
  41. data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
  42. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  43. data/generated/google/apis/deploymentmanager_alpha/classes.rb +39 -5
  44. data/generated/google/apis/deploymentmanager_alpha/representations.rb +2 -0
  45. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  46. data/generated/google/apis/deploymentmanager_v2/classes.rb +15 -3
  47. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  48. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +25 -5
  49. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  50. data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
  51. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  52. data/generated/google/apis/dlp_v2beta1/classes.rb +39 -0
  53. data/generated/google/apis/dlp_v2beta1/representations.rb +16 -0
  54. data/generated/google/apis/ml_v1.rb +1 -1
  55. data/generated/google/apis/ml_v1/classes.rb +76 -0
  56. data/generated/google/apis/ml_v1/representations.rb +44 -0
  57. data/generated/google/apis/ml_v1/service.rb +73 -0
  58. data/generated/google/apis/poly_v1.rb +2 -2
  59. data/generated/google/apis/poly_v1/service.rb +1 -1
  60. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  61. data/generated/google/apis/safebrowsing_v4/classes.rb +132 -0
  62. data/generated/google/apis/safebrowsing_v4/representations.rb +64 -0
  63. data/generated/google/apis/safebrowsing_v4/service.rb +31 -0
  64. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  65. data/generated/google/apis/streetviewpublish_v1/classes.rb +2 -0
  66. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  67. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -7
  68. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  69. data/lib/google/apis/version.rb +1 -1
  70. metadata +6 -6
  71. data/generated/google/apis/dfareporting_v2_7.rb +0 -40
  72. data/generated/google/apis/dfareporting_v2_7/classes.rb +0 -11876
  73. data/generated/google/apis/dfareporting_v2_7/representations.rb +0 -4243
  74. data/generated/google/apis/dfareporting_v2_7/service.rb +0 -9098
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0700dfe67489178f4f8b0fa23bbcffb45d438f9
4
- data.tar.gz: b1cb53011e216cb7197e8cb53f776cb3e0e3b9ee
3
+ metadata.gz: 1f33f2d37fda8b7e35e33475555d0e1de4938149
4
+ data.tar.gz: a5cc90d4e87cecdf3bd2494060757e7dadff993f
5
5
  SHA512:
6
- metadata.gz: d0ecff6aaa71875490c48746a372e26f9af69cbe44716c34f8987ab12834e882ea61f17bba43f33cb1ae9d2c62a7356c4e0c0e1c90363049af4349dcf7d90315
7
- data.tar.gz: d98cb8fef29e130c278bdcc7cf0d5d849fdb512409069600189fdcd49c42b1ebaab152f337de742a5802dfa0be07a1bb6cabfb5a72b0217fc04afeab7de29c1a
6
+ metadata.gz: fc2b0ea559653886b79fd62b9cbf6691daa83441f5972aaf05e8fbad32bb90d50730435b3a02fd55d75f428086a3f6917e473b7fb4a289c7628e7a1d0bd209ac
7
+ data.tar.gz: 5217c1be33035ea3fb9ec7e2b92be56d9f712b24d3ff3cd2d11971ad88d40f774892d4d945509e808befba752e89bfb12117251c0b33a0cb1778d37cb6701e3a
@@ -1,3 +1,31 @@
1
+ # 0.18.0
2
+ * Breaking changes:
3
+ * Deleted `dfareporting_v2_7`
4
+ * Backwards compatible changes:
5
+ * Added `abusiveexperiencereport_v1`
6
+ * Updated `adexchangebuyer2_v2beta1`
7
+ * Updated `admin_directory_v1`
8
+ * Updated `admin_reports_v1`
9
+ * Updated `androidenterprise_v1`
10
+ * Updated `bigquery_v2`
11
+ * Updated `bigquerydatatransfer_v1`
12
+ * Updated `cloudiot_v1beta1`
13
+ * Updated `cloudresourcemanager_v1`
14
+ * Updated `cloudtasks_v2beta2`
15
+ * Updated `dataproc_v1`
16
+ * Updated `dataproc_v1beta2`
17
+ * Updated `deploymentmanager_alpha`
18
+ * Updated `deploymentmanager_v2`
19
+ * Updated `deploymentmanager_v2beta`
20
+ * Updated `dialogflow_v2beta1`
21
+ * Updated `dlp_v2beta1`
22
+ * Updated `ml_v1`
23
+ * Updated `poly_v1`
24
+ * Updated `safebrowsing_v4`
25
+ * Updated `streetviewpublish_v1`
26
+ * Updated `toolresults_v1beta3`
27
+ * Updated `youtube_partner_v1`
28
+
1
29
  # 0.17.4
2
30
  * Backwards compatible changes:
3
31
  * Added `poly_v1`
@@ -0,0 +1,35 @@
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/abusiveexperiencereport_v1/service.rb'
16
+ require 'google/apis/abusiveexperiencereport_v1/classes.rb'
17
+ require 'google/apis/abusiveexperiencereport_v1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Google Abusive Experience Report API
22
+ #
23
+ # View Abusive Experience Report data, and get a list of sites that have a
24
+ # significant number of abusive experiences.
25
+ #
26
+ # @see https://developers.google.com/abusive-experience-report/
27
+ module AbusiveexperiencereportV1
28
+ VERSION = 'V1'
29
+ REVISION = '20171129'
30
+
31
+ # Test scope for access to the Zoo service
32
+ AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo'
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,101 @@
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 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module AbusiveexperiencereportV1
24
+
25
+ # Response message for GetSiteSummary.
26
+ class SiteSummaryResponse
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The status of the site reviewed for the abusive experiences.
30
+ # Corresponds to the JSON property `abusiveStatus`
31
+ # @return [String]
32
+ attr_accessor :abusive_status
33
+
34
+ # The date on which enforcement begins.
35
+ # Corresponds to the JSON property `enforcementTime`
36
+ # @return [String]
37
+ attr_accessor :enforcement_time
38
+
39
+ # The abusive experience enforcement status of the site.
40
+ # Corresponds to the JSON property `filterStatus`
41
+ # @return [String]
42
+ attr_accessor :filter_status
43
+
44
+ # The last time that the site changed status.
45
+ # Corresponds to the JSON property `lastChangeTime`
46
+ # @return [String]
47
+ attr_accessor :last_change_time
48
+
49
+ # A link that leads to a full abusive experience report.
50
+ # Corresponds to the JSON property `reportUrl`
51
+ # @return [String]
52
+ attr_accessor :report_url
53
+
54
+ # The name of the site reviewed.
55
+ # Corresponds to the JSON property `reviewedSite`
56
+ # @return [String]
57
+ attr_accessor :reviewed_site
58
+
59
+ # Whether the site is currently under review.
60
+ # Corresponds to the JSON property `underReview`
61
+ # @return [Boolean]
62
+ attr_accessor :under_review
63
+ alias_method :under_review?, :under_review
64
+
65
+ def initialize(**args)
66
+ update!(**args)
67
+ end
68
+
69
+ # Update properties of this object
70
+ def update!(**args)
71
+ @abusive_status = args[:abusive_status] if args.key?(:abusive_status)
72
+ @enforcement_time = args[:enforcement_time] if args.key?(:enforcement_time)
73
+ @filter_status = args[:filter_status] if args.key?(:filter_status)
74
+ @last_change_time = args[:last_change_time] if args.key?(:last_change_time)
75
+ @report_url = args[:report_url] if args.key?(:report_url)
76
+ @reviewed_site = args[:reviewed_site] if args.key?(:reviewed_site)
77
+ @under_review = args[:under_review] if args.key?(:under_review)
78
+ end
79
+ end
80
+
81
+ # Response message for ListViolatingSites.
82
+ class ViolatingSitesResponse
83
+ include Google::Apis::Core::Hashable
84
+
85
+ # A list of summaries of violating sites.
86
+ # Corresponds to the JSON property `violatingSites`
87
+ # @return [Array<Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse>]
88
+ attr_accessor :violating_sites
89
+
90
+ def initialize(**args)
91
+ update!(**args)
92
+ end
93
+
94
+ # Update properties of this object
95
+ def update!(**args)
96
+ @violating_sites = args[:violating_sites] if args.key?(:violating_sites)
97
+ end
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,59 @@
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 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module AbusiveexperiencereportV1
24
+
25
+ class SiteSummaryResponse
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ViolatingSitesResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class SiteSummaryResponse
38
+ # @private
39
+ class Representation < Google::Apis::Core::JsonRepresentation
40
+ property :abusive_status, as: 'abusiveStatus'
41
+ property :enforcement_time, as: 'enforcementTime'
42
+ property :filter_status, as: 'filterStatus'
43
+ property :last_change_time, as: 'lastChangeTime'
44
+ property :report_url, as: 'reportUrl'
45
+ property :reviewed_site, as: 'reviewedSite'
46
+ property :under_review, as: 'underReview'
47
+ end
48
+ end
49
+
50
+ class ViolatingSitesResponse
51
+ # @private
52
+ class Representation < Google::Apis::Core::JsonRepresentation
53
+ collection :violating_sites, as: 'violatingSites', class: Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse, decorator: Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse::Representation
54
+
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,124 @@
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 AbusiveexperiencereportV1
23
+ # Google Abusive Experience Report API
24
+ #
25
+ # View Abusive Experience Report data, and get a list of sites that have a
26
+ # significant number of abusive experiences.
27
+ #
28
+ # @example
29
+ # require 'google/apis/abusiveexperiencereport_v1'
30
+ #
31
+ # Abusiveexperiencereport = Google::Apis::AbusiveexperiencereportV1 # Alias the module
32
+ # service = Abusiveexperiencereport::AbusiveExperienceReportService.new
33
+ #
34
+ # @see https://developers.google.com/abusive-experience-report/
35
+ class AbusiveExperienceReportService < Google::Apis::Core::BaseService
36
+ # @return [String]
37
+ # API key. Your API key identifies your project and provides you with API access,
38
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
39
+ attr_accessor :key
40
+
41
+ # @return [String]
42
+ # Available to use for quota purposes for server-side applications. Can be any
43
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
44
+ attr_accessor :quota_user
45
+
46
+ def initialize
47
+ super('https://abusiveexperiencereport.googleapis.com/', '')
48
+ @batch_path = 'batch'
49
+ end
50
+
51
+ # Gets a summary of the abusive experience rating of a site.
52
+ # @param [String] name
53
+ # The required site name. This is the site property whose abusive
54
+ # experiences have been reviewed, and it must be URL-encoded. For example,
55
+ # sites/https%3A%2F%2Fwww.google.com. The server will return an error of
56
+ # BAD_REQUEST if this field is not filled in. Note that if the site property
57
+ # is not yet verified in Search Console, the reportUrl field
58
+ # returned by the API will lead to the verification page, prompting the user
59
+ # to go through that process before they can gain access to the Abusive
60
+ # Experience Report.
61
+ # @param [String] fields
62
+ # Selector specifying which fields to include in a partial response.
63
+ # @param [String] quota_user
64
+ # Available to use for quota purposes for server-side applications. Can be any
65
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
66
+ # @param [Google::Apis::RequestOptions] options
67
+ # Request-specific options
68
+ #
69
+ # @yield [result, err] Result & error if block supplied
70
+ # @yieldparam result [Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse] parsed result object
71
+ # @yieldparam err [StandardError] error object if request failed
72
+ #
73
+ # @return [Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse]
74
+ #
75
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
76
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
77
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
78
+ def get_site(name, fields: nil, quota_user: nil, options: nil, &block)
79
+ command = make_simple_command(:get, 'v1/{+name}', options)
80
+ command.response_representation = Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse::Representation
81
+ command.response_class = Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse
82
+ command.params['name'] = name unless name.nil?
83
+ command.query['fields'] = fields unless fields.nil?
84
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
85
+ execute_or_queue_command(command, &block)
86
+ end
87
+
88
+ # Lists sites with Abusive Experience Report statuses of "Failing".
89
+ # @param [String] fields
90
+ # Selector specifying which fields to include in a partial response.
91
+ # @param [String] quota_user
92
+ # Available to use for quota purposes for server-side applications. Can be any
93
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
94
+ # @param [Google::Apis::RequestOptions] options
95
+ # Request-specific options
96
+ #
97
+ # @yield [result, err] Result & error if block supplied
98
+ # @yieldparam result [Google::Apis::AbusiveexperiencereportV1::ViolatingSitesResponse] parsed result object
99
+ # @yieldparam err [StandardError] error object if request failed
100
+ #
101
+ # @return [Google::Apis::AbusiveexperiencereportV1::ViolatingSitesResponse]
102
+ #
103
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
104
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
105
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
106
+ def list_violating_sites(fields: nil, quota_user: nil, options: nil, &block)
107
+ command = make_simple_command(:get, 'v1/violatingSites', options)
108
+ command.response_representation = Google::Apis::AbusiveexperiencereportV1::ViolatingSitesResponse::Representation
109
+ command.response_class = Google::Apis::AbusiveexperiencereportV1::ViolatingSitesResponse
110
+ command.query['fields'] = fields unless fields.nil?
111
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
112
+ execute_or_queue_command(command, &block)
113
+ end
114
+
115
+ protected
116
+
117
+ def apply_command_defaults(command)
118
+ command.query['key'] = key unless key.nil?
119
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
120
+ end
121
+ end
122
+ end
123
+ end
124
+ end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
27
27
  module Adexchangebuyer2V2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20171108'
29
+ REVISION = '20171201'
30
30
 
31
31
  # Manage your Ad Exchange buyer account configuration
32
32
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -851,15 +851,17 @@ module Google
851
851
  attr_accessor :absolute_date_range
852
852
 
853
853
  # The ID of the creative on which to filter; optional. This field may be set
854
- # only for a filter set that accesses buyer-level troubleshooting data, i.e.
855
- # one whose name matches the `bidders/*/accounts/*/filterSets/*` pattern.
854
+ # only for a filter set that accesses account-level troubleshooting data,
855
+ # i.e. one whose name matches the `bidders/*/accounts/*/filterSets/*`
856
+ # pattern.
856
857
  # Corresponds to the JSON property `creativeId`
857
858
  # @return [String]
858
859
  attr_accessor :creative_id
859
860
 
860
861
  # The ID of the deal on which to filter; optional. This field may be set
861
- # only for a filter set that accesses buyer-level troubleshooting data, i.e.
862
- # one whose name matches the `bidders/*/accounts/*/filterSets/*` pattern.
862
+ # only for a filter set that accesses account-level troubleshooting data,
863
+ # i.e. one whose name matches the `bidders/*/accounts/*/filterSets/*`
864
+ # pattern.
863
865
  # Corresponds to the JSON property `dealId`
864
866
  # @return [Fixnum]
865
867
  attr_accessor :deal_id
@@ -878,7 +880,7 @@ module Google
878
880
  # globally and match one of the patterns:
879
881
  # - `bidders/*/filterSets/*` (for accessing bidder-level troubleshooting
880
882
  # data)
881
- # - `bidders/*/accounts/*/filterSets/*` (for accessing buyer-level
883
+ # - `bidders/*/accounts/*/filterSets/*` (for accessing account-level
882
884
  # troubleshooting data)
883
885
  # This field is required in create operations.
884
886
  # Corresponds to the JSON property `name`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/admin-sdk/directory/
27
27
  module AdminDirectoryV1
28
28
  VERSION = 'DirectoryV1'
29
- REVISION = '20171113'
29
+ REVISION = '20171127'
30
30
 
31
31
  # View and manage customer related information
32
32
  AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
@@ -254,14 +254,39 @@ module Google
254
254
  class CalendarResource
255
255
  include Google::Apis::Core::Hashable
256
256
 
257
+ # Unique ID for the building a resource is located in.
258
+ # Corresponds to the JSON property `buildingId`
259
+ # @return [String]
260
+ attr_accessor :building_id
261
+
262
+ # Capacity of a resource, number of seats in a room.
263
+ # Corresponds to the JSON property `capacity`
264
+ # @return [Fixnum]
265
+ attr_accessor :capacity
266
+
257
267
  # ETag of the resource.
258
268
  # Corresponds to the JSON property `etags`
259
269
  # @return [String]
260
270
  attr_accessor :etags
261
271
 
262
- # The auto-generated name of the calendar resource which includes metadata about
263
- # the resource such as building name, floor, capacity, etc. For example, NYC-2-
264
- # Training Room 1A (16)
272
+ #
273
+ # Corresponds to the JSON property `featureInstances`
274
+ # @return [Object]
275
+ attr_accessor :feature_instances
276
+
277
+ # Name of the floor a resource is located on.
278
+ # Corresponds to the JSON property `floorName`
279
+ # @return [String]
280
+ attr_accessor :floor_name
281
+
282
+ # Name of the section within a floor a resource is located in.
283
+ # Corresponds to the JSON property `floorSection`
284
+ # @return [String]
285
+ attr_accessor :floor_section
286
+
287
+ # The read-only auto-generated name of the calendar resource which includes
288
+ # metadata about the resource such as building name, floor, capacity, etc. For
289
+ # example, "NYC-2-Training Room 1A (16)".
265
290
  # Corresponds to the JSON property `generatedResourceName`
266
291
  # @return [String]
267
292
  attr_accessor :generated_resource_name
@@ -272,13 +297,21 @@ module Google
272
297
  # @return [String]
273
298
  attr_accessor :kind
274
299
 
275
- # The brief description of the calendar resource.
300
+ # The category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy
301
+ # data is set to CATEGORY_UNKNOWN.
302
+ # Corresponds to the JSON property `resourceCategory`
303
+ # @return [String]
304
+ attr_accessor :resource_category
305
+
306
+ # Description of the resource, visible only to admins. The brief description of
307
+ # the calendar resource.
276
308
  # Corresponds to the JSON property `resourceDescription`
277
309
  # @return [String]
278
310
  attr_accessor :resource_description
279
311
 
280
312
  # The read-only email ID for the calendar resource. Generated as part of
281
- # creating a new calendar resource.
313
+ # creating a new calendar resource. The read-only email for the calendar
314
+ # resource. Generated as part of creating a new calendar resource.
282
315
  # Corresponds to the JSON property `resourceEmail`
283
316
  # @return [String]
284
317
  attr_accessor :resource_email
@@ -288,31 +321,45 @@ module Google
288
321
  # @return [String]
289
322
  attr_accessor :resource_id
290
323
 
291
- # The name of the calendar resource. For example, Training Room 1A
324
+ # The name of the calendar resource. For example, "Training Room 1A". The name
325
+ # of the calendar resource. For example, Training Room 1A
292
326
  # Corresponds to the JSON property `resourceName`
293
327
  # @return [String]
294
328
  attr_accessor :resource_name
295
329
 
296
- # The type of the calendar resource. Used for grouping resources in the calendar
297
- # user interface.
330
+ # The type of the calendar resource, intended for non-room resources. The type
331
+ # of the calendar resource. Used for grouping resources in the calendar user
332
+ # interface.
298
333
  # Corresponds to the JSON property `resourceType`
299
334
  # @return [String]
300
335
  attr_accessor :resource_type
301
336
 
337
+ # Description of the resource, visible to users and admins.
338
+ # Corresponds to the JSON property `userVisibleDescription`
339
+ # @return [String]
340
+ attr_accessor :user_visible_description
341
+
302
342
  def initialize(**args)
303
343
  update!(**args)
304
344
  end
305
345
 
306
346
  # Update properties of this object
307
347
  def update!(**args)
348
+ @building_id = args[:building_id] if args.key?(:building_id)
349
+ @capacity = args[:capacity] if args.key?(:capacity)
308
350
  @etags = args[:etags] if args.key?(:etags)
351
+ @feature_instances = args[:feature_instances] if args.key?(:feature_instances)
352
+ @floor_name = args[:floor_name] if args.key?(:floor_name)
353
+ @floor_section = args[:floor_section] if args.key?(:floor_section)
309
354
  @generated_resource_name = args[:generated_resource_name] if args.key?(:generated_resource_name)
310
355
  @kind = args[:kind] if args.key?(:kind)
356
+ @resource_category = args[:resource_category] if args.key?(:resource_category)
311
357
  @resource_description = args[:resource_description] if args.key?(:resource_description)
312
358
  @resource_email = args[:resource_email] if args.key?(:resource_email)
313
359
  @resource_id = args[:resource_id] if args.key?(:resource_id)
314
360
  @resource_name = args[:resource_name] if args.key?(:resource_name)
315
361
  @resource_type = args[:resource_type] if args.key?(:resource_type)
362
+ @user_visible_description = args[:user_visible_description] if args.key?(:user_visible_description)
316
363
  end
317
364
  end
318
365
 
@@ -462,6 +509,11 @@ module Google
462
509
  # @return [String]
463
510
  attr_accessor :boot_mode
464
511
 
512
+ # List of device files to download (Read-only)
513
+ # Corresponds to the JSON property `deviceFiles`
514
+ # @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile>]
515
+ attr_accessor :device_files
516
+
465
517
  # Unique identifier of Chrome OS Device (Read-only)
466
518
  # Corresponds to the JSON property `deviceId`
467
519
  # @return [String]
@@ -576,6 +628,7 @@ module Google
576
628
  @annotated_location = args[:annotated_location] if args.key?(:annotated_location)
577
629
  @annotated_user = args[:annotated_user] if args.key?(:annotated_user)
578
630
  @boot_mode = args[:boot_mode] if args.key?(:boot_mode)
631
+ @device_files = args[:device_files] if args.key?(:device_files)
579
632
  @device_id = args[:device_id] if args.key?(:device_id)
580
633
  @etag = args[:etag] if args.key?(:etag)
581
634
  @ethernet_mac_address = args[:ethernet_mac_address] if args.key?(:ethernet_mac_address)
@@ -623,6 +676,43 @@ module Google
623
676
  end
624
677
  end
625
678
 
679
+ #
680
+ class DeviceFile
681
+ include Google::Apis::Core::Hashable
682
+
683
+ # Date and time the file was created
684
+ # Corresponds to the JSON property `createTime`
685
+ # @return [DateTime]
686
+ attr_accessor :create_time
687
+
688
+ # File downlod URL
689
+ # Corresponds to the JSON property `downloadUrl`
690
+ # @return [String]
691
+ attr_accessor :download_url
692
+
693
+ # File name
694
+ # Corresponds to the JSON property `name`
695
+ # @return [String]
696
+ attr_accessor :name
697
+
698
+ # File type
699
+ # Corresponds to the JSON property `type`
700
+ # @return [String]
701
+ attr_accessor :type
702
+
703
+ def initialize(**args)
704
+ update!(**args)
705
+ end
706
+
707
+ # Update properties of this object
708
+ def update!(**args)
709
+ @create_time = args[:create_time] if args.key?(:create_time)
710
+ @download_url = args[:download_url] if args.key?(:download_url)
711
+ @name = args[:name] if args.key?(:name)
712
+ @type = args[:type] if args.key?(:type)
713
+ end
714
+ end
715
+
626
716
  #
627
717
  class RecentUser
628
718
  include Google::Apis::Core::Hashable
@@ -1044,6 +1134,56 @@ module Google
1044
1134
  end
1045
1135
  end
1046
1136
 
1137
+ # JSON template for Feature object in Directory API.
1138
+ class Feature
1139
+ include Google::Apis::Core::Hashable
1140
+
1141
+ # ETag of the resource.
1142
+ # Corresponds to the JSON property `etags`
1143
+ # @return [String]
1144
+ attr_accessor :etags
1145
+
1146
+ # Kind of resource this is.
1147
+ # Corresponds to the JSON property `kind`
1148
+ # @return [String]
1149
+ attr_accessor :kind
1150
+
1151
+ # The name of the feature.
1152
+ # Corresponds to the JSON property `name`
1153
+ # @return [String]
1154
+ attr_accessor :name
1155
+
1156
+ def initialize(**args)
1157
+ update!(**args)
1158
+ end
1159
+
1160
+ # Update properties of this object
1161
+ def update!(**args)
1162
+ @etags = args[:etags] if args.key?(:etags)
1163
+ @kind = args[:kind] if args.key?(:kind)
1164
+ @name = args[:name] if args.key?(:name)
1165
+ end
1166
+ end
1167
+
1168
+ # JSON template for a "feature instance".
1169
+ class FeatureInstance
1170
+ include Google::Apis::Core::Hashable
1171
+
1172
+ # JSON template for Feature object in Directory API.
1173
+ # Corresponds to the JSON property `feature`
1174
+ # @return [Google::Apis::AdminDirectoryV1::Feature]
1175
+ attr_accessor :feature
1176
+
1177
+ def initialize(**args)
1178
+ update!(**args)
1179
+ end
1180
+
1181
+ # Update properties of this object
1182
+ def update!(**args)
1183
+ @feature = args[:feature] if args.key?(:feature)
1184
+ end
1185
+ end
1186
+
1047
1187
  # JSON template for Group resource in Directory API.
1048
1188
  class Group
1049
1189
  include Google::Apis::Core::Hashable