@@ -122,6 +122,38 @@ def list_account_platforms(parent, page_size: nil, page_token: nil, fields: nil,
122
122
execute_or_queue_command ( command , &block )
123
123
end
124
124
125
+ # Gets a Platform Child Site for a specified Platform Child Account and site.
126
+ # @param [String] name
127
+ # Required. The name of the platform child site to retrieve. Format: accounts/`
128
+ # account`/platforms/`platform`/childAccounts/`child_account`/sites/`
129
+ # platform_child_site`
130
+ # @param [String] fields
131
+ # Selector specifying which fields to include in a partial response.
132
+ # @param [String] quota_user
133
+ # Available to use for quota purposes for server-side applications. Can be any
134
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
135
+ # @param [Google::Apis::RequestOptions] options
136
+ # Request-specific options
137
+ #
138
+ # @yield [result, err] Result & error if block supplied
139
+ # @yieldparam result [Google::Apis::AdsenseplatformV1alpha::PlatformChildSite] parsed result object
140
+ # @yieldparam err [StandardError] error object if request failed
141
+ #
142
+ # @return [Google::Apis::AdsenseplatformV1alpha::PlatformChildSite]
143
+ #
144
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
145
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
146
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
147
+ def get_account_platform_child_account_site ( name , fields : nil , quota_user : nil , options : nil , &block )
148
+ command = make_simple_command ( :get , 'v1alpha/{+name}' , options )
149
+ command . response_representation = Google ::Apis ::AdsenseplatformV1alpha ::PlatformChildSite ::Representation
150
+ command . response_class = Google ::Apis ::AdsenseplatformV1alpha ::PlatformChildSite
151
+ command . params [ 'name' ] = name unless name . nil?
152
+ command . query [ 'fields' ] = fields unless fields . nil?
153
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
154
+ execute_or_queue_command ( command , &block )
155
+ end
156
+
125
157
# Lists Platform Child Sites for a specified Platform Child Account.
126
158
# @param [String] parent
127
159
# Required. The name of the child account under the given platform which owns
@@ -203,6 +235,37 @@ def patch_account_platform_child_account_site(name, platform_child_site_object =
203
235
execute_or_queue_command ( command , &block )
204
236
end
205
237
238
+ # Gets a Platform Group for a specified Platform and group.
239
+ # @param [String] name
240
+ # Required. The name of the platform group to retrieve. Format: accounts/`
241
+ # account`/platforms/`platform`/groups/`group`
242
+ # @param [String] fields
243
+ # Selector specifying which fields to include in a partial response.
244
+ # @param [String] quota_user
245
+ # Available to use for quota purposes for server-side applications. Can be any
246
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
247
+ # @param [Google::Apis::RequestOptions] options
248
+ # Request-specific options
249
+ #
250
+ # @yield [result, err] Result & error if block supplied
251
+ # @yieldparam result [Google::Apis::AdsenseplatformV1alpha::PlatformGroup] parsed result object
252
+ # @yieldparam err [StandardError] error object if request failed
253
+ #
254
+ # @return [Google::Apis::AdsenseplatformV1alpha::PlatformGroup]
255
+ #
256
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
257
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
258
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
259
+ def get_account_platform_group ( name , fields : nil , quota_user : nil , options : nil , &block )
260
+ command = make_simple_command ( :get , 'v1alpha/{+name}' , options )
261
+ command . response_representation = Google ::Apis ::AdsenseplatformV1alpha ::PlatformGroup ::Representation
262
+ command . response_class = Google ::Apis ::AdsenseplatformV1alpha ::PlatformGroup
263
+ command . params [ 'name' ] = name unless name . nil?
264
+ command . query [ 'fields' ] = fields unless fields . nil?
265
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
266
+ execute_or_queue_command ( command , &block )
267
+ end
268
+
206
269
# Lists Platform Groups for a specified Platform.
207
270
# @param [String] parent
208
271
# Required. The name of the platform to retrieve. Format: accounts/`account`/
0 commit comments