google-api-client 0.49.0 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +81 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  5. data/generated/google/apis/admob_v1.rb +4 -1
  6. data/generated/google/apis/admob_v1/service.rb +4 -0
  7. data/generated/google/apis/admob_v1beta.rb +38 -0
  8. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  9. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  10. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  11. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  12. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +8 -32
  13. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +0 -16
  14. data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -32
  15. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  16. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  17. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  18. data/generated/google/apis/apigee_v1.rb +1 -1
  19. data/generated/google/apis/apigee_v1/classes.rb +114 -11
  20. data/generated/google/apis/apigee_v1/representations.rb +39 -1
  21. data/generated/google/apis/apigee_v1/service.rb +370 -2
  22. data/generated/google/apis/area120tables_v1alpha1.rb +1 -1
  23. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  24. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -6
  25. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
  26. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  27. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +22 -10
  28. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
  29. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +1 -5
  30. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  31. data/generated/google/apis/billingbudgets_v1/classes.rb +6 -6
  32. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  33. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +6 -6
  34. data/generated/google/apis/cloudasset_v1.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1/classes.rb +425 -6
  36. data/generated/google/apis/cloudasset_v1/representations.rb +170 -1
  37. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  38. data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -6
  39. data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
  40. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +0 -6
  42. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +0 -1
  43. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  44. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +0 -6
  45. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +0 -1
  46. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  47. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +0 -6
  48. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +0 -1
  49. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  50. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -6
  51. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -1
  52. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  53. data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
  54. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  55. data/generated/google/apis/cloudidentity_v1beta1/service.rb +7 -3
  56. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +323 -6
  58. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +248 -1
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +323 -6
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +248 -1
  62. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  63. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +323 -6
  64. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +248 -1
  65. data/generated/google/apis/cloudresourcemanager_v2/service.rb +5 -5
  66. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  67. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +323 -6
  68. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +248 -1
  69. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +5 -5
  70. data/generated/google/apis/compute_v1.rb +1 -1
  71. data/generated/google/apis/compute_v1/classes.rb +35 -13
  72. data/generated/google/apis/compute_v1/representations.rb +2 -0
  73. data/generated/google/apis/compute_v1/service.rb +2 -1
  74. data/generated/google/apis/content_v2.rb +1 -1
  75. data/generated/google/apis/content_v2/service.rb +3 -1
  76. data/generated/google/apis/content_v2_1.rb +1 -1
  77. data/generated/google/apis/content_v2_1/classes.rb +446 -4
  78. data/generated/google/apis/content_v2_1/representations.rb +136 -0
  79. data/generated/google/apis/content_v2_1/service.rb +36 -1
  80. data/generated/google/apis/deploymentmanager_v2.rb +2 -2
  81. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  82. data/generated/google/apis/deploymentmanager_v2beta.rb +2 -2
  83. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  84. data/generated/google/apis/dialogflow_v2.rb +1 -1
  85. data/generated/google/apis/dialogflow_v2/classes.rb +0 -31
  86. data/generated/google/apis/dialogflow_v2/representations.rb +0 -15
  87. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  88. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -31
  89. data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -15
  90. data/generated/google/apis/dialogflow_v2beta1/service.rb +12 -6
  91. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  92. data/generated/google/apis/dialogflow_v3beta1/classes.rb +0 -31
  93. data/generated/google/apis/dialogflow_v3beta1/representations.rb +0 -15
  94. data/generated/google/apis/displayvideo_v1.rb +1 -1
  95. data/generated/google/apis/displayvideo_v1/classes.rb +5 -5
  96. data/generated/google/apis/displayvideo_v1/service.rb +1 -1
  97. data/generated/google/apis/dlp_v2.rb +1 -1
  98. data/generated/google/apis/dlp_v2/classes.rb +6 -0
  99. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  100. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  101. data/generated/google/apis/domains_v1alpha2/classes.rb +0 -6
  102. data/generated/google/apis/domains_v1alpha2/representations.rb +0 -1
  103. data/generated/google/apis/domains_v1beta1.rb +1 -1
  104. data/generated/google/apis/domains_v1beta1/classes.rb +0 -6
  105. data/generated/google/apis/domains_v1beta1/representations.rb +0 -1
  106. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  107. data/generated/google/apis/drive_v2.rb +1 -1
  108. data/generated/google/apis/drive_v2/classes.rb +2 -2
  109. data/generated/google/apis/drive_v3.rb +1 -1
  110. data/generated/google/apis/drive_v3/classes.rb +2 -2
  111. data/generated/google/apis/healthcare_v1.rb +1 -1
  112. data/generated/google/apis/healthcare_v1/classes.rb +6 -0
  113. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  114. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  115. data/generated/google/apis/healthcare_v1beta1/classes.rb +12 -54
  116. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -29
  117. data/generated/google/apis/logging_v2.rb +1 -1
  118. data/generated/google/apis/logging_v2/classes.rb +4 -2
  119. data/generated/google/apis/logging_v2/service.rb +20 -20
  120. data/generated/google/apis/managedidentities_v1.rb +1 -1
  121. data/generated/google/apis/managedidentities_v1/classes.rb +345 -4
  122. data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
  123. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  124. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +345 -4
  125. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -0
  126. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  127. data/generated/google/apis/managedidentities_v1beta1/classes.rb +345 -4
  128. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -0
  129. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  130. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  131. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  132. data/generated/google/apis/notebooks_v1.rb +34 -0
  133. data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
  134. data/generated/google/apis/notebooks_v1/representations.rb +581 -0
  135. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  136. data/generated/google/apis/people_v1.rb +1 -1
  137. data/generated/google/apis/people_v1/service.rb +9 -6
  138. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  139. data/generated/google/apis/policytroubleshooter_v1/classes.rb +0 -6
  140. data/generated/google/apis/policytroubleshooter_v1/representations.rb +0 -1
  141. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  142. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +0 -6
  143. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +0 -1
  144. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  145. data/generated/google/apis/privateca_v1beta1/classes.rb +0 -6
  146. data/generated/google/apis/privateca_v1beta1/representations.rb +0 -1
  147. data/generated/google/apis/privateca_v1beta1/service.rb +0 -52
  148. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  149. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  150. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  151. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  152. data/generated/google/apis/redis_v1.rb +1 -1
  153. data/generated/google/apis/redis_v1/classes.rb +58 -0
  154. data/generated/google/apis/redis_v1/representations.rb +20 -0
  155. data/generated/google/apis/redis_v1beta1.rb +1 -1
  156. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  157. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  158. data/generated/google/apis/run_v1.rb +1 -1
  159. data/generated/google/apis/run_v1/classes.rb +0 -6
  160. data/generated/google/apis/run_v1/representations.rb +0 -1
  161. data/generated/google/apis/run_v1alpha1.rb +1 -1
  162. data/generated/google/apis/run_v1alpha1/classes.rb +0 -6
  163. data/generated/google/apis/run_v1alpha1/representations.rb +0 -1
  164. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  165. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -6
  166. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  167. data/generated/google/apis/secretmanager_v1.rb +1 -1
  168. data/generated/google/apis/secretmanager_v1/classes.rb +0 -6
  169. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  170. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  171. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -6
  172. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  173. data/generated/google/apis/securitycenter_v1.rb +1 -1
  174. data/generated/google/apis/securitycenter_v1/classes.rb +0 -6
  175. data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
  176. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  177. data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -6
  178. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
  179. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  180. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -6
  181. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  182. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -7
  183. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  184. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  185. data/generated/google/apis/servicenetworking_v1/service.rb +38 -0
  186. data/generated/google/apis/storage_v1.rb +1 -1
  187. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  188. data/generated/google/apis/storagetransfer_v1/classes.rb +31 -16
  189. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  190. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  191. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  192. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  193. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  194. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  195. data/generated/google/apis/translate_v3.rb +1 -1
  196. data/generated/google/apis/translate_v3beta1.rb +1 -1
  197. data/generated/google/apis/youtube_v3.rb +1 -1
  198. data/generated/google/apis/youtube_v3/service.rb +6 -6
  199. data/lib/google/apis/version.rb +1 -1
  200. metadata +15 -3
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/people/
26
26
  module PeopleV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201026'
28
+ REVISION = '20201111'
29
29
 
30
30
  # See, edit, download, and permanently delete your contacts
31
31
  AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
@@ -383,8 +383,8 @@ module Google
383
383
  end
384
384
 
385
385
  # Create a new contact and return the person resource for that contact. The
386
- # request throws a 400 error if more than one field is specified on a field that
387
- # is a singleton for contact sources: * biographies * birthdays * genders *
386
+ # request returns a 400 error if more than one field is specified on a field
387
+ # that is a singleton for contact sources: * biographies * birthdays * genders *
388
388
  # names
389
389
  # @param [Google::Apis::PeopleV1::Person] person_object
390
390
  # @param [String] person_fields
@@ -504,7 +504,7 @@ module Google
504
504
  end
505
505
 
506
506
  # Provides information about a person by specifying a resource name. Use `people/
507
- # me` to indicate the authenticated user. The request throws a 400 error if '
507
+ # me` to indicate the authenticated user. The request returns a 400 error if '
508
508
  # personFields' is not specified.
509
509
  # @param [String] resource_name
510
510
  # Required. The resource name of the person to provide information about. - To
@@ -560,7 +560,7 @@ module Google
560
560
 
561
561
  # Provides information about a list of specific people by specifying a list of
562
562
  # requested resource names. Use `people/me` to indicate the authenticated user.
563
- # The request throws a 400 error if 'personFields' is not specified.
563
+ # The request returns a 400 error if 'personFields' is not specified.
564
564
  # @param [String] person_fields
565
565
  # Required. A field mask to restrict which fields on each person are returned.
566
566
  # Multiple fields can be specified by separating them with commas. Valid values
@@ -840,8 +840,11 @@ module Google
840
840
  execute_or_queue_command(command, &block)
841
841
  end
842
842
 
843
- # Provides a list of the authenticated user's contacts. The request throws a 400
844
- # error if 'personFields' is not specified.
843
+ # Provides a list of the authenticated user's contacts. The request returns a
844
+ # 400 error if `personFields` is not specified. The request returns a 410 error
845
+ # if `sync_token` is specified and is expired. Sync tokens expire after 7 days.
846
+ # A request without `sync_token` should be made and all contacts should be
847
+ # synced.
845
848
  # @param [String] resource_name
846
849
  # Required. The resource name to return connections for. Only `people/me` is
847
850
  # valid.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iam/
26
26
  module PolicytroubleshooterV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201031'
28
+ REVISION = '20201107'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -388,11 +388,6 @@ module Google
388
388
  class GoogleIamV1Binding
389
389
  include Google::Apis::Core::Hashable
390
390
 
391
- #
392
- # Corresponds to the JSON property `bindingId`
393
- # @return [String]
394
- attr_accessor :binding_id
395
-
396
391
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
397
392
  # CEL is a C-like expression language. The syntax and semantics of CEL are
398
393
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -454,7 +449,6 @@ module Google
454
449
 
455
450
  # Update properties of this object
456
451
  def update!(**args)
457
- @binding_id = args[:binding_id] if args.key?(:binding_id)
458
452
  @condition = args[:condition] if args.key?(:condition)
459
453
  @members = args[:members] if args.key?(:members)
460
454
  @role = args[:role] if args.key?(:role)
@@ -170,7 +170,6 @@ module Google
170
170
  class GoogleIamV1Binding
171
171
  # @private
172
172
  class Representation < Google::Apis::Core::JsonRepresentation
173
- property :binding_id, as: 'bindingId'
174
173
  property :condition, as: 'condition', class: Google::Apis::PolicytroubleshooterV1::GoogleTypeExpr, decorator: Google::Apis::PolicytroubleshooterV1::GoogleTypeExpr::Representation
175
174
 
176
175
  collection :members, as: 'members'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iam/
26
26
  module PolicytroubleshooterV1beta
27
27
  VERSION = 'V1beta'
28
- REVISION = '20201031'
28
+ REVISION = '20201107'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -388,11 +388,6 @@ module Google
388
388
  class GoogleIamV1Binding
389
389
  include Google::Apis::Core::Hashable
390
390
 
391
- #
392
- # Corresponds to the JSON property `bindingId`
393
- # @return [String]
394
- attr_accessor :binding_id
395
-
396
391
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
397
392
  # CEL is a C-like expression language. The syntax and semantics of CEL are
398
393
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -454,7 +449,6 @@ module Google
454
449
 
455
450
  # Update properties of this object
456
451
  def update!(**args)
457
- @binding_id = args[:binding_id] if args.key?(:binding_id)
458
452
  @condition = args[:condition] if args.key?(:condition)
459
453
  @members = args[:members] if args.key?(:members)
460
454
  @role = args[:role] if args.key?(:role)
@@ -170,7 +170,6 @@ module Google
170
170
  class GoogleIamV1Binding
171
171
  # @private
172
172
  class Representation < Google::Apis::Core::JsonRepresentation
173
- property :binding_id, as: 'bindingId'
174
173
  property :condition, as: 'condition', class: Google::Apis::PolicytroubleshooterV1beta::GoogleTypeExpr, decorator: Google::Apis::PolicytroubleshooterV1beta::GoogleTypeExpr::Representation
175
174
 
176
175
  collection :members, as: 'members'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/
28
28
  module PrivatecaV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20201029'
30
+ REVISION = '20201112'
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'
@@ -254,11 +254,6 @@ module Google
254
254
  class Binding
255
255
  include Google::Apis::Core::Hashable
256
256
 
257
- #
258
- # Corresponds to the JSON property `bindingId`
259
- # @return [String]
260
- attr_accessor :binding_id
261
-
262
257
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
263
258
  # CEL is a C-like expression language. The syntax and semantics of CEL are
264
259
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -320,7 +315,6 @@ module Google
320
315
 
321
316
  # Update properties of this object
322
317
  def update!(**args)
323
- @binding_id = args[:binding_id] if args.key?(:binding_id)
324
318
  @condition = args[:condition] if args.key?(:condition)
325
319
  @members = args[:members] if args.key?(:members)
326
320
  @role = args[:role] if args.key?(:role)
@@ -434,7 +434,6 @@ module Google
434
434
  class Binding
435
435
  # @private
436
436
  class Representation < Google::Apis::Core::JsonRepresentation
437
- property :binding_id, as: 'bindingId'
438
437
  property :condition, as: 'condition', class: Google::Apis::PrivatecaV1beta1::Expr, decorator: Google::Apis::PrivatecaV1beta1::Expr::Representation
439
438
 
440
439
  collection :members, as: 'members'
@@ -618,58 +618,6 @@ module Google
618
618
  execute_or_queue_command(command, &block)
619
619
  end
620
620
 
621
- # Create a new CertificateRevocationList in a given Project, Location for a
622
- # particular CertificateAuthority.
623
- # @param [String] parent
624
- # Required. The resource name of the location and CertificateAuthority
625
- # associated with the CertificateRevocationList, in the format `projects/*/
626
- # locations/*/certificateAuthorities/*`.
627
- # @param [Google::Apis::PrivatecaV1beta1::CertificateRevocationList] certificate_revocation_list_object
628
- # @param [String] certificate_revocation_list_id
629
- # Required. It must be unique within a location and match the regular expression
630
- # `[a-zA-Z0-9_-]`1,63``
631
- # @param [String] request_id
632
- # Optional. An ID to identify requests. Specify a unique request ID so that if
633
- # you must retry your request, the server will know to ignore the request if it
634
- # has already been completed. The server will guarantee that for at least 60
635
- # minutes since the first request. For example, consider a situation where you
636
- # make an initial request and t he request times out. If you make the request
637
- # again with the same request ID, the server can check if original operation
638
- # with the same request ID was received, and if so, will ignore the second
639
- # request. This prevents clients from accidentally creating duplicate
640
- # commitments. The request ID must be a valid UUID with the exception that zero
641
- # UUID is not supported (00000000-0000-0000-0000-000000000000).
642
- # @param [String] fields
643
- # Selector specifying which fields to include in a partial response.
644
- # @param [String] quota_user
645
- # Available to use for quota purposes for server-side applications. Can be any
646
- # arbitrary string assigned to a user, but should not exceed 40 characters.
647
- # @param [Google::Apis::RequestOptions] options
648
- # Request-specific options
649
- #
650
- # @yield [result, err] Result & error if block supplied
651
- # @yieldparam result [Google::Apis::PrivatecaV1beta1::Operation] parsed result object
652
- # @yieldparam err [StandardError] error object if request failed
653
- #
654
- # @return [Google::Apis::PrivatecaV1beta1::Operation]
655
- #
656
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
657
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
658
- # @raise [Google::Apis::AuthorizationError] Authorization is required
659
- def create_project_location_certificate_authority_certificate_revocation_list(parent, certificate_revocation_list_object = nil, certificate_revocation_list_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
660
- command = make_simple_command(:post, 'v1beta1/{+parent}/certificateRevocationLists', options)
661
- command.request_representation = Google::Apis::PrivatecaV1beta1::CertificateRevocationList::Representation
662
- command.request_object = certificate_revocation_list_object
663
- command.response_representation = Google::Apis::PrivatecaV1beta1::Operation::Representation
664
- command.response_class = Google::Apis::PrivatecaV1beta1::Operation
665
- command.params['parent'] = parent unless parent.nil?
666
- command.query['certificateRevocationListId'] = certificate_revocation_list_id unless certificate_revocation_list_id.nil?
667
- command.query['requestId'] = request_id unless request_id.nil?
668
- command.query['fields'] = fields unless fields.nil?
669
- command.query['quotaUser'] = quota_user unless quota_user.nil?
670
- execute_or_queue_command(command, &block)
671
- end
672
-
673
621
  # Returns a CertificateRevocationList.
674
622
  # @param [String] name
675
623
  # Required. The name of the CertificateRevocationList to get.
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/
29
29
  module RealtimebiddingV1
30
30
  VERSION = 'V1'
31
- REVISION = '20201013'
31
+ REVISION = '20201109'
32
32
 
33
33
  # See, create, edit, and delete your Authorized Buyers and Open Bidding account entities
34
34
  AUTH_REALTIME_BIDDING = 'https://www.googleapis.com/auth/realtime-bidding'
@@ -22,6 +22,118 @@ module Google
22
22
  module Apis
23
23
  module RealtimebiddingV1
24
24
 
25
+ # A request to activate a pretargeting configuration. Sets the configuration's
26
+ # state to ACTIVE.
27
+ class ActivatePretargetingConfigRequest
28
+ include Google::Apis::Core::Hashable
29
+
30
+ def initialize(**args)
31
+ update!(**args)
32
+ end
33
+
34
+ # Update properties of this object
35
+ def update!(**args)
36
+ end
37
+ end
38
+
39
+ # A request to start targeting the provided app IDs in a specific pretargeting
40
+ # configuration. The pretargeting configuration itself specifies how these apps
41
+ # are targeted. in PretargetingConfig.appTargeting.mobileAppTargeting.
42
+ class AddTargetedAppsRequest
43
+ include Google::Apis::Core::Hashable
44
+
45
+ # A list of app IDs to target in the pretargeting configuration. These values
46
+ # will be added to the list of targeted app IDs in PretargetingConfig.
47
+ # appTargeting.mobileAppTargeting.values.
48
+ # Corresponds to the JSON property `appIds`
49
+ # @return [Array<String>]
50
+ attr_accessor :app_ids
51
+
52
+ # Required. The targeting mode that should be applied to the list of app IDs. If
53
+ # there are existing targeted app IDs, must be equal to the existing
54
+ # PretargetingConfig.appTargeting.mobileAppTargeting.targetingMode or a 400 bad
55
+ # request error will be returned.
56
+ # Corresponds to the JSON property `targetingMode`
57
+ # @return [String]
58
+ attr_accessor :targeting_mode
59
+
60
+ def initialize(**args)
61
+ update!(**args)
62
+ end
63
+
64
+ # Update properties of this object
65
+ def update!(**args)
66
+ @app_ids = args[:app_ids] if args.key?(:app_ids)
67
+ @targeting_mode = args[:targeting_mode] if args.key?(:targeting_mode)
68
+ end
69
+ end
70
+
71
+ # A request to start targeting the provided publishers in a specific
72
+ # pretargeting configuration. The pretargeting configuration itself specifies
73
+ # how these publishers are targeted in PretargetingConfig.publisherTargeting.
74
+ class AddTargetedPublishersRequest
75
+ include Google::Apis::Core::Hashable
76
+
77
+ # A list of publisher IDs to target in the pretargeting configuration. These
78
+ # values will be added to the list of targeted publisher IDs in
79
+ # PretargetingConfig.publisherTargeting.values. Publishers are identified by
80
+ # their publisher ID from ads.txt / app-ads.txt. See https://iabtechlab.com/ads-
81
+ # txt/ and https://iabtechlab.com/app-ads-txt/ for more details.
82
+ # Corresponds to the JSON property `publisherIds`
83
+ # @return [Array<String>]
84
+ attr_accessor :publisher_ids
85
+
86
+ # Required. The targeting mode that should be applied to the list of publisher
87
+ # IDs. If are existing publisher IDs, must be equal to the existing
88
+ # PretargetingConfig.publisherTargeting.targetingMode or a 400 bad request error
89
+ # will be returned.
90
+ # Corresponds to the JSON property `targetingMode`
91
+ # @return [String]
92
+ attr_accessor :targeting_mode
93
+
94
+ def initialize(**args)
95
+ update!(**args)
96
+ end
97
+
98
+ # Update properties of this object
99
+ def update!(**args)
100
+ @publisher_ids = args[:publisher_ids] if args.key?(:publisher_ids)
101
+ @targeting_mode = args[:targeting_mode] if args.key?(:targeting_mode)
102
+ end
103
+ end
104
+
105
+ # A request to start targeting the provided sites in a specific pretargeting
106
+ # configuration. The pretargeting configuration itself specifies how these sites
107
+ # are targeted in PretargetingConfig.webTargeting.
108
+ class AddTargetedSitesRequest
109
+ include Google::Apis::Core::Hashable
110
+
111
+ # A list of site URLs to target in the pretargeting configuration. These values
112
+ # will be added to the list of targeted URLs in PretargetingConfig.webTargeting.
113
+ # values.
114
+ # Corresponds to the JSON property `sites`
115
+ # @return [Array<String>]
116
+ attr_accessor :sites
117
+
118
+ # Required. The targeting mode that should be applied to the list of site URLs.
119
+ # If there are existing targeted sites, must be equal to the existing
120
+ # PretargetingConfig.webTargeting.targetingMode or a 400 bad request error will
121
+ # be returned.
122
+ # Corresponds to the JSON property `targetingMode`
123
+ # @return [String]
124
+ attr_accessor :targeting_mode
125
+
126
+ def initialize(**args)
127
+ update!(**args)
128
+ end
129
+
130
+ # Update properties of this object
131
+ def update!(**args)
132
+ @sites = args[:sites] if args.key?(:sites)
133
+ @targeting_mode = args[:targeting_mode] if args.key?(:targeting_mode)
134
+ end
135
+ end
136
+
25
137
  # Detected advertiser and brand information.
26
138
  class AdvertiserAndBrand
27
139
  include Google::Apis::Core::Hashable
@@ -64,6 +176,35 @@ module Google
64
176
  end
65
177
  end
66
178
 
179
+ # A subset of app inventory to target. Bid requests that match criteria in at
180
+ # least one of the specified dimensions will be sent.
181
+ class AppTargeting
182
+ include Google::Apis::Core::Hashable
183
+
184
+ # Generic targeting used for targeting dimensions that contain a list of
185
+ # included and excluded numeric IDs used in app, user list, geo, and vertical id
186
+ # targeting.
187
+ # Corresponds to the JSON property `mobileAppCategoryTargeting`
188
+ # @return [Google::Apis::RealtimebiddingV1::NumericTargetingDimension]
189
+ attr_accessor :mobile_app_category_targeting
190
+
191
+ # Generic targeting with string values used in app, website and publisher
192
+ # targeting.
193
+ # Corresponds to the JSON property `mobileAppTargeting`
194
+ # @return [Google::Apis::RealtimebiddingV1::StringTargetingDimension]
195
+ attr_accessor :mobile_app_targeting
196
+
197
+ def initialize(**args)
198
+ update!(**args)
199
+ end
200
+
201
+ # Update properties of this object
202
+ def update!(**args)
203
+ @mobile_app_category_targeting = args[:mobile_app_category_targeting] if args.key?(:mobile_app_category_targeting)
204
+ @mobile_app_targeting = args[:mobile_app_targeting] if args.key?(:mobile_app_targeting)
205
+ end
206
+ end
207
+
67
208
  # A request to close a specified user list.
68
209
  class CloseUserListRequest
69
210
  include Google::Apis::Core::Hashable
@@ -232,6 +373,31 @@ module Google
232
373
  end
233
374
  end
234
375
 
376
+ # The dimensions of a creative. This applies to only HTML and Native creatives.
377
+ class CreativeDimensions
378
+ include Google::Apis::Core::Hashable
379
+
380
+ # The height of the creative in pixels.
381
+ # Corresponds to the JSON property `height`
382
+ # @return [Fixnum]
383
+ attr_accessor :height
384
+
385
+ # The width of the creative in pixels.
386
+ # Corresponds to the JSON property `width`
387
+ # @return [Fixnum]
388
+ attr_accessor :width
389
+
390
+ def initialize(**args)
391
+ update!(**args)
392
+ end
393
+
394
+ # Update properties of this object
395
+ def update!(**args)
396
+ @height = args[:height] if args.key?(:height)
397
+ @width = args[:width] if args.key?(:width)
398
+ end
399
+ end
400
+
235
401
  # Top level status and detected attributes of a creative.
236
402
  class CreativeServingDecision
237
403
  include Google::Apis::Core::Hashable
@@ -582,6 +748,23 @@ module Google
582
748
  end
583
749
  end
584
750
 
751
+ # A generic empty message that you can re-use to avoid defining duplicated empty
752
+ # messages in your APIs. A typical example is to use it as the request or the
753
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
754
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
755
+ # `Empty` is empty JSON object ````.
756
+ class Empty
757
+ include Google::Apis::Core::Hashable
758
+
759
+ def initialize(**args)
760
+ update!(**args)
761
+ end
762
+
763
+ # Update properties of this object
764
+ def update!(**args)
765
+ end
766
+ end
767
+
585
768
  # Response for a request to get remarketing tag.
586
769
  class GetRemarketingTagResponse
587
770
  include Google::Apis::Core::Hashable
@@ -746,6 +929,33 @@ module Google
746
929
  end
747
930
  end
748
931
 
932
+ # A response containing pretargeting configurations.
933
+ class ListPretargetingConfigsResponse
934
+ include Google::Apis::Core::Hashable
935
+
936
+ # A token which can be passed to a subsequent call to the `
937
+ # ListPretargetingConfigs` method to retrieve the next page of results in
938
+ # ListPretargetingConfigsRequest.pageToken.
939
+ # Corresponds to the JSON property `nextPageToken`
940
+ # @return [String]
941
+ attr_accessor :next_page_token
942
+
943
+ # List of pretargeting configurations.
944
+ # Corresponds to the JSON property `pretargetingConfigs`
945
+ # @return [Array<Google::Apis::RealtimebiddingV1::PretargetingConfig>]
946
+ attr_accessor :pretargeting_configs
947
+
948
+ def initialize(**args)
949
+ update!(**args)
950
+ end
951
+
952
+ # Update properties of this object
953
+ def update!(**args)
954
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
955
+ @pretargeting_configs = args[:pretargeting_configs] if args.key?(:pretargeting_configs)
956
+ end
957
+ end
958
+
749
959
  # The list user list response.
750
960
  class ListUserListsResponse
751
961
  include Google::Apis::Core::Hashable
@@ -889,6 +1099,33 @@ module Google
889
1099
  end
890
1100
  end
891
1101
 
1102
+ # Generic targeting used for targeting dimensions that contain a list of
1103
+ # included and excluded numeric IDs used in app, user list, geo, and vertical id
1104
+ # targeting.
1105
+ class NumericTargetingDimension
1106
+ include Google::Apis::Core::Hashable
1107
+
1108
+ # The IDs excluded in a configuration.
1109
+ # Corresponds to the JSON property `excludedIds`
1110
+ # @return [Array<Fixnum>]
1111
+ attr_accessor :excluded_ids
1112
+
1113
+ # The IDs included in a configuration.
1114
+ # Corresponds to the JSON property `includedIds`
1115
+ # @return [Array<Fixnum>]
1116
+ attr_accessor :included_ids
1117
+
1118
+ def initialize(**args)
1119
+ update!(**args)
1120
+ end
1121
+
1122
+ # Update properties of this object
1123
+ def update!(**args)
1124
+ @excluded_ids = args[:excluded_ids] if args.key?(:excluded_ids)
1125
+ @included_ids = args[:included_ids] if args.key?(:included_ids)
1126
+ end
1127
+ end
1128
+
892
1129
  # A request to open a specified user list.
893
1130
  class OpenUserListRequest
894
1131
  include Google::Apis::Core::Hashable
@@ -1024,6 +1261,314 @@ module Google
1024
1261
  end
1025
1262
  end
1026
1263
 
1264
+ # Pretargeting configuration: a set of targeting dimensions applied at the
1265
+ # pretargeting stage of the RTB funnel. These control which inventory a bidder
1266
+ # will receive bid requests for.
1267
+ class PretargetingConfig
1268
+ include Google::Apis::Core::Hashable
1269
+
1270
+ # Targeting modes included by this configuration. A bid request must allow all
1271
+ # the specified targeting modes. An unset value allows all bid requests to be
1272
+ # sent, regardless of which targeting modes they allow.
1273
+ # Corresponds to the JSON property `allowedUserTargetingModes`
1274
+ # @return [Array<String>]
1275
+ attr_accessor :allowed_user_targeting_modes
1276
+
1277
+ # A subset of app inventory to target. Bid requests that match criteria in at
1278
+ # least one of the specified dimensions will be sent.
1279
+ # Corresponds to the JSON property `appTargeting`
1280
+ # @return [Google::Apis::RealtimebiddingV1::AppTargeting]
1281
+ attr_accessor :app_targeting
1282
+
1283
+ # Output only. The identifier that corresponds to this pretargeting
1284
+ # configuration that helps buyers track and attribute their spend across their
1285
+ # own arbitrary divisions. If a bid request matches more than one configuration,
1286
+ # the buyer chooses which billing_id to attribute each of their bids.
1287
+ # Corresponds to the JSON property `billingId`
1288
+ # @return [Fixnum]
1289
+ attr_accessor :billing_id
1290
+
1291
+ # The diplay name associated with this configuration. This name must be unique
1292
+ # among all the pretargeting configurations a bidder has.
1293
+ # Corresponds to the JSON property `displayName`
1294
+ # @return [String]
1295
+ attr_accessor :display_name
1296
+
1297
+ # The sensitive content category label IDs excluded in this configuration. Bid
1298
+ # requests for inventory with any of the specified content label IDs will not be
1299
+ # sent. Refer to this file https://storage.googleapis.com/adx-rtb-dictionaries/
1300
+ # content-labels.txt for category IDs.
1301
+ # Corresponds to the JSON property `excludedContentLabelIds`
1302
+ # @return [Array<Fixnum>]
1303
+ attr_accessor :excluded_content_label_ids
1304
+
1305
+ # Generic targeting used for targeting dimensions that contain a list of
1306
+ # included and excluded numeric IDs used in app, user list, geo, and vertical id
1307
+ # targeting.
1308
+ # Corresponds to the JSON property `geoTargeting`
1309
+ # @return [Google::Apis::RealtimebiddingV1::NumericTargetingDimension]
1310
+ attr_accessor :geo_targeting
1311
+
1312
+ # Creative dimensions included by this configuration. Only bid requests eligible
1313
+ # for at least one of the specified creative dimensions will be sent. An unset
1314
+ # value allows all bid requests to be sent, regardless of creative dimension.
1315
+ # Corresponds to the JSON property `includedCreativeDimensions`
1316
+ # @return [Array<Google::Apis::RealtimebiddingV1::CreativeDimensions>]
1317
+ attr_accessor :included_creative_dimensions
1318
+
1319
+ # Environments that are being included. Bid requests will not be sent for a
1320
+ # given environment if it is not included. Further restrictions can be applied
1321
+ # to included environments to target only a subset of its inventory. An unset
1322
+ # value includes all environments.
1323
+ # Corresponds to the JSON property `includedEnvironments`
1324
+ # @return [Array<String>]
1325
+ attr_accessor :included_environments
1326
+
1327
+ # Creative formats included by this configuration. Only bid requests eligible
1328
+ # for at least one of the specified creative formats will be sent. An unset
1329
+ # value will allow all bid requests to be sent, regardless of format.
1330
+ # Corresponds to the JSON property `includedFormats`
1331
+ # @return [Array<String>]
1332
+ attr_accessor :included_formats
1333
+
1334
+ # The languages included in this configuration, represented by their language
1335
+ # code. See https://developers.google.com/adwords/api/docs/appendix/
1336
+ # languagecodes.
1337
+ # Corresponds to the JSON property `includedLanguages`
1338
+ # @return [Array<String>]
1339
+ attr_accessor :included_languages
1340
+
1341
+ # The mobile operating systems included in this configuration as defined in
1342
+ # https://storage.googleapis.com/adx-rtb-dictionaries/mobile-os.csv
1343
+ # Corresponds to the JSON property `includedMobileOperatingSystemIds`
1344
+ # @return [Array<Fixnum>]
1345
+ attr_accessor :included_mobile_operating_system_ids
1346
+
1347
+ # The platforms included by this configration. Bid requests for devices with the
1348
+ # specified platform types will be sent. An unset value allows all bid requests
1349
+ # to be sent, regardless of platform.
1350
+ # Corresponds to the JSON property `includedPlatforms`
1351
+ # @return [Array<String>]
1352
+ attr_accessor :included_platforms
1353
+
1354
+ # User identifier types included in this configuration. At least one of the user
1355
+ # identifier types specified in this list must be available for the bid request
1356
+ # to be sent.
1357
+ # Corresponds to the JSON property `includedUserIdTypes`
1358
+ # @return [Array<String>]
1359
+ attr_accessor :included_user_id_types
1360
+
1361
+ # The interstitial targeting specified for this configuration. The unset value
1362
+ # will allow bid requests to be sent regardless of whether they are for
1363
+ # interstitials or not.
1364
+ # Corresponds to the JSON property `interstitialTargeting`
1365
+ # @return [String]
1366
+ attr_accessor :interstitial_targeting
1367
+
1368
+ # Output only. Existing included or excluded geos that are invalid. Previously
1369
+ # targeted geos may become invalid due to privacy restrictions.
1370
+ # Corresponds to the JSON property `invalidGeoIds`
1371
+ # @return [Array<Fixnum>]
1372
+ attr_accessor :invalid_geo_ids
1373
+
1374
+ # The maximum QPS threshold for this configuration. The bidder should receive no
1375
+ # more than this number of bid requests matching this configuration per second
1376
+ # across all their bidding endpoints among all trading locations. Further
1377
+ # information available at https://developers.google.com/authorized-buyers/rtb/
1378
+ # peer-guide
1379
+ # Corresponds to the JSON property `maximumQps`
1380
+ # @return [Fixnum]
1381
+ attr_accessor :maximum_qps
1382
+
1383
+ # The targeted minimum viewability decile, ranging in values [0, 10]. A value of
1384
+ # 5 means that the configuration will only match adslots for which we predict at
1385
+ # least 50% viewability. Values > 10 will be rounded down to 10. An unset value
1386
+ # or a value of 0 indicates that bid requests will be sent regardless of
1387
+ # viewability.
1388
+ # Corresponds to the JSON property `minimumViewabilityDecile`
1389
+ # @return [Fixnum]
1390
+ attr_accessor :minimum_viewability_decile
1391
+
1392
+ # Output only. Name of the pretargeting configuration that must follow the
1393
+ # pattern `bidders/`bidder_account_id`/pretargetingConfigs/`config_id``
1394
+ # Corresponds to the JSON property `name`
1395
+ # @return [String]
1396
+ attr_accessor :name
1397
+
1398
+ # Generic targeting with string values used in app, website and publisher
1399
+ # targeting.
1400
+ # Corresponds to the JSON property `publisherTargeting`
1401
+ # @return [Google::Apis::RealtimebiddingV1::StringTargetingDimension]
1402
+ attr_accessor :publisher_targeting
1403
+
1404
+ # Output only. The state of this pretargeting configuration.
1405
+ # Corresponds to the JSON property `state`
1406
+ # @return [String]
1407
+ attr_accessor :state
1408
+
1409
+ # Generic targeting used for targeting dimensions that contain a list of
1410
+ # included and excluded numeric IDs used in app, user list, geo, and vertical id
1411
+ # targeting.
1412
+ # Corresponds to the JSON property `userListTargeting`
1413
+ # @return [Google::Apis::RealtimebiddingV1::NumericTargetingDimension]
1414
+ attr_accessor :user_list_targeting
1415
+
1416
+ # Generic targeting used for targeting dimensions that contain a list of
1417
+ # included and excluded numeric IDs used in app, user list, geo, and vertical id
1418
+ # targeting.
1419
+ # Corresponds to the JSON property `verticalTargeting`
1420
+ # @return [Google::Apis::RealtimebiddingV1::NumericTargetingDimension]
1421
+ attr_accessor :vertical_targeting
1422
+
1423
+ # Generic targeting with string values used in app, website and publisher
1424
+ # targeting.
1425
+ # Corresponds to the JSON property `webTargeting`
1426
+ # @return [Google::Apis::RealtimebiddingV1::StringTargetingDimension]
1427
+ attr_accessor :web_targeting
1428
+
1429
+ def initialize(**args)
1430
+ update!(**args)
1431
+ end
1432
+
1433
+ # Update properties of this object
1434
+ def update!(**args)
1435
+ @allowed_user_targeting_modes = args[:allowed_user_targeting_modes] if args.key?(:allowed_user_targeting_modes)
1436
+ @app_targeting = args[:app_targeting] if args.key?(:app_targeting)
1437
+ @billing_id = args[:billing_id] if args.key?(:billing_id)
1438
+ @display_name = args[:display_name] if args.key?(:display_name)
1439
+ @excluded_content_label_ids = args[:excluded_content_label_ids] if args.key?(:excluded_content_label_ids)
1440
+ @geo_targeting = args[:geo_targeting] if args.key?(:geo_targeting)
1441
+ @included_creative_dimensions = args[:included_creative_dimensions] if args.key?(:included_creative_dimensions)
1442
+ @included_environments = args[:included_environments] if args.key?(:included_environments)
1443
+ @included_formats = args[:included_formats] if args.key?(:included_formats)
1444
+ @included_languages = args[:included_languages] if args.key?(:included_languages)
1445
+ @included_mobile_operating_system_ids = args[:included_mobile_operating_system_ids] if args.key?(:included_mobile_operating_system_ids)
1446
+ @included_platforms = args[:included_platforms] if args.key?(:included_platforms)
1447
+ @included_user_id_types = args[:included_user_id_types] if args.key?(:included_user_id_types)
1448
+ @interstitial_targeting = args[:interstitial_targeting] if args.key?(:interstitial_targeting)
1449
+ @invalid_geo_ids = args[:invalid_geo_ids] if args.key?(:invalid_geo_ids)
1450
+ @maximum_qps = args[:maximum_qps] if args.key?(:maximum_qps)
1451
+ @minimum_viewability_decile = args[:minimum_viewability_decile] if args.key?(:minimum_viewability_decile)
1452
+ @name = args[:name] if args.key?(:name)
1453
+ @publisher_targeting = args[:publisher_targeting] if args.key?(:publisher_targeting)
1454
+ @state = args[:state] if args.key?(:state)
1455
+ @user_list_targeting = args[:user_list_targeting] if args.key?(:user_list_targeting)
1456
+ @vertical_targeting = args[:vertical_targeting] if args.key?(:vertical_targeting)
1457
+ @web_targeting = args[:web_targeting] if args.key?(:web_targeting)
1458
+ end
1459
+ end
1460
+
1461
+ # A request to stop targeting the provided apps in a specific pretargeting
1462
+ # configuration. The pretargeting configuration itself specifies how these apps
1463
+ # are targeted. in PretargetingConfig.appTargeting.mobileAppTargeting.
1464
+ class RemoveTargetedAppsRequest
1465
+ include Google::Apis::Core::Hashable
1466
+
1467
+ # A list of app IDs to stop targeting in the pretargeting configuration. These
1468
+ # values will be removed from the list of targeted app IDs in PretargetingConfig.
1469
+ # appTargeting.mobileAppTargeting.values.
1470
+ # Corresponds to the JSON property `appIds`
1471
+ # @return [Array<String>]
1472
+ attr_accessor :app_ids
1473
+
1474
+ def initialize(**args)
1475
+ update!(**args)
1476
+ end
1477
+
1478
+ # Update properties of this object
1479
+ def update!(**args)
1480
+ @app_ids = args[:app_ids] if args.key?(:app_ids)
1481
+ end
1482
+ end
1483
+
1484
+ # A request to stop targeting publishers in a specific configuration. The
1485
+ # pretargeting configuration itself specifies how these publishers are targeted
1486
+ # in PretargetingConfig.publisherTargeting.
1487
+ class RemoveTargetedPublishersRequest
1488
+ include Google::Apis::Core::Hashable
1489
+
1490
+ # A list of publisher IDs to stop targeting in the pretargeting configuration.
1491
+ # These values will be removed from the list of targeted publisher IDs in
1492
+ # PretargetingConfig.publisherTargeting.values. Publishers are identified by
1493
+ # their publisher ID from ads.txt / app-ads.txt. See https://iabtechlab.com/ads-
1494
+ # txt/ and https://iabtechlab.com/app-ads-txt/ for more details.
1495
+ # Corresponds to the JSON property `publisherIds`
1496
+ # @return [Array<String>]
1497
+ attr_accessor :publisher_ids
1498
+
1499
+ def initialize(**args)
1500
+ update!(**args)
1501
+ end
1502
+
1503
+ # Update properties of this object
1504
+ def update!(**args)
1505
+ @publisher_ids = args[:publisher_ids] if args.key?(:publisher_ids)
1506
+ end
1507
+ end
1508
+
1509
+ # A request to stop targeting sites in a specific pretargeting configuration.
1510
+ # The pretargeting configuration itself specifies how these sites are targeted
1511
+ # in PretargetingConfig.webTargeting.
1512
+ class RemoveTargetedSitesRequest
1513
+ include Google::Apis::Core::Hashable
1514
+
1515
+ # A list of site URLs to stop targeting in the pretargeting configuration. These
1516
+ # values will be removed from the list of targeted URLs in PretargetingConfig.
1517
+ # webTargeting.values.
1518
+ # Corresponds to the JSON property `sites`
1519
+ # @return [Array<String>]
1520
+ attr_accessor :sites
1521
+
1522
+ def initialize(**args)
1523
+ update!(**args)
1524
+ end
1525
+
1526
+ # Update properties of this object
1527
+ def update!(**args)
1528
+ @sites = args[:sites] if args.key?(:sites)
1529
+ end
1530
+ end
1531
+
1532
+ # Generic targeting with string values used in app, website and publisher
1533
+ # targeting.
1534
+ class StringTargetingDimension
1535
+ include Google::Apis::Core::Hashable
1536
+
1537
+ # How the items in this list should be targeted.
1538
+ # Corresponds to the JSON property `targetingMode`
1539
+ # @return [String]
1540
+ attr_accessor :targeting_mode
1541
+
1542
+ # The values specified.
1543
+ # Corresponds to the JSON property `values`
1544
+ # @return [Array<String>]
1545
+ attr_accessor :values
1546
+
1547
+ def initialize(**args)
1548
+ update!(**args)
1549
+ end
1550
+
1551
+ # Update properties of this object
1552
+ def update!(**args)
1553
+ @targeting_mode = args[:targeting_mode] if args.key?(:targeting_mode)
1554
+ @values = args[:values] if args.key?(:values)
1555
+ end
1556
+ end
1557
+
1558
+ # A request to suspend a pretargeting configuration. Sets the configuration's
1559
+ # state to SUSPENDED.
1560
+ class SuspendPretargetingConfigRequest
1561
+ include Google::Apis::Core::Hashable
1562
+
1563
+ def initialize(**args)
1564
+ update!(**args)
1565
+ end
1566
+
1567
+ # Update properties of this object
1568
+ def update!(**args)
1569
+ end
1570
+ end
1571
+
1027
1572
  # The URL-level breakdown for the download size.
1028
1573
  class UrlDownloadSize
1029
1574
  include Google::Apis::Core::Hashable