google-apis-analyticsadmin_v1alpha 0.54.0 → 0.56.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +67 -7
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +31 -0
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +140 -1
- 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: a91755a64a061ebc07e545f8e72419874ee47140bdad6076e17260c13cea7d2a
|
|
4
|
+
data.tar.gz: a38be48a30669b6fc1c9cadb85a865df58bec2c673c084a8f0f01cb3789ef219
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7447fad96878a3c7bd695c04e7b64d5242abb07118083ecec9a4a47cf722e9d36592c05efff8f4b8b1c9e2bc82802be655c8486750551cbdc2aff9341380f49c
|
|
7
|
+
data.tar.gz: 6b27cf899c493382f137430f39ef27e6e8b634050d69e3214c1fcc48a4b9ce9119aa1ae16c76005310942ec4280088a80621de1d9ba229b627cb6b8e175e59dc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-analyticsadmin_v1alpha
|
|
2
2
|
|
|
3
|
+
### v0.56.0 (2023-06-18)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20230615
|
|
6
|
+
|
|
7
|
+
### v0.55.0 (2023-05-14)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20230511
|
|
10
|
+
|
|
3
11
|
### v0.54.0 (2023-05-07)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20230504
|
|
@@ -735,6 +735,34 @@ module Google
|
|
|
735
735
|
end
|
|
736
736
|
end
|
|
737
737
|
|
|
738
|
+
# A link between a GA4 Property and an AdSense for Content ad client.
|
|
739
|
+
class GoogleAnalyticsAdminV1alphaAdSenseLink
|
|
740
|
+
include Google::Apis::Core::Hashable
|
|
741
|
+
|
|
742
|
+
# Immutable. The AdSense ad client code that the GA4 property is linked to.
|
|
743
|
+
# Example format: "ca-pub-1234567890"
|
|
744
|
+
# Corresponds to the JSON property `adClientCode`
|
|
745
|
+
# @return [String]
|
|
746
|
+
attr_accessor :ad_client_code
|
|
747
|
+
|
|
748
|
+
# Output only. The resource name for this AdSense Link resource. Format:
|
|
749
|
+
# properties/`propertyId`/adSenseLinks/`linkId` Example: properties/1234/
|
|
750
|
+
# adSenseLinks/6789
|
|
751
|
+
# Corresponds to the JSON property `name`
|
|
752
|
+
# @return [String]
|
|
753
|
+
attr_accessor :name
|
|
754
|
+
|
|
755
|
+
def initialize(**args)
|
|
756
|
+
update!(**args)
|
|
757
|
+
end
|
|
758
|
+
|
|
759
|
+
# Update properties of this object
|
|
760
|
+
def update!(**args)
|
|
761
|
+
@ad_client_code = args[:ad_client_code] if args.key?(:ad_client_code)
|
|
762
|
+
@name = args[:name] if args.key?(:name)
|
|
763
|
+
end
|
|
764
|
+
end
|
|
765
|
+
|
|
738
766
|
# Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
|
|
739
767
|
class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest
|
|
740
768
|
include Google::Apis::Core::Hashable
|
|
@@ -1866,6 +1894,11 @@ module Google
|
|
|
1866
1894
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount]
|
|
1867
1895
|
attr_accessor :account
|
|
1868
1896
|
|
|
1897
|
+
# A link between a GA4 Property and an AdSense for Content ad client.
|
|
1898
|
+
# Corresponds to the JSON property `adsenseLink`
|
|
1899
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink]
|
|
1900
|
+
attr_accessor :adsense_link
|
|
1901
|
+
|
|
1869
1902
|
# The attribution settings used for a given property. This is a singleton
|
|
1870
1903
|
# resource.
|
|
1871
1904
|
# Corresponds to the JSON property `attributionSettings`
|
|
@@ -1925,7 +1958,7 @@ module Google
|
|
|
1925
1958
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]
|
|
1926
1959
|
attr_accessor :display_video360_advertiser_link_proposal
|
|
1927
1960
|
|
|
1928
|
-
# Singleton resource under a
|
|
1961
|
+
# Singleton resource under a web DataStream, configuring measurement of
|
|
1929
1962
|
# additional site interactions and content.
|
|
1930
1963
|
# Corresponds to the JSON property `enhancedMeasurementSettings`
|
|
1931
1964
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
|
|
@@ -1983,6 +2016,7 @@ module Google
|
|
|
1983
2016
|
# Update properties of this object
|
|
1984
2017
|
def update!(**args)
|
|
1985
2018
|
@account = args[:account] if args.key?(:account)
|
|
2019
|
+
@adsense_link = args[:adsense_link] if args.key?(:adsense_link)
|
|
1986
2020
|
@attribution_settings = args[:attribution_settings] if args.key?(:attribution_settings)
|
|
1987
2021
|
@audience = args[:audience] if args.key?(:audience)
|
|
1988
2022
|
@bigquery_link = args[:bigquery_link] if args.key?(:bigquery_link)
|
|
@@ -2767,8 +2801,8 @@ module Google
|
|
|
2767
2801
|
class GoogleAnalyticsAdminV1alphaDataStreamWebStreamData
|
|
2768
2802
|
include Google::Apis::Core::Hashable
|
|
2769
2803
|
|
|
2770
|
-
#
|
|
2771
|
-
#
|
|
2804
|
+
# Domain name of the web app being measured, or empty. Example: "http://www.
|
|
2805
|
+
# google.com", "https://www.google.com"
|
|
2772
2806
|
# Corresponds to the JSON property `defaultUri`
|
|
2773
2807
|
# @return [String]
|
|
2774
2808
|
attr_accessor :default_uri
|
|
@@ -2779,8 +2813,7 @@ module Google
|
|
|
2779
2813
|
# @return [String]
|
|
2780
2814
|
attr_accessor :firebase_app_id
|
|
2781
2815
|
|
|
2782
|
-
# Output only. Analytics
|
|
2783
|
-
# 1A2BCD345E" would just be "1A2BCD345E"
|
|
2816
|
+
# Output only. Analytics Measurement ID. Example: "G-1A2BCD345E"
|
|
2784
2817
|
# Corresponds to the JSON property `measurementId`
|
|
2785
2818
|
# @return [String]
|
|
2786
2819
|
attr_accessor :measurement_id
|
|
@@ -3006,7 +3039,7 @@ module Google
|
|
|
3006
3039
|
end
|
|
3007
3040
|
end
|
|
3008
3041
|
|
|
3009
|
-
# Singleton resource under a
|
|
3042
|
+
# Singleton resource under a web DataStream, configuring measurement of
|
|
3010
3043
|
# additional site interactions and content.
|
|
3011
3044
|
class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
|
|
3012
3045
|
include Google::Apis::Core::Hashable
|
|
@@ -3129,7 +3162,8 @@ module Google
|
|
|
3129
3162
|
attr_accessor :event_conditions
|
|
3130
3163
|
|
|
3131
3164
|
# Output only. Resource name for this EventCreateRule resource. Format:
|
|
3132
|
-
# properties/`property`/dataStreams/`data_stream`/eventCreateRules
|
|
3165
|
+
# properties/`property`/dataStreams/`data_stream`/eventCreateRules/`
|
|
3166
|
+
# event_create_rule`
|
|
3133
3167
|
# Corresponds to the JSON property `name`
|
|
3134
3168
|
# @return [String]
|
|
3135
3169
|
attr_accessor :name
|
|
@@ -3721,6 +3755,32 @@ module Google
|
|
|
3721
3755
|
end
|
|
3722
3756
|
end
|
|
3723
3757
|
|
|
3758
|
+
# Response message for ListAdSenseLinks method.
|
|
3759
|
+
class GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse
|
|
3760
|
+
include Google::Apis::Core::Hashable
|
|
3761
|
+
|
|
3762
|
+
# List of AdSenseLinks.
|
|
3763
|
+
# Corresponds to the JSON property `adsenseLinks`
|
|
3764
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink>]
|
|
3765
|
+
attr_accessor :adsense_links
|
|
3766
|
+
|
|
3767
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3768
|
+
# field is omitted, there are no subsequent pages.
|
|
3769
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3770
|
+
# @return [String]
|
|
3771
|
+
attr_accessor :next_page_token
|
|
3772
|
+
|
|
3773
|
+
def initialize(**args)
|
|
3774
|
+
update!(**args)
|
|
3775
|
+
end
|
|
3776
|
+
|
|
3777
|
+
# Update properties of this object
|
|
3778
|
+
def update!(**args)
|
|
3779
|
+
@adsense_links = args[:adsense_links] if args.key?(:adsense_links)
|
|
3780
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3781
|
+
end
|
|
3782
|
+
end
|
|
3783
|
+
|
|
3724
3784
|
# Response message for ListAudiences RPC.
|
|
3725
3785
|
class GoogleAnalyticsAdminV1alphaListAudiencesResponse
|
|
3726
3786
|
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.56.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20230615"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -172,6 +172,12 @@ module Google
|
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
|
173
173
|
end
|
|
174
174
|
|
|
175
|
+
class GoogleAnalyticsAdminV1alphaAdSenseLink
|
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
|
+
|
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
179
|
+
end
|
|
180
|
+
|
|
175
181
|
class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest
|
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
183
|
|
|
@@ -688,6 +694,12 @@ module Google
|
|
|
688
694
|
include Google::Apis::Core::JsonObjectSupport
|
|
689
695
|
end
|
|
690
696
|
|
|
697
|
+
class GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse
|
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
699
|
+
|
|
700
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
701
|
+
end
|
|
702
|
+
|
|
691
703
|
class GoogleAnalyticsAdminV1alphaListAudiencesResponse
|
|
692
704
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
693
705
|
|
|
@@ -1144,6 +1156,14 @@ module Google
|
|
|
1144
1156
|
end
|
|
1145
1157
|
end
|
|
1146
1158
|
|
|
1159
|
+
class GoogleAnalyticsAdminV1alphaAdSenseLink
|
|
1160
|
+
# @private
|
|
1161
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1162
|
+
property :ad_client_code, as: 'adClientCode'
|
|
1163
|
+
property :name, as: 'name'
|
|
1164
|
+
end
|
|
1165
|
+
end
|
|
1166
|
+
|
|
1147
1167
|
class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest
|
|
1148
1168
|
# @private
|
|
1149
1169
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1507,6 +1527,8 @@ module Google
|
|
|
1507
1527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1508
1528
|
property :account, as: 'account', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount::Representation
|
|
1509
1529
|
|
|
1530
|
+
property :adsense_link, as: 'adsenseLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink::Representation
|
|
1531
|
+
|
|
1510
1532
|
property :attribution_settings, as: 'attributionSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAttributionSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAttributionSettings::Representation
|
|
1511
1533
|
|
|
1512
1534
|
property :audience, as: 'audience', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudience, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudience::Representation
|
|
@@ -2010,6 +2032,15 @@ module Google
|
|
|
2010
2032
|
end
|
|
2011
2033
|
end
|
|
2012
2034
|
|
|
2035
|
+
class GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse
|
|
2036
|
+
# @private
|
|
2037
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2038
|
+
collection :adsense_links, as: 'adsenseLinks', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink::Representation
|
|
2039
|
+
|
|
2040
|
+
property :next_page_token, as: 'nextPageToken'
|
|
2041
|
+
end
|
|
2042
|
+
end
|
|
2043
|
+
|
|
2013
2044
|
class GoogleAnalyticsAdminV1alphaListAudiencesResponse
|
|
2014
2045
|
# @private
|
|
2015
2046
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2053,6 +2053,144 @@ module Google
|
|
|
2053
2053
|
execute_or_queue_command(command, &block)
|
|
2054
2054
|
end
|
|
2055
2055
|
|
|
2056
|
+
# Creates an AdSenseLink.
|
|
2057
|
+
# @param [String] parent
|
|
2058
|
+
# Required. The property for which to create an AdSense Link. Format: properties/
|
|
2059
|
+
# `propertyId` Example: properties/1234
|
|
2060
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink] google_analytics_admin_v1alpha_ad_sense_link_object
|
|
2061
|
+
# @param [String] fields
|
|
2062
|
+
# Selector specifying which fields to include in a partial response.
|
|
2063
|
+
# @param [String] quota_user
|
|
2064
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2065
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2066
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2067
|
+
# Request-specific options
|
|
2068
|
+
#
|
|
2069
|
+
# @yield [result, err] Result & error if block supplied
|
|
2070
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink] parsed result object
|
|
2071
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2072
|
+
#
|
|
2073
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink]
|
|
2074
|
+
#
|
|
2075
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2076
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2077
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2078
|
+
def create_property_ad_sense_link(parent, google_analytics_admin_v1alpha_ad_sense_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2079
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/adSenseLinks', options)
|
|
2080
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink::Representation
|
|
2081
|
+
command.request_object = google_analytics_admin_v1alpha_ad_sense_link_object
|
|
2082
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink::Representation
|
|
2083
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink
|
|
2084
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2085
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2086
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2087
|
+
execute_or_queue_command(command, &block)
|
|
2088
|
+
end
|
|
2089
|
+
|
|
2090
|
+
# Deletes an AdSenseLink.
|
|
2091
|
+
# @param [String] name
|
|
2092
|
+
# Required. Unique identifier for the AdSense Link to be deleted. Format:
|
|
2093
|
+
# properties/`propertyId`/adSenseLinks/`linkId` Example: properties/1234/
|
|
2094
|
+
# adSenseLinks/5678
|
|
2095
|
+
# @param [String] fields
|
|
2096
|
+
# Selector specifying which fields to include in a partial response.
|
|
2097
|
+
# @param [String] quota_user
|
|
2098
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2099
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2100
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2101
|
+
# Request-specific options
|
|
2102
|
+
#
|
|
2103
|
+
# @yield [result, err] Result & error if block supplied
|
|
2104
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
|
2105
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2106
|
+
#
|
|
2107
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
|
2108
|
+
#
|
|
2109
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2110
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2111
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2112
|
+
def delete_property_ad_sense_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2113
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
|
2114
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
|
2115
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
|
2116
|
+
command.params['name'] = name unless name.nil?
|
|
2117
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2118
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2119
|
+
execute_or_queue_command(command, &block)
|
|
2120
|
+
end
|
|
2121
|
+
|
|
2122
|
+
# Looks up a single AdSenseLink.
|
|
2123
|
+
# @param [String] name
|
|
2124
|
+
# Required. Unique identifier for the AdSense Link requested. Format: properties/
|
|
2125
|
+
# `propertyId`/adSenseLinks/`linkId` Example: properties/1234/adSenseLinks/5678
|
|
2126
|
+
# @param [String] fields
|
|
2127
|
+
# Selector specifying which fields to include in a partial response.
|
|
2128
|
+
# @param [String] quota_user
|
|
2129
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2130
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2131
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2132
|
+
# Request-specific options
|
|
2133
|
+
#
|
|
2134
|
+
# @yield [result, err] Result & error if block supplied
|
|
2135
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink] parsed result object
|
|
2136
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2137
|
+
#
|
|
2138
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink]
|
|
2139
|
+
#
|
|
2140
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2141
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2142
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2143
|
+
def get_property_ad_sense_link(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2144
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
|
2145
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink::Representation
|
|
2146
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink
|
|
2147
|
+
command.params['name'] = name unless name.nil?
|
|
2148
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2149
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2150
|
+
execute_or_queue_command(command, &block)
|
|
2151
|
+
end
|
|
2152
|
+
|
|
2153
|
+
# Lists AdSenseLinks on a property.
|
|
2154
|
+
# @param [String] parent
|
|
2155
|
+
# Required. Resource name of the parent property. Format: properties/`propertyId`
|
|
2156
|
+
# Example: properties/1234
|
|
2157
|
+
# @param [Fixnum] page_size
|
|
2158
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
|
2159
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
|
2160
|
+
# coerced to the maximum).
|
|
2161
|
+
# @param [String] page_token
|
|
2162
|
+
# A page token received from a previous `ListAdSenseLinks` call. Provide this to
|
|
2163
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
|
2164
|
+
# to `ListAdSenseLinks` must match the call that provided the page token.
|
|
2165
|
+
# @param [String] fields
|
|
2166
|
+
# Selector specifying which fields to include in a partial response.
|
|
2167
|
+
# @param [String] quota_user
|
|
2168
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2169
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2170
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2171
|
+
# Request-specific options
|
|
2172
|
+
#
|
|
2173
|
+
# @yield [result, err] Result & error if block supplied
|
|
2174
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse] parsed result object
|
|
2175
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2176
|
+
#
|
|
2177
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse]
|
|
2178
|
+
#
|
|
2179
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2180
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2181
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2182
|
+
def list_property_ad_sense_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2183
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/adSenseLinks', options)
|
|
2184
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse::Representation
|
|
2185
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse
|
|
2186
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2187
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2188
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2189
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2190
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2191
|
+
execute_or_queue_command(command, &block)
|
|
2192
|
+
end
|
|
2193
|
+
|
|
2056
2194
|
# Archives an Audience on a property.
|
|
2057
2195
|
# @param [String] name
|
|
2058
2196
|
# Required. Example format: properties/1234/audiences/5678
|
|
@@ -3400,7 +3538,8 @@ module Google
|
|
|
3400
3538
|
# Updates an EventCreateRule.
|
|
3401
3539
|
# @param [String] name
|
|
3402
3540
|
# Output only. Resource name for this EventCreateRule resource. Format:
|
|
3403
|
-
# properties/`property`/dataStreams/`data_stream`/eventCreateRules
|
|
3541
|
+
# properties/`property`/dataStreams/`data_stream`/eventCreateRules/`
|
|
3542
|
+
# event_create_rule`
|
|
3404
3543
|
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule] google_analytics_admin_v1alpha_event_create_rule_object
|
|
3405
3544
|
# @param [String] update_mask
|
|
3406
3545
|
# Required. The list of fields to be updated. Field names must be in snake case (
|
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.56.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: 2023-
|
|
11
|
+
date: 2023-06-18 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.56.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: []
|