google-cloud-private_catalog-v1beta1 0.8.1 → 0.9.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: 7694feac95d03287aec804a9c490c89cd5d14e8616058fb51880005ddd7ead24
4
- data.tar.gz: 1a04b0ae13628fd3bd3c029a70c650edbc4df2a9d69901dc4179a25fbed003b4
3
+ metadata.gz: 8cfa06d7f22f4d4c2e3190b011d7373196df8913c1892f12dbb4cb193a7741db
4
+ data.tar.gz: 61f9d23c6ef832bb2e074316df528830b813b0c28baa77f03cea170a3a7e71d5
5
5
  SHA512:
6
- metadata.gz: 4ec614546e60e1d66d7934781ce20fdaeb9664c7aec900baf597d21b8f3e2e5bebfb2497fc7e6ddf88a311093a6567366f6336a615e1c85ee90d7654ca290161
7
- data.tar.gz: 7f75c377a7d2aa190d9bb384ae60715cad0882e6b97b4e9f6886192a166a1a8da5b2a9eb9b60a2a25546ff54860b29c489481e31383e64bc64d8a5559bb0fafd
6
+ metadata.gz: 6e0d3925c8ed00914348758084ff64c9dfb8f7f7a222edee1d1d9ef66146d4473d7b95ee30286106a984f461ec1647c84c4c5d283612ae4f8c73196c96d828af
7
+ data.tar.gz: 760362a52d6930f8ec728127afcec9658907d936bce913d86f9ef722bd792b29fd41e4325a2059fcc97ea910c309ac7e15fc57f17a14d000c797e4901425e63b
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -562,6 +562,13 @@ module Google
562
562
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
563
563
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
564
564
  # * (`nil`) indicating no credentials
565
+ #
566
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
567
+ # external source for authentication to Google Cloud, you must validate it before
568
+ # providing it to a Google API client library. Providing an unvalidated credential
569
+ # configuration to Google APIs can compromise the security of your systems and data.
570
+ # For more information, refer to [Validate credential configurations from external
571
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
565
572
  # @return [::Object]
566
573
  # @!attribute [rw] scope
567
574
  # The OAuth scopes
@@ -616,8 +623,8 @@ module Google
616
623
 
617
624
  config_attr :endpoint, nil, ::String, nil
618
625
  config_attr :credentials, nil do |value|
619
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
620
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
626
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
627
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
621
628
  allowed.any? { |klass| klass === value }
622
629
  end
623
630
  config_attr :scope, nil, ::String, ::Array, nil
@@ -532,6 +532,13 @@ module Google
532
532
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
533
533
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
534
534
  # * (`nil`) indicating no credentials
535
+ #
536
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
537
+ # external source for authentication to Google Cloud, you must validate it before
538
+ # providing it to a Google API client library. Providing an unvalidated credential
539
+ # configuration to Google APIs can compromise the security of your systems and data.
540
+ # For more information, refer to [Validate credential configurations from external
541
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
535
542
  # @return [::Object]
536
543
  # @!attribute [rw] scope
537
544
  # The OAuth scopes
@@ -579,7 +586,7 @@ module Google
579
586
 
580
587
  config_attr :endpoint, nil, ::String, nil
581
588
  config_attr :credentials, nil do |value|
582
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
589
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
583
590
  allowed.any? { |klass| klass === value }
584
591
  end
585
592
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PrivateCatalog
23
23
  module V1beta1
24
- VERSION = "0.8.1"
24
+ VERSION = "0.9.1"
25
25
  end
26
26
  end
27
27
  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
@@ -372,13 +372,19 @@ module Google
372
372
  # @!attribute [r] asset
373
373
  # @return [::String]
374
374
  # Output only. The asset resource name if an asset is hosted by Private Catalog.
375
+ #
376
+ # Note: The following fields are mutually exclusive: `asset`, `gcs_path`, `git_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
375
377
  # @!attribute [r] gcs_path
376
378
  # @deprecated This field is deprecated and may be removed in the next major version update.
377
379
  # @return [::String]
378
380
  # Output only. The cloud storage object path.
381
+ #
382
+ # Note: The following fields are mutually exclusive: `gcs_path`, `asset`, `git_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
379
383
  # @!attribute [r] git_source
380
384
  # @return [::Google::Cloud::PrivateCatalog::V1beta1::GitSource]
381
385
  # Output only. The git source.
386
+ #
387
+ # Note: The following fields are mutually exclusive: `git_source`, `asset`, `gcs_path`. If a field in that set is populated, all other fields in the set will automatically be cleared.
382
388
  # @!attribute [r] gcs_source
383
389
  # @return [::Google::Cloud::PrivateCatalog::V1beta1::GcsSource]
384
390
  # Output only. The cloud storage source.
@@ -450,12 +456,18 @@ module Google
450
456
  # @!attribute [rw] commit
451
457
  # @return [::String]
452
458
  # The revision commit to use.
459
+ #
460
+ # Note: The following fields are mutually exclusive: `commit`, `branch`, `tag`. If a field in that set is populated, all other fields in the set will automatically be cleared.
453
461
  # @!attribute [rw] branch
454
462
  # @return [::String]
455
463
  # The revision branch to use.
464
+ #
465
+ # Note: The following fields are mutually exclusive: `branch`, `commit`, `tag`. If a field in that set is populated, all other fields in the set will automatically be cleared.
456
466
  # @!attribute [rw] tag
457
467
  # @return [::String]
458
468
  # The revision tag to use.
469
+ #
470
+ # Note: The following fields are mutually exclusive: `tag`, `commit`, `branch`. If a field in that set is populated, all other fields in the set will automatically be cleared.
459
471
  class GitSource
460
472
  include ::Google::Protobuf::MessageExts
461
473
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-private_catalog-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-08 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
@@ -88,7 +87,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
88
87
  licenses:
89
88
  - Apache-2.0
90
89
  metadata: {}
91
- post_install_message:
92
90
  rdoc_options: []
93
91
  require_paths:
94
92
  - lib
@@ -96,15 +94,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
94
  requirements:
97
95
  - - ">="
98
96
  - !ruby/object:Gem::Version
99
- version: '2.7'
97
+ version: '3.0'
100
98
  required_rubygems_version: !ruby/object:Gem::Requirement
101
99
  requirements:
102
100
  - - ">="
103
101
  - !ruby/object:Gem::Version
104
102
  version: '0'
105
103
  requirements: []
106
- rubygems_version: 3.5.23
107
- signing_key:
104
+ rubygems_version: 3.6.8
108
105
  specification_version: 4
109
106
  summary: Enable cloud users to discover private catalogs and products in their organizations.
110
107
  test_files: []