@@ -189,6 +189,62 @@ def update!(**args)
189189 end
190190 end
191191
192+ # A representation of a decimal value, such as 2.5. Clients may convert values
193+ # into language-native decimal formats, such as Java's [BigDecimal](https://docs.
194+ # oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or
195+ # Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
196+ class Decimal
197+ include Google ::Apis ::Core ::Hashable
198+
199+ # The decimal value, as a string. The string representation consists of an
200+ # optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of
201+ # zero or more decimal digits ("the integer"), optionally followed by a fraction,
202+ # optionally followed by an exponent. An empty string **should** be interpreted
203+ # as `0`. The fraction consists of a decimal point followed by zero or more
204+ # decimal digits. The string must contain at least one digit in either the
205+ # integer or the fraction. The number formed by the sign, the integer and the
206+ # fraction is referred to as the significand. The exponent consists of the
207+ # character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal
208+ # digits. Services **should** normalize decimal values before storing them by: -
209+ # Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a zero-
210+ # length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent
211+ # character to upper-case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing
212+ # an explicitly-provided zero exponent (`2.5E0` -> `2.5`). Services **may**
213+ # perform additional normalization based on its own needs and the internal
214+ # decimal implementation selected, such as shifting the decimal point and
215+ # exponent value together (example: `2.5E-1` <-> `0.25`). Additionally, services
216+ # **may** preserve trailing zeroes in the fraction to indicate increased
217+ # precision, but are not required to do so. Note that only the `.` character is
218+ # supported to divide the integer and the fraction; `,` **should not** be
219+ # supported regardless of locale. Additionally, thousand separators **should not*
220+ # * be supported. If a service does support them, values **must** be normalized.
221+ # The ENBF grammar is: DecimalString = '' | [Sign] Significand [Exponent]; Sign =
222+ # '+' | '-'; Significand = Digits '.' | [Digits] '.' Digits; Exponent = ('e' | '
223+ # E') [Sign] Digits; Digits = ` '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '
224+ # 8' | '9' `; Services **should** clearly document the range of supported values,
225+ # the maximum supported precision (total number of digits), and, if applicable,
226+ # the scale (number of digits after the decimal point), as well as how it
227+ # behaves when receiving out-of-bounds values. Services **may** choose to accept
228+ # values passed as input even when the value has a higher precision or scale
229+ # than the service supports, and **should** round the value to fit the supported
230+ # scale. Alternatively, the service **may** error with `400 Bad Request` (`
231+ # INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should**
232+ # error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service
233+ # receives a value outside of the supported range.
234+ # Corresponds to the JSON property `value`
235+ # @return [String]
236+ attr_accessor :value
237+
238+ def initialize ( **args )
239+ update! ( **args )
240+ end
241+
242+ # Update properties of this object
243+ def update! ( **args )
244+ @value = args [ :value ] if args . key? ( :value )
245+ end
246+ end
247+
192248 # A generic empty message that you can re-use to avoid defining duplicated empty
193249 # messages in your APIs. A typical example is to use it as the request or the
194250 # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -289,6 +345,58 @@ def update!(**args)
289345 end
290346 end
291347
348+ # Response definition for the list platform child sites rpc.
349+ class ListPlatformChildSitesResponse
350+ include Google ::Apis ::Core ::Hashable
351+
352+ # Continuation token used to page through platforms. To retrieve the next page
353+ # of the results, set the next request's "page_token" value to this.
354+ # Corresponds to the JSON property `nextPageToken`
355+ # @return [String]
356+ attr_accessor :next_page_token
357+
358+ # The platform child sites returned in this list response.
359+ # Corresponds to the JSON property `platformChildSites`
360+ # @return [Array<Google::Apis::AdsenseplatformV1alpha::PlatformChildSite>]
361+ attr_accessor :platform_child_sites
362+
363+ def initialize ( **args )
364+ update! ( **args )
365+ end
366+
367+ # Update properties of this object
368+ def update! ( **args )
369+ @next_page_token = args [ :next_page_token ] if args . key? ( :next_page_token )
370+ @platform_child_sites = args [ :platform_child_sites ] if args . key? ( :platform_child_sites )
371+ end
372+ end
373+
374+ # Response definition for the platform groups list rpc.
375+ class ListPlatformGroupsResponse
376+ include Google ::Apis ::Core ::Hashable
377+
378+ # Continuation token used to page through platforms. To retrieve the next page
379+ # of the results, set the next request's "page_token" value to this.
380+ # Corresponds to the JSON property `nextPageToken`
381+ # @return [String]
382+ attr_accessor :next_page_token
383+
384+ # The platform groups returned in this list response.
385+ # Corresponds to the JSON property `platformGroups`
386+ # @return [Array<Google::Apis::AdsenseplatformV1alpha::PlatformGroup>]
387+ attr_accessor :platform_groups
388+
389+ def initialize ( **args )
390+ update! ( **args )
391+ end
392+
393+ # Update properties of this object
394+ def update! ( **args )
395+ @next_page_token = args [ :next_page_token ] if args . key? ( :next_page_token )
396+ @platform_groups = args [ :platform_groups ] if args . key? ( :platform_groups )
397+ end
398+ end
399+
292400 # Response definition for the platform list rpc.
293401 class ListPlatformsResponse
294402 include Google ::Apis ::Core ::Hashable
@@ -392,6 +500,74 @@ def update!(**args)
392500 end
393501 end
394502
503+ # Representation of a Transparent Platform Child Site.
504+ class PlatformChildSite
505+ include Google ::Apis ::Core ::Hashable
506+
507+ # Output only. Domain URL of the Platform Child Site. Part of the
508+ # PlatformChildSite name.
509+ # Corresponds to the JSON property `domain`
510+ # @return [String]
511+ attr_accessor :domain
512+
513+ # Identifier. Format: accounts/`account`/platforms/`platform`/childAccounts/`
514+ # child`/sites/`platformChildSite`
515+ # Corresponds to the JSON property `name`
516+ # @return [String]
517+ attr_accessor :name
518+
519+ # Resource name of the Platform Group of the Platform Child Site.
520+ # Corresponds to the JSON property `platformGroup`
521+ # @return [String]
522+ attr_accessor :platform_group
523+
524+ def initialize ( **args )
525+ update! ( **args )
526+ end
527+
528+ # Update properties of this object
529+ def update! ( **args )
530+ @domain = args [ :domain ] if args . key? ( :domain )
531+ @name = args [ :name ] if args . key? ( :name )
532+ @platform_group = args [ :platform_group ] if args . key? ( :platform_group )
533+ end
534+ end
535+
536+ # Representation of a Transparent Platform Group.
537+ class PlatformGroup
538+ include Google ::Apis ::Core ::Hashable
539+
540+ # Output only. Description of the PlatformGroup.
541+ # Corresponds to the JSON property `description`
542+ # @return [String]
543+ attr_accessor :description
544+
545+ # Identifier. Format: accounts/`account`/platforms/`platform`/groups/`
546+ # platform_group`
547+ # Corresponds to the JSON property `name`
548+ # @return [String]
549+ attr_accessor :name
550+
551+ # A representation of a decimal value, such as 2.5. Clients may convert values
552+ # into language-native decimal formats, such as Java's [BigDecimal](https://docs.
553+ # oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or
554+ # Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
555+ # Corresponds to the JSON property `revshareMillipercent`
556+ # @return [Google::Apis::AdsenseplatformV1alpha::Decimal]
557+ attr_accessor :revshare_millipercent
558+
559+ def initialize ( **args )
560+ update! ( **args )
561+ end
562+
563+ # Update properties of this object
564+ def update! ( **args )
565+ @description = args [ :description ] if args . key? ( :description )
566+ @name = args [ :name ] if args . key? ( :name )
567+ @revshare_millipercent = args [ :revshare_millipercent ] if args . key? ( :revshare_millipercent )
568+ end
569+ end
570+
395571 # Response definition for the site request review rpc.
396572 class RequestSiteReviewResponse
397573 include Google ::Apis ::Core ::Hashable
0 commit comments