google-api-client 0.20.0 → 0.20.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2 -1
  5. data/generated/google/apis/bigquery_v2.rb +1 -1
  6. data/generated/google/apis/bigquery_v2/classes.rb +2 -2
  7. data/generated/google/apis/classroom_v1.rb +1 -1
  8. data/generated/google/apis/classroom_v1/classes.rb +2 -1
  9. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  10. data/generated/google/apis/cloudbuild_v1/classes.rb +34 -0
  11. data/generated/google/apis/cloudbuild_v1/representations.rb +17 -0
  12. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  13. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -1
  14. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  15. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -1
  16. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  17. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -1
  18. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  19. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -1
  20. data/generated/google/apis/compute_alpha.rb +1 -1
  21. data/generated/google/apis/compute_alpha/classes.rb +536 -20
  22. data/generated/google/apis/compute_alpha/representations.rb +228 -2
  23. data/generated/google/apis/compute_alpha/service.rb +1860 -593
  24. data/generated/google/apis/compute_beta.rb +1 -1
  25. data/generated/google/apis/compute_beta/classes.rb +14 -0
  26. data/generated/google/apis/compute_beta/representations.rb +3 -0
  27. data/generated/google/apis/compute_beta/service.rb +3 -3
  28. data/generated/google/apis/compute_v1.rb +1 -1
  29. data/generated/google/apis/compute_v1/classes.rb +698 -21
  30. data/generated/google/apis/compute_v1/representations.rb +268 -0
  31. data/generated/google/apis/compute_v1/service.rb +778 -14
  32. data/generated/google/apis/content_v2.rb +1 -1
  33. data/generated/google/apis/content_v2/classes.rb +53 -1
  34. data/generated/google/apis/content_v2/representations.rb +18 -0
  35. data/generated/google/apis/content_v2/service.rb +62 -4
  36. data/generated/google/apis/dataproc_v1.rb +1 -1
  37. data/generated/google/apis/dataproc_v1/classes.rb +11 -7
  38. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  39. data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -5
  40. data/generated/google/apis/dlp_v2.rb +1 -1
  41. data/generated/google/apis/dlp_v2/classes.rb +2 -1
  42. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  43. data/generated/google/apis/dlp_v2beta1/classes.rb +2 -1
  44. data/generated/google/apis/dlp_v2beta2.rb +1 -1
  45. data/generated/google/apis/dlp_v2beta2/classes.rb +2 -1
  46. data/generated/google/apis/drive_v2.rb +1 -1
  47. data/generated/google/apis/drive_v2/classes.rb +2 -1
  48. data/generated/google/apis/drive_v2/service.rb +6 -5
  49. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  50. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +141 -1
  51. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +56 -0
  52. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +40 -0
  53. data/generated/google/apis/genomics_v1.rb +1 -1
  54. data/generated/google/apis/genomics_v1/classes.rb +0 -16
  55. data/generated/google/apis/genomics_v1/service.rb +0 -120
  56. data/generated/google/apis/groupssettings_v1.rb +1 -1
  57. data/generated/google/apis/groupssettings_v1/classes.rb +4 -3
  58. data/generated/google/apis/iam_v1.rb +1 -1
  59. data/generated/google/apis/iam_v1/classes.rb +0 -1
  60. data/generated/google/apis/manufacturers_v1.rb +1 -1
  61. data/generated/google/apis/manufacturers_v1/classes.rb +70 -7
  62. data/generated/google/apis/manufacturers_v1/representations.rb +23 -0
  63. data/generated/google/apis/manufacturers_v1/service.rb +17 -3
  64. data/generated/google/apis/partners_v2.rb +1 -1
  65. data/generated/google/apis/partners_v2/classes.rb +10 -1
  66. data/generated/google/apis/partners_v2/representations.rb +1 -0
  67. data/generated/google/apis/people_v1.rb +1 -1
  68. data/generated/google/apis/people_v1/classes.rb +2 -1
  69. data/generated/google/apis/safebrowsing_v4.rb +2 -2
  70. data/generated/google/apis/safebrowsing_v4/service.rb +1 -1
  71. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  72. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -7
  73. data/generated/google/apis/serviceuser_v1.rb +1 -1
  74. data/generated/google/apis/serviceuser_v1/classes.rb +1 -6
  75. data/generated/google/apis/spanner_v1.rb +1 -1
  76. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  77. data/generated/google/apis/storagetransfer_v1/classes.rb +25 -27
  78. data/generated/google/apis/testing_v1.rb +2 -2
  79. data/generated/google/apis/testing_v1/classes.rb +2 -1
  80. data/generated/google/apis/testing_v1/service.rb +1 -1
  81. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  82. data/lib/google/apis/version.rb +1 -1
  83. metadata +2 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/groups-settings/get_started
26
26
  module GroupssettingsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170607'
28
+ REVISION = '20180404'
29
29
 
30
30
  # View and manage the settings of a G Suite group
31
31
  AUTH_APPS_GROUPS_SETTINGS = 'https://www.googleapis.com/auth/apps.groups.settings'
@@ -147,7 +147,7 @@ module Google
147
147
  attr_accessor :spam_moderation_level
148
148
 
149
149
  # Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD
150
- # ALL_MEMBERS_CAN_ADD NONE_CAN_ADD
150
+ # ALL_OWNERS_CAN_ADD ALL_MEMBERS_CAN_ADD NONE_CAN_ADD
151
151
  # Corresponds to the JSON property `whoCanAdd`
152
152
  # @return [String]
153
153
  attr_accessor :who_can_add
@@ -160,7 +160,7 @@ module Google
160
160
  attr_accessor :who_can_contact_owner
161
161
 
162
162
  # Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE
163
- # ALL_MANAGERS_CAN_INVITE NONE_CAN_INVITE
163
+ # ALL_MANAGERS_CAN_INVITE ALL_OWNERS_CAN_INVITE NONE_CAN_INVITE
164
164
  # Corresponds to the JSON property `whoCanInvite`
165
165
  # @return [String]
166
166
  attr_accessor :who_can_invite
@@ -172,7 +172,7 @@ module Google
172
172
  attr_accessor :who_can_join
173
173
 
174
174
  # Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE
175
- # ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE
175
+ # ALL_OWNERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE
176
176
  # Corresponds to the JSON property `whoCanLeaveGroup`
177
177
  # @return [String]
178
178
  attr_accessor :who_can_leave_group
@@ -186,6 +186,7 @@ module Google
186
186
 
187
187
  # Permissions to view group. Possible values are: ANYONE_CAN_VIEW
188
188
  # ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW
189
+ # ALL_OWNERS_CAN_VIEW
189
190
  # Corresponds to the JSON property `whoCanViewGroup`
190
191
  # @return [String]
191
192
  attr_accessor :who_can_view_group
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20180223'
30
+ REVISION = '20180330'
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'
@@ -73,7 +73,6 @@ module Google
73
73
  include Google::Apis::Core::Hashable
74
74
 
75
75
  # The configuration for logging of each type of permission.
76
- # Next ID: 4
77
76
  # Corresponds to the JSON property `auditLogConfigs`
78
77
  # @return [Array<Google::Apis::IamV1::AuditLogConfig>]
79
78
  attr_accessor :audit_log_configs
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/manufacturers/
26
26
  module ManufacturersV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180316'
28
+ REVISION = '20180404'
29
29
 
30
30
  # Manage your product listings for Google Manufacturer Center
31
31
  AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter'
@@ -75,6 +75,11 @@ module Google
75
75
  # @return [String]
76
76
  attr_accessor :disclosure_date
77
77
 
78
+ # A list of excluded destinations.
79
+ # Corresponds to the JSON property `excludedDestination`
80
+ # @return [Array<String>]
81
+ attr_accessor :excluded_destination
82
+
78
83
  # The rich format description of the product. For more information, see
79
84
  # https://support.google.com/manufacturers/answer/6124116#featuredesc.
80
85
  # Corresponds to the JSON property `featureDescription`
@@ -110,6 +115,11 @@ module Google
110
115
  # @return [Google::Apis::ManufacturersV1::Image]
111
116
  attr_accessor :image_link
112
117
 
118
+ # A list of included destinations.
119
+ # Corresponds to the JSON property `includedDestination`
120
+ # @return [Array<String>]
121
+ attr_accessor :included_destination
122
+
113
123
  # The item group id of the product. For more information, see
114
124
  # https://support.google.com/manufacturers/answer/6124116#itemgroupid.
115
125
  # Corresponds to the JSON property `itemGroupId`
@@ -238,12 +248,14 @@ module Google
238
248
  @count = args[:count] if args.key?(:count)
239
249
  @description = args[:description] if args.key?(:description)
240
250
  @disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date)
251
+ @excluded_destination = args[:excluded_destination] if args.key?(:excluded_destination)
241
252
  @feature_description = args[:feature_description] if args.key?(:feature_description)
242
253
  @flavor = args[:flavor] if args.key?(:flavor)
243
254
  @format = args[:format] if args.key?(:format)
244
255
  @gender = args[:gender] if args.key?(:gender)
245
256
  @gtin = args[:gtin] if args.key?(:gtin)
246
257
  @image_link = args[:image_link] if args.key?(:image_link)
258
+ @included_destination = args[:included_destination] if args.key?(:included_destination)
247
259
  @item_group_id = args[:item_group_id] if args.key?(:item_group_id)
248
260
  @material = args[:material] if args.key?(:material)
249
261
  @mpn = args[:mpn] if args.key?(:mpn)
@@ -318,6 +330,31 @@ module Google
318
330
  end
319
331
  end
320
332
 
333
+ # The destination status.
334
+ class DestinationStatus
335
+ include Google::Apis::Core::Hashable
336
+
337
+ # The name of the destination.
338
+ # Corresponds to the JSON property `destination`
339
+ # @return [String]
340
+ attr_accessor :destination
341
+
342
+ # The status of the destination.
343
+ # Corresponds to the JSON property `status`
344
+ # @return [String]
345
+ attr_accessor :status
346
+
347
+ def initialize(**args)
348
+ update!(**args)
349
+ end
350
+
351
+ # Update properties of this object
352
+ def update!(**args)
353
+ @destination = args[:destination] if args.key?(:destination)
354
+ @status = args[:status] if args.key?(:status)
355
+ end
356
+ end
357
+
321
358
  # A generic empty message that you can re-use to avoid defining duplicated
322
359
  # empty messages in your APIs. A typical example is to use it as the request
323
360
  # or the response type of an API method. For instance:
@@ -420,6 +457,16 @@ module Google
420
457
  # @return [String]
421
458
  attr_accessor :description
422
459
 
460
+ # The destination this issue applies to.
461
+ # Corresponds to the JSON property `destination`
462
+ # @return [String]
463
+ attr_accessor :destination
464
+
465
+ # What needs to happen to resolve the issue.
466
+ # Corresponds to the JSON property `resolution`
467
+ # @return [String]
468
+ attr_accessor :resolution
469
+
423
470
  # The severity of the issue.
424
471
  # Corresponds to the JSON property `severity`
425
472
  # @return [String]
@@ -430,6 +477,11 @@ module Google
430
477
  # @return [String]
431
478
  attr_accessor :timestamp
432
479
 
480
+ # Short title describing the nature of the issue.
481
+ # Corresponds to the JSON property `title`
482
+ # @return [String]
483
+ attr_accessor :title
484
+
433
485
  # The server-generated type of the issue, for example,
434
486
  # “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
435
487
  # Corresponds to the JSON property `type`
@@ -444,8 +496,11 @@ module Google
444
496
  def update!(**args)
445
497
  @attribute = args[:attribute] if args.key?(:attribute)
446
498
  @description = args[:description] if args.key?(:description)
499
+ @destination = args[:destination] if args.key?(:destination)
500
+ @resolution = args[:resolution] if args.key?(:resolution)
447
501
  @severity = args[:severity] if args.key?(:severity)
448
502
  @timestamp = args[:timestamp] if args.key?(:timestamp)
503
+ @title = args[:title] if args.key?(:title)
449
504
  @type = args[:type] if args.key?(:type)
450
505
  end
451
506
  end
@@ -504,13 +559,23 @@ module Google
504
559
  class Product
505
560
  include Google::Apis::Core::Hashable
506
561
 
562
+ # Attributes of the product. For more information, see
563
+ # https://support.google.com/manufacturers/answer/6124116.
564
+ # Corresponds to the JSON property `attributes`
565
+ # @return [Google::Apis::ManufacturersV1::Attributes]
566
+ attr_accessor :attributes
567
+
507
568
  # The content language of the product as a two-letter ISO 639-1 language code
508
569
  # (for example, en).
509
- # @OutputOnly
510
570
  # Corresponds to the JSON property `contentLanguage`
511
571
  # @return [String]
512
572
  attr_accessor :content_language
513
573
 
574
+ # The status of the destinations.
575
+ # Corresponds to the JSON property `destinationStatuses`
576
+ # @return [Array<Google::Apis::ManufacturersV1::DestinationStatus>]
577
+ attr_accessor :destination_statuses
578
+
514
579
  # Attributes of the product. For more information, see
515
580
  # https://support.google.com/manufacturers/answer/6124116.
516
581
  # Corresponds to the JSON property `finalAttributes`
@@ -518,14 +583,14 @@ module Google
518
583
  attr_accessor :final_attributes
519
584
 
520
585
  # A server-generated list of issues associated with the product.
521
- # @OutputOnly
522
586
  # Corresponds to the JSON property `issues`
523
587
  # @return [Array<Google::Apis::ManufacturersV1::Issue>]
524
588
  attr_accessor :issues
525
589
 
526
590
  # Names of the attributes of the product deleted manually via the
527
591
  # Manufacturer Center UI.
528
- # @OutputOnly
592
+ # This field is deprecated and will be removed end of July 2018. Please use
593
+ # attributes.
529
594
  # Corresponds to the JSON property `manuallyDeletedAttributes`
530
595
  # @return [Array<String>]
531
596
  attr_accessor :manually_deleted_attributes
@@ -544,28 +609,24 @@ module Google
544
609
  # `product_id` - The ID of the product. For more information, see
545
610
  # https://support.google.com/manufacturers/answer/6124116#
546
611
  # id.
547
- # @OutputOnly
548
612
  # Corresponds to the JSON property `name`
549
613
  # @return [String]
550
614
  attr_accessor :name
551
615
 
552
616
  # Parent ID in the format `accounts/`account_id``.
553
617
  # `account_id` - The ID of the Manufacturer Center account.
554
- # @OutputOnly
555
618
  # Corresponds to the JSON property `parent`
556
619
  # @return [String]
557
620
  attr_accessor :parent
558
621
 
559
622
  # The ID of the product. For more information, see
560
623
  # https://support.google.com/manufacturers/answer/6124116#id.
561
- # @OutputOnly
562
624
  # Corresponds to the JSON property `productId`
563
625
  # @return [String]
564
626
  attr_accessor :product_id
565
627
 
566
628
  # The target country of the product as a CLDR territory code (for example,
567
629
  # US).
568
- # @OutputOnly
569
630
  # Corresponds to the JSON property `targetCountry`
570
631
  # @return [String]
571
632
  attr_accessor :target_country
@@ -582,7 +643,9 @@ module Google
582
643
 
583
644
  # Update properties of this object
584
645
  def update!(**args)
646
+ @attributes = args[:attributes] if args.key?(:attributes)
585
647
  @content_language = args[:content_language] if args.key?(:content_language)
648
+ @destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses)
586
649
  @final_attributes = args[:final_attributes] if args.key?(:final_attributes)
587
650
  @issues = args[:issues] if args.key?(:issues)
588
651
  @manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class DestinationStatus
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class Empty
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -102,6 +108,7 @@ module Google
102
108
 
103
109
  property :description, as: 'description'
104
110
  property :disclosure_date, as: 'disclosureDate'
111
+ collection :excluded_destination, as: 'excludedDestination'
105
112
  collection :feature_description, as: 'featureDescription', class: Google::Apis::ManufacturersV1::FeatureDescription, decorator: Google::Apis::ManufacturersV1::FeatureDescription::Representation
106
113
 
107
114
  property :flavor, as: 'flavor'
@@ -110,6 +117,7 @@ module Google
110
117
  collection :gtin, as: 'gtin'
111
118
  property :image_link, as: 'imageLink', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation
112
119
 
120
+ collection :included_destination, as: 'includedDestination'
113
121
  property :item_group_id, as: 'itemGroupId'
114
122
  property :material, as: 'material'
115
123
  property :mpn, as: 'mpn'
@@ -150,6 +158,14 @@ module Google
150
158
  end
151
159
  end
152
160
 
161
+ class DestinationStatus
162
+ # @private
163
+ class Representation < Google::Apis::Core::JsonRepresentation
164
+ property :destination, as: 'destination'
165
+ property :status, as: 'status'
166
+ end
167
+ end
168
+
153
169
  class Empty
154
170
  # @private
155
171
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -180,8 +196,11 @@ module Google
180
196
  class Representation < Google::Apis::Core::JsonRepresentation
181
197
  property :attribute, as: 'attribute'
182
198
  property :description, as: 'description'
199
+ property :destination, as: 'destination'
200
+ property :resolution, as: 'resolution'
183
201
  property :severity, as: 'severity'
184
202
  property :timestamp, as: 'timestamp'
203
+ property :title, as: 'title'
185
204
  property :type, as: 'type'
186
205
  end
187
206
  end
@@ -206,7 +225,11 @@ module Google
206
225
  class Product
207
226
  # @private
208
227
  class Representation < Google::Apis::Core::JsonRepresentation
228
+ property :attributes, as: 'attributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation
229
+
209
230
  property :content_language, as: 'contentLanguage'
231
+ collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::ManufacturersV1::DestinationStatus, decorator: Google::Apis::ManufacturersV1::DestinationStatus::Representation
232
+
210
233
  property :final_attributes, as: 'finalAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation
211
234
 
212
235
  collection :issues, as: 'issues', class: Google::Apis::ManufacturersV1::Issue, decorator: Google::Apis::ManufacturersV1::Issue::Representation
@@ -43,7 +43,7 @@ module Google
43
43
  attr_accessor :quota_user
44
44
 
45
45
  def initialize
46
- super('https://content-manufacturers.googleapis.com/', '')
46
+ super('https://manufacturers.googleapis.com/', '')
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
@@ -106,6 +106,12 @@ module Google
106
106
  # `product_id` - The ID of the product. For more information, see
107
107
  # https://support.google.com/manufacturers/answer/6124116#
108
108
  # id.
109
+ # @param [Array<String>, String] include
110
+ # The information to be included in the response. Only sections listed here
111
+ # will be returned.
112
+ # If this parameter is not specified, ATTRIBUTES and ISSUES are returned.
113
+ # This behavior is temporary and will be removed once all clients are ready
114
+ # or at the latest end of July 2018. After that no sections will be returned.
109
115
  # @param [String] fields
110
116
  # Selector specifying which fields to include in a partial response.
111
117
  # @param [String] quota_user
@@ -123,12 +129,13 @@ module Google
123
129
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
124
130
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
125
131
  # @raise [Google::Apis::AuthorizationError] Authorization is required
126
- def get_account_product(parent, name, fields: nil, quota_user: nil, options: nil, &block)
132
+ def get_account_product(parent, name, include: nil, fields: nil, quota_user: nil, options: nil, &block)
127
133
  command = make_simple_command(:get, 'v1/{+parent}/products/{+name}', options)
128
134
  command.response_representation = Google::Apis::ManufacturersV1::Product::Representation
129
135
  command.response_class = Google::Apis::ManufacturersV1::Product
130
136
  command.params['parent'] = parent unless parent.nil?
131
137
  command.params['name'] = name unless name.nil?
138
+ command.query['include'] = include unless include.nil?
132
139
  command.query['fields'] = fields unless fields.nil?
133
140
  command.query['quotaUser'] = quota_user unless quota_user.nil?
134
141
  execute_or_queue_command(command, &block)
@@ -138,6 +145,12 @@ module Google
138
145
  # @param [String] parent
139
146
  # Parent ID in the format `accounts/`account_id``.
140
147
  # `account_id` - The ID of the Manufacturer Center account.
148
+ # @param [Array<String>, String] include
149
+ # The information to be included in the response. Only sections listed here
150
+ # will be returned.
151
+ # If this parameter is not specified, ATTRIBUTES and ISSUES are returned.
152
+ # This behavior is temporary and will be removed once all clients are ready
153
+ # or at the latest end of July 2018. After that no sections will be returned.
141
154
  # @param [Fixnum] page_size
142
155
  # Maximum number of product statuses to return in the response, used for
143
156
  # paging.
@@ -160,11 +173,12 @@ module Google
160
173
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
161
174
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
162
175
  # @raise [Google::Apis::AuthorizationError] Authorization is required
163
- def list_account_products(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
176
+ def list_account_products(parent, include: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
164
177
  command = make_simple_command(:get, 'v1/{+parent}/products', options)
165
178
  command.response_representation = Google::Apis::ManufacturersV1::ListProductsResponse::Representation
166
179
  command.response_class = Google::Apis::ManufacturersV1::ListProductsResponse
167
180
  command.params['parent'] = parent unless parent.nil?
181
+ command.query['include'] = include unless include.nil?
168
182
  command.query['pageSize'] = page_size unless page_size.nil?
169
183
  command.query['pageToken'] = page_token unless page_token.nil?
170
184
  command.query['fields'] = fields unless fields.nil?
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/partners/
27
27
  module PartnersV2
28
28
  VERSION = 'V2'
29
- REVISION = '20180122'
29
+ REVISION = '20180403'
30
30
  end
31
31
  end
32
32
  end
@@ -748,7 +748,8 @@ module Google
748
748
  # @return [Fixnum]
749
749
  attr_accessor :day
750
750
 
751
- # Month of year. Must be from 1 to 12.
751
+ # Month of year. Must be from 1 to 12, or 0 if specifying a date without a
752
+ # month.
752
753
  # Corresponds to the JSON property `month`
753
754
  # @return [Fixnum]
754
755
  attr_accessor :month
@@ -2016,6 +2017,13 @@ module Google
2016
2017
  class User
2017
2018
  include Google::Apis::Core::Hashable
2018
2019
 
2020
+ # Whether or not the user has opted to share their Academy for Ads info with
2021
+ # Google Partners.
2022
+ # Corresponds to the JSON property `afaInfoShared`
2023
+ # @return [Boolean]
2024
+ attr_accessor :afa_info_shared
2025
+ alias_method :afa_info_shared?, :afa_info_shared
2026
+
2019
2027
  # This is the list of AdWords Manager Accounts the user has edit access to.
2020
2028
  # If the user has edit access to multiple accounts, the user can choose the
2021
2029
  # preferred account and we use this when a personal account is needed. Can
@@ -2089,6 +2097,7 @@ module Google
2089
2097
 
2090
2098
  # Update properties of this object
2091
2099
  def update!(**args)
2100
+ @afa_info_shared = args[:afa_info_shared] if args.key?(:afa_info_shared)
2092
2101
  @available_adwords_manager_accounts = args[:available_adwords_manager_accounts] if args.key?(:available_adwords_manager_accounts)
2093
2102
  @certification_status = args[:certification_status] if args.key?(:certification_status)
2094
2103
  @company = args[:company] if args.key?(:company)
@@ -848,6 +848,7 @@ module Google
848
848
  class User
849
849
  # @private
850
850
  class Representation < Google::Apis::Core::JsonRepresentation
851
+ property :afa_info_shared, as: 'afaInfoShared'
851
852
  collection :available_adwords_manager_accounts, as: 'availableAdwordsManagerAccounts', class: Google::Apis::PartnersV2::AdWordsManagerAccountInfo, decorator: Google::Apis::PartnersV2::AdWordsManagerAccountInfo::Representation
852
853
 
853
854
  collection :certification_status, as: 'certificationStatus', class: Google::Apis::PartnersV2::Certification, decorator: Google::Apis::PartnersV2::Certification::Representation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/people/
26
26
  module PeopleV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180303'
28
+ REVISION = '20180404'
29
29
 
30
30
  # Manage your contacts
31
31
  AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'