google-apis-displayvideo_v1 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '06096897926c3a91d4618fb268468f0bb6849dcb1e3f1c0cf6177eaa788774e5'
4
- data.tar.gz: 39d0a40d950b5bbdaa64fcedc42c476b690c8f27dbf6dcca7282bf9dcc381ec5
3
+ metadata.gz: 44e473d674761f8586286b98be6bba2bfafa110d2c877300266ae98ef1a94503
4
+ data.tar.gz: d03f3ca6d1d3b711cbabe35195de121f179f508de174fc08b8fd8b41844fa742
5
5
  SHA512:
6
- metadata.gz: f0b59095202c920d77dd18ac6a631566b053acdc9f33730e043451dd4281a8720bf9b3028eb3d16a42f094c41ce624f75d88b975e2f312d7e7a65cdc771827ae
7
- data.tar.gz: 28ffee29b2cb07250a50524bd3d6f757eeb9c040290bde43dddc798a5e4e7dde41a9ffaf01d422946a1ffb3d538af76cdf16624f3679d0f08f45a89f5299309d
6
+ metadata.gz: edc0aae6ab68931a6b7471ed4cf969268b010e561b62e43e4c9bf1765cb1fa905442f9f84b50ac562fdf51eb536a1fbdad53174d1f6bfe3d6059397916a53717
7
+ data.tar.gz: 4f2ba5f57ec6ba2c53f4baf3fca21fb9648093c35cc395985a6b831507234f234cafb8d2c5c05d0ed0859d2c45a6334b746984e38cb63d323f309f8d0b9761f8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-displayvideo_v1
2
2
 
3
+ ### v0.15.0 (2021-09-03)
4
+
5
+ * Regenerated from discovery document revision 20210902
6
+
3
7
  ### v0.14.0 (2021-07-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20210722
@@ -2023,8 +2023,8 @@ module Google
2023
2023
  class BusinessChainSearchTerms
2024
2024
  include Google::Apis::Core::Hashable
2025
2025
 
2026
- # The search query for the desired business chain. The query can be a prefix, e.
2027
- # g. "KFC", "mercede".
2026
+ # The search query for the desired business chain. The query must be the full
2027
+ # name of the business, e.g. "KFC", "mercedes-benz".
2028
2028
  # Corresponds to the JSON property `businessChain`
2029
2029
  # @return [String]
2030
2030
  attr_accessor :business_chain
@@ -3426,6 +3426,11 @@ module Google
3426
3426
  # @return [Fixnum]
3427
3427
  attr_accessor :custom_bidding_algorithm_id
3428
3428
 
3429
+ # Output only. The status of custom bidding algorithm.
3430
+ # Corresponds to the JSON property `customBiddingAlgorithmState`
3431
+ # @return [String]
3432
+ attr_accessor :custom_bidding_algorithm_state
3433
+
3429
3434
  # Required. Immutable. The type of custom bidding algorithm.
3430
3435
  # Corresponds to the JSON property `customBiddingAlgorithmType`
3431
3436
  # @return [String]
@@ -3454,6 +3459,13 @@ module Google
3454
3459
  # @return [Fixnum]
3455
3460
  attr_accessor :partner_id
3456
3461
 
3462
+ # The IDs of the advertisers who have access to this algorithm. This field will
3463
+ # not be set if the algorithm owner is a partner and is being retrieved using an
3464
+ # advertiser accessor.
3465
+ # Corresponds to the JSON property `sharedAdvertiserIds`
3466
+ # @return [Array<Fixnum>]
3467
+ attr_accessor :shared_advertiser_ids
3468
+
3457
3469
  def initialize(**args)
3458
3470
  update!(**args)
3459
3471
  end
@@ -3462,11 +3474,13 @@ module Google
3462
3474
  def update!(**args)
3463
3475
  @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
3464
3476
  @custom_bidding_algorithm_id = args[:custom_bidding_algorithm_id] if args.key?(:custom_bidding_algorithm_id)
3477
+ @custom_bidding_algorithm_state = args[:custom_bidding_algorithm_state] if args.key?(:custom_bidding_algorithm_state)
3465
3478
  @custom_bidding_algorithm_type = args[:custom_bidding_algorithm_type] if args.key?(:custom_bidding_algorithm_type)
3466
3479
  @display_name = args[:display_name] if args.key?(:display_name)
3467
3480
  @entity_status = args[:entity_status] if args.key?(:entity_status)
3468
3481
  @name = args[:name] if args.key?(:name)
3469
3482
  @partner_id = args[:partner_id] if args.key?(:partner_id)
3483
+ @shared_advertiser_ids = args[:shared_advertiser_ids] if args.key?(:shared_advertiser_ids)
3470
3484
  end
3471
3485
  end
3472
3486
 
@@ -8142,7 +8156,8 @@ module Google
8142
8156
  class PoiAssignedTargetingOptionDetails
8143
8157
  include Google::Apis::Core::Hashable
8144
8158
 
8145
- # Output only. The display name of a POI, e.g. "Times Square", "Space Needle".
8159
+ # Output only. The display name of a POI, e.g. "Times Square", "Space Needle",
8160
+ # followed by its full address if available.
8146
8161
  # Corresponds to the JSON property `displayName`
8147
8162
  # @return [String]
8148
8163
  attr_accessor :display_name
@@ -8170,8 +8185,8 @@ module Google
8170
8185
  # @return [String]
8171
8186
  attr_accessor :proximity_radius_unit
8172
8187
 
8173
- # Input only. The targeting_option_id of a TargetingOption of type `
8174
- # TARGETING_TYPE_POI`.
8188
+ # Required. The targeting_option_id of a TargetingOption of type `
8189
+ # TARGETING_TYPE_POI` or reuse an existing assigned_targeting_option_id.
8175
8190
  # Corresponds to the JSON property `targetingOptionId`
8176
8191
  # @return [String]
8177
8192
  attr_accessor :targeting_option_id
@@ -8217,7 +8232,8 @@ module Google
8217
8232
  class PoiTargetingOptionDetails
8218
8233
  include Google::Apis::Core::Hashable
8219
8234
 
8220
- # Output only. The display name of a POI, e.g. "Times Square", "Space Needle".
8235
+ # Output only. The display name of a POI(e.g. "Times Square", "Space Needle"),
8236
+ # followed by its full address if available.
8221
8237
  # Corresponds to the JSON property `displayName`
8222
8238
  # @return [String]
8223
8239
  attr_accessor :display_name
@@ -8706,7 +8722,7 @@ module Google
8706
8722
  end
8707
8723
  end
8708
8724
 
8709
- # Response message for SearchTargetingOptionsResponse.
8725
+ # Response message for SearchTargetingOptions.
8710
8726
  class SearchTargetingOptionsResponse
8711
8727
  include Google::Apis::Core::Hashable
8712
8728
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DisplayvideoV1
18
18
  # Version of the google-apis-displayvideo_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210722"
25
+ REVISION = "20210902"
26
26
  end
27
27
  end
28
28
  end
@@ -2458,11 +2458,13 @@ module Google
2458
2458
  class Representation < Google::Apis::Core::JsonRepresentation
2459
2459
  property :advertiser_id, :numeric_string => true, as: 'advertiserId'
2460
2460
  property :custom_bidding_algorithm_id, :numeric_string => true, as: 'customBiddingAlgorithmId'
2461
+ property :custom_bidding_algorithm_state, as: 'customBiddingAlgorithmState'
2461
2462
  property :custom_bidding_algorithm_type, as: 'customBiddingAlgorithmType'
2462
2463
  property :display_name, as: 'displayName'
2463
2464
  property :entity_status, as: 'entityStatus'
2464
2465
  property :name, as: 'name'
2465
2466
  property :partner_id, :numeric_string => true, as: 'partnerId'
2467
+ collection :shared_advertiser_ids, as: 'sharedAdvertiserIds'
2466
2468
  end
2467
2469
  end
2468
2470
 
@@ -3694,6 +3694,37 @@ module Google
3694
3694
  execute_or_queue_command(command, &block)
3695
3695
  end
3696
3696
 
3697
+ # Creates a new custom bidding algorithm. Returns the newly created custom
3698
+ # bidding algorithm if successful.
3699
+ # @param [Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm] custom_bidding_algorithm_object
3700
+ # @param [String] fields
3701
+ # Selector specifying which fields to include in a partial response.
3702
+ # @param [String] quota_user
3703
+ # Available to use for quota purposes for server-side applications. Can be any
3704
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3705
+ # @param [Google::Apis::RequestOptions] options
3706
+ # Request-specific options
3707
+ #
3708
+ # @yield [result, err] Result & error if block supplied
3709
+ # @yieldparam result [Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm] parsed result object
3710
+ # @yieldparam err [StandardError] error object if request failed
3711
+ #
3712
+ # @return [Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm]
3713
+ #
3714
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3715
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3716
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3717
+ def create_custom_bidding_algorithm(custom_bidding_algorithm_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3718
+ command = make_simple_command(:post, 'v1/customBiddingAlgorithms', options)
3719
+ command.request_representation = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm::Representation
3720
+ command.request_object = custom_bidding_algorithm_object
3721
+ command.response_representation = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm::Representation
3722
+ command.response_class = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm
3723
+ command.query['fields'] = fields unless fields.nil?
3724
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3725
+ execute_or_queue_command(command, &block)
3726
+ end
3727
+
3697
3728
  # Gets a custom bidding algorithm.
3698
3729
  # @param [Fixnum] custom_bidding_algorithm_id
3699
3730
  # Required. The ID of the custom bidding algorithm to fetch.
@@ -3742,14 +3773,19 @@ module Google
3742
3773
  # restriction has the form of ``field` `operator` `value``. * The operator must
3743
3774
  # be `CONTAINS (:)` or `EQUALS (=)`. * The operator must be `CONTAINS (:)` for
3744
3775
  # the following field: - `displayName` * The operator must be `EQUALS (=)` for
3745
- # the following field: - `customBiddingAlgorithmType` * For `displayName`, the
3746
- # value is a string. We return all custom bidding algorithms whose display_name
3747
- # contains such string. * For `customBiddingAlgorithmType`, the value is a
3748
- # string. We return all algorithms whose custom_bidding_algorithm_type is equal
3749
- # to the given type. Examples: * All custom bidding algorithms for which the
3750
- # display name contains "politics": `displayName:politics`. * All custom bidding
3751
- # algorithms for which the type is "SCRIPT_BASED": `customBiddingAlgorithmType=
3752
- # SCRIPT_BASED` The length of this field should be no more than 500 characters.
3776
+ # the following field: - `customBiddingAlgorithmType` - `
3777
+ # customBiddingAlgorithmState` * For `displayName`, the value is a string. We
3778
+ # return all custom bidding algorithms whose display_name contains such string. *
3779
+ # For `customBiddingAlgorithmType`, the value is a string. We return all
3780
+ # algorithms whose custom_bidding_algorithm_type is equal to the given type. *
3781
+ # For `customBiddingAlgorithmState`, the value is a string. We return all
3782
+ # algorithms whose custom_bidding_algorithm_state is equal to the given type.
3783
+ # Examples: * All custom bidding algorithms for which the display name contains "
3784
+ # politics": `displayName:politics`. * All custom bidding algorithms for which
3785
+ # the type is "SCRIPT_BASED": `customBiddingAlgorithmType=SCRIPT_BASED` * All
3786
+ # custom bidding algorithms for which the state is "ENABLED": `
3787
+ # customBiddingAlgorithmState=ENABLED` The length of this field should be no
3788
+ # more than 500 characters.
3753
3789
  # @param [String] order_by
3754
3790
  # Field by which to sort the list. Acceptable values are: * `displayName` (
3755
3791
  # default) The default sorting order is ascending. To specify descending order
@@ -3798,6 +3834,44 @@ module Google
3798
3834
  execute_or_queue_command(command, &block)
3799
3835
  end
3800
3836
 
3837
+ # Updates an existing custom bidding algorithm. Returns the updated custom
3838
+ # bidding algorithm if successful.
3839
+ # @param [Fixnum] custom_bidding_algorithm_id
3840
+ # Output only. The unique ID of the custom bidding algorithm. Assigned by the
3841
+ # system.
3842
+ # @param [Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm] custom_bidding_algorithm_object
3843
+ # @param [String] update_mask
3844
+ # Required. The mask to control which fields to update.
3845
+ # @param [String] fields
3846
+ # Selector specifying which fields to include in a partial response.
3847
+ # @param [String] quota_user
3848
+ # Available to use for quota purposes for server-side applications. Can be any
3849
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3850
+ # @param [Google::Apis::RequestOptions] options
3851
+ # Request-specific options
3852
+ #
3853
+ # @yield [result, err] Result & error if block supplied
3854
+ # @yieldparam result [Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm] parsed result object
3855
+ # @yieldparam err [StandardError] error object if request failed
3856
+ #
3857
+ # @return [Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm]
3858
+ #
3859
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3860
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3861
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3862
+ def patch_custom_bidding_algorithm(custom_bidding_algorithm_id, custom_bidding_algorithm_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3863
+ command = make_simple_command(:patch, 'v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}', options)
3864
+ command.request_representation = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm::Representation
3865
+ command.request_object = custom_bidding_algorithm_object
3866
+ command.response_representation = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm::Representation
3867
+ command.response_class = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm
3868
+ command.params['customBiddingAlgorithmId'] = custom_bidding_algorithm_id unless custom_bidding_algorithm_id.nil?
3869
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3870
+ command.query['fields'] = fields unless fields.nil?
3871
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3872
+ execute_or_queue_command(command, &block)
3873
+ end
3874
+
3801
3875
  # Gets a custom list.
3802
3876
  # @param [Fixnum] custom_list_id
3803
3877
  # Required. The ID of the custom list to fetch.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-displayvideo_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-26 00:00:00.000000000 Z
11
+ date: 2021-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-displayvideo_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-displayvideo_v1
63
63
  post_install_message:
64
64
  rdoc_options: []