google-apis-analyticsadmin_v1alpha 0.39.0 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +103 -0
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +36 -0
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +176 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb2169ceae8dc7b769f38ae62c390bd7d360359d36f46a11720421723bc65b51
|
4
|
+
data.tar.gz: ef76d15f712f982e761941a9d5e3b9bb89a1d3245f59def9b77640a5a7528ef3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28e36afa481028eaef7f4f6bb24e94b506e74260f1936b73e83244404ff83f9e3b3adfb3600c220f54a87ae50a2aabcfd2fca4699d21624999f298f18e7dceeb
|
7
|
+
data.tar.gz: 840f97ef3f405063480afc41d7030963c7f04c32c02a48818a97d090a1b557f48148ce77e57b715683137d155a82f71d232f59a3bb6b07544a860f67a94b5881
|
data/CHANGELOG.md
CHANGED
@@ -1695,6 +1695,11 @@ module Google
|
|
1695
1695
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
|
1696
1696
|
attr_accessor :property
|
1697
1697
|
|
1698
|
+
# A link between a GA4 property and a Search Ads 360 entity.
|
1699
|
+
# Corresponds to the JSON property `searchAds360Link`
|
1700
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link]
|
1701
|
+
attr_accessor :search_ads360_link
|
1702
|
+
|
1698
1703
|
def initialize(**args)
|
1699
1704
|
update!(**args)
|
1700
1705
|
end
|
@@ -1715,6 +1720,7 @@ module Google
|
|
1715
1720
|
@google_signals_settings = args[:google_signals_settings] if args.key?(:google_signals_settings)
|
1716
1721
|
@measurement_protocol_secret = args[:measurement_protocol_secret] if args.key?(:measurement_protocol_secret)
|
1717
1722
|
@property = args[:property] if args.key?(:property)
|
1723
|
+
@search_ads360_link = args[:search_ads360_link] if args.key?(:search_ads360_link)
|
1718
1724
|
end
|
1719
1725
|
end
|
1720
1726
|
|
@@ -2926,6 +2932,32 @@ module Google
|
|
2926
2932
|
end
|
2927
2933
|
end
|
2928
2934
|
|
2935
|
+
# Response message for ListSearchAds360Links RPC.
|
2936
|
+
class GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse
|
2937
|
+
include Google::Apis::Core::Hashable
|
2938
|
+
|
2939
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
2940
|
+
# field is omitted, there are no subsequent pages.
|
2941
|
+
# Corresponds to the JSON property `nextPageToken`
|
2942
|
+
# @return [String]
|
2943
|
+
attr_accessor :next_page_token
|
2944
|
+
|
2945
|
+
# List of SearchAds360Links.
|
2946
|
+
# Corresponds to the JSON property `searchAds360Links`
|
2947
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link>]
|
2948
|
+
attr_accessor :search_ads360_links
|
2949
|
+
|
2950
|
+
def initialize(**args)
|
2951
|
+
update!(**args)
|
2952
|
+
end
|
2953
|
+
|
2954
|
+
# Update properties of this object
|
2955
|
+
def update!(**args)
|
2956
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2957
|
+
@search_ads360_links = args[:search_ads360_links] if args.key?(:search_ads360_links)
|
2958
|
+
end
|
2959
|
+
end
|
2960
|
+
|
2929
2961
|
# Response message for ListUserLinks RPC.
|
2930
2962
|
class GoogleAnalyticsAdminV1alphaListUserLinksResponse
|
2931
2963
|
include Google::Apis::Core::Hashable
|
@@ -3357,6 +3389,77 @@ module Google
|
|
3357
3389
|
end
|
3358
3390
|
end
|
3359
3391
|
|
3392
|
+
# A link between a GA4 property and a Search Ads 360 entity.
|
3393
|
+
class GoogleAnalyticsAdminV1alphaSearchAds360Link
|
3394
|
+
include Google::Apis::Core::Hashable
|
3395
|
+
|
3396
|
+
# Enables personalized advertising features with this integration. If this field
|
3397
|
+
# is not set on create, it will be defaulted to true.
|
3398
|
+
# Corresponds to the JSON property `adsPersonalizationEnabled`
|
3399
|
+
# @return [Boolean]
|
3400
|
+
attr_accessor :ads_personalization_enabled
|
3401
|
+
alias_method :ads_personalization_enabled?, :ads_personalization_enabled
|
3402
|
+
|
3403
|
+
# Output only. The display name of the Search Ads 360 Advertiser. Allows users
|
3404
|
+
# to easily identify the linked resource.
|
3405
|
+
# Corresponds to the JSON property `advertiserDisplayName`
|
3406
|
+
# @return [String]
|
3407
|
+
attr_accessor :advertiser_display_name
|
3408
|
+
|
3409
|
+
# Immutable. This field represents the Advertiser ID of the Search Ads 360
|
3410
|
+
# Advertiser. that has been linked.
|
3411
|
+
# Corresponds to the JSON property `advertiserId`
|
3412
|
+
# @return [String]
|
3413
|
+
attr_accessor :advertiser_id
|
3414
|
+
|
3415
|
+
# Immutable. Enables the import of campaign data from Search Ads 360 into the
|
3416
|
+
# GA4 property. After link creation, this can only be updated from the Search
|
3417
|
+
# Ads 360 product. If this field is not set on create, it will be defaulted to
|
3418
|
+
# true.
|
3419
|
+
# Corresponds to the JSON property `campaignDataSharingEnabled`
|
3420
|
+
# @return [Boolean]
|
3421
|
+
attr_accessor :campaign_data_sharing_enabled
|
3422
|
+
alias_method :campaign_data_sharing_enabled?, :campaign_data_sharing_enabled
|
3423
|
+
|
3424
|
+
# Immutable. Enables the import of cost data from Search Ads 360 to the GA4
|
3425
|
+
# property. This can only be enabled if campaign_data_sharing_enabled is enabled.
|
3426
|
+
# After link creation, this can only be updated from the Search Ads 360 product.
|
3427
|
+
# If this field is not set on create, it will be defaulted to true.
|
3428
|
+
# Corresponds to the JSON property `costDataSharingEnabled`
|
3429
|
+
# @return [Boolean]
|
3430
|
+
attr_accessor :cost_data_sharing_enabled
|
3431
|
+
alias_method :cost_data_sharing_enabled?, :cost_data_sharing_enabled
|
3432
|
+
|
3433
|
+
# Output only. The resource name for this SearchAds360Link resource. Format:
|
3434
|
+
# properties/`propertyId`/searchAds360Links/`linkId` Note: linkId is not the
|
3435
|
+
# Search Ads 360 advertiser ID
|
3436
|
+
# Corresponds to the JSON property `name`
|
3437
|
+
# @return [String]
|
3438
|
+
attr_accessor :name
|
3439
|
+
|
3440
|
+
# Enables export of site stats with this integration. If this field is not set
|
3441
|
+
# on create, it will be defaulted to true.
|
3442
|
+
# Corresponds to the JSON property `siteStatsSharingEnabled`
|
3443
|
+
# @return [Boolean]
|
3444
|
+
attr_accessor :site_stats_sharing_enabled
|
3445
|
+
alias_method :site_stats_sharing_enabled?, :site_stats_sharing_enabled
|
3446
|
+
|
3447
|
+
def initialize(**args)
|
3448
|
+
update!(**args)
|
3449
|
+
end
|
3450
|
+
|
3451
|
+
# Update properties of this object
|
3452
|
+
def update!(**args)
|
3453
|
+
@ads_personalization_enabled = args[:ads_personalization_enabled] if args.key?(:ads_personalization_enabled)
|
3454
|
+
@advertiser_display_name = args[:advertiser_display_name] if args.key?(:advertiser_display_name)
|
3455
|
+
@advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
|
3456
|
+
@campaign_data_sharing_enabled = args[:campaign_data_sharing_enabled] if args.key?(:campaign_data_sharing_enabled)
|
3457
|
+
@cost_data_sharing_enabled = args[:cost_data_sharing_enabled] if args.key?(:cost_data_sharing_enabled)
|
3458
|
+
@name = args[:name] if args.key?(:name)
|
3459
|
+
@site_stats_sharing_enabled = args[:site_stats_sharing_enabled] if args.key?(:site_stats_sharing_enabled)
|
3460
|
+
end
|
3461
|
+
end
|
3462
|
+
|
3360
3463
|
# Request message for SearchChangeHistoryEvents RPC.
|
3361
3464
|
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
|
3362
3465
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AnalyticsadminV1alpha
|
18
18
|
# Version of the google-apis-analyticsadmin_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.40.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220929"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -556,6 +556,12 @@ module Google
|
|
556
556
|
include Google::Apis::Core::JsonObjectSupport
|
557
557
|
end
|
558
558
|
|
559
|
+
class GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
|
+
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
563
|
+
end
|
564
|
+
|
559
565
|
class GoogleAnalyticsAdminV1alphaListUserLinksResponse
|
560
566
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
567
|
|
@@ -610,6 +616,12 @@ module Google
|
|
610
616
|
include Google::Apis::Core::JsonObjectSupport
|
611
617
|
end
|
612
618
|
|
619
|
+
class GoogleAnalyticsAdminV1alphaSearchAds360Link
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
613
625
|
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
|
614
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
627
|
|
@@ -1185,6 +1197,8 @@ module Google
|
|
1185
1197
|
|
1186
1198
|
property :property, as: 'property', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
|
1187
1199
|
|
1200
|
+
property :search_ads360_link, as: 'searchAds360Link', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
|
1201
|
+
|
1188
1202
|
end
|
1189
1203
|
end
|
1190
1204
|
|
@@ -1509,6 +1523,15 @@ module Google
|
|
1509
1523
|
end
|
1510
1524
|
end
|
1511
1525
|
|
1526
|
+
class GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse
|
1527
|
+
# @private
|
1528
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1529
|
+
property :next_page_token, as: 'nextPageToken'
|
1530
|
+
collection :search_ads360_links, as: 'searchAds360Links', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
|
1531
|
+
|
1532
|
+
end
|
1533
|
+
end
|
1534
|
+
|
1512
1535
|
class GoogleAnalyticsAdminV1alphaListUserLinksResponse
|
1513
1536
|
# @private
|
1514
1537
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1617,6 +1640,19 @@ module Google
|
|
1617
1640
|
end
|
1618
1641
|
end
|
1619
1642
|
|
1643
|
+
class GoogleAnalyticsAdminV1alphaSearchAds360Link
|
1644
|
+
# @private
|
1645
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1646
|
+
property :ads_personalization_enabled, as: 'adsPersonalizationEnabled'
|
1647
|
+
property :advertiser_display_name, as: 'advertiserDisplayName'
|
1648
|
+
property :advertiser_id, as: 'advertiserId'
|
1649
|
+
property :campaign_data_sharing_enabled, as: 'campaignDataSharingEnabled'
|
1650
|
+
property :cost_data_sharing_enabled, as: 'costDataSharingEnabled'
|
1651
|
+
property :name, as: 'name'
|
1652
|
+
property :site_stats_sharing_enabled, as: 'siteStatsSharingEnabled'
|
1653
|
+
end
|
1654
|
+
end
|
1655
|
+
|
1620
1656
|
class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest
|
1621
1657
|
# @private
|
1622
1658
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2874,6 +2874,182 @@ module Google
|
|
2874
2874
|
execute_or_queue_command(command, &block)
|
2875
2875
|
end
|
2876
2876
|
|
2877
|
+
# Creates a SearchAds360Link.
|
2878
|
+
# @param [String] parent
|
2879
|
+
# Required. Example format: properties/1234
|
2880
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link] google_analytics_admin_v1alpha_search_ads360_link_object
|
2881
|
+
# @param [String] fields
|
2882
|
+
# Selector specifying which fields to include in a partial response.
|
2883
|
+
# @param [String] quota_user
|
2884
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2885
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2886
|
+
# @param [Google::Apis::RequestOptions] options
|
2887
|
+
# Request-specific options
|
2888
|
+
#
|
2889
|
+
# @yield [result, err] Result & error if block supplied
|
2890
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link] parsed result object
|
2891
|
+
# @yieldparam err [StandardError] error object if request failed
|
2892
|
+
#
|
2893
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link]
|
2894
|
+
#
|
2895
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2896
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2897
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2898
|
+
def create_property_search_ads360_link(parent, google_analytics_admin_v1alpha_search_ads360_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2899
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/searchAds360Links', options)
|
2900
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
|
2901
|
+
command.request_object = google_analytics_admin_v1alpha_search_ads360_link_object
|
2902
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
|
2903
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link
|
2904
|
+
command.params['parent'] = parent unless parent.nil?
|
2905
|
+
command.query['fields'] = fields unless fields.nil?
|
2906
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2907
|
+
execute_or_queue_command(command, &block)
|
2908
|
+
end
|
2909
|
+
|
2910
|
+
# Deletes a SearchAds360Link on a property.
|
2911
|
+
# @param [String] name
|
2912
|
+
# Required. The name of the SearchAds360Link to delete. Example format:
|
2913
|
+
# properties/1234/SearchAds360Links/5678
|
2914
|
+
# @param [String] fields
|
2915
|
+
# Selector specifying which fields to include in a partial response.
|
2916
|
+
# @param [String] quota_user
|
2917
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2918
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2919
|
+
# @param [Google::Apis::RequestOptions] options
|
2920
|
+
# Request-specific options
|
2921
|
+
#
|
2922
|
+
# @yield [result, err] Result & error if block supplied
|
2923
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
2924
|
+
# @yieldparam err [StandardError] error object if request failed
|
2925
|
+
#
|
2926
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
2927
|
+
#
|
2928
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2929
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2930
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2931
|
+
def delete_property_search_ads360_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
2932
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2933
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
2934
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
2935
|
+
command.params['name'] = name unless name.nil?
|
2936
|
+
command.query['fields'] = fields unless fields.nil?
|
2937
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2938
|
+
execute_or_queue_command(command, &block)
|
2939
|
+
end
|
2940
|
+
|
2941
|
+
# Look up a single SearchAds360Link
|
2942
|
+
# @param [String] name
|
2943
|
+
# Required. The name of the SearchAds360Link to get. Example format: properties/
|
2944
|
+
# 1234/SearchAds360Link/5678
|
2945
|
+
# @param [String] fields
|
2946
|
+
# Selector specifying which fields to include in a partial response.
|
2947
|
+
# @param [String] quota_user
|
2948
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2949
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2950
|
+
# @param [Google::Apis::RequestOptions] options
|
2951
|
+
# Request-specific options
|
2952
|
+
#
|
2953
|
+
# @yield [result, err] Result & error if block supplied
|
2954
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link] parsed result object
|
2955
|
+
# @yieldparam err [StandardError] error object if request failed
|
2956
|
+
#
|
2957
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link]
|
2958
|
+
#
|
2959
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2960
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2961
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2962
|
+
def get_property_search_ads360_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
2963
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2964
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
|
2965
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link
|
2966
|
+
command.params['name'] = name unless name.nil?
|
2967
|
+
command.query['fields'] = fields unless fields.nil?
|
2968
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2969
|
+
execute_or_queue_command(command, &block)
|
2970
|
+
end
|
2971
|
+
|
2972
|
+
# Lists all SearchAds360Links on a property.
|
2973
|
+
# @param [String] parent
|
2974
|
+
# Required. Example format: properties/1234
|
2975
|
+
# @param [Fixnum] page_size
|
2976
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
2977
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
2978
|
+
# coerced to the maximum).
|
2979
|
+
# @param [String] page_token
|
2980
|
+
# A page token, received from a previous `ListSearchAds360Links` call. Provide
|
2981
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
2982
|
+
# provided to `ListSearchAds360Links` must match the call that provided the page
|
2983
|
+
# token.
|
2984
|
+
# @param [String] fields
|
2985
|
+
# Selector specifying which fields to include in a partial response.
|
2986
|
+
# @param [String] quota_user
|
2987
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2988
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2989
|
+
# @param [Google::Apis::RequestOptions] options
|
2990
|
+
# Request-specific options
|
2991
|
+
#
|
2992
|
+
# @yield [result, err] Result & error if block supplied
|
2993
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse] parsed result object
|
2994
|
+
# @yieldparam err [StandardError] error object if request failed
|
2995
|
+
#
|
2996
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse]
|
2997
|
+
#
|
2998
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2999
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3000
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3001
|
+
def list_property_search_ads360_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3002
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/searchAds360Links', options)
|
3003
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse::Representation
|
3004
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse
|
3005
|
+
command.params['parent'] = parent unless parent.nil?
|
3006
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3007
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3008
|
+
command.query['fields'] = fields unless fields.nil?
|
3009
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3010
|
+
execute_or_queue_command(command, &block)
|
3011
|
+
end
|
3012
|
+
|
3013
|
+
# Updates a SearchAds360Link on a property.
|
3014
|
+
# @param [String] name
|
3015
|
+
# Output only. The resource name for this SearchAds360Link resource. Format:
|
3016
|
+
# properties/`propertyId`/searchAds360Links/`linkId` Note: linkId is not the
|
3017
|
+
# Search Ads 360 advertiser ID
|
3018
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link] google_analytics_admin_v1alpha_search_ads360_link_object
|
3019
|
+
# @param [String] update_mask
|
3020
|
+
# Required. The list of fields to be updated. Omitted fields will not be updated.
|
3021
|
+
# To replace the entire entity, use one path with the string "*" to match all
|
3022
|
+
# fields.
|
3023
|
+
# @param [String] fields
|
3024
|
+
# Selector specifying which fields to include in a partial response.
|
3025
|
+
# @param [String] quota_user
|
3026
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3027
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3028
|
+
# @param [Google::Apis::RequestOptions] options
|
3029
|
+
# Request-specific options
|
3030
|
+
#
|
3031
|
+
# @yield [result, err] Result & error if block supplied
|
3032
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link] parsed result object
|
3033
|
+
# @yieldparam err [StandardError] error object if request failed
|
3034
|
+
#
|
3035
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link]
|
3036
|
+
#
|
3037
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3038
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3039
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3040
|
+
def patch_property_search_ads360_link(name, google_analytics_admin_v1alpha_search_ads360_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3041
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
3042
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
|
3043
|
+
command.request_object = google_analytics_admin_v1alpha_search_ads360_link_object
|
3044
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
|
3045
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link
|
3046
|
+
command.params['name'] = name unless name.nil?
|
3047
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3048
|
+
command.query['fields'] = fields unless fields.nil?
|
3049
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3050
|
+
execute_or_queue_command(command, &block)
|
3051
|
+
end
|
3052
|
+
|
2877
3053
|
# Lists all user links on an account or property, including implicit ones that
|
2878
3054
|
# come from effective permissions granted by groups or organization admin roles.
|
2879
3055
|
# If a returned user link does not have direct permissions, they cannot be
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-analyticsadmin_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.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: 2022-
|
11
|
+
date: 2022-10-03 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/main/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.40.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|