google-apis-manufacturers_v1 0.11.0 → 0.14.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: 84c0ce8e283cb84a779d7c8b8e3f5a00bdea7dac7abd03a8bbabd582c64de250
4
- data.tar.gz: 0befa807de0820ad42a7b7ad057ddef0bc1b91424029c7fdbe79f32dcbd24e99
3
+ metadata.gz: 244b3eb1b2f4f60a6d8440d626c3d53b21d66840b0207670961580c4b1e15e0d
4
+ data.tar.gz: 89c8bc9f374238927d6ee8f0602d951a5463b041c0c115fab3d20f6aa730d6fb
5
5
  SHA512:
6
- metadata.gz: 9354542e10cf32e4dd374ce8959d59c2582513b617c84480b0251a03d0b2b3c685c18014712994fb6df618e1606c773c9337610d243a1c6bd8e71cdcd6d70318
7
- data.tar.gz: 3961121bf08de7b1301fabfcf665693143d4b31a1bf074011736f399cc9efae2786dce2848ffd8c1ac6a8b5eb408f762690007781b4159b38d00bdd1203f39ed
6
+ metadata.gz: c35958de17d0ab8d9e668464c6b715f801849910173fff4511e581c9cf47931fe5c04a06f2c2c7130d4472835725394ac0a10c306cb5a0571c803664d6029f2e
7
+ data.tar.gz: 832a40b4ae8a2f0350cc091e38ef236817eaf8c0e4f458c14d3100acd7ffda2eed4675a7e7e935cce772ed186333e1bbec8ca018bae19c6f72a2efe0b3da8fa3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-manufacturers_v1
2
2
 
3
+ ### v0.14.0 (2022-08-10)
4
+
5
+ * Regenerated from discovery document revision 20220809
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.13.0 (2022-07-03)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+
12
+ ### v0.12.0 (2022-06-19)
13
+
14
+ * Regenerated using generator version 0.7.0
15
+
3
16
  ### v0.11.0 (2022-06-04)
4
17
 
5
18
  * Regenerated using generator version 0.5.0
@@ -106,6 +106,11 @@ module Google
106
106
  # @return [String]
107
107
  attr_accessor :gender
108
108
 
109
+ # Grocery Attributes. For more information, see go/mfc-nutrition-attributes.
110
+ # Corresponds to the JSON property `grocery`
111
+ # @return [Google::Apis::ManufacturersV1::Grocery]
112
+ attr_accessor :grocery
113
+
109
114
  # The Global Trade Item Number (GTIN) of the product. For more information, see
110
115
  # https://support.google.com/manufacturers/answer/6124116#gtin.
111
116
  # Corresponds to the JSON property `gtin`
@@ -142,6 +147,11 @@ module Google
142
147
  # @return [String]
143
148
  attr_accessor :mpn
144
149
 
150
+ # Nutrition Attributes. For more information, see go/mfc-nutrition-attributes.
151
+ # Corresponds to the JSON property `nutrition`
152
+ # @return [Google::Apis::ManufacturersV1::Nutrition]
153
+ attr_accessor :nutrition
154
+
145
155
  # The pattern of the product. For more information, see https://support.google.
146
156
  # com/manufacturers/answer/6124116#pattern.
147
157
  # Corresponds to the JSON property `pattern`
@@ -269,12 +279,14 @@ module Google
269
279
  @flavor = args[:flavor] if args.key?(:flavor)
270
280
  @format = args[:format] if args.key?(:format)
271
281
  @gender = args[:gender] if args.key?(:gender)
282
+ @grocery = args[:grocery] if args.key?(:grocery)
272
283
  @gtin = args[:gtin] if args.key?(:gtin)
273
284
  @image_link = args[:image_link] if args.key?(:image_link)
274
285
  @included_destination = args[:included_destination] if args.key?(:included_destination)
275
286
  @item_group_id = args[:item_group_id] if args.key?(:item_group_id)
276
287
  @material = args[:material] if args.key?(:material)
277
288
  @mpn = args[:mpn] if args.key?(:mpn)
289
+ @nutrition = args[:nutrition] if args.key?(:nutrition)
278
290
  @pattern = args[:pattern] if args.key?(:pattern)
279
291
  @product_detail = args[:product_detail] if args.key?(:product_detail)
280
292
  @product_highlight = args[:product_highlight] if args.key?(:product_highlight)
@@ -421,6 +433,98 @@ module Google
421
433
  end
422
434
  end
423
435
 
436
+ # Combination of float amout and unit.
437
+ class FloatUnit
438
+ include Google::Apis::Core::Hashable
439
+
440
+ # amount.
441
+ # Corresponds to the JSON property `amount`
442
+ # @return [Float]
443
+ attr_accessor :amount
444
+
445
+ # unit.
446
+ # Corresponds to the JSON property `unit`
447
+ # @return [String]
448
+ attr_accessor :unit
449
+
450
+ def initialize(**args)
451
+ update!(**args)
452
+ end
453
+
454
+ # Update properties of this object
455
+ def update!(**args)
456
+ @amount = args[:amount] if args.key?(:amount)
457
+ @unit = args[:unit] if args.key?(:unit)
458
+ end
459
+ end
460
+
461
+ #
462
+ class Grocery
463
+ include Google::Apis::Core::Hashable
464
+
465
+ # Active ingredients.
466
+ # Corresponds to the JSON property `activeIngredients`
467
+ # @return [String]
468
+ attr_accessor :active_ingredients
469
+
470
+ # Alcohol by volume.
471
+ # Corresponds to the JSON property `alcoholByVolume`
472
+ # @return [Float]
473
+ attr_accessor :alcohol_by_volume
474
+
475
+ # Allergens.
476
+ # Corresponds to the JSON property `allergens`
477
+ # @return [String]
478
+ attr_accessor :allergens
479
+
480
+ # Derived nutrition claim.
481
+ # Corresponds to the JSON property `derivedNutritionClaim`
482
+ # @return [Array<String>]
483
+ attr_accessor :derived_nutrition_claim
484
+
485
+ # Directions.
486
+ # Corresponds to the JSON property `directions`
487
+ # @return [String]
488
+ attr_accessor :directions
489
+
490
+ # Indications.
491
+ # Corresponds to the JSON property `indications`
492
+ # @return [String]
493
+ attr_accessor :indications
494
+
495
+ # Ingredients.
496
+ # Corresponds to the JSON property `ingredients`
497
+ # @return [String]
498
+ attr_accessor :ingredients
499
+
500
+ # Nutrition claim.
501
+ # Corresponds to the JSON property `nutritionClaim`
502
+ # @return [Array<String>]
503
+ attr_accessor :nutrition_claim
504
+
505
+ # Storage instructions.
506
+ # Corresponds to the JSON property `storageInstructions`
507
+ # @return [String]
508
+ attr_accessor :storage_instructions
509
+
510
+ def initialize(**args)
511
+ update!(**args)
512
+ end
513
+
514
+ # Update properties of this object
515
+ def update!(**args)
516
+ @active_ingredients = args[:active_ingredients] if args.key?(:active_ingredients)
517
+ @alcohol_by_volume = args[:alcohol_by_volume] if args.key?(:alcohol_by_volume)
518
+ @allergens = args[:allergens] if args.key?(:allergens)
519
+ @derived_nutrition_claim = args[:derived_nutrition_claim] if args.key?(:derived_nutrition_claim)
520
+ @directions = args[:directions] if args.key?(:directions)
521
+ @indications = args[:indications] if args.key?(:indications)
522
+ @ingredients = args[:ingredients] if args.key?(:ingredients)
523
+ @nutrition_claim = args[:nutrition_claim] if args.key?(:nutrition_claim)
524
+ @storage_instructions = args[:storage_instructions] if args.key?(:storage_instructions)
525
+ end
526
+ end
527
+
424
528
  # An image.
425
529
  class Image
426
530
  include Google::Apis::Core::Hashable
@@ -542,6 +646,277 @@ module Google
542
646
  end
543
647
  end
544
648
 
649
+ #
650
+ class Nutrition
651
+ include Google::Apis::Core::Hashable
652
+
653
+ # Combination of float amout and unit.
654
+ # Corresponds to the JSON property `addedSugars`
655
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
656
+ attr_accessor :added_sugars
657
+
658
+ # Added sugars daily percentage.
659
+ # Corresponds to the JSON property `addedSugarsDailyPercentage`
660
+ # @return [Float]
661
+ attr_accessor :added_sugars_daily_percentage
662
+
663
+ # Combination of float amout and unit.
664
+ # Corresponds to the JSON property `calcium`
665
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
666
+ attr_accessor :calcium
667
+
668
+ # Calcium daily percentage.
669
+ # Corresponds to the JSON property `calciumDailyPercentage`
670
+ # @return [Float]
671
+ attr_accessor :calcium_daily_percentage
672
+
673
+ # Combination of float amout and unit.
674
+ # Corresponds to the JSON property `cholesterol`
675
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
676
+ attr_accessor :cholesterol
677
+
678
+ # Cholesterol daily percentage.
679
+ # Corresponds to the JSON property `cholesterolDailyPercentage`
680
+ # @return [Float]
681
+ attr_accessor :cholesterol_daily_percentage
682
+
683
+ # Combination of float amout and unit.
684
+ # Corresponds to the JSON property `dietaryFiber`
685
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
686
+ attr_accessor :dietary_fiber
687
+
688
+ # Dietary fiber daily percentage.
689
+ # Corresponds to the JSON property `dietaryFiberDailyPercentage`
690
+ # @return [Float]
691
+ attr_accessor :dietary_fiber_daily_percentage
692
+
693
+ # Combination of float amout and unit.
694
+ # Corresponds to the JSON property `energy`
695
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
696
+ attr_accessor :energy
697
+
698
+ # Combination of float amout and unit.
699
+ # Corresponds to the JSON property `energyFromFat`
700
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
701
+ attr_accessor :energy_from_fat
702
+
703
+ # Folate daily percentage.
704
+ # Corresponds to the JSON property `folateDailyPercentage`
705
+ # @return [Float]
706
+ attr_accessor :folate_daily_percentage
707
+
708
+ # Combination of float amout and unit.
709
+ # Corresponds to the JSON property `folateFolicAcid`
710
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
711
+ attr_accessor :folate_folic_acid
712
+
713
+ # Folate mcg DFE.
714
+ # Corresponds to the JSON property `folateMcgDfe`
715
+ # @return [Float]
716
+ attr_accessor :folate_mcg_dfe
717
+
718
+ # Combination of float amout and unit.
719
+ # Corresponds to the JSON property `iron`
720
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
721
+ attr_accessor :iron
722
+
723
+ # Iron daily percentage.
724
+ # Corresponds to the JSON property `ironDailyPercentage`
725
+ # @return [Float]
726
+ attr_accessor :iron_daily_percentage
727
+
728
+ # Combination of float amout and unit.
729
+ # Corresponds to the JSON property `monounsaturatedFat`
730
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
731
+ attr_accessor :monounsaturated_fat
732
+
733
+ # Nutrition fact measure.
734
+ # Corresponds to the JSON property `nutritionFactMeasure`
735
+ # @return [String]
736
+ attr_accessor :nutrition_fact_measure
737
+
738
+ # Combination of float amout and unit.
739
+ # Corresponds to the JSON property `polyols`
740
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
741
+ attr_accessor :polyols
742
+
743
+ # Combination of float amout and unit.
744
+ # Corresponds to the JSON property `polyunsaturatedFat`
745
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
746
+ attr_accessor :polyunsaturated_fat
747
+
748
+ # Combination of float amout and unit.
749
+ # Corresponds to the JSON property `potassium`
750
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
751
+ attr_accessor :potassium
752
+
753
+ # Potassium daily percentage.
754
+ # Corresponds to the JSON property `potassiumDailyPercentage`
755
+ # @return [Float]
756
+ attr_accessor :potassium_daily_percentage
757
+
758
+ # Prepared size description.
759
+ # Corresponds to the JSON property `preparedSizeDescription`
760
+ # @return [String]
761
+ attr_accessor :prepared_size_description
762
+
763
+ # Combination of float amout and unit.
764
+ # Corresponds to the JSON property `protein`
765
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
766
+ attr_accessor :protein
767
+
768
+ # Protein daily percentage.
769
+ # Corresponds to the JSON property `proteinDailyPercentage`
770
+ # @return [Float]
771
+ attr_accessor :protein_daily_percentage
772
+
773
+ # Combination of float amout and unit.
774
+ # Corresponds to the JSON property `saturatedFat`
775
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
776
+ attr_accessor :saturated_fat
777
+
778
+ # Saturated fat daily percentage.
779
+ # Corresponds to the JSON property `saturatedFatDailyPercentage`
780
+ # @return [Float]
781
+ attr_accessor :saturated_fat_daily_percentage
782
+
783
+ # Food Serving Size. Serving size description.
784
+ # Corresponds to the JSON property `servingSizeDescription`
785
+ # @return [String]
786
+ attr_accessor :serving_size_description
787
+
788
+ # Combination of float amout and unit.
789
+ # Corresponds to the JSON property `servingSizeMeasure`
790
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
791
+ attr_accessor :serving_size_measure
792
+
793
+ # Servings per container.
794
+ # Corresponds to the JSON property `servingsPerContainer`
795
+ # @return [String]
796
+ attr_accessor :servings_per_container
797
+
798
+ # Combination of float amout and unit.
799
+ # Corresponds to the JSON property `sodium`
800
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
801
+ attr_accessor :sodium
802
+
803
+ # Sodium daily percentage.
804
+ # Corresponds to the JSON property `sodiumDailyPercentage`
805
+ # @return [Float]
806
+ attr_accessor :sodium_daily_percentage
807
+
808
+ # Combination of float amout and unit.
809
+ # Corresponds to the JSON property `starch`
810
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
811
+ attr_accessor :starch
812
+
813
+ # Combination of float amout and unit.
814
+ # Corresponds to the JSON property `totalCarbohydrate`
815
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
816
+ attr_accessor :total_carbohydrate
817
+
818
+ # Total carbohydrate daily percentage.
819
+ # Corresponds to the JSON property `totalCarbohydrateDailyPercentage`
820
+ # @return [Float]
821
+ attr_accessor :total_carbohydrate_daily_percentage
822
+
823
+ # Combination of float amout and unit.
824
+ # Corresponds to the JSON property `totalFat`
825
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
826
+ attr_accessor :total_fat
827
+
828
+ # Total fat daily percentage.
829
+ # Corresponds to the JSON property `totalFatDailyPercentage`
830
+ # @return [Float]
831
+ attr_accessor :total_fat_daily_percentage
832
+
833
+ # Combination of float amout and unit.
834
+ # Corresponds to the JSON property `totalSugars`
835
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
836
+ attr_accessor :total_sugars
837
+
838
+ # Total sugars daily percentage.
839
+ # Corresponds to the JSON property `totalSugarsDailyPercentage`
840
+ # @return [Float]
841
+ attr_accessor :total_sugars_daily_percentage
842
+
843
+ # Combination of float amout and unit.
844
+ # Corresponds to the JSON property `transFat`
845
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
846
+ attr_accessor :trans_fat
847
+
848
+ # Trans fat daily percentage.
849
+ # Corresponds to the JSON property `transFatDailyPercentage`
850
+ # @return [Float]
851
+ attr_accessor :trans_fat_daily_percentage
852
+
853
+ # Combination of float amout and unit.
854
+ # Corresponds to the JSON property `vitaminD`
855
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
856
+ attr_accessor :vitamin_d
857
+
858
+ # Vitamin D daily percentage.
859
+ # Corresponds to the JSON property `vitaminDDailyPercentage`
860
+ # @return [Float]
861
+ attr_accessor :vitamin_d_daily_percentage
862
+
863
+ # Voluntary nutrition fact.
864
+ # Corresponds to the JSON property `voluntaryNutritionFact`
865
+ # @return [Array<Google::Apis::ManufacturersV1::VoluntaryNutritionFact>]
866
+ attr_accessor :voluntary_nutrition_fact
867
+
868
+ def initialize(**args)
869
+ update!(**args)
870
+ end
871
+
872
+ # Update properties of this object
873
+ def update!(**args)
874
+ @added_sugars = args[:added_sugars] if args.key?(:added_sugars)
875
+ @added_sugars_daily_percentage = args[:added_sugars_daily_percentage] if args.key?(:added_sugars_daily_percentage)
876
+ @calcium = args[:calcium] if args.key?(:calcium)
877
+ @calcium_daily_percentage = args[:calcium_daily_percentage] if args.key?(:calcium_daily_percentage)
878
+ @cholesterol = args[:cholesterol] if args.key?(:cholesterol)
879
+ @cholesterol_daily_percentage = args[:cholesterol_daily_percentage] if args.key?(:cholesterol_daily_percentage)
880
+ @dietary_fiber = args[:dietary_fiber] if args.key?(:dietary_fiber)
881
+ @dietary_fiber_daily_percentage = args[:dietary_fiber_daily_percentage] if args.key?(:dietary_fiber_daily_percentage)
882
+ @energy = args[:energy] if args.key?(:energy)
883
+ @energy_from_fat = args[:energy_from_fat] if args.key?(:energy_from_fat)
884
+ @folate_daily_percentage = args[:folate_daily_percentage] if args.key?(:folate_daily_percentage)
885
+ @folate_folic_acid = args[:folate_folic_acid] if args.key?(:folate_folic_acid)
886
+ @folate_mcg_dfe = args[:folate_mcg_dfe] if args.key?(:folate_mcg_dfe)
887
+ @iron = args[:iron] if args.key?(:iron)
888
+ @iron_daily_percentage = args[:iron_daily_percentage] if args.key?(:iron_daily_percentage)
889
+ @monounsaturated_fat = args[:monounsaturated_fat] if args.key?(:monounsaturated_fat)
890
+ @nutrition_fact_measure = args[:nutrition_fact_measure] if args.key?(:nutrition_fact_measure)
891
+ @polyols = args[:polyols] if args.key?(:polyols)
892
+ @polyunsaturated_fat = args[:polyunsaturated_fat] if args.key?(:polyunsaturated_fat)
893
+ @potassium = args[:potassium] if args.key?(:potassium)
894
+ @potassium_daily_percentage = args[:potassium_daily_percentage] if args.key?(:potassium_daily_percentage)
895
+ @prepared_size_description = args[:prepared_size_description] if args.key?(:prepared_size_description)
896
+ @protein = args[:protein] if args.key?(:protein)
897
+ @protein_daily_percentage = args[:protein_daily_percentage] if args.key?(:protein_daily_percentage)
898
+ @saturated_fat = args[:saturated_fat] if args.key?(:saturated_fat)
899
+ @saturated_fat_daily_percentage = args[:saturated_fat_daily_percentage] if args.key?(:saturated_fat_daily_percentage)
900
+ @serving_size_description = args[:serving_size_description] if args.key?(:serving_size_description)
901
+ @serving_size_measure = args[:serving_size_measure] if args.key?(:serving_size_measure)
902
+ @servings_per_container = args[:servings_per_container] if args.key?(:servings_per_container)
903
+ @sodium = args[:sodium] if args.key?(:sodium)
904
+ @sodium_daily_percentage = args[:sodium_daily_percentage] if args.key?(:sodium_daily_percentage)
905
+ @starch = args[:starch] if args.key?(:starch)
906
+ @total_carbohydrate = args[:total_carbohydrate] if args.key?(:total_carbohydrate)
907
+ @total_carbohydrate_daily_percentage = args[:total_carbohydrate_daily_percentage] if args.key?(:total_carbohydrate_daily_percentage)
908
+ @total_fat = args[:total_fat] if args.key?(:total_fat)
909
+ @total_fat_daily_percentage = args[:total_fat_daily_percentage] if args.key?(:total_fat_daily_percentage)
910
+ @total_sugars = args[:total_sugars] if args.key?(:total_sugars)
911
+ @total_sugars_daily_percentage = args[:total_sugars_daily_percentage] if args.key?(:total_sugars_daily_percentage)
912
+ @trans_fat = args[:trans_fat] if args.key?(:trans_fat)
913
+ @trans_fat_daily_percentage = args[:trans_fat_daily_percentage] if args.key?(:trans_fat_daily_percentage)
914
+ @vitamin_d = args[:vitamin_d] if args.key?(:vitamin_d)
915
+ @vitamin_d_daily_percentage = args[:vitamin_d_daily_percentage] if args.key?(:vitamin_d_daily_percentage)
916
+ @voluntary_nutrition_fact = args[:voluntary_nutrition_fact] if args.key?(:voluntary_nutrition_fact)
917
+ end
918
+ end
919
+
545
920
  # A price.
546
921
  class Price
547
922
  include Google::Apis::Core::Hashable
@@ -668,6 +1043,37 @@ module Google
668
1043
  @section_name = args[:section_name] if args.key?(:section_name)
669
1044
  end
670
1045
  end
1046
+
1047
+ # Voluntary Nutrition Facts.
1048
+ class VoluntaryNutritionFact
1049
+ include Google::Apis::Core::Hashable
1050
+
1051
+ # Daily percentage.
1052
+ # Corresponds to the JSON property `dailyPercentage`
1053
+ # @return [Float]
1054
+ attr_accessor :daily_percentage
1055
+
1056
+ # Name.
1057
+ # Corresponds to the JSON property `name`
1058
+ # @return [String]
1059
+ attr_accessor :name
1060
+
1061
+ # Combination of float amout and unit.
1062
+ # Corresponds to the JSON property `value`
1063
+ # @return [Google::Apis::ManufacturersV1::FloatUnit]
1064
+ attr_accessor :value
1065
+
1066
+ def initialize(**args)
1067
+ update!(**args)
1068
+ end
1069
+
1070
+ # Update properties of this object
1071
+ def update!(**args)
1072
+ @daily_percentage = args[:daily_percentage] if args.key?(:daily_percentage)
1073
+ @name = args[:name] if args.key?(:name)
1074
+ @value = args[:value] if args.key?(:value)
1075
+ end
1076
+ end
671
1077
  end
672
1078
  end
673
1079
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ManufacturersV1
18
18
  # Version of the google-apis-manufacturers_v1 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.5.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220323"
25
+ REVISION = "20220809"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,18 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class FloatUnit
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Grocery
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
61
73
  class Image
62
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
75
 
@@ -76,6 +88,12 @@ module Google
76
88
  include Google::Apis::Core::JsonObjectSupport
77
89
  end
78
90
 
91
+ class Nutrition
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
79
97
  class Price
80
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
99
 
@@ -94,6 +112,12 @@ module Google
94
112
  include Google::Apis::Core::JsonObjectSupport
95
113
  end
96
114
 
115
+ class VoluntaryNutritionFact
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
97
121
  class Attributes
98
122
  # @private
99
123
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -114,6 +138,8 @@ module Google
114
138
  property :flavor, as: 'flavor'
115
139
  property :format, as: 'format'
116
140
  property :gender, as: 'gender'
141
+ property :grocery, as: 'grocery', class: Google::Apis::ManufacturersV1::Grocery, decorator: Google::Apis::ManufacturersV1::Grocery::Representation
142
+
117
143
  collection :gtin, as: 'gtin'
118
144
  property :image_link, as: 'imageLink', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation
119
145
 
@@ -121,6 +147,8 @@ module Google
121
147
  property :item_group_id, as: 'itemGroupId'
122
148
  property :material, as: 'material'
123
149
  property :mpn, as: 'mpn'
150
+ property :nutrition, as: 'nutrition', class: Google::Apis::ManufacturersV1::Nutrition, decorator: Google::Apis::ManufacturersV1::Nutrition::Representation
151
+
124
152
  property :pattern, as: 'pattern'
125
153
  collection :product_detail, as: 'productDetail', class: Google::Apis::ManufacturersV1::ProductDetail, decorator: Google::Apis::ManufacturersV1::ProductDetail::Representation
126
154
 
@@ -184,6 +212,29 @@ module Google
184
212
  end
185
213
  end
186
214
 
215
+ class FloatUnit
216
+ # @private
217
+ class Representation < Google::Apis::Core::JsonRepresentation
218
+ property :amount, as: 'amount'
219
+ property :unit, as: 'unit'
220
+ end
221
+ end
222
+
223
+ class Grocery
224
+ # @private
225
+ class Representation < Google::Apis::Core::JsonRepresentation
226
+ property :active_ingredients, as: 'activeIngredients'
227
+ property :alcohol_by_volume, as: 'alcoholByVolume'
228
+ property :allergens, as: 'allergens'
229
+ collection :derived_nutrition_claim, as: 'derivedNutritionClaim'
230
+ property :directions, as: 'directions'
231
+ property :indications, as: 'indications'
232
+ property :ingredients, as: 'ingredients'
233
+ collection :nutrition_claim, as: 'nutritionClaim'
234
+ property :storage_instructions, as: 'storageInstructions'
235
+ end
236
+ end
237
+
187
238
  class Image
188
239
  # @private
189
240
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -216,6 +267,78 @@ module Google
216
267
  end
217
268
  end
218
269
 
270
+ class Nutrition
271
+ # @private
272
+ class Representation < Google::Apis::Core::JsonRepresentation
273
+ property :added_sugars, as: 'addedSugars', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
274
+
275
+ property :added_sugars_daily_percentage, as: 'addedSugarsDailyPercentage'
276
+ property :calcium, as: 'calcium', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
277
+
278
+ property :calcium_daily_percentage, as: 'calciumDailyPercentage'
279
+ property :cholesterol, as: 'cholesterol', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
280
+
281
+ property :cholesterol_daily_percentage, as: 'cholesterolDailyPercentage'
282
+ property :dietary_fiber, as: 'dietaryFiber', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
283
+
284
+ property :dietary_fiber_daily_percentage, as: 'dietaryFiberDailyPercentage'
285
+ property :energy, as: 'energy', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
286
+
287
+ property :energy_from_fat, as: 'energyFromFat', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
288
+
289
+ property :folate_daily_percentage, as: 'folateDailyPercentage'
290
+ property :folate_folic_acid, as: 'folateFolicAcid', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
291
+
292
+ property :folate_mcg_dfe, as: 'folateMcgDfe'
293
+ property :iron, as: 'iron', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
294
+
295
+ property :iron_daily_percentage, as: 'ironDailyPercentage'
296
+ property :monounsaturated_fat, as: 'monounsaturatedFat', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
297
+
298
+ property :nutrition_fact_measure, as: 'nutritionFactMeasure'
299
+ property :polyols, as: 'polyols', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
300
+
301
+ property :polyunsaturated_fat, as: 'polyunsaturatedFat', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
302
+
303
+ property :potassium, as: 'potassium', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
304
+
305
+ property :potassium_daily_percentage, as: 'potassiumDailyPercentage'
306
+ property :prepared_size_description, as: 'preparedSizeDescription'
307
+ property :protein, as: 'protein', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
308
+
309
+ property :protein_daily_percentage, as: 'proteinDailyPercentage'
310
+ property :saturated_fat, as: 'saturatedFat', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
311
+
312
+ property :saturated_fat_daily_percentage, as: 'saturatedFatDailyPercentage'
313
+ property :serving_size_description, as: 'servingSizeDescription'
314
+ property :serving_size_measure, as: 'servingSizeMeasure', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
315
+
316
+ property :servings_per_container, as: 'servingsPerContainer'
317
+ property :sodium, as: 'sodium', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
318
+
319
+ property :sodium_daily_percentage, as: 'sodiumDailyPercentage'
320
+ property :starch, as: 'starch', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
321
+
322
+ property :total_carbohydrate, as: 'totalCarbohydrate', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
323
+
324
+ property :total_carbohydrate_daily_percentage, as: 'totalCarbohydrateDailyPercentage'
325
+ property :total_fat, as: 'totalFat', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
326
+
327
+ property :total_fat_daily_percentage, as: 'totalFatDailyPercentage'
328
+ property :total_sugars, as: 'totalSugars', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
329
+
330
+ property :total_sugars_daily_percentage, as: 'totalSugarsDailyPercentage'
331
+ property :trans_fat, as: 'transFat', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
332
+
333
+ property :trans_fat_daily_percentage, as: 'transFatDailyPercentage'
334
+ property :vitamin_d, as: 'vitaminD', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
335
+
336
+ property :vitamin_d_daily_percentage, as: 'vitaminDDailyPercentage'
337
+ collection :voluntary_nutrition_fact, as: 'voluntaryNutritionFact', class: Google::Apis::ManufacturersV1::VoluntaryNutritionFact, decorator: Google::Apis::ManufacturersV1::VoluntaryNutritionFact::Representation
338
+
339
+ end
340
+ end
341
+
219
342
  class Price
220
343
  # @private
221
344
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -249,6 +372,16 @@ module Google
249
372
  property :section_name, as: 'sectionName'
250
373
  end
251
374
  end
375
+
376
+ class VoluntaryNutritionFact
377
+ # @private
378
+ class Representation < Google::Apis::Core::JsonRepresentation
379
+ property :daily_percentage, as: 'dailyPercentage'
380
+ property :name, as: 'name'
381
+ property :value, as: 'value', class: Google::Apis::ManufacturersV1::FloatUnit, decorator: Google::Apis::ManufacturersV1::FloatUnit::Representation
382
+
383
+ end
384
+ end
252
385
  end
253
386
  end
254
387
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-manufacturers_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.14.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-06-13 00:00:00.000000000 Z
11
+ date: 2022-08-15 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.5'
19
+ version: '0.7'
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.5'
29
+ version: '0.7'
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-manufacturers_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-manufacturers_v1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-manufacturers_v1/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-manufacturers_v1
63
63
  post_install_message:
64
64
  rdoc_options: []