google-apis-analyticsadmin_v1alpha 0.19.0 → 0.20.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: 0e21e1937f7fe6a03e441fc8eb900450aee46b6a401dc0191c90857397385b9a
4
- data.tar.gz: 9a0560077ed5d656e188f13ac07a4a74ba78dbcd5a2e05602bce113e87b7adb3
3
+ metadata.gz: 86add195bfe121574aa45ded634258a96d78a40066fe488e4eddae71a625b474
4
+ data.tar.gz: d6441433468c71e53926f2d4572eb3e5ac6fda92e666c33ffcef420b87638701
5
5
  SHA512:
6
- metadata.gz: f2dc0ad58b52582287e3dcd919b49cff83aeae9225682c2a38b8808e3ad0efea1016ccfd68b2558541cf82c62ecbbcd6d9a02fd2b7323d03a44b6f2e6e9934b8
7
- data.tar.gz: 0cac4078e8e25a51ede5c6caabea180362532ed471b74c4099f2de88c76d743b9dd2a24fcbe25afcad9e35bc525ea14138ec3203c9405acf30c89f3aacf1fbd0
6
+ metadata.gz: 8f211930394ce524e274d6d5ccb73839a789b4b577a541a2d25ad033bd6f32a86815948c0355213be717cdc52a13dbe4c3dd67217c106eb3501adee6cd02979e
7
+ data.tar.gz: cfc23fe8958aa18c8c4918bb7c60d1e27d983103080d24ce1b059f6a3b85a7f6a3f7c38b3caa878cd5302a28824bf74f7ba5b75812414c9fdd93138c2306b0c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.20.0 (2021-12-02)
4
+
5
+ * Regenerated from discovery document revision 20211201
6
+
3
7
  ### v0.19.0 (2021-11-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20211102
@@ -1004,6 +1004,158 @@ module Google
1004
1004
  end
1005
1005
  end
1006
1006
 
1007
+ # A resource message representing a data stream.
1008
+ class GoogleAnalyticsAdminV1alphaDataStream
1009
+ include Google::Apis::Core::Hashable
1010
+
1011
+ # Data specific to Android app streams.
1012
+ # Corresponds to the JSON property `androidAppStreamData`
1013
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData]
1014
+ attr_accessor :android_app_stream_data
1015
+
1016
+ # Output only. Time when this stream was originally created.
1017
+ # Corresponds to the JSON property `createTime`
1018
+ # @return [String]
1019
+ attr_accessor :create_time
1020
+
1021
+ # Human-readable display name for the Data Stream. Required for web data streams.
1022
+ # The max allowed display name length is 255 UTF-16 code units.
1023
+ # Corresponds to the JSON property `displayName`
1024
+ # @return [String]
1025
+ attr_accessor :display_name
1026
+
1027
+ # Data specific to iOS app streams.
1028
+ # Corresponds to the JSON property `iosAppStreamData`
1029
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData]
1030
+ attr_accessor :ios_app_stream_data
1031
+
1032
+ # Output only. Resource name of this Data Stream. Format: properties/`
1033
+ # property_id`/dataStreams/`stream_id` Example: "properties/1000/dataStreams/
1034
+ # 2000"
1035
+ # Corresponds to the JSON property `name`
1036
+ # @return [String]
1037
+ attr_accessor :name
1038
+
1039
+ # Required. Immutable. The type of this DataStream resource.
1040
+ # Corresponds to the JSON property `type`
1041
+ # @return [String]
1042
+ attr_accessor :type
1043
+
1044
+ # Output only. Time when stream payload fields were last updated.
1045
+ # Corresponds to the JSON property `updateTime`
1046
+ # @return [String]
1047
+ attr_accessor :update_time
1048
+
1049
+ # Data specific to web streams.
1050
+ # Corresponds to the JSON property `webStreamData`
1051
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamWebStreamData]
1052
+ attr_accessor :web_stream_data
1053
+
1054
+ def initialize(**args)
1055
+ update!(**args)
1056
+ end
1057
+
1058
+ # Update properties of this object
1059
+ def update!(**args)
1060
+ @android_app_stream_data = args[:android_app_stream_data] if args.key?(:android_app_stream_data)
1061
+ @create_time = args[:create_time] if args.key?(:create_time)
1062
+ @display_name = args[:display_name] if args.key?(:display_name)
1063
+ @ios_app_stream_data = args[:ios_app_stream_data] if args.key?(:ios_app_stream_data)
1064
+ @name = args[:name] if args.key?(:name)
1065
+ @type = args[:type] if args.key?(:type)
1066
+ @update_time = args[:update_time] if args.key?(:update_time)
1067
+ @web_stream_data = args[:web_stream_data] if args.key?(:web_stream_data)
1068
+ end
1069
+ end
1070
+
1071
+ # Data specific to Android app streams.
1072
+ class GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData
1073
+ include Google::Apis::Core::Hashable
1074
+
1075
+ # Output only. ID of the corresponding Android app in Firebase, if any. This ID
1076
+ # can change if the Android app is deleted and recreated.
1077
+ # Corresponds to the JSON property `firebaseAppId`
1078
+ # @return [String]
1079
+ attr_accessor :firebase_app_id
1080
+
1081
+ # Immutable. The package name for the app being measured. Example: "com.example.
1082
+ # myandroidapp"
1083
+ # Corresponds to the JSON property `packageName`
1084
+ # @return [String]
1085
+ attr_accessor :package_name
1086
+
1087
+ def initialize(**args)
1088
+ update!(**args)
1089
+ end
1090
+
1091
+ # Update properties of this object
1092
+ def update!(**args)
1093
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
1094
+ @package_name = args[:package_name] if args.key?(:package_name)
1095
+ end
1096
+ end
1097
+
1098
+ # Data specific to iOS app streams.
1099
+ class GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData
1100
+ include Google::Apis::Core::Hashable
1101
+
1102
+ # Required. Immutable. The Apple App Store Bundle ID for the app Example: "com.
1103
+ # example.myiosapp"
1104
+ # Corresponds to the JSON property `bundleId`
1105
+ # @return [String]
1106
+ attr_accessor :bundle_id
1107
+
1108
+ # Output only. ID of the corresponding iOS app in Firebase, if any. This ID can
1109
+ # change if the iOS app is deleted and recreated.
1110
+ # Corresponds to the JSON property `firebaseAppId`
1111
+ # @return [String]
1112
+ attr_accessor :firebase_app_id
1113
+
1114
+ def initialize(**args)
1115
+ update!(**args)
1116
+ end
1117
+
1118
+ # Update properties of this object
1119
+ def update!(**args)
1120
+ @bundle_id = args[:bundle_id] if args.key?(:bundle_id)
1121
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
1122
+ end
1123
+ end
1124
+
1125
+ # Data specific to web streams.
1126
+ class GoogleAnalyticsAdminV1alphaDataStreamWebStreamData
1127
+ include Google::Apis::Core::Hashable
1128
+
1129
+ # Immutable. Domain name of the web app being measured, or empty. Example: "http:
1130
+ # //www.google.com", "https://www.google.com"
1131
+ # Corresponds to the JSON property `defaultUri`
1132
+ # @return [String]
1133
+ attr_accessor :default_uri
1134
+
1135
+ # Output only. ID of the corresponding web app in Firebase, if any. This ID can
1136
+ # change if the web app is deleted and recreated.
1137
+ # Corresponds to the JSON property `firebaseAppId`
1138
+ # @return [String]
1139
+ attr_accessor :firebase_app_id
1140
+
1141
+ # Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-
1142
+ # 1A2BCD345E" would just be "1A2BCD345E"
1143
+ # Corresponds to the JSON property `measurementId`
1144
+ # @return [String]
1145
+ attr_accessor :measurement_id
1146
+
1147
+ def initialize(**args)
1148
+ update!(**args)
1149
+ end
1150
+
1151
+ # Update properties of this object
1152
+ def update!(**args)
1153
+ @default_uri = args[:default_uri] if args.key?(:default_uri)
1154
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
1155
+ @measurement_id = args[:measurement_id] if args.key?(:measurement_id)
1156
+ end
1157
+ end
1158
+
1007
1159
  # Request message for DeleteUserLink RPC.
1008
1160
  class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
1009
1161
  include Google::Apis::Core::Hashable
@@ -1563,6 +1715,32 @@ module Google
1563
1715
  end
1564
1716
  end
1565
1717
 
1718
+ # Response message for ListDataStreams RPC.
1719
+ class GoogleAnalyticsAdminV1alphaListDataStreamsResponse
1720
+ include Google::Apis::Core::Hashable
1721
+
1722
+ # List of DataStreams.
1723
+ # Corresponds to the JSON property `dataStreams`
1724
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream>]
1725
+ attr_accessor :data_streams
1726
+
1727
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1728
+ # field is omitted, there are no subsequent pages.
1729
+ # Corresponds to the JSON property `nextPageToken`
1730
+ # @return [String]
1731
+ attr_accessor :next_page_token
1732
+
1733
+ def initialize(**args)
1734
+ update!(**args)
1735
+ end
1736
+
1737
+ # Update properties of this object
1738
+ def update!(**args)
1739
+ @data_streams = args[:data_streams] if args.key?(:data_streams)
1740
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1741
+ end
1742
+ end
1743
+
1566
1744
  # Response message for ListDisplayVideo360AdvertiserLinkProposals RPC.
1567
1745
  class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse
1568
1746
  include Google::Apis::Core::Hashable
@@ -1935,7 +2113,7 @@ module Google
1935
2113
  class GoogleAnalyticsAdminV1alphaPropertySummary
1936
2114
  include Google::Apis::Core::Hashable
1937
2115
 
1938
- # Display name for the property referred to in this account summary.
2116
+ # Display name for the property referred to in this property summary.
1939
2117
  # Corresponds to the JSON property `displayName`
1940
2118
  # @return [String]
1941
2119
  attr_accessor :display_name
@@ -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.0"
19
+ GEM_VERSION = "0.20.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 = "20211102"
25
+ REVISION = "20211201"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,30 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class GoogleAnalyticsAdminV1alphaDataStream
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleAnalyticsAdminV1alphaDataStreamWebStreamData
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
193
217
  class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
194
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
219
 
@@ -280,6 +304,12 @@ module Google
280
304
  include Google::Apis::Core::JsonObjectSupport
281
305
  end
282
306
 
307
+ class GoogleAnalyticsAdminV1alphaListDataStreamsResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
283
313
  class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse
284
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
315
 
@@ -683,6 +713,48 @@ module Google
683
713
  end
684
714
  end
685
715
 
716
+ class GoogleAnalyticsAdminV1alphaDataStream
717
+ # @private
718
+ class Representation < Google::Apis::Core::JsonRepresentation
719
+ property :android_app_stream_data, as: 'androidAppStreamData', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData::Representation
720
+
721
+ property :create_time, as: 'createTime'
722
+ property :display_name, as: 'displayName'
723
+ property :ios_app_stream_data, as: 'iosAppStreamData', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData::Representation
724
+
725
+ property :name, as: 'name'
726
+ property :type, as: 'type'
727
+ property :update_time, as: 'updateTime'
728
+ property :web_stream_data, as: 'webStreamData', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamWebStreamData, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStreamWebStreamData::Representation
729
+
730
+ end
731
+ end
732
+
733
+ class GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData
734
+ # @private
735
+ class Representation < Google::Apis::Core::JsonRepresentation
736
+ property :firebase_app_id, as: 'firebaseAppId'
737
+ property :package_name, as: 'packageName'
738
+ end
739
+ end
740
+
741
+ class GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ property :bundle_id, as: 'bundleId'
745
+ property :firebase_app_id, as: 'firebaseAppId'
746
+ end
747
+ end
748
+
749
+ class GoogleAnalyticsAdminV1alphaDataStreamWebStreamData
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :default_uri, as: 'defaultUri'
753
+ property :firebase_app_id, as: 'firebaseAppId'
754
+ property :measurement_id, as: 'measurementId'
755
+ end
756
+ end
757
+
686
758
  class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
687
759
  # @private
688
760
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -831,6 +903,15 @@ module Google
831
903
  end
832
904
  end
833
905
 
906
+ class GoogleAnalyticsAdminV1alphaListDataStreamsResponse
907
+ # @private
908
+ class Representation < Google::Apis::Core::JsonRepresentation
909
+ collection :data_streams, as: 'dataStreams', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
910
+
911
+ property :next_page_token, as: 'nextPageToken'
912
+ end
913
+ end
914
+
834
915
  class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse
835
916
  # @private
836
917
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1882,6 +1882,181 @@ module Google
1882
1882
  execute_or_queue_command(command, &block)
1883
1883
  end
1884
1884
 
1885
+ # Creates a DataStream.
1886
+ # @param [String] parent
1887
+ # Required. Example format: properties/1234
1888
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] google_analytics_admin_v1alpha_data_stream_object
1889
+ # @param [String] fields
1890
+ # Selector specifying which fields to include in a partial response.
1891
+ # @param [String] quota_user
1892
+ # Available to use for quota purposes for server-side applications. Can be any
1893
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1894
+ # @param [Google::Apis::RequestOptions] options
1895
+ # Request-specific options
1896
+ #
1897
+ # @yield [result, err] Result & error if block supplied
1898
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
1899
+ # @yieldparam err [StandardError] error object if request failed
1900
+ #
1901
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
1902
+ #
1903
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1904
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1905
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1906
+ def create_property_data_stream(parent, google_analytics_admin_v1alpha_data_stream_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1907
+ command = make_simple_command(:post, 'v1alpha/{+parent}/dataStreams', options)
1908
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
1909
+ command.request_object = google_analytics_admin_v1alpha_data_stream_object
1910
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
1911
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
1912
+ command.params['parent'] = parent unless parent.nil?
1913
+ command.query['fields'] = fields unless fields.nil?
1914
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1915
+ execute_or_queue_command(command, &block)
1916
+ end
1917
+
1918
+ # Deletes a DataStream on a property.
1919
+ # @param [String] name
1920
+ # Required. The name of the DataStream to delete. Example format: properties/
1921
+ # 1234/dataStreams/5678
1922
+ # @param [String] fields
1923
+ # Selector specifying which fields to include in a partial response.
1924
+ # @param [String] quota_user
1925
+ # Available to use for quota purposes for server-side applications. Can be any
1926
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1927
+ # @param [Google::Apis::RequestOptions] options
1928
+ # Request-specific options
1929
+ #
1930
+ # @yield [result, err] Result & error if block supplied
1931
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
1932
+ # @yieldparam err [StandardError] error object if request failed
1933
+ #
1934
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
1935
+ #
1936
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1937
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1938
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1939
+ def delete_property_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
1940
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1941
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
1942
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
1943
+ command.params['name'] = name unless name.nil?
1944
+ command.query['fields'] = fields unless fields.nil?
1945
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1946
+ execute_or_queue_command(command, &block)
1947
+ end
1948
+
1949
+ # Lookup for a single DataStream.
1950
+ # @param [String] name
1951
+ # Required. The name of the DataStream to get. Example format: properties/1234/
1952
+ # dataStreams/5678
1953
+ # @param [String] fields
1954
+ # Selector specifying which fields to include in a partial response.
1955
+ # @param [String] quota_user
1956
+ # Available to use for quota purposes for server-side applications. Can be any
1957
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1958
+ # @param [Google::Apis::RequestOptions] options
1959
+ # Request-specific options
1960
+ #
1961
+ # @yield [result, err] Result & error if block supplied
1962
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
1963
+ # @yieldparam err [StandardError] error object if request failed
1964
+ #
1965
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
1966
+ #
1967
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1968
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1969
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1970
+ def get_property_data_stream(name, fields: nil, quota_user: nil, options: nil, &block)
1971
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
1972
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
1973
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
1974
+ command.params['name'] = name unless name.nil?
1975
+ command.query['fields'] = fields unless fields.nil?
1976
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1977
+ execute_or_queue_command(command, &block)
1978
+ end
1979
+
1980
+ # Lists DataStreams on a property.
1981
+ # @param [String] parent
1982
+ # Required. Example format: properties/1234
1983
+ # @param [Fixnum] page_size
1984
+ # The maximum number of resources to return. If unspecified, at most 50
1985
+ # resources will be returned. The maximum value is 200 (higher values will be
1986
+ # coerced to the maximum).
1987
+ # @param [String] page_token
1988
+ # A page token, received from a previous `ListDataStreams` call. Provide this to
1989
+ # retrieve the subsequent page. When paginating, all other parameters provided
1990
+ # to `ListDataStreams` must match the call that provided the page token.
1991
+ # @param [String] fields
1992
+ # Selector specifying which fields to include in a partial response.
1993
+ # @param [String] quota_user
1994
+ # Available to use for quota purposes for server-side applications. Can be any
1995
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1996
+ # @param [Google::Apis::RequestOptions] options
1997
+ # Request-specific options
1998
+ #
1999
+ # @yield [result, err] Result & error if block supplied
2000
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse] parsed result object
2001
+ # @yieldparam err [StandardError] error object if request failed
2002
+ #
2003
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse]
2004
+ #
2005
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2006
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2007
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2008
+ def list_property_data_streams(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2009
+ command = make_simple_command(:get, 'v1alpha/{+parent}/dataStreams', options)
2010
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse::Representation
2011
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListDataStreamsResponse
2012
+ command.params['parent'] = parent unless parent.nil?
2013
+ command.query['pageSize'] = page_size unless page_size.nil?
2014
+ command.query['pageToken'] = page_token unless page_token.nil?
2015
+ command.query['fields'] = fields unless fields.nil?
2016
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2017
+ execute_or_queue_command(command, &block)
2018
+ end
2019
+
2020
+ # Updates a DataStream on a property.
2021
+ # @param [String] name
2022
+ # Output only. Resource name of this Data Stream. Format: properties/`
2023
+ # property_id`/dataStreams/`stream_id` Example: "properties/1000/dataStreams/
2024
+ # 2000"
2025
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] google_analytics_admin_v1alpha_data_stream_object
2026
+ # @param [String] update_mask
2027
+ # Required. The list of fields to be updated. Omitted fields will not be updated.
2028
+ # To replace the entire entity, use one path with the string "*" to match all
2029
+ # fields.
2030
+ # @param [String] fields
2031
+ # Selector specifying which fields to include in a partial response.
2032
+ # @param [String] quota_user
2033
+ # Available to use for quota purposes for server-side applications. Can be any
2034
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2035
+ # @param [Google::Apis::RequestOptions] options
2036
+ # Request-specific options
2037
+ #
2038
+ # @yield [result, err] Result & error if block supplied
2039
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream] parsed result object
2040
+ # @yieldparam err [StandardError] error object if request failed
2041
+ #
2042
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream]
2043
+ #
2044
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2045
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2046
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2047
+ def patch_property_data_stream(name, google_analytics_admin_v1alpha_data_stream_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2048
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
2049
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
2050
+ command.request_object = google_analytics_admin_v1alpha_data_stream_object
2051
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
2052
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream
2053
+ command.params['name'] = name unless name.nil?
2054
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2055
+ command.query['fields'] = fields unless fields.nil?
2056
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2057
+ execute_or_queue_command(command, &block)
2058
+ end
2059
+
1885
2060
  # Approves a DisplayVideo360AdvertiserLinkProposal. The
1886
2061
  # DisplayVideo360AdvertiserLinkProposal will be deleted and a new
1887
2062
  # DisplayVideo360AdvertiserLink will be created.
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.19.0
4
+ version: 0.20.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-11-08 00:00:00.000000000 Z
11
+ date: 2021-12-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/main/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.20.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: []