google-cloud-channel-v1 2.4.1 → 2.5.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.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/channel/v1/billing_accounts_pb.rb +2 -24
  3. data/lib/google/cloud/channel/v1/channel_partner_links_pb.rb +2 -25
  4. data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +35 -17
  5. data/lib/google/cloud/channel/v1/cloud_channel_service/paths.rb +14 -0
  6. data/lib/google/cloud/channel/v1/cloud_channel_service/rest/client.rb +35 -17
  7. data/lib/google/cloud/channel/v1/cloud_channel_service/rest/service_stub.rb +23 -0
  8. data/lib/google/cloud/channel/v1/common_pb.rb +2 -24
  9. data/lib/google/cloud/channel/v1/customers_pb.rb +2 -26
  10. data/lib/google/cloud/channel/v1/entitlement_changes_pb.rb +2 -25
  11. data/lib/google/cloud/channel/v1/entitlements_pb.rb +3 -28
  12. data/lib/google/cloud/channel/v1/offers_pb.rb +5 -28
  13. data/lib/google/cloud/channel/v1/operations_pb.rb +2 -23
  14. data/lib/google/cloud/channel/v1/products_pb.rb +2 -23
  15. data/lib/google/cloud/channel/v1/reports_service_pb.rb +2 -28
  16. data/lib/google/cloud/channel/v1/repricing_pb.rb +3 -27
  17. data/lib/google/cloud/channel/v1/service_pb.rb +3 -34
  18. data/lib/google/cloud/channel/v1/service_services_pb.rb +8 -8
  19. data/lib/google/cloud/channel/v1/subscriber_event_pb.rb +2 -23
  20. data/lib/google/cloud/channel/v1/version.rb +1 -1
  21. data/proto_docs/google/api/client.rb +149 -29
  22. data/proto_docs/google/cloud/channel/v1/customers.rb +2 -2
  23. data/proto_docs/google/cloud/channel/v1/entitlements.rb +5 -0
  24. data/proto_docs/google/cloud/channel/v1/offers.rb +50 -0
  25. data/proto_docs/google/cloud/channel/v1/repricing.rb +1 -1
  26. data/proto_docs/google/cloud/channel/v1/service.rb +50 -11
  27. data/proto_docs/google/cloud/channel/v1/subscriber_event.rb +2 -2
  28. data/proto_docs/google/type/date.rb +10 -7
  29. data/proto_docs/google/type/datetime.rb +16 -15
  30. data/proto_docs/google/type/decimal.rb +10 -11
  31. data/proto_docs/google/type/postal_address.rb +38 -37
  32. metadata +2 -2
@@ -20,12 +20,10 @@
20
20
  module Google
21
21
  module Type
22
22
  # A representation of a decimal value, such as 2.5. Clients may convert values
23
- # into language-native decimal formats, such as Java's [BigDecimal][] or
24
- # Python's [decimal.Decimal][].
25
- #
26
- # [BigDecimal]:
27
- # https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html
28
- # [decimal.Decimal]: https://docs.python.org/3/library/decimal.html
23
+ # into language-native decimal formats, such as Java's
24
+ # [BigDecimal](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html)
25
+ # or Python's
26
+ # [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
29
27
  # @!attribute [rw] value
30
28
  # @return [::String]
31
29
  # The decimal value, as a string.
@@ -33,7 +31,7 @@ module Google
33
31
  # The string representation consists of an optional sign, `+` (`U+002B`)
34
32
  # or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
35
33
  # ("the integer"), optionally followed by a fraction, optionally followed
36
- # by an exponent.
34
+ # by an exponent. An empty string **should** be interpreted as `0`.
37
35
  #
38
36
  # The fraction consists of a decimal point followed by zero or more decimal
39
37
  # digits. The string must contain at least one digit in either the integer
@@ -47,12 +45,13 @@ module Google
47
45
  #
48
46
  # - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
49
47
  # - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
50
- # - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`).
51
- # - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`).
48
+ # - Coercing the exponent character to upper-case, with explicit sign
49
+ # (`2.5e8` -> `2.5E+8`).
50
+ # - Removing an explicitly-provided zero exponent (`2.5E0` -> `2.5`).
52
51
  #
53
52
  # Services **may** perform additional normalization based on its own needs
54
53
  # and the internal decimal implementation selected, such as shifting the
55
- # decimal point and exponent value together (example: `2.5e-1` <-> `0.25`).
54
+ # decimal point and exponent value together (example: `2.5E-1` <-> `0.25`).
56
55
  # Additionally, services **may** preserve trailing zeroes in the fraction
57
56
  # to indicate increased precision, but are not required to do so.
58
57
  #
@@ -64,7 +63,7 @@ module Google
64
63
  # The ENBF grammar is:
65
64
  #
66
65
  # DecimalString =
67
- # [Sign] Significand [Exponent];
66
+ # '' | [Sign] Significand [Exponent];
68
67
  #
69
68
  # Sign = '+' | '-';
70
69
  #
@@ -19,23 +19,23 @@
19
19
 
20
20
  module Google
21
21
  module Type
22
- # Represents a postal address, e.g. for postal delivery or payments addresses.
23
- # Given a postal address, a postal service can deliver items to a premise, P.O.
24
- # Box or similar.
25
- # It is not intended to model geographical locations (roads, towns,
26
- # mountains).
22
+ # Represents a postal address, such as for postal delivery or payments
23
+ # addresses. With a postal address, a postal service can deliver items to a
24
+ # premise, P.O. box, or similar. A postal address is not intended to model
25
+ # geographical locations like roads, towns, or mountains.
27
26
  #
28
- # In typical usage an address would be created via user input or from importing
27
+ # In typical usage, an address would be created by user input or from importing
29
28
  # existing data, depending on the type of process.
30
29
  #
31
- # Advice on address input / editing:
32
- # - Use an i18n-ready address widget such as
33
- # https://github.com/google/libaddressinput)
34
- # - Users should not be presented with UI elements for input or editing of
35
- # fields outside countries where that field is used.
30
+ # Advice on address input or editing:
36
31
  #
37
- # For more guidance on how to use this schema, please see:
38
- # https://support.google.com/business/answer/6397478
32
+ # - Use an internationalization-ready address widget such as
33
+ # https://github.com/google/libaddressinput.
34
+ # - Users should not be presented with UI elements for input or editing of
35
+ # fields outside countries where that field is used.
36
+ #
37
+ # For more guidance on how to use this schema, see:
38
+ # https://support.google.com/business/answer/6397478.
39
39
  # @!attribute [rw] revision
40
40
  # @return [::Integer]
41
41
  # The schema revision of the `PostalAddress`. This must be set to 0, which is
@@ -46,8 +46,8 @@ module Google
46
46
  # @return [::String]
47
47
  # Required. CLDR region code of the country/region of the address. This
48
48
  # is never inferred and it is up to the user to ensure the value is
49
- # correct. See http://cldr.unicode.org/ and
50
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
49
+ # correct. See https://cldr.unicode.org/ and
50
+ # https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
51
51
  # for details. Example: "CH" for Switzerland.
52
52
  # @!attribute [rw] language_code
53
53
  # @return [::String]
@@ -67,55 +67,56 @@ module Google
67
67
  # @return [::String]
68
68
  # Optional. Postal code of the address. Not all countries use or require
69
69
  # postal codes to be present, but where they are used, they may trigger
70
- # additional validation with other parts of the address (e.g. state/zip
71
- # validation in the U.S.A.).
70
+ # additional validation with other parts of the address (for example,
71
+ # state or zip code validation in the United States).
72
72
  # @!attribute [rw] sorting_code
73
73
  # @return [::String]
74
74
  # Optional. Additional, country-specific, sorting code. This is not used
75
75
  # in most regions. Where it is used, the value is either a string like
76
- # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
77
- # alone, representing the "sector code" (Jamaica), "delivery area indicator"
78
- # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
76
+ # "CEDEX", optionally followed by a number (for example, "CEDEX 7"), or just
77
+ # a number alone, representing the "sector code" (Jamaica), "delivery area
78
+ # indicator" (Malawi) or "post office indicator" (Côte d'Ivoire).
79
79
  # @!attribute [rw] administrative_area
80
80
  # @return [::String]
81
81
  # Optional. Highest administrative subdivision which is used for postal
82
82
  # addresses of a country or region.
83
83
  # For example, this can be a state, a province, an oblast, or a prefecture.
84
- # Specifically, for Spain this is the province and not the autonomous
85
- # community (e.g. "Barcelona" and not "Catalonia").
86
- # Many countries don't use an administrative area in postal addresses. E.g.
87
- # in Switzerland this should be left unpopulated.
84
+ # For Spain, this is the province and not the autonomous
85
+ # community (for example, "Barcelona" and not "Catalonia").
86
+ # Many countries don't use an administrative area in postal addresses. For
87
+ # example, in Switzerland, this should be left unpopulated.
88
88
  # @!attribute [rw] locality
89
89
  # @return [::String]
90
- # Optional. Generally refers to the city/town portion of the address.
90
+ # Optional. Generally refers to the city or town portion of the address.
91
91
  # Examples: US city, IT comune, UK post town.
92
92
  # In regions of the world where localities are not well defined or do not fit
93
- # into this structure well, leave locality empty and use address_lines.
93
+ # into this structure well, leave `locality` empty and use `address_lines`.
94
94
  # @!attribute [rw] sublocality
95
95
  # @return [::String]
96
96
  # Optional. Sublocality of the address.
97
- # For example, this can be neighborhoods, boroughs, districts.
97
+ # For example, this can be a neighborhood, borough, or district.
98
98
  # @!attribute [rw] address_lines
99
99
  # @return [::Array<::String>]
100
100
  # Unstructured address lines describing the lower levels of an address.
101
101
  #
102
- # Because values in address_lines do not have type information and may
103
- # sometimes contain multiple values in a single field (e.g.
102
+ # Because values in `address_lines` do not have type information and may
103
+ # sometimes contain multiple values in a single field (for example,
104
104
  # "Austin, TX"), it is important that the line order is clear. The order of
105
- # address lines should be "envelope order" for the country/region of the
106
- # address. In places where this can vary (e.g. Japan), address_language is
107
- # used to make it explicit (e.g. "ja" for large-to-small ordering and
108
- # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
109
- # an address can be selected based on the language.
105
+ # address lines should be "envelope order" for the country or region of the
106
+ # address. In places where this can vary (for example, Japan),
107
+ # `address_language` is used to make it explicit (for example, "ja" for
108
+ # large-to-small ordering and "ja-Latn" or "en" for small-to-large). In this
109
+ # way, the most specific line of an address can be selected based on the
110
+ # language.
110
111
  #
111
112
  # The minimum permitted structural representation of an address consists
112
- # of a region_code with all remaining information placed in the
113
- # address_lines. It would be possible to format such an address very
113
+ # of a `region_code` with all remaining information placed in the
114
+ # `address_lines`. It would be possible to format such an address very
114
115
  # approximately without geocoding, but no semantic reasoning could be
115
116
  # made about any of the address components until it was at least
116
117
  # partially resolved.
117
118
  #
118
- # Creating an address only containing a region_code and address_lines, and
119
+ # Creating an address only containing a `region_code` and `address_lines` and
119
120
  # then geocoding is the recommended way to handle completely unstructured
120
121
  # addresses (as opposed to guessing which parts of the address should be
121
122
  # localities or administrative areas).
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-channel-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -130,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
130
130
  requirements:
131
131
  - - ">="
132
132
  - !ruby/object:Gem::Version
133
- version: '3.1'
133
+ version: '3.2'
134
134
  required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ">="