google-cloud-build-v2 0.8.0 → 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: 23ef57e50ba186670dab6e8ab56e69c08157e425592f33053f986c9c10476515
4
- data.tar.gz: 4be494182571e8a9e115d4928462b9980df470d6cfd9e163f8e35ea5b2a7a960
3
+ metadata.gz: e8ae4c82fcfc1d06b870d448e6167411d96ac18765052b78310c5337aa46aa7c
4
+ data.tar.gz: 6dfa6245a613c14eab483b002cab420c7febefb8a702b201f92b2e76db333311
5
5
  SHA512:
6
- metadata.gz: ff93954e0e2df0cda913e0f5a78e7f44513fde0b63f38f774cb7a6eb67a1b6676db41675664f2a91b44d78ea06d2443d882132d41d436b8c3c07b71e88c65b37
7
- data.tar.gz: 245b09c7ba36547a0f416645d767f7f423c90c71e2857d3b4caaceb6208ac93b14e997a6b2b603be1eb3596442c2c78ff58abd1e42f1b3763299bd5e9aefc04f
6
+ metadata.gz: c520c819bd4beeb3c66a8523e6514c2b1ff031c5010599e9e6e13beaa322513868abffb0f3a7be1abd4d12d895b83ee5deb35669496f6e2a087a474114cf07c1
7
+ data.tar.gz: 66574db331aab0f2fc6ded54c57009558e632a1c7013109a59eb096917c22116b258cd2a16df54042f9b311214cb76783f7b7124c22689d89424e375d44d5db8
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
@@ -1656,6 +1656,13 @@ module Google
1656
1656
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1657
1657
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1658
1658
  # * (`nil`) indicating no credentials
1659
+ #
1660
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1661
+ # external source for authentication to Google Cloud, you must validate it before
1662
+ # providing it to a Google API client library. Providing an unvalidated credential
1663
+ # configuration to Google APIs can compromise the security of your systems and data.
1664
+ # For more information, refer to [Validate credential configurations from external
1665
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1659
1666
  # @return [::Object]
1660
1667
  # @!attribute [rw] scope
1661
1668
  # The OAuth scopes
@@ -1710,8 +1717,8 @@ module Google
1710
1717
 
1711
1718
  config_attr :endpoint, nil, ::String, nil
1712
1719
  config_attr :credentials, nil do |value|
1713
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1714
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1720
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1721
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1715
1722
  allowed.any? { |klass| klass === value }
1716
1723
  end
1717
1724
  config_attr :scope, nil, ::String, ::Array, nil
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -694,8 +701,8 @@ module Google
694
701
 
695
702
  config_attr :endpoint, nil, ::String, nil
696
703
  config_attr :credentials, nil do |value|
697
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
698
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
699
706
  allowed.any? { |klass| klass === value }
700
707
  end
701
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Build
23
23
  module V2
24
- VERSION = "0.8.0"
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
@@ -36,19 +36,29 @@ module Google
36
36
  # @!attribute [rw] github_config
37
37
  # @return [::Google::Cloud::Build::V2::GitHubConfig]
38
38
  # Configuration for connections to github.com.
39
+ #
40
+ # Note: The following fields are mutually exclusive: `github_config`, `github_enterprise_config`, `gitlab_config`, `bitbucket_data_center_config`, `bitbucket_cloud_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
39
41
  # @!attribute [rw] github_enterprise_config
40
42
  # @return [::Google::Cloud::Build::V2::GitHubEnterpriseConfig]
41
43
  # Configuration for connections to an instance of GitHub Enterprise.
44
+ #
45
+ # Note: The following fields are mutually exclusive: `github_enterprise_config`, `github_config`, `gitlab_config`, `bitbucket_data_center_config`, `bitbucket_cloud_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
42
46
  # @!attribute [rw] gitlab_config
43
47
  # @return [::Google::Cloud::Build::V2::GitLabConfig]
44
48
  # Configuration for connections to gitlab.com or an instance of GitLab
45
49
  # Enterprise.
50
+ #
51
+ # Note: The following fields are mutually exclusive: `gitlab_config`, `github_config`, `github_enterprise_config`, `bitbucket_data_center_config`, `bitbucket_cloud_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
46
52
  # @!attribute [rw] bitbucket_data_center_config
47
53
  # @return [::Google::Cloud::Build::V2::BitbucketDataCenterConfig]
48
54
  # Configuration for connections to Bitbucket Data Center.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `bitbucket_data_center_config`, `github_config`, `github_enterprise_config`, `gitlab_config`, `bitbucket_cloud_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
49
57
  # @!attribute [rw] bitbucket_cloud_config
50
58
  # @return [::Google::Cloud::Build::V2::BitbucketCloudConfig]
51
59
  # Configuration for connections to Bitbucket Cloud.
60
+ #
61
+ # Note: The following fields are mutually exclusive: `bitbucket_cloud_config`, `github_config`, `github_enterprise_config`, `gitlab_config`, `bitbucket_data_center_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
52
62
  # @!attribute [r] installation_state
53
63
  # @return [::Google::Cloud::Build::V2::InstallationState]
54
64
  # Output only. Installation state of the Connection.
@@ -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
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-build-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
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: 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
@@ -130,7 +129,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
130
129
  licenses:
131
130
  - Apache-2.0
132
131
  metadata: {}
133
- post_install_message:
134
132
  rdoc_options: []
135
133
  require_paths:
136
134
  - lib
@@ -138,15 +136,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
136
  requirements:
139
137
  - - ">="
140
138
  - !ruby/object:Gem::Version
141
- version: '2.7'
139
+ version: '3.0'
142
140
  required_rubygems_version: !ruby/object:Gem::Requirement
143
141
  requirements:
144
142
  - - ">="
145
143
  - !ruby/object:Gem::Version
146
144
  version: '0'
147
145
  requirements: []
148
- rubygems_version: 3.5.23
149
- signing_key:
146
+ rubygems_version: 3.6.8
150
147
  specification_version: 4
151
148
  summary: Creates and manages builds on Google Cloud Platform.
152
149
  test_files: []