google-cloud-certificate_manager-v1 1.5.0 → 1.6.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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -5
  3. data/lib/google/cloud/certificate_manager/v1/bindings_override.rb +1 -1
  4. data/lib/google/cloud/certificate_manager/v1/certificate_manager/client.rb +156 -50
  5. data/lib/google/cloud/certificate_manager/v1/certificate_manager/credentials.rb +1 -1
  6. data/lib/google/cloud/certificate_manager/v1/certificate_manager/operations.rb +1 -1
  7. data/lib/google/cloud/certificate_manager/v1/certificate_manager/paths.rb +1 -1
  8. data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/client.rb +149 -50
  9. data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/operations.rb +1 -1
  10. data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/service_stub.rb +63 -1
  11. data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest.rb +1 -1
  12. data/lib/google/cloud/certificate_manager/v1/certificate_manager.rb +1 -1
  13. data/lib/google/cloud/certificate_manager/v1/rest.rb +1 -1
  14. data/lib/google/cloud/certificate_manager/v1/version.rb +1 -1
  15. data/lib/google/cloud/certificate_manager/v1.rb +1 -1
  16. data/lib/google/cloud/certificatemanager/v1/certificate_issuance_config_pb.rb +3 -1
  17. data/lib/google/cloud/certificatemanager/v1/certificate_manager_pb.rb +8 -1
  18. data/lib/google/cloud/certificatemanager/v1/certificate_manager_services_pb.rb +3 -1
  19. data/lib/google/cloud/certificatemanager/v1/trust_config_pb.rb +2 -1
  20. data/lib/google-cloud-certificate_manager-v1.rb +1 -1
  21. data/proto_docs/google/api/client.rb +1 -1
  22. data/proto_docs/google/api/field_behavior.rb +1 -1
  23. data/proto_docs/google/api/field_info.rb +88 -0
  24. data/proto_docs/google/api/launch_stage.rb +1 -1
  25. data/proto_docs/google/api/resource.rb +1 -1
  26. data/proto_docs/google/cloud/certificatemanager/v1/certificate_issuance_config.rb +43 -13
  27. data/proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb +261 -74
  28. data/proto_docs/google/cloud/certificatemanager/v1/trust_config.rb +60 -16
  29. data/proto_docs/google/longrunning/operations.rb +1 -1
  30. data/proto_docs/google/protobuf/any.rb +1 -1
  31. data/proto_docs/google/protobuf/duration.rb +1 -1
  32. data/proto_docs/google/protobuf/empty.rb +1 -1
  33. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  34. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  35. data/proto_docs/google/rpc/status.rb +1 -1
  36. metadata +11 -9
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -28,19 +28,19 @@ module Google
28
28
  # listed, specified in the format `projects/*/locations/*`.
29
29
  # @!attribute [rw] page_size
30
30
  # @return [::Integer]
31
- # Maximum number of TrustConfigs to return per call.
31
+ # Optional. Maximum number of TrustConfigs to return per call.
32
32
  # @!attribute [rw] page_token
33
33
  # @return [::String]
34
- # The value returned by the last `ListTrustConfigsResponse`. Indicates
35
- # that this is a continuation of a prior `ListTrustConfigs` call, and that
36
- # the system should return the next page of data.
34
+ # Optional. The value returned by the last `ListTrustConfigsResponse`.
35
+ # Indicates that this is a continuation of a prior `ListTrustConfigs` call,
36
+ # and that the system should return the next page of data.
37
37
  # @!attribute [rw] filter
38
38
  # @return [::String]
39
- # Filter expression to restrict the TrustConfigs returned.
39
+ # Optional. Filter expression to restrict the TrustConfigs returned.
40
40
  # @!attribute [rw] order_by
41
41
  # @return [::String]
42
- # A list of TrustConfig field names used to specify the order of the
43
- # returned results. The default sorting order is ascending. To specify
42
+ # Optional. A list of TrustConfig field names used to specify the order of
43
+ # the returned results. The default sorting order is ascending. To specify
44
44
  # descending order for a field, add a suffix `" desc"`.
45
45
  class ListTrustConfigsRequest
46
46
  include ::Google::Protobuf::MessageExts
@@ -112,7 +112,7 @@ module Google
112
112
  # `projects/*/locations/*/trustConfigs/*`.
113
113
  # @!attribute [rw] etag
114
114
  # @return [::String]
115
- # The current etag of the TrustConfig.
115
+ # Optional. The current etag of the TrustConfig.
116
116
  # If an etag is provided and does not match the current etag of the resource,
117
117
  # deletion will be blocked and an ABORTED error will be returned.
118
118
  class DeleteTrustConfigRequest
@@ -123,8 +123,8 @@ module Google
123
123
  # Defines a trust config.
124
124
  # @!attribute [rw] name
125
125
  # @return [::String]
126
- # A user-defined name of the trust config. TrustConfig names must be
127
- # unique globally and match pattern
126
+ # Identifier. A user-defined name of the trust config. TrustConfig names must
127
+ # be unique globally and match pattern
128
128
  # `projects/*/locations/*/trustConfigs/*`.
129
129
  # @!attribute [r] create_time
130
130
  # @return [::Google::Protobuf::Timestamp]
@@ -134,23 +134,39 @@ module Google
134
134
  # Output only. The last update timestamp of a TrustConfig.
135
135
  # @!attribute [rw] labels
136
136
  # @return [::Google::Protobuf::Map{::String => ::String}]
137
- # Set of labels associated with a TrustConfig.
137
+ # Optional. Set of labels associated with a TrustConfig.
138
138
  # @!attribute [rw] description
139
139
  # @return [::String]
140
- # One or more paragraphs of text description of a TrustConfig.
140
+ # Optional. One or more paragraphs of text description of a TrustConfig.
141
141
  # @!attribute [rw] etag
142
142
  # @return [::String]
143
143
  # This checksum is computed by the server based on the value of other
144
144
  # fields, and may be sent on update and delete requests to ensure the
145
145
  # client has an up-to-date value before proceeding.
146
+ # @!attribute [rw] spiffe_trust_stores
147
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::CertificateManager::V1::TrustConfig::TrustStore}]
148
+ # Optional. Defines a mapping from a trust domain to a TrustStore. This is
149
+ # used for SPIFFE certificate validation.
146
150
  # @!attribute [rw] trust_stores
147
151
  # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustStore>]
148
- # Set of trust stores to perform validation against.
152
+ # Optional. Set of trust stores to perform validation against.
149
153
  #
150
154
  # This field is supported when TrustConfig is configured with Load Balancers,
151
155
  # currently not supported for SPIFFE certificate validation.
152
156
  #
153
157
  # Only one TrustStore specified is currently allowed.
158
+ # @!attribute [rw] allowlisted_certificates
159
+ # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::AllowlistedCertificate>]
160
+ # Optional. A certificate matching an allowlisted certificate is always
161
+ # considered valid as long as the certificate is parseable, proof of private
162
+ # key possession is established, and constraints on the certificate's SAN
163
+ # field are met.
164
+ # @!attribute [rw] tags
165
+ # @return [::Google::Protobuf::Map{::String => ::String}]
166
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
167
+ # resource. For example:
168
+ # "123/environment": "production",
169
+ # "123/costCenter": "marketing"
154
170
  class TrustConfig
155
171
  include ::Google::Protobuf::MessageExts
156
172
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -181,11 +197,11 @@ module Google
181
197
  # Defines a trust store.
182
198
  # @!attribute [rw] trust_anchors
183
199
  # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor>]
184
- # List of Trust Anchors to be used while performing validation
200
+ # Optional. List of Trust Anchors to be used while performing validation
185
201
  # against a given TrustStore.
186
202
  # @!attribute [rw] intermediate_cas
187
203
  # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA>]
188
- # Set of intermediate CA certificates used for the path building
204
+ # Optional. Set of intermediate CA certificates used for the path building
189
205
  # phase of chain validation.
190
206
  #
191
207
  # The field is currently not supported if TrustConfig is used for the
@@ -195,6 +211,16 @@ module Google
195
211
  extend ::Google::Protobuf::MessageExts::ClassMethods
196
212
  end
197
213
 
214
+ # Defines an allowlisted certificate.
215
+ # @!attribute [rw] pem_certificate
216
+ # @return [::String]
217
+ # Required. PEM certificate that is allowlisted. The certificate can be up
218
+ # to 5k bytes, and must be a parseable X.509 certificate.
219
+ class AllowlistedCertificate
220
+ include ::Google::Protobuf::MessageExts
221
+ extend ::Google::Protobuf::MessageExts::ClassMethods
222
+ end
223
+
198
224
  # @!attribute [rw] key
199
225
  # @return [::String]
200
226
  # @!attribute [rw] value
@@ -203,6 +229,24 @@ module Google
203
229
  include ::Google::Protobuf::MessageExts
204
230
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
231
  end
232
+
233
+ # @!attribute [rw] key
234
+ # @return [::String]
235
+ # @!attribute [rw] value
236
+ # @return [::Google::Cloud::CertificateManager::V1::TrustConfig::TrustStore]
237
+ class SpiffeTrustStoresEntry
238
+ include ::Google::Protobuf::MessageExts
239
+ extend ::Google::Protobuf::MessageExts::ClassMethods
240
+ end
241
+
242
+ # @!attribute [rw] key
243
+ # @return [::String]
244
+ # @!attribute [rw] value
245
+ # @return [::String]
246
+ class TagsEntry
247
+ include ::Google::Protobuf::MessageExts
248
+ extend ::Google::Protobuf::MessageExts::ClassMethods
249
+ end
206
250
  end
207
251
  end
208
252
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -110,14 +110,15 @@ module Google
110
110
  # ) to obtain a formatter capable of generating timestamps in this format.
111
111
  # @!attribute [rw] seconds
112
112
  # @return [::Integer]
113
- # Represents seconds of UTC time since Unix epoch
114
- # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
115
- # 9999-12-31T23:59:59Z inclusive.
113
+ # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
114
+ # be between -315576000000 and 315576000000 inclusive (which corresponds to
115
+ # 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
116
116
  # @!attribute [rw] nanos
117
117
  # @return [::Integer]
118
- # Non-negative fractions of a second at nanosecond resolution. Negative
119
- # second values with fractions must still have non-negative nanos values
120
- # that count forward in time. Must be from 0 to 999,999,999
118
+ # Non-negative fractions of a second at nanosecond resolution. This field is
119
+ # the nanosecond portion of the duration, not an alternative to seconds.
120
+ # Negative second values with fractions must still have non-negative nanos
121
+ # values that count forward in time. Must be between 0 and 999,999,999
121
122
  # inclusive.
122
123
  class Timestamp
123
124
  include ::Google::Protobuf::MessageExts
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-certificate_manager-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.3'
18
+ version: '1.6'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.3'
25
+ version: '1.6'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -51,11 +51,11 @@ dependencies:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '1.0'
54
- description: Certificate Manager lets you acquire and manage Transport Layer Security
55
- (TLS) (SSL) certificates for use with classic external HTTP(S) load balancers in
56
- Google Cloud. Note that google-cloud-certificate_manager-v1 is a version-specific
57
- client library. For most uses, we recommend installing the main client library google-cloud-certificate_manager
58
- instead. See the readme for more details.
54
+ description: Certificate Manager simplifies the acquisition, deployment, and management
55
+ of Transport Layer Security (TLS) certificates. Note that google-cloud-certificate_manager-v1
56
+ is a version-specific client library. For most uses, we recommend installing the
57
+ main client library google-cloud-certificate_manager instead. See the readme for
58
+ more details.
59
59
  email: googleapis-packages@google.com
60
60
  executables: []
61
61
  extensions: []
@@ -86,6 +86,7 @@ files:
86
86
  - proto_docs/README.md
87
87
  - proto_docs/google/api/client.rb
88
88
  - proto_docs/google/api/field_behavior.rb
89
+ - proto_docs/google/api/field_info.rb
89
90
  - proto_docs/google/api/launch_stage.rb
90
91
  - proto_docs/google/api/resource.rb
91
92
  - proto_docs/google/cloud/certificatemanager/v1/certificate_issuance_config.rb
@@ -118,5 +119,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
119
  requirements: []
119
120
  rubygems_version: 3.6.9
120
121
  specification_version: 4
121
- summary: API Client library for the Certificate Manager V1 API
122
+ summary: Certificate Manager simplifies the acquisition, deployment, and management
123
+ of Transport Layer Security (TLS) certificates.
122
124
  test_files: []