google-cloud-location 0.9.0 → 0.10.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b6365018d7007304ce5e7034e6272aa3b9a5b7d76105c0b20cd00ad4ed23190
4
- data.tar.gz: a889a9a14ffd8a50b9afcea16d17f2c9f9e0e1d7e3e06d041c7c96a97795ecdd
3
+ metadata.gz: '08d19c3a39cf2f93eac40f13cd6f740a041494c37f3f74092acde3fb2b14357f'
4
+ data.tar.gz: 3c117060347112d95cb12d1dd6dc5e42fbb3ac59b2a684f31e0882ee0653db7f
5
5
  SHA512:
6
- metadata.gz: 33beef6339443a4506e70c72a8371c1845b3784ff4ad7395ce31b66759a608331ff7d42d015e63481539090b3f621ba8d6fe738e4be1ae8d83a2271649e78fd3
7
- data.tar.gz: 6549f1d9f29f231834bc4e7cececf770d0f932faa745a06fa303c3053d1c5ac98da4247450f039eaaafd8cc55adcc078a72a0d3960bcdd20b7efbc48ade0c818
6
+ metadata.gz: cb901cb4fc36a9d4de29b5c92c57d3c436df4126fe4ddfcb4cbef41dbf7645cd429def5322daffbdd5292d3aec0bab6df6a946a177d38c1be56dec379e0069dd
7
+ data.tar.gz: defad1a347704ecc48fce5cd531d8c4b6c1e8925defbc8d4b8dbf6fc3b349af76bb8f0358e3f2ea3c5183e05f397c2bc96b14ce1d96f035bb751fb37f4fca43c
@@ -408,6 +408,13 @@ module Google
408
408
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
409
409
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
410
410
  # * (`nil`) indicating no credentials
411
+ #
412
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
413
+ # external source for authentication to Google Cloud, you must validate it before
414
+ # providing it to a Google API client library. Providing an unvalidated credential
415
+ # configuration to Google APIs can compromise the security of your systems and data.
416
+ # For more information, refer to [Validate credential configurations from external
417
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
411
418
  # @return [::Object]
412
419
  # @!attribute [rw] scope
413
420
  # The OAuth scopes
@@ -462,8 +469,8 @@ module Google
462
469
 
463
470
  config_attr :endpoint, nil, ::String, nil
464
471
  config_attr :credentials, nil do |value|
465
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
466
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
472
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
473
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
467
474
  allowed.any? { |klass| klass === value }
468
475
  end
469
476
  config_attr :scope, nil, ::String, ::Array, nil
@@ -389,6 +389,13 @@ module Google
389
389
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
390
390
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
391
391
  # * (`nil`) indicating no credentials
392
+ #
393
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
394
+ # external source for authentication to Google Cloud, you must validate it before
395
+ # providing it to a Google API client library. Providing an unvalidated credential
396
+ # configuration to Google APIs can compromise the security of your systems and data.
397
+ # For more information, refer to [Validate credential configurations from external
398
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
392
399
  # @return [::Object]
393
400
  # @!attribute [rw] scope
394
401
  # The OAuth scopes
@@ -436,7 +443,7 @@ module Google
436
443
 
437
444
  config_attr :endpoint, nil, ::String, nil
438
445
  config_attr :credentials, nil do |value|
439
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
446
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
440
447
  allowed.any? { |klass| klass === value }
441
448
  end
442
449
  config_attr :scope, nil, ::String, ::Array, nil
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Location
23
- VERSION = "0.9.0"
23
+ VERSION = "0.10.1"
24
24
  end
25
25
  end
26
26
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-location
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -78,7 +77,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
78
77
  licenses:
79
78
  - Apache-2.0
80
79
  metadata: {}
81
- post_install_message:
82
80
  rdoc_options: []
83
81
  require_paths:
84
82
  - lib
@@ -86,15 +84,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
84
  requirements:
87
85
  - - ">="
88
86
  - !ruby/object:Gem::Version
89
- version: '2.7'
87
+ version: '3.0'
90
88
  required_rubygems_version: !ruby/object:Gem::Requirement
91
89
  requirements:
92
90
  - - ">="
93
91
  - !ruby/object:Gem::Version
94
92
  version: '0'
95
93
  requirements: []
96
- rubygems_version: 3.5.23
97
- signing_key:
94
+ rubygems_version: 3.6.8
98
95
  specification_version: 4
99
96
  summary: API Client library for the Locations API
100
97
  test_files: []