google-apis-civicinfo_v2 0.17.0 → 0.18.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: 838ceffb705bdc612560a28a4b9b6d390a219e0b141828231680f98c302ebe89
4
- data.tar.gz: 49afd212123fcf82f9820df4403df0ad2b276586040d0886f3e97118918a87af
3
+ metadata.gz: 8fcd8e85574b9e5be6bbe580a3505bc90b54418045cfab92e34352287e7e540e
4
+ data.tar.gz: 3660256d05d9e4e7d4f7512d1ec20391f136f4918863fc45c72af5708728a38e
5
5
  SHA512:
6
- metadata.gz: 98fef4aeef19136c7e0a5937ec5971c5c25d6ef32b5d029dee1a5f2f4c8133fb07a7b48ce1b3e16d4ed279b4123662dbd3943e325201a54a75b47e4c6efa92ee
7
- data.tar.gz: 98777e486e7bef51a42f80911841dd04c0c60104a61f94e2214fa1e062eba25a78ffbfcd183ecae5b321e3c2456c0cb6d07341c9644d06f9f7f29a6740e70a26
6
+ metadata.gz: 0f91d69340cc395b439f1309317298294702fe02aff94329bf2da7469f036384800a01d8403b9def70b6804e4f0b0263defb3ab95b92ce7f1dd8dcc641cb8a1e
7
+ data.tar.gz: 7c02fe93433519aaec82593fce1a1b9eb6d76e38660bdd5dda48ef8001de9ea16ffbd95303036b7411afd7941a5db0f242107f0dba4d1cf5b8464c53115f6295
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-civicinfo_v2
2
2
 
3
+ ### v0.18.0 (2023-06-11)
4
+
5
+ * Regenerated from discovery document revision 20230606
6
+
3
7
  ### v0.17.0 (2023-04-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20230328
@@ -652,128 +652,6 @@ module Google
652
652
  end
653
653
  end
654
654
 
655
- # A globally unique identifier associated with each feature. We use 128-bit
656
- # identifiers so that we have lots of bits available to distinguish between
657
- # features. The feature id currently consists of a 64-bit "cell id" that **
658
- # sometimes** corresponds to the approximate centroid of the feature, plus a 64-
659
- # bit fingerprint of other identifying information. See more on each respective
660
- # field in its comments. Feature ids are first assigned when the data is created
661
- # in MapFacts. After initial creation of the feature, they are immutable. This
662
- # means that the only properties that you should rely on are that they are
663
- # unique, and that cell_ids often - but not always - preserve spatial locality.
664
- # The degree of locality varies as the feature undergoes geometry changes, and
665
- # should not in general be considered a firm guarantee of the location of any
666
- # particular feature. In fact, some locationless features have randomized cell
667
- # IDs! Consumers of FeatureProtos from Mapfacts are guaranteed that fprints in
668
- # the id field of features will be globally unique. Using the fprint allows
669
- # consumers who don't need the spatial benefit of cell ids to uniquely identify
670
- # features in a 64-bit address space. This property is not guaranteed for other
671
- # sources of FeatureProtos.
672
- class FeatureIdProto
673
- include Google::Apis::Core::Hashable
674
-
675
- # The S2CellId corresponding to the approximate location of this feature as of
676
- # when it was first created. This can be of variable accuracy, ranging from the
677
- # exact centroid of the feature at creation, a very large S2 Cell, or even being
678
- # completely randomized for locationless features. Cell ids have the nice
679
- # property that they follow a space-filling curve over the surface of the earth.
680
- # (See s2cellid.h for details.) WARNING: Clients should only use cell IDs to
681
- # perform spatial locality optimizations. There is no strict guarantee that the
682
- # cell ID of a feature is related to the current geometry of the feature in any
683
- # way.
684
- # Corresponds to the JSON property `cellId`
685
- # @return [Fixnum]
686
- attr_accessor :cell_id
687
-
688
- # A 64-bit fingerprint used to identify features. Most clients should rely on
689
- # MapFacts or OneRing to choose fingerprints. If creating new fprints, the
690
- # strategy should be chosen so that the chance of collision is remote or non-
691
- # existent, and the distribution should be reasonably uniform. For example, if
692
- # the source data assigns unique ids to features, then a fingerprint of the
693
- # provider name, version, and source id is sufficient.
694
- # Corresponds to the JSON property `fprint`
695
- # @return [Fixnum]
696
- attr_accessor :fprint
697
-
698
- # This is proto2's version of MessageSet.
699
- # Corresponds to the JSON property `temporaryData`
700
- # @return [Google::Apis::CivicinfoV2::MessageSet]
701
- attr_accessor :temporary_data
702
-
703
- def initialize(**args)
704
- update!(**args)
705
- end
706
-
707
- # Update properties of this object
708
- def update!(**args)
709
- @cell_id = args[:cell_id] if args.key?(:cell_id)
710
- @fprint = args[:fprint] if args.key?(:fprint)
711
- @temporary_data = args[:temporary_data] if args.key?(:temporary_data)
712
- end
713
- end
714
-
715
- # Detailed summary of the result from geocoding an address
716
- class GeocodingSummary
717
- include Google::Apis::Core::Hashable
718
-
719
- # Represents the best estimate of whether or not the input address was fully
720
- # understood and the address is correctly componentized. Mirrors the same-name
721
- # field in geostore.staging.AddressLinkupScoringProto.
722
- # Corresponds to the JSON property `addressUnderstood`
723
- # @return [Boolean]
724
- attr_accessor :address_understood
725
- alias_method :address_understood?, :address_understood
726
-
727
- # A globally unique identifier associated with each feature. We use 128-bit
728
- # identifiers so that we have lots of bits available to distinguish between
729
- # features. The feature id currently consists of a 64-bit "cell id" that **
730
- # sometimes** corresponds to the approximate centroid of the feature, plus a 64-
731
- # bit fingerprint of other identifying information. See more on each respective
732
- # field in its comments. Feature ids are first assigned when the data is created
733
- # in MapFacts. After initial creation of the feature, they are immutable. This
734
- # means that the only properties that you should rely on are that they are
735
- # unique, and that cell_ids often - but not always - preserve spatial locality.
736
- # The degree of locality varies as the feature undergoes geometry changes, and
737
- # should not in general be considered a firm guarantee of the location of any
738
- # particular feature. In fact, some locationless features have randomized cell
739
- # IDs! Consumers of FeatureProtos from Mapfacts are guaranteed that fprints in
740
- # the id field of features will be globally unique. Using the fprint allows
741
- # consumers who don't need the spatial benefit of cell ids to uniquely identify
742
- # features in a 64-bit address space. This property is not guaranteed for other
743
- # sources of FeatureProtos.
744
- # Corresponds to the JSON property `featureId`
745
- # @return [Google::Apis::CivicinfoV2::FeatureIdProto]
746
- attr_accessor :feature_id
747
-
748
- # The feature type for the FeatureProto returned by the geocoder
749
- # Corresponds to the JSON property `featureType`
750
- # @return [String]
751
- attr_accessor :feature_type
752
-
753
- # Precision of the center point (lat/long) of the geocoded FeatureProto
754
- # Corresponds to the JSON property `positionPrecisionMeters`
755
- # @return [Float]
756
- attr_accessor :position_precision_meters
757
-
758
- # The query sent to the geocoder
759
- # Corresponds to the JSON property `queryString`
760
- # @return [String]
761
- attr_accessor :query_string
762
-
763
- def initialize(**args)
764
- update!(**args)
765
- end
766
-
767
- # Update properties of this object
768
- def update!(**args)
769
- @address_understood = args[:address_understood] if args.key?(:address_understood)
770
- @feature_id = args[:feature_id] if args.key?(:feature_id)
771
- @feature_type = args[:feature_type] if args.key?(:feature_type)
772
- @position_precision_meters = args[:position_precision_meters] if args.key?(:position_precision_meters)
773
- @query_string = args[:query_string] if args.key?(:query_string)
774
- end
775
- end
776
-
777
655
  # Describes a political geography.
778
656
  class GeographicDivision
779
657
  include Google::Apis::Core::Hashable
@@ -814,19 +692,6 @@ module Google
814
692
  end
815
693
  end
816
694
 
817
- # This is proto2's version of MessageSet.
818
- class MessageSet
819
- include Google::Apis::Core::Hashable
820
-
821
- def initialize(**args)
822
- update!(**args)
823
- end
824
-
825
- # Update properties of this object
826
- def update!(**args)
827
- end
828
- end
829
-
830
695
  # Information about an Office held by one or more Officials.
831
696
  class Office
832
697
  include Google::Apis::Core::Hashable
@@ -904,11 +769,6 @@ module Google
904
769
  # @return [Array<String>]
905
770
  attr_accessor :emails
906
771
 
907
- # Detailed summary about the official's address's geocoding
908
- # Corresponds to the JSON property `geocodingSummaries`
909
- # @return [Array<Google::Apis::CivicinfoV2::GeocodingSummary>]
910
- attr_accessor :geocoding_summaries
911
-
912
772
  # The official's name.
913
773
  # Corresponds to the JSON property `name`
914
774
  # @return [String]
@@ -943,7 +803,6 @@ module Google
943
803
  @address = args[:address] if args.key?(:address)
944
804
  @channels = args[:channels] if args.key?(:channels)
945
805
  @emails = args[:emails] if args.key?(:emails)
946
- @geocoding_summaries = args[:geocoding_summaries] if args.key?(:geocoding_summaries)
947
806
  @name = args[:name] if args.key?(:name)
948
807
  @party = args[:party] if args.key?(:party)
949
808
  @phones = args[:phones] if args.key?(:phones)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CivicinfoV2
18
18
  # Version of the google-apis-civicinfo_v2 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230328"
25
+ REVISION = "20230606"
26
26
  end
27
27
  end
28
28
  end
@@ -88,30 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class FeatureIdProto
92
- class Representation < Google::Apis::Core::JsonRepresentation; end
93
-
94
- include Google::Apis::Core::JsonObjectSupport
95
- end
96
-
97
- class GeocodingSummary
98
- class Representation < Google::Apis::Core::JsonRepresentation; end
99
-
100
- include Google::Apis::Core::JsonObjectSupport
101
- end
102
-
103
91
  class GeographicDivision
104
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
93
 
106
94
  include Google::Apis::Core::JsonObjectSupport
107
95
  end
108
96
 
109
- class MessageSet
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
97
  class Office
116
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
99
 
@@ -317,28 +299,6 @@ module Google
317
299
  end
318
300
  end
319
301
 
320
- class FeatureIdProto
321
- # @private
322
- class Representation < Google::Apis::Core::JsonRepresentation
323
- property :cell_id, :numeric_string => true, as: 'cellId'
324
- property :fprint, :numeric_string => true, as: 'fprint'
325
- property :temporary_data, as: 'temporaryData', class: Google::Apis::CivicinfoV2::MessageSet, decorator: Google::Apis::CivicinfoV2::MessageSet::Representation
326
-
327
- end
328
- end
329
-
330
- class GeocodingSummary
331
- # @private
332
- class Representation < Google::Apis::Core::JsonRepresentation
333
- property :address_understood, as: 'addressUnderstood'
334
- property :feature_id, as: 'featureId', class: Google::Apis::CivicinfoV2::FeatureIdProto, decorator: Google::Apis::CivicinfoV2::FeatureIdProto::Representation
335
-
336
- property :feature_type, as: 'featureType'
337
- property :position_precision_meters, as: 'positionPrecisionMeters'
338
- property :query_string, as: 'queryString'
339
- end
340
- end
341
-
342
302
  class GeographicDivision
343
303
  # @private
344
304
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -348,12 +308,6 @@ module Google
348
308
  end
349
309
  end
350
310
 
351
- class MessageSet
352
- # @private
353
- class Representation < Google::Apis::Core::JsonRepresentation
354
- end
355
- end
356
-
357
311
  class Office
358
312
  # @private
359
313
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -375,8 +329,6 @@ module Google
375
329
  collection :channels, as: 'channels', class: Google::Apis::CivicinfoV2::Channel, decorator: Google::Apis::CivicinfoV2::Channel::Representation
376
330
 
377
331
  collection :emails, as: 'emails'
378
- collection :geocoding_summaries, as: 'geocodingSummaries', class: Google::Apis::CivicinfoV2::GeocodingSummary, decorator: Google::Apis::CivicinfoV2::GeocodingSummary::Representation
379
-
380
332
  property :name, as: 'name'
381
333
  property :party, as: 'party'
382
334
  collection :phones, as: 'phones'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-civicinfo_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.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: 2023-04-02 00:00:00.000000000 Z
11
+ date: 2023-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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-civicinfo_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-civicinfo_v2/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-civicinfo_v2/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-civicinfo_v2
63
63
  post_install_message:
64
64
  rdoc_options: []