google-cloud-certificate_manager-v1 0.8.2 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,7 +41,7 @@ module Google
41
41
  # @return [::String]
42
42
  # A list of Certificate field names used to specify the order of the returned
43
43
  # results. The default sorting order is ascending. To specify descending
44
- # order for a field, add a suffix " desc".
44
+ # order for a field, add a suffix `" desc"`.
45
45
  class ListCertificatesRequest
46
46
  include ::Google::Protobuf::MessageExts
47
47
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -134,7 +134,7 @@ module Google
134
134
  # @return [::String]
135
135
  # A list of Certificate Map field names used to specify the order of the
136
136
  # returned results. The default sorting order is ascending. To specify
137
- # descending order for a field, add a suffix " desc".
137
+ # descending order for a field, add a suffix `" desc"`.
138
138
  class ListCertificateMapsRequest
139
139
  include ::Google::Protobuf::MessageExts
140
140
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -232,7 +232,7 @@ module Google
232
232
  # @return [::String]
233
233
  # A list of Certificate Map Entry field names used to specify
234
234
  # the order of the returned results. The default sorting order is ascending.
235
- # To specify descending order for a field, add a suffix " desc".
235
+ # To specify descending order for a field, add a suffix `" desc"`.
236
236
  class ListCertificateMapEntriesRequest
237
237
  include ::Google::Protobuf::MessageExts
238
238
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -325,7 +325,7 @@ module Google
325
325
  # @return [::String]
326
326
  # A list of Dns Authorization field names used to specify the order of the
327
327
  # returned results. The default sorting order is ascending. To specify
328
- # descending order for a field, add a suffix " desc".
328
+ # descending order for a field, add a suffix `" desc"`.
329
329
  class ListDnsAuthorizationsRequest
330
330
  include ::Google::Protobuf::MessageExts
331
331
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -578,8 +578,8 @@ module Google
578
578
  # State is unspecified.
579
579
  STATE_UNSPECIFIED = 0
580
580
 
581
- # Certificate provisioning for this domain is under way. GCP will
582
- # attempt to authorize the domain.
581
+ # Certificate provisioning for this domain is under way. Google Cloud
582
+ # will attempt to authorize the domain.
583
583
  AUTHORIZING = 1
584
584
 
585
585
  # A managed certificate can be provisioned, no issues for this domain.
@@ -648,8 +648,13 @@ module Google
648
648
  DEFAULT = 0
649
649
 
650
650
  # Certificates with scope EDGE_CACHE are special-purposed certificates,
651
- # served from non-core Google data centers.
651
+ # served from Edge Points of Presence.
652
+ # See https://cloud.google.com/vpc/docs/edge-locations.
652
653
  EDGE_CACHE = 1
654
+
655
+ # Certificates with ALL_REGIONS scope are served from all Google Cloud
656
+ # regions. See https://cloud.google.com/compute/docs/regions-zones.
657
+ ALL_REGIONS = 2
653
658
  end
654
659
  end
655
660
 
@@ -810,6 +815,11 @@ module Google
810
815
  # @return [::Google::Cloud::CertificateManager::V1::DnsAuthorization::DnsResourceRecord]
811
816
  # Output only. DNS Resource Record that needs to be added to DNS
812
817
  # configuration.
818
+ # @!attribute [rw] type
819
+ # @return [::Google::Cloud::CertificateManager::V1::DnsAuthorization::Type]
820
+ # Immutable. Type of DnsAuthorization. If unset during resource creation the
821
+ # following default will be used:
822
+ # - in location global: FIXED_RECORD.
813
823
  class DnsAuthorization
814
824
  include ::Google::Protobuf::MessageExts
815
825
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -841,6 +851,20 @@ module Google
841
851
  include ::Google::Protobuf::MessageExts
842
852
  extend ::Google::Protobuf::MessageExts::ClassMethods
843
853
  end
854
+
855
+ # DnsAuthorization type.
856
+ module Type
857
+ # Type is unspecified.
858
+ TYPE_UNSPECIFIED = 0
859
+
860
+ # FIXED_RECORD DNS authorization uses DNS-01 validation method.
861
+ FIXED_RECORD = 1
862
+
863
+ # PER_PROJECT_RECORD DNS authorization allows for independent management
864
+ # of Google-managed certificates with DNS authorization across multiple
865
+ # projects.
866
+ PER_PROJECT_RECORD = 2
867
+ end
844
868
  end
845
869
 
846
870
  # Defines set of serving states associated with a resource.
@@ -0,0 +1,210 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module CertificateManager
23
+ module V1
24
+ # Request for the `ListTrustConfigs` method.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. The project and location from which the TrustConfigs should be
28
+ # listed, specified in the format `projects/*/locations/*`.
29
+ # @!attribute [rw] page_size
30
+ # @return [::Integer]
31
+ # Maximum number of TrustConfigs to return per call.
32
+ # @!attribute [rw] page_token
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.
37
+ # @!attribute [rw] filter
38
+ # @return [::String]
39
+ # Filter expression to restrict the TrustConfigs returned.
40
+ # @!attribute [rw] order_by
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
44
+ # descending order for a field, add a suffix `" desc"`.
45
+ class ListTrustConfigsRequest
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+ end
49
+
50
+ # Response for the `ListTrustConfigs` method.
51
+ # @!attribute [rw] trust_configs
52
+ # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig>]
53
+ # A list of TrustConfigs for the parent resource.
54
+ # @!attribute [rw] next_page_token
55
+ # @return [::String]
56
+ # If there might be more results than those appearing in this response, then
57
+ # `next_page_token` is included. To get the next set of results, call this
58
+ # method again using the value of `next_page_token` as `page_token`.
59
+ # @!attribute [rw] unreachable
60
+ # @return [::Array<::String>]
61
+ # Locations that could not be reached.
62
+ class ListTrustConfigsResponse
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+
67
+ # Request for the `GetTrustConfig` method.
68
+ # @!attribute [rw] name
69
+ # @return [::String]
70
+ # Required. A name of the TrustConfig to describe. Must be in the format
71
+ # `projects/*/locations/*/trustConfigs/*`.
72
+ class GetTrustConfigRequest
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+ end
76
+
77
+ # Request for the `CreateTrustConfig` method.
78
+ # @!attribute [rw] parent
79
+ # @return [::String]
80
+ # Required. The parent resource of the TrustConfig. Must be in the format
81
+ # `projects/*/locations/*`.
82
+ # @!attribute [rw] trust_config_id
83
+ # @return [::String]
84
+ # Required. A user-provided name of the TrustConfig. Must match the regexp
85
+ # `[a-z0-9-]{1,63}`.
86
+ # @!attribute [rw] trust_config
87
+ # @return [::Google::Cloud::CertificateManager::V1::TrustConfig]
88
+ # Required. A definition of the TrustConfig to create.
89
+ class CreateTrustConfigRequest
90
+ include ::Google::Protobuf::MessageExts
91
+ extend ::Google::Protobuf::MessageExts::ClassMethods
92
+ end
93
+
94
+ # Request for the `UpdateTrustConfig` method.
95
+ # @!attribute [rw] trust_config
96
+ # @return [::Google::Cloud::CertificateManager::V1::TrustConfig]
97
+ # Required. A definition of the TrustConfig to update.
98
+ # @!attribute [rw] update_mask
99
+ # @return [::Google::Protobuf::FieldMask]
100
+ # Required. The update mask applies to the resource. For the `FieldMask`
101
+ # definition, see
102
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
103
+ class UpdateTrustConfigRequest
104
+ include ::Google::Protobuf::MessageExts
105
+ extend ::Google::Protobuf::MessageExts::ClassMethods
106
+ end
107
+
108
+ # Request for the `DeleteTrustConfig` method.
109
+ # @!attribute [rw] name
110
+ # @return [::String]
111
+ # Required. A name of the TrustConfig to delete. Must be in the format
112
+ # `projects/*/locations/*/trustConfigs/*`.
113
+ # @!attribute [rw] etag
114
+ # @return [::String]
115
+ # The current etag of the TrustConfig.
116
+ # If an etag is provided and does not match the current etag of the resource,
117
+ # deletion will be blocked and an ABORTED error will be returned.
118
+ class DeleteTrustConfigRequest
119
+ include ::Google::Protobuf::MessageExts
120
+ extend ::Google::Protobuf::MessageExts::ClassMethods
121
+ end
122
+
123
+ # Defines a trust config.
124
+ # @!attribute [rw] name
125
+ # @return [::String]
126
+ # A user-defined name of the trust config. TrustConfig names must be
127
+ # unique globally and match pattern
128
+ # `projects/*/locations/*/trustConfigs/*`.
129
+ # @!attribute [r] create_time
130
+ # @return [::Google::Protobuf::Timestamp]
131
+ # Output only. The creation timestamp of a TrustConfig.
132
+ # @!attribute [r] update_time
133
+ # @return [::Google::Protobuf::Timestamp]
134
+ # Output only. The last update timestamp of a TrustConfig.
135
+ # @!attribute [rw] labels
136
+ # @return [::Google::Protobuf::Map{::String => ::String}]
137
+ # Set of labels associated with a TrustConfig.
138
+ # @!attribute [rw] description
139
+ # @return [::String]
140
+ # One or more paragraphs of text description of a TrustConfig.
141
+ # @!attribute [rw] etag
142
+ # @return [::String]
143
+ # This checksum is computed by the server based on the value of other
144
+ # fields, and may be sent on update and delete requests to ensure the
145
+ # client has an up-to-date value before proceeding.
146
+ # @!attribute [rw] trust_stores
147
+ # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustStore>]
148
+ # Set of trust stores to perform validation against.
149
+ #
150
+ # This field is supported when TrustConfig is configured with Load Balancers,
151
+ # currently not supported for SPIFFE certificate validation.
152
+ #
153
+ # Only one TrustStore specified is currently allowed.
154
+ class TrustConfig
155
+ include ::Google::Protobuf::MessageExts
156
+ extend ::Google::Protobuf::MessageExts::ClassMethods
157
+
158
+ # Defines a trust anchor.
159
+ # @!attribute [rw] pem_certificate
160
+ # @return [::String]
161
+ # PEM root certificate of the PKI used for validation.
162
+ #
163
+ # Each certificate provided in PEM format may occupy up to 5kB.
164
+ class TrustAnchor
165
+ include ::Google::Protobuf::MessageExts
166
+ extend ::Google::Protobuf::MessageExts::ClassMethods
167
+ end
168
+
169
+ # Defines an intermediate CA.
170
+ # @!attribute [rw] pem_certificate
171
+ # @return [::String]
172
+ # PEM intermediate certificate used for building up paths
173
+ # for validation.
174
+ #
175
+ # Each certificate provided in PEM format may occupy up to 5kB.
176
+ class IntermediateCA
177
+ include ::Google::Protobuf::MessageExts
178
+ extend ::Google::Protobuf::MessageExts::ClassMethods
179
+ end
180
+
181
+ # Defines a trust store.
182
+ # @!attribute [rw] trust_anchors
183
+ # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor>]
184
+ # List of Trust Anchors to be used while performing validation
185
+ # against a given TrustStore.
186
+ # @!attribute [rw] intermediate_cas
187
+ # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA>]
188
+ # Set of intermediate CA certificates used for the path building
189
+ # phase of chain validation.
190
+ #
191
+ # The field is currently not supported if TrustConfig is used for the
192
+ # workload certificate feature.
193
+ class TrustStore
194
+ include ::Google::Protobuf::MessageExts
195
+ extend ::Google::Protobuf::MessageExts::ClassMethods
196
+ end
197
+
198
+ # @!attribute [rw] key
199
+ # @return [::String]
200
+ # @!attribute [rw] value
201
+ # @return [::String]
202
+ class LabelsEntry
203
+ include ::Google::Protobuf::MessageExts
204
+ extend ::Google::Protobuf::MessageExts::ClassMethods
205
+ end
206
+ end
207
+ end
208
+ end
209
+ end
210
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-certificate_manager-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.10.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: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -64,118 +64,6 @@ dependencies:
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
67
- - !ruby/object:Gem::Dependency
68
- name: google-style
69
- requirement: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - "~>"
72
- - !ruby/object:Gem::Version
73
- version: 1.26.3
74
- type: :development
75
- prerelease: false
76
- version_requirements: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - "~>"
79
- - !ruby/object:Gem::Version
80
- version: 1.26.3
81
- - !ruby/object:Gem::Dependency
82
- name: minitest
83
- requirement: !ruby/object:Gem::Requirement
84
- requirements:
85
- - - "~>"
86
- - !ruby/object:Gem::Version
87
- version: '5.16'
88
- type: :development
89
- prerelease: false
90
- version_requirements: !ruby/object:Gem::Requirement
91
- requirements:
92
- - - "~>"
93
- - !ruby/object:Gem::Version
94
- version: '5.16'
95
- - !ruby/object:Gem::Dependency
96
- name: minitest-focus
97
- requirement: !ruby/object:Gem::Requirement
98
- requirements:
99
- - - "~>"
100
- - !ruby/object:Gem::Version
101
- version: '1.1'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- requirements:
106
- - - "~>"
107
- - !ruby/object:Gem::Version
108
- version: '1.1'
109
- - !ruby/object:Gem::Dependency
110
- name: minitest-rg
111
- requirement: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - "~>"
114
- - !ruby/object:Gem::Version
115
- version: '5.2'
116
- type: :development
117
- prerelease: false
118
- version_requirements: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - "~>"
121
- - !ruby/object:Gem::Version
122
- version: '5.2'
123
- - !ruby/object:Gem::Dependency
124
- name: rake
125
- requirement: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - ">="
128
- - !ruby/object:Gem::Version
129
- version: '13.0'
130
- type: :development
131
- prerelease: false
132
- version_requirements: !ruby/object:Gem::Requirement
133
- requirements:
134
- - - ">="
135
- - !ruby/object:Gem::Version
136
- version: '13.0'
137
- - !ruby/object:Gem::Dependency
138
- name: redcarpet
139
- requirement: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - "~>"
142
- - !ruby/object:Gem::Version
143
- version: '3.0'
144
- type: :development
145
- prerelease: false
146
- version_requirements: !ruby/object:Gem::Requirement
147
- requirements:
148
- - - "~>"
149
- - !ruby/object:Gem::Version
150
- version: '3.0'
151
- - !ruby/object:Gem::Dependency
152
- name: simplecov
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - "~>"
156
- - !ruby/object:Gem::Version
157
- version: '0.18'
158
- type: :development
159
- prerelease: false
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - "~>"
163
- - !ruby/object:Gem::Version
164
- version: '0.18'
165
- - !ruby/object:Gem::Dependency
166
- name: yard
167
- requirement: !ruby/object:Gem::Requirement
168
- requirements:
169
- - - "~>"
170
- - !ruby/object:Gem::Version
171
- version: '0.9'
172
- type: :development
173
- prerelease: false
174
- version_requirements: !ruby/object:Gem::Requirement
175
- requirements:
176
- - - "~>"
177
- - !ruby/object:Gem::Version
178
- version: '0.9'
179
67
  description: Certificate Manager lets you acquire and manage Transport Layer Security
180
68
  (TLS) (SSL) certificates for use with classic external HTTP(S) load balancers in
181
69
  Google Cloud. Note that google-cloud-certificate_manager-v1 is a version-specific
@@ -207,6 +95,7 @@ files:
207
95
  - lib/google/cloud/certificatemanager/v1/certificate_issuance_config_pb.rb
208
96
  - lib/google/cloud/certificatemanager/v1/certificate_manager_pb.rb
209
97
  - lib/google/cloud/certificatemanager/v1/certificate_manager_services_pb.rb
98
+ - lib/google/cloud/certificatemanager/v1/trust_config_pb.rb
210
99
  - proto_docs/README.md
211
100
  - proto_docs/google/api/client.rb
212
101
  - proto_docs/google/api/field_behavior.rb
@@ -214,6 +103,7 @@ files:
214
103
  - proto_docs/google/api/resource.rb
215
104
  - proto_docs/google/cloud/certificatemanager/v1/certificate_issuance_config.rb
216
105
  - proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb
106
+ - proto_docs/google/cloud/certificatemanager/v1/trust_config.rb
217
107
  - proto_docs/google/longrunning/operations.rb
218
108
  - proto_docs/google/protobuf/any.rb
219
109
  - proto_docs/google/protobuf/duration.rb
@@ -233,14 +123,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
233
123
  requirements:
234
124
  - - ">="
235
125
  - !ruby/object:Gem::Version
236
- version: '2.6'
126
+ version: '2.7'
237
127
  required_rubygems_version: !ruby/object:Gem::Requirement
238
128
  requirements:
239
129
  - - ">="
240
130
  - !ruby/object:Gem::Version
241
131
  version: '0'
242
132
  requirements: []
243
- rubygems_version: 3.5.3
133
+ rubygems_version: 3.5.6
244
134
  signing_key:
245
135
  specification_version: 4
246
136
  summary: API Client library for the Certificate Manager V1 API