google-cloud-build-v1 0.6.0 → 0.7.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: e14397f73f85772741ab4f29c61e616ff344b2849c61c159008b144d73ce806a
4
- data.tar.gz: 105bb0655d2e1446c2dd5948f59d2c57408c84871b416c04790245274d764558
3
+ metadata.gz: 295fb0e2fcc4c309c8014a6a05ad2f975f3e1aebcab53d69019dd883333e0b01
4
+ data.tar.gz: 19a9409dd2d844c80cc4b6a04203d91451f364201373ed048c53dcc9db109301
5
5
  SHA512:
6
- metadata.gz: 68c1f52e0d3bd483d9295d017b1556f10394707e5737ccf99c0c4990f7e8543f0f87357b2fa8d2d262fb841902ad530b380492f915f35613ecbb91aafff4396c
7
- data.tar.gz: d911e57ab8f8c00cda3c68d33ccae584f2917937dc194d613026c0c337be3d370824c5104f7f9dd8db9974be32a8f67e4a08efa733f8fb26aef5230cd38e045f
6
+ metadata.gz: d4cb40c9ea7c8a10fc4995190be6c1ecff4e0bdb5203155f55df2fb8e28a338ef22f53e6c917a83c70b4b2414be9dfe8e55d7235b56374096a1d3fb9b2af28cb
7
+ data.tar.gz: 738b3aca458adb571f047e2fb1fa921f43c086eb27de8727b3542e8b639cd8b53afa3a032eca108f6470008a081622ba9f4b0074a94a6a32cf834bf409d96d60
@@ -77,17 +77,17 @@ module Google
77
77
  default_config.rpcs.get_build.timeout = 600.0
78
78
  default_config.rpcs.get_build.retry_policy = {
79
79
  initial_delay: 0.1,
80
- max_delay: 60.0,
81
- multiplier: 1.3,
82
- retry_codes: [14, 4]
80
+ max_delay: 60.0,
81
+ multiplier: 1.3,
82
+ retry_codes: [14, 4]
83
83
  }
84
84
 
85
85
  default_config.rpcs.list_builds.timeout = 600.0
86
86
  default_config.rpcs.list_builds.retry_policy = {
87
87
  initial_delay: 0.1,
88
- max_delay: 60.0,
89
- multiplier: 1.3,
90
- retry_codes: [14, 4]
88
+ max_delay: 60.0,
89
+ multiplier: 1.3,
90
+ retry_codes: [14, 4]
91
91
  }
92
92
 
93
93
  default_config.rpcs.cancel_build.timeout = 600.0
@@ -99,25 +99,25 @@ module Google
99
99
  default_config.rpcs.get_build_trigger.timeout = 600.0
100
100
  default_config.rpcs.get_build_trigger.retry_policy = {
101
101
  initial_delay: 0.1,
102
- max_delay: 60.0,
103
- multiplier: 1.3,
104
- retry_codes: [14, 4]
102
+ max_delay: 60.0,
103
+ multiplier: 1.3,
104
+ retry_codes: [14, 4]
105
105
  }
106
106
 
107
107
  default_config.rpcs.list_build_triggers.timeout = 600.0
108
108
  default_config.rpcs.list_build_triggers.retry_policy = {
109
109
  initial_delay: 0.1,
110
- max_delay: 60.0,
111
- multiplier: 1.3,
112
- retry_codes: [14, 4]
110
+ max_delay: 60.0,
111
+ multiplier: 1.3,
112
+ retry_codes: [14, 4]
113
113
  }
114
114
 
115
115
  default_config.rpcs.delete_build_trigger.timeout = 600.0
116
116
  default_config.rpcs.delete_build_trigger.retry_policy = {
117
117
  initial_delay: 0.1,
118
- max_delay: 60.0,
119
- multiplier: 1.3,
120
- retry_codes: [14, 4]
118
+ max_delay: 60.0,
119
+ multiplier: 1.3,
120
+ retry_codes: [14, 4]
121
121
  }
122
122
 
123
123
  default_config.rpcs.update_build_trigger.timeout = 600.0
@@ -129,9 +129,9 @@ module Google
129
129
  default_config.rpcs.get_worker_pool.timeout = 600.0
130
130
  default_config.rpcs.get_worker_pool.retry_policy = {
131
131
  initial_delay: 0.1,
132
- max_delay: 60.0,
133
- multiplier: 1.3,
134
- retry_codes: [14, 4]
132
+ max_delay: 60.0,
133
+ multiplier: 1.3,
134
+ retry_codes: [14, 4]
135
135
  }
136
136
 
137
137
  default_config.rpcs.delete_worker_pool.timeout = 600.0
@@ -141,9 +141,9 @@ module Google
141
141
  default_config.rpcs.list_worker_pools.timeout = 600.0
142
142
  default_config.rpcs.list_worker_pools.retry_policy = {
143
143
  initial_delay: 0.1,
144
- max_delay: 60.0,
145
- multiplier: 1.3,
146
- retry_codes: [14, 4]
144
+ max_delay: 60.0,
145
+ multiplier: 1.3,
146
+ retry_codes: [14, 4]
147
147
  }
148
148
 
149
149
  default_config
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Build
23
23
  module V1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -42,10 +42,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
42
42
  optional :commit_sha, :string, 5
43
43
  end
44
44
  end
45
+ add_message "google.devtools.cloudbuild.v1.StorageSourceManifest" do
46
+ optional :bucket, :string, 1
47
+ optional :object, :string, 2
48
+ optional :generation, :int64, 3
49
+ end
45
50
  add_message "google.devtools.cloudbuild.v1.Source" do
46
51
  oneof :source do
47
52
  optional :storage_source, :message, 2, "google.devtools.cloudbuild.v1.StorageSource"
48
53
  optional :repo_source, :message, 3, "google.devtools.cloudbuild.v1.RepoSource"
54
+ optional :storage_source_manifest, :message, 8, "google.devtools.cloudbuild.v1.StorageSourceManifest"
49
55
  end
50
56
  end
51
57
  add_message "google.devtools.cloudbuild.v1.BuiltImage" do
@@ -142,6 +148,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
142
148
  add_message "google.devtools.cloudbuild.v1.SourceProvenance" do
143
149
  optional :resolved_storage_source, :message, 3, "google.devtools.cloudbuild.v1.StorageSource"
144
150
  optional :resolved_repo_source, :message, 6, "google.devtools.cloudbuild.v1.RepoSource"
151
+ optional :resolved_storage_source_manifest, :message, 9, "google.devtools.cloudbuild.v1.StorageSourceManifest"
145
152
  map :file_hashes, :string, :message, 4, "google.devtools.cloudbuild.v1.FileHashes"
146
153
  end
147
154
  add_message "google.devtools.cloudbuild.v1.FileHashes" do
@@ -402,6 +409,7 @@ module Google
402
409
  RunBuildTriggerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.RunBuildTriggerRequest").msgclass
403
410
  StorageSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.StorageSource").msgclass
404
411
  RepoSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.RepoSource").msgclass
412
+ StorageSourceManifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.StorageSourceManifest").msgclass
405
413
  Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.Source").msgclass
406
414
  BuiltImage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.BuiltImage").msgclass
407
415
  BuildStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudbuild.v1.BuildStep").msgclass
@@ -34,7 +34,7 @@ module Google
34
34
  # determine the status of the build.
35
35
  class Service
36
36
 
37
- include GRPC::GenericService
37
+ include ::GRPC::GenericService
38
38
 
39
39
  self.marshal_class_method = :encode
40
40
  self.unmarshal_class_method = :decode
@@ -124,6 +124,27 @@ module Google
124
124
  end
125
125
  end
126
126
 
127
+ # Location of the source manifest in Google Cloud Storage.
128
+ # This feature is in Preview.
129
+ # @!attribute [rw] bucket
130
+ # @return [::String]
131
+ # Google Cloud Storage bucket containing the source manifest (see [Bucket
132
+ # Name
133
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
134
+ # @!attribute [rw] object
135
+ # @return [::String]
136
+ # Google Cloud Storage object containing the source manifest.
137
+ #
138
+ # This object must be a JSON file.
139
+ # @!attribute [rw] generation
140
+ # @return [::Integer]
141
+ # Google Cloud Storage generation for the object. If the generation is
142
+ # omitted, the latest generation will be used.
143
+ class StorageSourceManifest
144
+ include ::Google::Protobuf::MessageExts
145
+ extend ::Google::Protobuf::MessageExts::ClassMethods
146
+ end
147
+
127
148
  # Location of the source in a supported storage service.
128
149
  # @!attribute [rw] storage_source
129
150
  # @return [::Google::Cloud::Build::V1::StorageSource]
@@ -132,6 +153,10 @@ module Google
132
153
  # @return [::Google::Cloud::Build::V1::RepoSource]
133
154
  # If provided, get the source from this location in a Cloud Source
134
155
  # Repository.
156
+ # @!attribute [rw] storage_source_manifest
157
+ # @return [::Google::Cloud::Build::V1::StorageSourceManifest]
158
+ # If provided, get the source from this manifest in Google Cloud Storage.
159
+ # This feature is in Preview.
135
160
  class Source
136
161
  include ::Google::Protobuf::MessageExts
137
162
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -592,6 +617,11 @@ module Google
592
617
  # @return [::Google::Cloud::Build::V1::RepoSource]
593
618
  # A copy of the build's `source.repo_source`, if exists, with any
594
619
  # revisions resolved.
620
+ # @!attribute [rw] resolved_storage_source_manifest
621
+ # @return [::Google::Cloud::Build::V1::StorageSourceManifest]
622
+ # A copy of the build's `source.storage_source_manifest`, if exists, with any
623
+ # revisions resolved.
624
+ # This feature is in Preview.
595
625
  # @!attribute [r] file_hashes
596
626
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Build::V1::FileHashes}]
597
627
  # Output only. Hash(es) of the build source, which can be used to verify that
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.6.0
4
+ version: 0.7.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: 2021-04-26 00:00:00.000000000 Z
11
+ date: 2021-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -206,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  - !ruby/object:Gem::Version
207
207
  version: '0'
208
208
  requirements: []
209
- rubygems_version: 3.2.13
209
+ rubygems_version: 3.2.17
210
210
  signing_key:
211
211
  specification_version: 4
212
212
  summary: API Client library for the Cloud Build V1 API