google-apis-dfareporting_v4 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3709,6 +3709,156 @@ module Google
3709
3709
  execute_or_queue_command(command, &block)
3710
3710
  end
3711
3711
 
3712
+ # Gets a dynamic feed by ID.
3713
+ # @param [Fixnum] dynamic_feed_id
3714
+ # Required. Dynamic feed ID.
3715
+ # @param [String] fields
3716
+ # Selector specifying which fields to include in a partial response.
3717
+ # @param [String] quota_user
3718
+ # Available to use for quota purposes for server-side applications. Can be any
3719
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3720
+ # @param [Google::Apis::RequestOptions] options
3721
+ # Request-specific options
3722
+ #
3723
+ # @yield [result, err] Result & error if block supplied
3724
+ # @yieldparam result [Google::Apis::DfareportingV4::DynamicFeed] parsed result object
3725
+ # @yieldparam err [StandardError] error object if request failed
3726
+ #
3727
+ # @return [Google::Apis::DfareportingV4::DynamicFeed]
3728
+ #
3729
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3730
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3731
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3732
+ def get_dynamic_feed(dynamic_feed_id, fields: nil, quota_user: nil, options: nil, &block)
3733
+ command = make_simple_command(:get, 'studio/dynamicFeeds/{+dynamicFeedId}', options)
3734
+ command.response_representation = Google::Apis::DfareportingV4::DynamicFeed::Representation
3735
+ command.response_class = Google::Apis::DfareportingV4::DynamicFeed
3736
+ command.params['dynamicFeedId'] = dynamic_feed_id unless dynamic_feed_id.nil?
3737
+ command.query['fields'] = fields unless fields.nil?
3738
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3739
+ execute_or_queue_command(command, &block)
3740
+ end
3741
+
3742
+ # Inserts a new dynamic feed.
3743
+ # @param [Google::Apis::DfareportingV4::DynamicFeedsInsertRequest] dynamic_feeds_insert_request_object
3744
+ # @param [String] fields
3745
+ # Selector specifying which fields to include in a partial response.
3746
+ # @param [String] quota_user
3747
+ # Available to use for quota purposes for server-side applications. Can be any
3748
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3749
+ # @param [Google::Apis::RequestOptions] options
3750
+ # Request-specific options
3751
+ #
3752
+ # @yield [result, err] Result & error if block supplied
3753
+ # @yieldparam result [Google::Apis::DfareportingV4::DynamicFeed] parsed result object
3754
+ # @yieldparam err [StandardError] error object if request failed
3755
+ #
3756
+ # @return [Google::Apis::DfareportingV4::DynamicFeed]
3757
+ #
3758
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3759
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3760
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3761
+ def insert_dynamic_feed(dynamic_feeds_insert_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3762
+ command = make_simple_command(:post, 'studio/dynamicFeeds', options)
3763
+ command.request_representation = Google::Apis::DfareportingV4::DynamicFeedsInsertRequest::Representation
3764
+ command.request_object = dynamic_feeds_insert_request_object
3765
+ command.response_representation = Google::Apis::DfareportingV4::DynamicFeed::Representation
3766
+ command.response_class = Google::Apis::DfareportingV4::DynamicFeed
3767
+ command.query['fields'] = fields unless fields.nil?
3768
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3769
+ execute_or_queue_command(command, &block)
3770
+ end
3771
+
3772
+ # Gets a dynamic profile by ID.
3773
+ # @param [Fixnum] dynamic_profile_id
3774
+ # Required. Dynamic profile ID.
3775
+ # @param [String] fields
3776
+ # Selector specifying which fields to include in a partial response.
3777
+ # @param [String] quota_user
3778
+ # Available to use for quota purposes for server-side applications. Can be any
3779
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3780
+ # @param [Google::Apis::RequestOptions] options
3781
+ # Request-specific options
3782
+ #
3783
+ # @yield [result, err] Result & error if block supplied
3784
+ # @yieldparam result [Google::Apis::DfareportingV4::DynamicProfile] parsed result object
3785
+ # @yieldparam err [StandardError] error object if request failed
3786
+ #
3787
+ # @return [Google::Apis::DfareportingV4::DynamicProfile]
3788
+ #
3789
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3790
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3791
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3792
+ def get_dynamic_profile(dynamic_profile_id, fields: nil, quota_user: nil, options: nil, &block)
3793
+ command = make_simple_command(:get, 'studio/dynamicProfiles/{+dynamicProfileId}', options)
3794
+ command.response_representation = Google::Apis::DfareportingV4::DynamicProfile::Representation
3795
+ command.response_class = Google::Apis::DfareportingV4::DynamicProfile
3796
+ command.params['dynamicProfileId'] = dynamic_profile_id unless dynamic_profile_id.nil?
3797
+ command.query['fields'] = fields unless fields.nil?
3798
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3799
+ execute_or_queue_command(command, &block)
3800
+ end
3801
+
3802
+ # Inserts a new dynamic profile.
3803
+ # @param [Google::Apis::DfareportingV4::DynamicProfile] dynamic_profile_object
3804
+ # @param [String] fields
3805
+ # Selector specifying which fields to include in a partial response.
3806
+ # @param [String] quota_user
3807
+ # Available to use for quota purposes for server-side applications. Can be any
3808
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3809
+ # @param [Google::Apis::RequestOptions] options
3810
+ # Request-specific options
3811
+ #
3812
+ # @yield [result, err] Result & error if block supplied
3813
+ # @yieldparam result [Google::Apis::DfareportingV4::DynamicProfile] parsed result object
3814
+ # @yieldparam err [StandardError] error object if request failed
3815
+ #
3816
+ # @return [Google::Apis::DfareportingV4::DynamicProfile]
3817
+ #
3818
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3819
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3820
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3821
+ def insert_dynamic_profile(dynamic_profile_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3822
+ command = make_simple_command(:post, 'studio/dynamicProfiles', options)
3823
+ command.request_representation = Google::Apis::DfareportingV4::DynamicProfile::Representation
3824
+ command.request_object = dynamic_profile_object
3825
+ command.response_representation = Google::Apis::DfareportingV4::DynamicProfile::Representation
3826
+ command.response_class = Google::Apis::DfareportingV4::DynamicProfile
3827
+ command.query['fields'] = fields unless fields.nil?
3828
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3829
+ execute_or_queue_command(command, &block)
3830
+ end
3831
+
3832
+ # Updates an existing dynamic profile.
3833
+ # @param [Google::Apis::DfareportingV4::DynamicProfile] dynamic_profile_object
3834
+ # @param [String] fields
3835
+ # Selector specifying which fields to include in a partial response.
3836
+ # @param [String] quota_user
3837
+ # Available to use for quota purposes for server-side applications. Can be any
3838
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3839
+ # @param [Google::Apis::RequestOptions] options
3840
+ # Request-specific options
3841
+ #
3842
+ # @yield [result, err] Result & error if block supplied
3843
+ # @yieldparam result [Google::Apis::DfareportingV4::DynamicProfile] parsed result object
3844
+ # @yieldparam err [StandardError] error object if request failed
3845
+ #
3846
+ # @return [Google::Apis::DfareportingV4::DynamicProfile]
3847
+ #
3848
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3849
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3850
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3851
+ def update_dynamic_profile(dynamic_profile_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3852
+ command = make_simple_command(:put, 'studio/dynamicProfiles', options)
3853
+ command.request_representation = Google::Apis::DfareportingV4::DynamicProfile::Representation
3854
+ command.request_object = dynamic_profile_object
3855
+ command.response_representation = Google::Apis::DfareportingV4::DynamicProfile::Representation
3856
+ command.response_class = Google::Apis::DfareportingV4::DynamicProfile
3857
+ command.query['fields'] = fields unless fields.nil?
3858
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3859
+ execute_or_queue_command(command, &block)
3860
+ end
3861
+
3712
3862
  # Deletes an existing dynamic targeting key.
3713
3863
  # @param [Fixnum] profile_id
3714
3864
  # User profile ID associated with this request.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dfareporting_v4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dfareporting_v4/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dfareporting_v4/v0.21.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dfareporting_v4/v0.22.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dfareporting_v4
62
62
  rdoc_options: []
63
63
  require_paths: