google-apis-mybusinessplaceactions_v1 0.11.0 → 0.13.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: e2e9f7297c53bab68a001a7522267e17b6dc80b29a35c47cfb9f21e1162c9538
4
- data.tar.gz: 777d7bae770a5bd052bd8e67c0d395542946b22d32f99c8824195134bbaa9845
3
+ metadata.gz: a731e4d768dc55b2c051170c7187c6a0697b9674ac80dc3a3151fd7eeb4a0ed0
4
+ data.tar.gz: 8ae51d5ac9a9c5dbd32997a2be94fe2a9b58e86367c8688f78eafb1b549b3e45
5
5
  SHA512:
6
- metadata.gz: e1be51b394143a3934c34aec1f82a8bac34320660b19150658785a96b37fad5f21baf002076ab487afbdbcef4ea1feecf235402c6016b72d23221256f0fedbe2
7
- data.tar.gz: b6950be1d5e651f09a772889f54ee6ab2093e33a47619ea1e9df75a1eaf17c442d9672f962c59288fdf08815367e65b9991bf3791c910c27f779be5911dfdf43
6
+ metadata.gz: 6e0d5d60fabcf96ccc1be838688ef8780fbff8e70a86732b76979b4b4c751442d1149e6752ac0ba20ad342faeb46044a185699934bbd389cf9dea165f002b12b
7
+ data.tar.gz: d19730f8fc0b2f164c4c2fb1d129b2118e32b78254709a338f7fd592edc3ed5fea7f442ec8a3f952d72c26d418c10765afb3b97ba14eee18f65b691f1ea17aa6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-mybusinessplaceactions_v1
2
2
 
3
+ ### v0.13.0 (2022-09-24)
4
+
5
+ * Regenerated using generator version 0.10.0
6
+
7
+ ### v0.12.0 (2022-08-27)
8
+
9
+ * Regenerated from discovery document revision 20220824
10
+
3
11
  ### v0.11.0 (2022-08-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20220813
@@ -22,81 +22,6 @@ module Google
22
22
  module Apis
23
23
  module MybusinessplaceactionsV1
24
24
 
25
- # Day level availability.
26
- class AvailableDay
27
- include Google::Apis::Core::Hashable
28
-
29
- # Represents a whole or partial calendar date, such as a birthday. The time of
30
- # day and time zone are either specified elsewhere or are insignificant. The
31
- # date is relative to the Gregorian Calendar. This can represent one of the
32
- # following: * A full date, with non-zero year, month, and day values. * A month
33
- # and day, with a zero year (for example, an anniversary). * A year on its own,
34
- # with a zero month and a zero day. * A year and month, with a zero day (for
35
- # example, a credit card expiration date). Related types: * google.type.
36
- # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
37
- # Corresponds to the JSON property `fulfillmentDate`
38
- # @return [Google::Apis::MybusinessplaceactionsV1::Date]
39
- attr_accessor :fulfillment_date
40
-
41
- # Unix timestamp. The last time till when, a user could place an order to be
42
- # received by `fulfillment_date`. In other words, after last_ordering_time,
43
- # fulfillment_date will no longer be shown as available.
44
- # Corresponds to the JSON property `lastOrderingTime`
45
- # @return [String]
46
- attr_accessor :last_ordering_time
47
-
48
- def initialize(**args)
49
- update!(**args)
50
- end
51
-
52
- # Update properties of this object
53
- def update!(**args)
54
- @fulfillment_date = args[:fulfillment_date] if args.key?(:fulfillment_date)
55
- @last_ordering_time = args[:last_ordering_time] if args.key?(:last_ordering_time)
56
- end
57
- end
58
-
59
- # Represents a whole or partial calendar date, such as a birthday. The time of
60
- # day and time zone are either specified elsewhere or are insignificant. The
61
- # date is relative to the Gregorian Calendar. This can represent one of the
62
- # following: * A full date, with non-zero year, month, and day values. * A month
63
- # and day, with a zero year (for example, an anniversary). * A year on its own,
64
- # with a zero month and a zero day. * A year and month, with a zero day (for
65
- # example, a credit card expiration date). Related types: * google.type.
66
- # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
67
- class Date
68
- include Google::Apis::Core::Hashable
69
-
70
- # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
71
- # specify a year by itself or a year and month where the day isn't significant.
72
- # Corresponds to the JSON property `day`
73
- # @return [Fixnum]
74
- attr_accessor :day
75
-
76
- # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
77
- # and day.
78
- # Corresponds to the JSON property `month`
79
- # @return [Fixnum]
80
- attr_accessor :month
81
-
82
- # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
83
- # year.
84
- # Corresponds to the JSON property `year`
85
- # @return [Fixnum]
86
- attr_accessor :year
87
-
88
- def initialize(**args)
89
- update!(**args)
90
- end
91
-
92
- # Update properties of this object
93
- def update!(**args)
94
- @day = args[:day] if args.key?(:day)
95
- @month = args[:month] if args.key?(:month)
96
- @year = args[:year] if args.key?(:year)
97
- end
98
- end
99
-
100
25
  # A generic empty message that you can re-use to avoid defining duplicated empty
101
26
  # messages in your APIs. A typical example is to use it as the request or the
102
27
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -113,94 +38,6 @@ module Google
113
38
  end
114
39
  end
115
40
 
116
- # Fee details for the fulfillment method associated with the action.
117
- class FeeDetails
118
- include Google::Apis::Core::Hashable
119
-
120
- # The minimum fee required for the fulfillment method.
121
- # Corresponds to the JSON property `baseFee`
122
- # @return [Google::Apis::MybusinessplaceactionsV1::MinimumFee]
123
- attr_accessor :base_fee
124
-
125
- # The fixed fee required for the fulfillment method.
126
- # Corresponds to the JSON property `fixedFee`
127
- # @return [Google::Apis::MybusinessplaceactionsV1::FixedFee]
128
- attr_accessor :fixed_fee
129
-
130
- # No fee required for the fulfillment method associated with the action.
131
- # Corresponds to the JSON property `noFee`
132
- # @return [Google::Apis::MybusinessplaceactionsV1::NoFee]
133
- attr_accessor :no_fee
134
-
135
- def initialize(**args)
136
- update!(**args)
137
- end
138
-
139
- # Update properties of this object
140
- def update!(**args)
141
- @base_fee = args[:base_fee] if args.key?(:base_fee)
142
- @fixed_fee = args[:fixed_fee] if args.key?(:fixed_fee)
143
- @no_fee = args[:no_fee] if args.key?(:no_fee)
144
- end
145
- end
146
-
147
- # The fixed fee required for the fulfillment method.
148
- class FixedFee
149
- include Google::Apis::Core::Hashable
150
-
151
- # Represents an amount of money with its currency type.
152
- # Corresponds to the JSON property `amount`
153
- # @return [Google::Apis::MybusinessplaceactionsV1::Money]
154
- attr_accessor :amount
155
-
156
- def initialize(**args)
157
- update!(**args)
158
- end
159
-
160
- # Update properties of this object
161
- def update!(**args)
162
- @amount = args[:amount] if args.key?(:amount)
163
- end
164
- end
165
-
166
- # The fulfillment option for an order online action.
167
- class FulfillmentOption
168
- include Google::Apis::Core::Hashable
169
-
170
- # A list of days on which there is availability for this fulfillment method (
171
- # preferably at least 2).
172
- # Corresponds to the JSON property `availableDay`
173
- # @return [Array<Google::Apis::MybusinessplaceactionsV1::AvailableDay>]
174
- attr_accessor :available_day
175
-
176
- # Fee details for the fulfillment method associated with the action.
177
- # Corresponds to the JSON property `feeDetails`
178
- # @return [Google::Apis::MybusinessplaceactionsV1::FeeDetails]
179
- attr_accessor :fee_details
180
-
181
- # Fulfillment type
182
- # Corresponds to the JSON property `fulfillmentType`
183
- # @return [String]
184
- attr_accessor :fulfillment_type
185
-
186
- # Represents an amount of money with its currency type.
187
- # Corresponds to the JSON property `minimumOrder`
188
- # @return [Google::Apis::MybusinessplaceactionsV1::Money]
189
- attr_accessor :minimum_order
190
-
191
- def initialize(**args)
192
- update!(**args)
193
- end
194
-
195
- # Update properties of this object
196
- def update!(**args)
197
- @available_day = args[:available_day] if args.key?(:available_day)
198
- @fee_details = args[:fee_details] if args.key?(:fee_details)
199
- @fulfillment_type = args[:fulfillment_type] if args.key?(:fulfillment_type)
200
- @minimum_order = args[:minimum_order] if args.key?(:minimum_order)
201
- end
202
- end
203
-
204
41
  # Response message for PlaceActions.ListPlaceActionLinks.
205
42
  class ListPlaceActionLinksResponse
206
43
  include Google::Apis::Core::Hashable
@@ -255,93 +92,6 @@ module Google
255
92
  end
256
93
  end
257
94
 
258
- # The minimum fee required for the fulfillment method.
259
- class MinimumFee
260
- include Google::Apis::Core::Hashable
261
-
262
- # Represents an amount of money with its currency type.
263
- # Corresponds to the JSON property `baseFeeAmount`
264
- # @return [Google::Apis::MybusinessplaceactionsV1::Money]
265
- attr_accessor :base_fee_amount
266
-
267
- def initialize(**args)
268
- update!(**args)
269
- end
270
-
271
- # Update properties of this object
272
- def update!(**args)
273
- @base_fee_amount = args[:base_fee_amount] if args.key?(:base_fee_amount)
274
- end
275
- end
276
-
277
- # Represents an amount of money with its currency type.
278
- class Money
279
- include Google::Apis::Core::Hashable
280
-
281
- # The three-letter currency code defined in ISO 4217.
282
- # Corresponds to the JSON property `currencyCode`
283
- # @return [String]
284
- attr_accessor :currency_code
285
-
286
- # Number of nano (10^-9) units of the amount. The value must be between -999,999,
287
- # 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be
288
- # positive or zero. If `units` is zero, `nanos` can be positive, zero, or
289
- # negative. If `units` is negative, `nanos` must be negative or zero. For
290
- # example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
291
- # Corresponds to the JSON property `nanos`
292
- # @return [Fixnum]
293
- attr_accessor :nanos
294
-
295
- # The whole units of the amount. For example if `currencyCode` is `"USD"`, then
296
- # 1 unit is one US dollar.
297
- # Corresponds to the JSON property `units`
298
- # @return [Fixnum]
299
- attr_accessor :units
300
-
301
- def initialize(**args)
302
- update!(**args)
303
- end
304
-
305
- # Update properties of this object
306
- def update!(**args)
307
- @currency_code = args[:currency_code] if args.key?(:currency_code)
308
- @nanos = args[:nanos] if args.key?(:nanos)
309
- @units = args[:units] if args.key?(:units)
310
- end
311
- end
312
-
313
- # No fee required for the fulfillment method associated with the action.
314
- class NoFee
315
- include Google::Apis::Core::Hashable
316
-
317
- def initialize(**args)
318
- update!(**args)
319
- end
320
-
321
- # Update properties of this object
322
- def update!(**args)
323
- end
324
- end
325
-
326
- # Client version of the metadata for an order online action.
327
- class OrderOnlineMetadata
328
- include Google::Apis::Core::Hashable
329
-
330
- # Available fulfillment options for an order online action.
331
- # Corresponds to the JSON property `fulfillmentOption`
332
- # @return [Array<Google::Apis::MybusinessplaceactionsV1::FulfillmentOption>]
333
- attr_accessor :fulfillment_option
334
-
335
- def initialize(**args)
336
- update!(**args)
337
- end
338
-
339
- # Update properties of this object
340
- def update!(**args)
341
- @fulfillment_option = args[:fulfillment_option] if args.key?(:fulfillment_option)
342
- end
343
- end
344
-
345
95
  # Represents a place action link and its attributes.
346
96
  class PlaceActionLink
347
97
  include Google::Apis::Core::Hashable
@@ -377,11 +127,6 @@ module Google
377
127
  # @return [String]
378
128
  attr_accessor :name
379
129
 
380
- # Client version of the metadata for an order online action.
381
- # Corresponds to the JSON property `orderOnlineMetadata`
382
- # @return [Google::Apis::MybusinessplaceactionsV1::OrderOnlineMetadata]
383
- attr_accessor :order_online_metadata
384
-
385
130
  # Required. The type of place action that can be performed using this link.
386
131
  # Corresponds to the JSON property `placeActionType`
387
132
  # @return [String]
@@ -414,7 +159,6 @@ module Google
414
159
  @is_editable = args[:is_editable] if args.key?(:is_editable)
415
160
  @is_preferred = args[:is_preferred] if args.key?(:is_preferred)
416
161
  @name = args[:name] if args.key?(:name)
417
- @order_online_metadata = args[:order_online_metadata] if args.key?(:order_online_metadata)
418
162
  @place_action_type = args[:place_action_type] if args.key?(:place_action_type)
419
163
  @provider_type = args[:provider_type] if args.key?(:provider_type)
420
164
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MybusinessplaceactionsV1
18
18
  # Version of the google-apis-mybusinessplaceactions_v1 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220813"
25
+ REVISION = "20220824"
26
26
  end
27
27
  end
28
28
  end
@@ -22,42 +22,12 @@ module Google
22
22
  module Apis
23
23
  module MybusinessplaceactionsV1
24
24
 
25
- class AvailableDay
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
- class Date
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
25
  class Empty
38
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
27
 
40
28
  include Google::Apis::Core::JsonObjectSupport
41
29
  end
42
30
 
43
- class FeeDetails
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
- class FixedFee
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class FulfillmentOption
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
31
  class ListPlaceActionLinksResponse
62
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
33
 
@@ -70,30 +40,6 @@ module Google
70
40
  include Google::Apis::Core::JsonObjectSupport
71
41
  end
72
42
 
73
- class MinimumFee
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
- class Money
80
- class Representation < Google::Apis::Core::JsonRepresentation; end
81
-
82
- include Google::Apis::Core::JsonObjectSupport
83
- end
84
-
85
- class NoFee
86
- class Representation < Google::Apis::Core::JsonRepresentation; end
87
-
88
- include Google::Apis::Core::JsonObjectSupport
89
- end
90
-
91
- class OrderOnlineMetadata
92
- class Representation < Google::Apis::Core::JsonRepresentation; end
93
-
94
- include Google::Apis::Core::JsonObjectSupport
95
- end
96
-
97
43
  class PlaceActionLink
98
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
45
 
@@ -106,63 +52,12 @@ module Google
106
52
  include Google::Apis::Core::JsonObjectSupport
107
53
  end
108
54
 
109
- class AvailableDay
110
- # @private
111
- class Representation < Google::Apis::Core::JsonRepresentation
112
- property :fulfillment_date, as: 'fulfillmentDate', class: Google::Apis::MybusinessplaceactionsV1::Date, decorator: Google::Apis::MybusinessplaceactionsV1::Date::Representation
113
-
114
- property :last_ordering_time, as: 'lastOrderingTime'
115
- end
116
- end
117
-
118
- class Date
119
- # @private
120
- class Representation < Google::Apis::Core::JsonRepresentation
121
- property :day, as: 'day'
122
- property :month, as: 'month'
123
- property :year, as: 'year'
124
- end
125
- end
126
-
127
55
  class Empty
128
56
  # @private
129
57
  class Representation < Google::Apis::Core::JsonRepresentation
130
58
  end
131
59
  end
132
60
 
133
- class FeeDetails
134
- # @private
135
- class Representation < Google::Apis::Core::JsonRepresentation
136
- property :base_fee, as: 'baseFee', class: Google::Apis::MybusinessplaceactionsV1::MinimumFee, decorator: Google::Apis::MybusinessplaceactionsV1::MinimumFee::Representation
137
-
138
- property :fixed_fee, as: 'fixedFee', class: Google::Apis::MybusinessplaceactionsV1::FixedFee, decorator: Google::Apis::MybusinessplaceactionsV1::FixedFee::Representation
139
-
140
- property :no_fee, as: 'noFee', class: Google::Apis::MybusinessplaceactionsV1::NoFee, decorator: Google::Apis::MybusinessplaceactionsV1::NoFee::Representation
141
-
142
- end
143
- end
144
-
145
- class FixedFee
146
- # @private
147
- class Representation < Google::Apis::Core::JsonRepresentation
148
- property :amount, as: 'amount', class: Google::Apis::MybusinessplaceactionsV1::Money, decorator: Google::Apis::MybusinessplaceactionsV1::Money::Representation
149
-
150
- end
151
- end
152
-
153
- class FulfillmentOption
154
- # @private
155
- class Representation < Google::Apis::Core::JsonRepresentation
156
- collection :available_day, as: 'availableDay', class: Google::Apis::MybusinessplaceactionsV1::AvailableDay, decorator: Google::Apis::MybusinessplaceactionsV1::AvailableDay::Representation
157
-
158
- property :fee_details, as: 'feeDetails', class: Google::Apis::MybusinessplaceactionsV1::FeeDetails, decorator: Google::Apis::MybusinessplaceactionsV1::FeeDetails::Representation
159
-
160
- property :fulfillment_type, as: 'fulfillmentType'
161
- property :minimum_order, as: 'minimumOrder', class: Google::Apis::MybusinessplaceactionsV1::Money, decorator: Google::Apis::MybusinessplaceactionsV1::Money::Representation
162
-
163
- end
164
- end
165
-
166
61
  class ListPlaceActionLinksResponse
167
62
  # @private
168
63
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -181,37 +76,6 @@ module Google
181
76
  end
182
77
  end
183
78
 
184
- class MinimumFee
185
- # @private
186
- class Representation < Google::Apis::Core::JsonRepresentation
187
- property :base_fee_amount, as: 'baseFeeAmount', class: Google::Apis::MybusinessplaceactionsV1::Money, decorator: Google::Apis::MybusinessplaceactionsV1::Money::Representation
188
-
189
- end
190
- end
191
-
192
- class Money
193
- # @private
194
- class Representation < Google::Apis::Core::JsonRepresentation
195
- property :currency_code, as: 'currencyCode'
196
- property :nanos, as: 'nanos'
197
- property :units, :numeric_string => true, as: 'units'
198
- end
199
- end
200
-
201
- class NoFee
202
- # @private
203
- class Representation < Google::Apis::Core::JsonRepresentation
204
- end
205
- end
206
-
207
- class OrderOnlineMetadata
208
- # @private
209
- class Representation < Google::Apis::Core::JsonRepresentation
210
- collection :fulfillment_option, as: 'fulfillmentOption', class: Google::Apis::MybusinessplaceactionsV1::FulfillmentOption, decorator: Google::Apis::MybusinessplaceactionsV1::FulfillmentOption::Representation
211
-
212
- end
213
- end
214
-
215
79
  class PlaceActionLink
216
80
  # @private
217
81
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -219,8 +83,6 @@ module Google
219
83
  property :is_editable, as: 'isEditable'
220
84
  property :is_preferred, as: 'isPreferred'
221
85
  property :name, as: 'name'
222
- property :order_online_metadata, as: 'orderOnlineMetadata', class: Google::Apis::MybusinessplaceactionsV1::OrderOnlineMetadata, decorator: Google::Apis::MybusinessplaceactionsV1::OrderOnlineMetadata::Representation
223
-
224
86
  property :place_action_type, as: 'placeActionType'
225
87
  property :provider_type, as: 'providerType'
226
88
  property :update_time, as: 'updateTime'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-mybusinessplaceactions_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.13.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: 2022-08-22 00:00:00.000000000 Z
11
+ date: 2022-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: 0.9.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: 0.9.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-mybusinessplaceactions_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessplaceactions_v1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessplaceactions_v1/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-mybusinessplaceactions_v1
63
63
  post_install_message:
64
64
  rdoc_options: []