google-cloud-certificate_manager-v1 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,79 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/protobuf/duration_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_file("google/cloud/certificatemanager/v1/certificate_issuance_config.proto", :syntax => :proto3) do
13
+ add_message "google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest" do
14
+ optional :parent, :string, 1
15
+ optional :page_size, :int32, 2
16
+ optional :page_token, :string, 3
17
+ optional :filter, :string, 4
18
+ optional :order_by, :string, 5
19
+ end
20
+ add_message "google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse" do
21
+ repeated :certificate_issuance_configs, :message, 1, "google.cloud.certificatemanager.v1.CertificateIssuanceConfig"
22
+ optional :next_page_token, :string, 2
23
+ repeated :unreachable, :string, 3
24
+ end
25
+ add_message "google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest" do
26
+ optional :name, :string, 1
27
+ end
28
+ add_message "google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest" do
29
+ optional :parent, :string, 1
30
+ optional :certificate_issuance_config_id, :string, 2
31
+ optional :certificate_issuance_config, :message, 3, "google.cloud.certificatemanager.v1.CertificateIssuanceConfig"
32
+ end
33
+ add_message "google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest" do
34
+ optional :name, :string, 1
35
+ end
36
+ add_message "google.cloud.certificatemanager.v1.CertificateIssuanceConfig" do
37
+ optional :name, :string, 1
38
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
39
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
40
+ map :labels, :string, :string, 4
41
+ optional :description, :string, 5
42
+ optional :certificate_authority_config, :message, 6, "google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig"
43
+ optional :lifetime, :message, 7, "google.protobuf.Duration"
44
+ optional :rotation_window_percentage, :int32, 8
45
+ optional :key_algorithm, :enum, 9, "google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm"
46
+ end
47
+ add_message "google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig" do
48
+ oneof :kind do
49
+ optional :certificate_authority_service_config, :message, 1, "google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig"
50
+ end
51
+ end
52
+ add_message "google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig" do
53
+ optional :ca_pool, :string, 1
54
+ end
55
+ add_enum "google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm" do
56
+ value :KEY_ALGORITHM_UNSPECIFIED, 0
57
+ value :RSA_2048, 1
58
+ value :ECDSA_P256, 4
59
+ end
60
+ end
61
+ end
62
+
63
+ module Google
64
+ module Cloud
65
+ module CertificateManager
66
+ module V1
67
+ ListCertificateIssuanceConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest").msgclass
68
+ ListCertificateIssuanceConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse").msgclass
69
+ GetCertificateIssuanceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest").msgclass
70
+ CreateCertificateIssuanceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest").msgclass
71
+ DeleteCertificateIssuanceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest").msgclass
72
+ CertificateIssuanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CertificateIssuanceConfig").msgclass
73
+ CertificateIssuanceConfig::CertificateAuthorityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig").msgclass
74
+ CertificateIssuanceConfig::CertificateAuthorityConfig::CertificateAuthorityServiceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig").msgclass
75
+ CertificateIssuanceConfig::KeyAlgorithm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm").enummodule
76
+ end
77
+ end
78
+ end
79
+ end
@@ -7,6 +7,7 @@ require 'google/api/annotations_pb'
7
7
  require 'google/api/client_pb'
8
8
  require 'google/api/field_behavior_pb'
9
9
  require 'google/api/resource_pb'
10
+ require 'google/cloud/certificatemanager/v1/certificate_issuance_config_pb'
10
11
  require 'google/longrunning/operations_pb'
11
12
  require 'google/protobuf/field_mask_pb'
12
13
  require 'google/protobuf/timestamp_pb'
@@ -152,6 +153,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
152
153
  add_message "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate" do
153
154
  repeated :domains, :string, 1
154
155
  repeated :dns_authorizations, :string, 2
156
+ optional :issuance_config, :string, 6
155
157
  optional :state, :enum, 4, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State"
156
158
  optional :provisioning_issue, :message, 3, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue"
157
159
  repeated :authorization_attempt_info, :message, 5, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo"
@@ -100,6 +100,14 @@ module Google
100
100
  rpc :UpdateDnsAuthorization, ::Google::Cloud::CertificateManager::V1::UpdateDnsAuthorizationRequest, ::Google::Longrunning::Operation
101
101
  # Deletes a single DnsAuthorization.
102
102
  rpc :DeleteDnsAuthorization, ::Google::Cloud::CertificateManager::V1::DeleteDnsAuthorizationRequest, ::Google::Longrunning::Operation
103
+ # Lists CertificateIssuanceConfigs in a given project and location.
104
+ rpc :ListCertificateIssuanceConfigs, ::Google::Cloud::CertificateManager::V1::ListCertificateIssuanceConfigsRequest, ::Google::Cloud::CertificateManager::V1::ListCertificateIssuanceConfigsResponse
105
+ # Gets details of a single CertificateIssuanceConfig.
106
+ rpc :GetCertificateIssuanceConfig, ::Google::Cloud::CertificateManager::V1::GetCertificateIssuanceConfigRequest, ::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig
107
+ # Creates a new CertificateIssuanceConfig in a given project and location.
108
+ rpc :CreateCertificateIssuanceConfig, ::Google::Cloud::CertificateManager::V1::CreateCertificateIssuanceConfigRequest, ::Google::Longrunning::Operation
109
+ # Deletes a single CertificateIssuanceConfig.
110
+ rpc :DeleteCertificateIssuanceConfig, ::Google::Cloud::CertificateManager::V1::DeleteCertificateIssuanceConfigRequest, ::Google::Longrunning::Operation
103
111
  end
104
112
 
105
113
  Stub = Service.rpc_stub_class
@@ -0,0 +1,186 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 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 `ListCertificateIssuanceConfigs` method.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. The project and location from which the certificate should be
28
+ # listed, specified in the format `projects/*/locations/*`.
29
+ # @!attribute [rw] page_size
30
+ # @return [::Integer]
31
+ # Maximum number of certificate configs to return per call.
32
+ # @!attribute [rw] page_token
33
+ # @return [::String]
34
+ # The value returned by the last `ListCertificateIssuanceConfigsResponse`.
35
+ # Indicates that this is a continuation of a prior
36
+ # `ListCertificateIssuanceConfigs` call, and that the system should return
37
+ # the next page of data.
38
+ # @!attribute [rw] filter
39
+ # @return [::String]
40
+ # Filter expression to restrict the Certificates Configs returned.
41
+ # @!attribute [rw] order_by
42
+ # @return [::String]
43
+ # A list of Certificate Config field names used to specify the order of the
44
+ # returned results. The default sorting order is ascending. To specify
45
+ # descending order for a field, add a suffix " desc".
46
+ class ListCertificateIssuanceConfigsRequest
47
+ include ::Google::Protobuf::MessageExts
48
+ extend ::Google::Protobuf::MessageExts::ClassMethods
49
+ end
50
+
51
+ # Response for the `ListCertificateIssuanceConfigs` method.
52
+ # @!attribute [rw] certificate_issuance_configs
53
+ # @return [::Array<::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig>]
54
+ # A list of certificate configs for the parent resource.
55
+ # @!attribute [rw] next_page_token
56
+ # @return [::String]
57
+ # If there might be more results than those appearing in this response, then
58
+ # `next_page_token` is included. To get the next set of results, call this
59
+ # method again using the value of `next_page_token` as `page_token`.
60
+ # @!attribute [rw] unreachable
61
+ # @return [::Array<::String>]
62
+ # Locations that could not be reached.
63
+ class ListCertificateIssuanceConfigsResponse
64
+ include ::Google::Protobuf::MessageExts
65
+ extend ::Google::Protobuf::MessageExts::ClassMethods
66
+ end
67
+
68
+ # Request for the `GetCertificateIssuanceConfig` method.
69
+ # @!attribute [rw] name
70
+ # @return [::String]
71
+ # Required. A name of the certificate issuance config to describe. Must be in
72
+ # the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
73
+ class GetCertificateIssuanceConfigRequest
74
+ include ::Google::Protobuf::MessageExts
75
+ extend ::Google::Protobuf::MessageExts::ClassMethods
76
+ end
77
+
78
+ # Request for the `CreateCertificateIssuanceConfig` method.
79
+ # @!attribute [rw] parent
80
+ # @return [::String]
81
+ # Required. The parent resource of the certificate issuance config. Must be
82
+ # in the format `projects/*/locations/*`.
83
+ # @!attribute [rw] certificate_issuance_config_id
84
+ # @return [::String]
85
+ # Required. A user-provided name of the certificate config.
86
+ # @!attribute [rw] certificate_issuance_config
87
+ # @return [::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig]
88
+ # Required. A definition of the certificate issuance config to create.
89
+ class CreateCertificateIssuanceConfigRequest
90
+ include ::Google::Protobuf::MessageExts
91
+ extend ::Google::Protobuf::MessageExts::ClassMethods
92
+ end
93
+
94
+ # Request for the `DeleteCertificateIssuanceConfig` method.
95
+ # @!attribute [rw] name
96
+ # @return [::String]
97
+ # Required. A name of the certificate issuance config to delete. Must be in
98
+ # the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
99
+ class DeleteCertificateIssuanceConfigRequest
100
+ include ::Google::Protobuf::MessageExts
101
+ extend ::Google::Protobuf::MessageExts::ClassMethods
102
+ end
103
+
104
+ # CertificateIssuanceConfig specifies how to issue and manage a certificate.
105
+ # @!attribute [rw] name
106
+ # @return [::String]
107
+ # A user-defined name of the certificate issuance config.
108
+ # CertificateIssuanceConfig names must be unique globally and match pattern
109
+ # `projects/*/locations/*/certificateIssuanceConfigs/*`.
110
+ # @!attribute [r] create_time
111
+ # @return [::Google::Protobuf::Timestamp]
112
+ # Output only. The creation timestamp of a CertificateIssuanceConfig.
113
+ # @!attribute [r] update_time
114
+ # @return [::Google::Protobuf::Timestamp]
115
+ # Output only. The last update timestamp of a CertificateIssuanceConfig.
116
+ # @!attribute [rw] labels
117
+ # @return [::Google::Protobuf::Map{::String => ::String}]
118
+ # Set of labels associated with a CertificateIssuanceConfig.
119
+ # @!attribute [rw] description
120
+ # @return [::String]
121
+ # One or more paragraphs of text description of a CertificateIssuanceConfig.
122
+ # @!attribute [rw] certificate_authority_config
123
+ # @return [::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig::CertificateAuthorityConfig]
124
+ # Required. The CA that issues the workload certificate. It includes the CA
125
+ # address, type, authentication to CA service, etc.
126
+ # @!attribute [rw] lifetime
127
+ # @return [::Google::Protobuf::Duration]
128
+ # Required. Workload certificate lifetime requested.
129
+ # @!attribute [rw] rotation_window_percentage
130
+ # @return [::Integer]
131
+ # Required. Specifies the percentage of elapsed time of the certificate
132
+ # lifetime to wait before renewing the certificate. Must be a number between
133
+ # 1-99, inclusive.
134
+ # @!attribute [rw] key_algorithm
135
+ # @return [::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig::KeyAlgorithm]
136
+ # Required. The key algorithm to use when generating the private key.
137
+ class CertificateIssuanceConfig
138
+ include ::Google::Protobuf::MessageExts
139
+ extend ::Google::Protobuf::MessageExts::ClassMethods
140
+
141
+ # The CA that issues the workload certificate. It includes CA address, type,
142
+ # authentication to CA service, etc.
143
+ # @!attribute [rw] certificate_authority_service_config
144
+ # @return [::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig::CertificateAuthorityConfig::CertificateAuthorityServiceConfig]
145
+ # Defines a CertificateAuthorityServiceConfig.
146
+ class CertificateAuthorityConfig
147
+ include ::Google::Protobuf::MessageExts
148
+ extend ::Google::Protobuf::MessageExts::ClassMethods
149
+
150
+ # Contains information required to contact CA service.
151
+ # @!attribute [rw] ca_pool
152
+ # @return [::String]
153
+ # Required. A CA pool resource used to issue a certificate.
154
+ # The CA pool string has a relative resource path following the form
155
+ # "projects/\\{project}/locations/\\{location}/caPools/\\{ca_pool}".
156
+ class CertificateAuthorityServiceConfig
157
+ include ::Google::Protobuf::MessageExts
158
+ extend ::Google::Protobuf::MessageExts::ClassMethods
159
+ end
160
+ end
161
+
162
+ # @!attribute [rw] key
163
+ # @return [::String]
164
+ # @!attribute [rw] value
165
+ # @return [::String]
166
+ class LabelsEntry
167
+ include ::Google::Protobuf::MessageExts
168
+ extend ::Google::Protobuf::MessageExts::ClassMethods
169
+ end
170
+
171
+ # The type of keypair to generate.
172
+ module KeyAlgorithm
173
+ # Unspecified key algorithm.
174
+ KEY_ALGORITHM_UNSPECIFIED = 0
175
+
176
+ # Specifies RSA with a 2048-bit modulus.
177
+ RSA_2048 = 1
178
+
179
+ # Specifies ECDSA with curve P256.
180
+ ECDSA_P256 = 4
181
+ end
182
+ end
183
+ end
184
+ end
185
+ end
186
+ end
@@ -24,8 +24,8 @@ module Google
24
24
  # Request for the `ListCertificates` method.
25
25
  # @!attribute [rw] parent
26
26
  # @return [::String]
27
- # Required. The project and location from which the certificate should be listed,
28
- # specified in the format `projects/*/locations/*`.
27
+ # Required. The project and location from which the certificate should be
28
+ # listed, specified in the format `projects/*/locations/*`.
29
29
  # @!attribute [rw] page_size
30
30
  # @return [::Integer]
31
31
  # Maximum number of certificates to return per call.
@@ -96,8 +96,8 @@ module Google
96
96
  # Required. A definition of the certificate to update.
97
97
  # @!attribute [rw] update_mask
98
98
  # @return [::Google::Protobuf::FieldMask]
99
- # Required. The update mask applies to the resource. For the `FieldMask` definition,
100
- # see
99
+ # Required. The update mask applies to the resource. For the `FieldMask`
100
+ # definition, see
101
101
  # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
102
102
  class UpdateCertificateRequest
103
103
  include ::Google::Protobuf::MessageExts
@@ -117,8 +117,8 @@ module Google
117
117
  # Request for the `ListCertificateMaps` method.
118
118
  # @!attribute [rw] parent
119
119
  # @return [::String]
120
- # Required. The project and location from which the certificate maps should be listed,
121
- # specified in the format `projects/*/locations/*`.
120
+ # Required. The project and location from which the certificate maps should
121
+ # be listed, specified in the format `projects/*/locations/*`.
122
122
  # @!attribute [rw] page_size
123
123
  # @return [::Integer]
124
124
  # Maximum number of certificate maps to return per call.
@@ -189,8 +189,8 @@ module Google
189
189
  # Required. A definition of the certificate map to update.
190
190
  # @!attribute [rw] update_mask
191
191
  # @return [::Google::Protobuf::FieldMask]
192
- # Required. The update mask applies to the resource. For the `FieldMask` definition,
193
- # see
192
+ # Required. The update mask applies to the resource. For the `FieldMask`
193
+ # definition, see
194
194
  # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
195
195
  class UpdateCertificateMapRequest
196
196
  include ::Google::Protobuf::MessageExts
@@ -210,8 +210,8 @@ module Google
210
210
  # Request for the `ListCertificateMapEntries` method.
211
211
  # @!attribute [rw] parent
212
212
  # @return [::String]
213
- # Required. The project, location and certificate map from which the certificate map
214
- # entries should be listed, specified in the format
213
+ # Required. The project, location and certificate map from which the
214
+ # certificate map entries should be listed, specified in the format
215
215
  # `projects/*/locations/*/certificateMaps/*`.
216
216
  # @!attribute [rw] page_size
217
217
  # @return [::Integer]
@@ -287,8 +287,8 @@ module Google
287
287
  # Required. A definition of the certificate map entry to create map entry.
288
288
  # @!attribute [rw] update_mask
289
289
  # @return [::Google::Protobuf::FieldMask]
290
- # Required. The update mask applies to the resource. For the `FieldMask` definition,
291
- # see
290
+ # Required. The update mask applies to the resource. For the `FieldMask`
291
+ # definition, see
292
292
  # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
293
293
  class UpdateCertificateMapEntryRequest
294
294
  include ::Google::Protobuf::MessageExts
@@ -298,8 +298,8 @@ module Google
298
298
  # Request for the `DeleteCertificateMapEntry` method.
299
299
  # @!attribute [rw] name
300
300
  # @return [::String]
301
- # Required. A name of the certificate map entry to delete. Must be in the format
302
- # `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
301
+ # Required. A name of the certificate map entry to delete. Must be in the
302
+ # format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
303
303
  class DeleteCertificateMapEntryRequest
304
304
  include ::Google::Protobuf::MessageExts
305
305
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -308,8 +308,8 @@ module Google
308
308
  # Request for the `ListDnsAuthorizations` method.
309
309
  # @!attribute [rw] parent
310
310
  # @return [::String]
311
- # Required. The project and location from which the dns authorizations should be
312
- # listed, specified in the format `projects/*/locations/*`.
311
+ # Required. The project and location from which the dns authorizations should
312
+ # be listed, specified in the format `projects/*/locations/*`.
313
313
  # @!attribute [rw] page_size
314
314
  # @return [::Integer]
315
315
  # Maximum number of dns authorizations to return per call.
@@ -351,8 +351,8 @@ module Google
351
351
  # Request for the `GetDnsAuthorization` method.
352
352
  # @!attribute [rw] name
353
353
  # @return [::String]
354
- # Required. A name of the dns authorization to describe. Must be in the format
355
- # `projects/*/locations/*/dnsAuthorizations/*`.
354
+ # Required. A name of the dns authorization to describe. Must be in the
355
+ # format `projects/*/locations/*/dnsAuthorizations/*`.
356
356
  class GetDnsAuthorizationRequest
357
357
  include ::Google::Protobuf::MessageExts
358
358
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -361,8 +361,8 @@ module Google
361
361
  # Request for the `CreateDnsAuthorization` method.
362
362
  # @!attribute [rw] parent
363
363
  # @return [::String]
364
- # Required. The parent resource of the dns authorization. Must be in the format
365
- # `projects/*/locations/*`.
364
+ # Required. The parent resource of the dns authorization. Must be in the
365
+ # format `projects/*/locations/*`.
366
366
  # @!attribute [rw] dns_authorization_id
367
367
  # @return [::String]
368
368
  # Required. A user-provided name of the dns authorization.
@@ -380,8 +380,8 @@ module Google
380
380
  # Required. A definition of the dns authorization to update.
381
381
  # @!attribute [rw] update_mask
382
382
  # @return [::Google::Protobuf::FieldMask]
383
- # Required. The update mask applies to the resource. For the `FieldMask` definition,
384
- # see
383
+ # Required. The update mask applies to the resource. For the `FieldMask`
384
+ # definition, see
385
385
  # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
386
386
  class UpdateDnsAuthorizationRequest
387
387
  include ::Google::Protobuf::MessageExts
@@ -418,8 +418,9 @@ module Google
418
418
  # @return [::Boolean]
419
419
  # Identifies whether the user has requested cancellation
420
420
  # of the operation. Operations that have successfully been cancelled
421
- # have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
422
- # corresponding to `Code.CANCELLED`.
421
+ # have [Operation.error][] value with a
422
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
423
+ # `Code.CANCELLED`.
423
424
  # @!attribute [rw] api_version
424
425
  # @return [::String]
425
426
  # API version used to start the operation.
@@ -453,10 +454,10 @@ module Google
453
454
  # If set, contains configuration and state of a managed certificate.
454
455
  # @!attribute [r] san_dnsnames
455
456
  # @return [::Array<::String>]
456
- # Output only. The list of Subject Alternative Names of dnsName type defined in the
457
- # certificate (see RFC 5280 4.2.1.6).
458
- # Managed certificates that haven't been provisioned yet have this field
459
- # populated with a value of the managed.domains field.
457
+ # Output only. The list of Subject Alternative Names of dnsName type defined
458
+ # in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
459
+ # haven't been provisioned yet have this field populated with a value of the
460
+ # managed.domains field.
460
461
  # @!attribute [r] pem_certificate
461
462
  # @return [::String]
462
463
  # Output only. The PEM-encoded certificate chain.
@@ -490,34 +491,46 @@ module Google
490
491
  # automatically, for as long as it's authorized to do so.
491
492
  # @!attribute [rw] domains
492
493
  # @return [::Array<::String>]
493
- # Immutable. The domains for which a managed SSL certificate will be generated.
494
- # Wildcard domains are only supported with DNS challenge resolution.
494
+ # Immutable. The domains for which a managed SSL certificate will be
495
+ # generated. Wildcard domains are only supported with DNS challenge
496
+ # resolution.
495
497
  # @!attribute [rw] dns_authorizations
496
498
  # @return [::Array<::String>]
497
- # Immutable. Authorizations that will be used for performing domain authorization.
499
+ # Immutable. Authorizations that will be used for performing domain
500
+ # authorization.
501
+ # @!attribute [rw] issuance_config
502
+ # @return [::String]
503
+ # The resource name for a
504
+ # {::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig CertificateIssuanceConfig}
505
+ # used to configure private PKI certificates in the format
506
+ # `projects/*/locations/*/certificateIssuanceConfigs/*`.
507
+ # If this field is not set, the certificates will instead be publicly
508
+ # signed as documented at
509
+ # https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
498
510
  # @!attribute [r] state
499
511
  # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State]
500
512
  # Output only. State of the managed certificate resource.
501
- # @!attribute [rw] provisioning_issue
513
+ # @!attribute [r] provisioning_issue
502
514
  # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue]
503
- # Information about issues with provisioning a Managed Certificate.
515
+ # Output only. Information about issues with provisioning a Managed
516
+ # Certificate.
504
517
  # @!attribute [r] authorization_attempt_info
505
518
  # @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo>]
506
- # Output only. Detailed state of the latest authorization attempt for each domain
507
- # specified for managed certificate resource.
519
+ # Output only. Detailed state of the latest authorization attempt for each
520
+ # domain specified for managed certificate resource.
508
521
  class ManagedCertificate
509
522
  include ::Google::Protobuf::MessageExts
510
523
  extend ::Google::Protobuf::MessageExts::ClassMethods
511
524
 
512
525
  # Information about issues with provisioning a Managed Certificate.
513
- # @!attribute [rw] reason
526
+ # @!attribute [r] reason
514
527
  # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue::Reason]
515
- # Reason for provisioning failures.
516
- # @!attribute [rw] details
528
+ # Output only. Reason for provisioning failures.
529
+ # @!attribute [r] details
517
530
  # @return [::String]
518
- # Human readable explanation about the issue. Provided to help address
519
- # the configuration issues.
520
- # Not guaranteed to be stable. For programmatic access use Reason enum.
531
+ # Output only. Human readable explanation about the issue. Provided to
532
+ # help address the configuration issues. Not guaranteed to be stable. For
533
+ # programmatic access use Reason enum.
521
534
  class ProvisioningIssue
522
535
  include ::Google::Protobuf::MessageExts
523
536
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -542,17 +555,18 @@ module Google
542
555
  # @!attribute [rw] domain
543
556
  # @return [::String]
544
557
  # Domain name of the authorization attempt.
545
- # @!attribute [rw] state
558
+ # @!attribute [r] state
546
559
  # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::State]
547
- # State of the domain for managed certificate issuance.
560
+ # Output only. State of the domain for managed certificate issuance.
548
561
  # @!attribute [r] failure_reason
549
562
  # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::FailureReason]
550
- # Output only. Reason for failure of the authorization attempt for the domain.
551
- # @!attribute [rw] details
563
+ # Output only. Reason for failure of the authorization attempt for the
564
+ # domain.
565
+ # @!attribute [r] details
552
566
  # @return [::String]
553
- # Human readable explanation for reaching the state. Provided to help
554
- # address the configuration issues.
555
- # Not guaranteed to be stable. For programmatic access use Reason enum.
567
+ # Output only. Human readable explanation for reaching the state.
568
+ # Provided to help address the configuration issues. Not guaranteed to be
569
+ # stable. For programmatic access use FailureReason enum.
556
570
  class AuthorizationAttemptInfo
557
571
  include ::Google::Protobuf::MessageExts
558
572
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -652,34 +666,38 @@ module Google
652
666
  # @!attribute [r] gclb_targets
653
667
  # @return [::Array<::Google::Cloud::CertificateManager::V1::CertificateMap::GclbTarget>]
654
668
  # Output only. A list of GCLB targets which use this Certificate Map.
669
+ # A Target Proxy is only present on this list if it's attached to a
670
+ # Forwarding Rule.
655
671
  class CertificateMap
656
672
  include ::Google::Protobuf::MessageExts
657
673
  extend ::Google::Protobuf::MessageExts::ClassMethods
658
674
 
659
675
  # Describes a Target Proxy which uses this Certificate Map.
660
- # @!attribute [rw] target_https_proxy
676
+ # @!attribute [r] target_https_proxy
661
677
  # @return [::String]
662
- # This field returns the resource name in the following format:
678
+ # Output only. This field returns the resource name in the following
679
+ # format:
663
680
  # `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`.
664
- # @!attribute [rw] target_ssl_proxy
681
+ # @!attribute [r] target_ssl_proxy
665
682
  # @return [::String]
666
- # This field returns the resource name in the following format:
683
+ # Output only. This field returns the resource name in the following
684
+ # format:
667
685
  # `//compute.googleapis.com/projects/*/global/targetSslProxies/*`.
668
- # @!attribute [rw] ip_configs
686
+ # @!attribute [r] ip_configs
669
687
  # @return [::Array<::Google::Cloud::CertificateManager::V1::CertificateMap::GclbTarget::IpConfig>]
670
- # IP configurations for this Target Proxy where the
688
+ # Output only. IP configurations for this Target Proxy where the
671
689
  # Certificate Map is serving.
672
690
  class GclbTarget
673
691
  include ::Google::Protobuf::MessageExts
674
692
  extend ::Google::Protobuf::MessageExts::ClassMethods
675
693
 
676
694
  # Defines IP configuration where this Certificate Map is serving.
677
- # @!attribute [rw] ip_address
695
+ # @!attribute [r] ip_address
678
696
  # @return [::String]
679
- # An external IP address.
680
- # @!attribute [rw] ports
697
+ # Output only. An external IP address.
698
+ # @!attribute [r] ports
681
699
  # @return [::Array<::Integer>]
682
- # Ports.
700
+ # Output only. Ports.
683
701
  class IpConfig
684
702
  include ::Google::Protobuf::MessageExts
685
703
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -776,12 +794,14 @@ module Google
776
794
  # One or more paragraphs of text description of a DnsAuthorization.
777
795
  # @!attribute [rw] domain
778
796
  # @return [::String]
779
- # Required. Immutable. A domain which is being authorized. A DnsAuthorization resource covers a
780
- # single domain and its wildcard, e.g. authorization for `example.com` can
781
- # be used to issue certificates for `example.com` and `*.example.com`.
797
+ # Required. Immutable. A domain which is being authorized. A DnsAuthorization
798
+ # resource covers a single domain and its wildcard, e.g. authorization for
799
+ # `example.com` can be used to issue certificates for `example.com` and
800
+ # `*.example.com`.
782
801
  # @!attribute [r] dns_resource_record
783
802
  # @return [::Google::Cloud::CertificateManager::V1::DnsAuthorization::DnsResourceRecord]
784
- # Output only. DNS Resource Record that needs to be added to DNS configuration.
803
+ # Output only. DNS Resource Record that needs to be added to DNS
804
+ # configuration.
785
805
  class DnsAuthorization
786
806
  include ::Google::Protobuf::MessageExts
787
807
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -26,8 +26,6 @@ module Google
26
26
  # service Foo {
27
27
  # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
28
28
  # }
29
- #
30
- # The JSON representation for `Empty` is empty JSON object `{}`.
31
29
  class Empty
32
30
  include ::Google::Protobuf::MessageExts
33
31
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.3.1
4
+ version: 0.4.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: 2022-07-07 00:00:00.000000000 Z
11
+ date: 2022-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.10'
19
+ version: '0.12'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.10'
29
+ version: '0.12'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -198,11 +198,13 @@ files:
198
198
  - lib/google/cloud/certificate_manager/v1/certificate_manager/operations.rb
199
199
  - lib/google/cloud/certificate_manager/v1/certificate_manager/paths.rb
200
200
  - lib/google/cloud/certificate_manager/v1/version.rb
201
+ - lib/google/cloud/certificatemanager/v1/certificate_issuance_config_pb.rb
201
202
  - lib/google/cloud/certificatemanager/v1/certificate_manager_pb.rb
202
203
  - lib/google/cloud/certificatemanager/v1/certificate_manager_services_pb.rb
203
204
  - proto_docs/README.md
204
205
  - proto_docs/google/api/field_behavior.rb
205
206
  - proto_docs/google/api/resource.rb
207
+ - proto_docs/google/cloud/certificatemanager/v1/certificate_issuance_config.rb
206
208
  - proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb
207
209
  - proto_docs/google/longrunning/operations.rb
208
210
  - proto_docs/google/protobuf/any.rb