google-cloud-build-v1 0.14.0 → 0.15.0

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: 324456e3db458718a4ff3226dc3bc1340ef687f85ba91d41fbc082fe7642a097
4
- data.tar.gz: 45cfc1c346d5fa49bbcf10902b9754a90056a0aa961ba41b66fd49c496b54015
3
+ metadata.gz: d8e2e42d05626b161c76efe7a9797b73233e0cebcfdbd2aef02471bd405176f3
4
+ data.tar.gz: 6410292a553cea7acc1413dec792f4852c974411cbd0ae567004c0c60d80d818
5
5
  SHA512:
6
- metadata.gz: d7d3be48e1df3abb0a9bba223c62362854fdf8c649cc77b7de72cdd4df35f5b5ea9274549c0c095d60ee9b98b6c4d56f9db0ad325694708cea9789c58c2a305b
7
- data.tar.gz: 876db8e87a296c70d954892ebe08c57b28c3240d91fe0829b2dc7c379de2464e41f0170052d943bb6a792002aa7999f226590d21b7990660dc2ff672c0d5dfc5
6
+ metadata.gz: 7db23a0a424c2f5893214c7843ca7445a8e994c85c208058de585f1918824cce8a620bbc282d991aa663d959d9e03578c5000832520a3b739ca0426c7fcbdf05
7
+ data.tar.gz: 590f8ef8c5d05451478c29293d7d53b336828edf28798dc041a5a39d80685930290eab28afbb5e4f8def4273e6ad15c3f30359481023504e595d781bc8b43f89
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -2053,9 +2053,9 @@ module Google
2053
2053
  # * (`String`) The path to a service account key file in JSON format
2054
2054
  # * (`Hash`) A service account key as a Hash
2055
2055
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2056
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
2056
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2057
2057
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2058
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
2058
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2059
2059
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2060
2060
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2061
2061
  # * (`nil`) indicating no credentials
@@ -620,9 +620,9 @@ module Google
620
620
  # * (`String`) The path to a service account key file in JSON format
621
621
  # * (`Hash`) A service account key as a Hash
622
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
623
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
624
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
625
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
626
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
627
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
628
628
  # * (`nil`) indicating no credentials
@@ -1545,9 +1545,9 @@ module Google
1545
1545
  # * (`String`) The path to a service account key file in JSON format
1546
1546
  # * (`Hash`) A service account key as a Hash
1547
1547
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1548
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1548
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1549
1549
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1550
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1550
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1551
1551
  # * (`nil`) indicating no credentials
1552
1552
  # @return [::Object]
1553
1553
  # @!attribute [rw] scope
@@ -411,9 +411,9 @@ module Google
411
411
  # * (`String`) The path to a service account key file in JSON format
412
412
  # * (`Hash`) A service account key as a Hash
413
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
414
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
416
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
416
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
417
417
  # * (`nil`) indicating no credentials
418
418
  # @return [::Object]
419
419
  # @!attribute [rw] scope
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Build
23
23
  module V1
24
- VERSION = "0.14.0"
24
+ VERSION = "0.15.0"
25
25
  end
26
26
  end
27
27
  end
@@ -413,6 +413,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
413
413
  repeated :env, :string, 12
414
414
  repeated :secret_env, :string, 13
415
415
  repeated :volumes, :message, 14, "google.devtools.cloudbuild.v1.Volume"
416
+ optional :default_logs_bucket_behavior, :enum, 21, "google.devtools.cloudbuild.v1.BuildOptions.DefaultLogsBucketBehavior"
416
417
  end
417
418
  add_message "google.devtools.cloudbuild.v1.BuildOptions.PoolOption" do
418
419
  optional :name, :string, 1
@@ -445,6 +446,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
445
446
  value :CLOUD_LOGGING_ONLY, 5
446
447
  value :NONE, 4
447
448
  end
449
+ add_enum "google.devtools.cloudbuild.v1.BuildOptions.DefaultLogsBucketBehavior" do
450
+ value :DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED, 0
451
+ value :REGIONAL_USER_OWNED_BUCKET, 1
452
+ end
448
453
  add_message "google.devtools.cloudbuild.v1.ReceiveTriggerWebhookRequest" do
449
454
  optional :name, :string, 5
450
455
  optional :body, :message, 1, "google.api.HttpBody"
@@ -609,6 +614,7 @@ module Google
609
614
  BuildOptions::SubstitutionOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption").enummodule
610
615
  BuildOptions::LogStreamingOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption").enummodule
611
616
  BuildOptions::LoggingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.BuildOptions.LoggingMode").enummodule
617
+ BuildOptions::DefaultLogsBucketBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.BuildOptions.DefaultLogsBucketBehavior").enummodule
612
618
  ReceiveTriggerWebhookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.ReceiveTriggerWebhookRequest").msgclass
613
619
  ReceiveTriggerWebhookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.ReceiveTriggerWebhookResponse").msgclass
614
620
  WorkerPool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.WorkerPool").msgclass
@@ -1608,6 +1608,9 @@ module Google
1608
1608
  #
1609
1609
  # Using a global volume in a build with only one step is not valid as
1610
1610
  # it is indicative of a build request with an incorrect configuration.
1611
+ # @!attribute [rw] default_logs_bucket_behavior
1612
+ # @return [::Google::Cloud::Build::V1::BuildOptions::DefaultLogsBucketBehavior]
1613
+ # Option to specify how default logs buckets are setup.
1611
1614
  class BuildOptions
1612
1615
  include ::Google::Protobuf::MessageExts
1613
1616
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1704,6 +1707,17 @@ module Google
1704
1707
  # Turn off all logging. No build logs will be captured.
1705
1708
  NONE = 4
1706
1709
  end
1710
+
1711
+ # Default GCS log bucket behavior options.
1712
+ module DefaultLogsBucketBehavior
1713
+ # Unspecified.
1714
+ DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED = 0
1715
+
1716
+ # Bucket is located in user-owned project in the same region as the
1717
+ # build. The builder service account must have access to create and write
1718
+ # to GCS buckets in the build project.
1719
+ REGIONAL_USER_OWNED_BUCKET = 1
1720
+ end
1707
1721
  end
1708
1722
 
1709
1723
  # ReceiveTriggerWebhookRequest [Experimental] is the request object accepted by
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-build-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.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-03-08 00:00:00.000000000 Z
11
+ date: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common