generated/google-apis-adexchangebuyer2_v2beta1/lib/google/apis/adexchangebuyer2_v2beta1/service.rb
# Creates the specified filter set for the account with the given account ID.
# @param [String] owner_name
#   Name of the owner (bidder or account) of the filter set to be created. For
#   example: - For a bidder-level filter set for bidder 123: `bidders/123` - For
#   an account-level filter set for the buyer account representing bidder 123: `
#   bidders/123/accounts/123` - For an account-level filter set for the child seat
#   buyer account 456 whose bidder is 123: `bidders/123/accounts/456`
# @param [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] filter_set_object
# @param [Boolean] is_transient
#   Whether the filter set is transient, or should be persisted indefinitely. By
#   default, filter sets are not transient. If transient, it will be available for
#   at least 1 hour after creation.
# @param [String] fields
#   Selector specifying which fields to include in a partial response.
# @param [String] quota_user
#   Available to use for quota purposes for server-side applications. Can be any
#   arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
#   Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::Adexchangebuyer2V2beta1::FilterSet]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
Creates the specified filter set for the account with the given account ID.
Creates the specified filter set for the account with the given account ID .
def create_bidder_filter_set(owner_name, filter_set_object = nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:post, 'v2beta1/{+ownerName}/filterSets', options)
          command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
          command.request_object = filter_set_object
          command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
          command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
          command.params['ownerName'] = owner_name unless owner_name.nil?
          command.query['isTransient'] = is_transient unless is_transient.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
def create_bidder_filter_set ( owner_name , filter_set_object = nil , is_transient : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :post , 'v2beta1/{+ownerName}/filterSets' , options ) command . request_representation = Google :: Apis :: Adexchangebuyer2V2beta1 :: FilterSet :: Representation command . request_object = filter_set_object command . response_representation = Google :: Apis :: Adexchangebuyer2V2beta1 :: FilterSet :: Representation command . response_class = Google :: Apis :: Adexchangebuyer2V2beta1 :: FilterSet command . params [ 'ownerName' ] = owner_name unless owner_name . nil? command . query [ 'isTransient' ] = is_transient unless is_transient . nil? command . query [ 'fields' ] = fields unless fields . nil? command . query [ 'quotaUser' ] = quota_user unless quota_user . nil? execute_or_queue_command ( command , & block ) end
Creates the specified filter set for the account with the given account ID.
Creates the specified filter set for the account with the given account ID .
None
Google::Apis::Adexchangebuyer2V2beta1::FilterSet
[Google::Apis::ServerError] An error occurred on the server and the request can be retried
[ Google :: Apis :: ServerError ] An error occurred on the server and the request can be retried
[Google::Apis::ClientError] The request is invalid and should not be retried without modification
[ Google :: Apis :: ClientError ] The request is invalid and should not be retried without modification
[Google::Apis::AuthorizationError] Authorization is required
[ Google :: Apis :: AuthorizationError ] Authorization is required
owner_name
filter_set_object
is_transient
fields
quota_user
options
block
options Request-specific options
options Request - specific options
]
Result & error if block supplied
Result & error if block supplied
result
parsed result object
parsed result object
err
error object if request failed
error object if request failed