google-apis-certificatemanager_v1 0.12.0 → 0.14.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/certificatemanager_v1/classes.rb +158 -1
- data/lib/google/apis/certificatemanager_v1/gem_version.rb +3 -3
- data/lib/google/apis/certificatemanager_v1/representations.rb +66 -0
- data/lib/google/apis/certificatemanager_v1/service.rb +147 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c718022353957e1c7e538657f41473e50aca8b1530448ae83d8b4495e1135799
|
4
|
+
data.tar.gz: 0d97609adade0620b4a56bc9519f3127687c53c530fff924069e002a58d99020
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0436df7c4c1d57a13bc5d2ce18afcff7e3ed734b7668cac9748a548087021b3a7b5f48749bef6008badb568671be4414333de95d2312095bad2adc7963675396
|
7
|
+
data.tar.gz: 8453c22f3ae867ea64f292360d590f785ba3c977b7ac84a1759eadbc55696c3042151cb2895e26a1e76003ed8fd99c27147cf693d82d2a6740d578b9075ce8cc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-certificatemanager_v1
|
2
2
|
|
3
|
+
### v0.14.0 (2022-09-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220927
|
6
|
+
|
7
|
+
### v0.13.0 (2022-09-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220914
|
10
|
+
* Regenerated using generator version 0.10.0
|
11
|
+
|
3
12
|
### v0.12.0 (2022-08-13)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20220804
|
@@ -161,6 +161,119 @@ module Google
|
|
161
161
|
end
|
162
162
|
end
|
163
163
|
|
164
|
+
# The CA that issues the workload certificate. It includes CA address, type,
|
165
|
+
# authentication to CA service, etc.
|
166
|
+
class CertificateAuthorityConfig
|
167
|
+
include Google::Apis::Core::Hashable
|
168
|
+
|
169
|
+
# Contains information required to contact CA service.
|
170
|
+
# Corresponds to the JSON property `certificateAuthorityServiceConfig`
|
171
|
+
# @return [Google::Apis::CertificatemanagerV1::CertificateAuthorityServiceConfig]
|
172
|
+
attr_accessor :certificate_authority_service_config
|
173
|
+
|
174
|
+
def initialize(**args)
|
175
|
+
update!(**args)
|
176
|
+
end
|
177
|
+
|
178
|
+
# Update properties of this object
|
179
|
+
def update!(**args)
|
180
|
+
@certificate_authority_service_config = args[:certificate_authority_service_config] if args.key?(:certificate_authority_service_config)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
# Contains information required to contact CA service.
|
185
|
+
class CertificateAuthorityServiceConfig
|
186
|
+
include Google::Apis::Core::Hashable
|
187
|
+
|
188
|
+
# Required. A CA pool resource used to issue a certificate. The CA pool string
|
189
|
+
# has a relative resource path following the form "projects/`project`/locations/`
|
190
|
+
# location`/caPools/`ca_pool`".
|
191
|
+
# Corresponds to the JSON property `caPool`
|
192
|
+
# @return [String]
|
193
|
+
attr_accessor :ca_pool
|
194
|
+
|
195
|
+
def initialize(**args)
|
196
|
+
update!(**args)
|
197
|
+
end
|
198
|
+
|
199
|
+
# Update properties of this object
|
200
|
+
def update!(**args)
|
201
|
+
@ca_pool = args[:ca_pool] if args.key?(:ca_pool)
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# CertificateIssuanceConfig specifies how to issue and manage a certificate.
|
206
|
+
class CertificateIssuanceConfig
|
207
|
+
include Google::Apis::Core::Hashable
|
208
|
+
|
209
|
+
# The CA that issues the workload certificate. It includes CA address, type,
|
210
|
+
# authentication to CA service, etc.
|
211
|
+
# Corresponds to the JSON property `certificateAuthorityConfig`
|
212
|
+
# @return [Google::Apis::CertificatemanagerV1::CertificateAuthorityConfig]
|
213
|
+
attr_accessor :certificate_authority_config
|
214
|
+
|
215
|
+
# Output only. The creation timestamp of a CertificateIssuanceConfig.
|
216
|
+
# Corresponds to the JSON property `createTime`
|
217
|
+
# @return [String]
|
218
|
+
attr_accessor :create_time
|
219
|
+
|
220
|
+
# One or more paragraphs of text description of a CertificateIssuanceConfig.
|
221
|
+
# Corresponds to the JSON property `description`
|
222
|
+
# @return [String]
|
223
|
+
attr_accessor :description
|
224
|
+
|
225
|
+
# Required. The key algorithm to use when generating the private key.
|
226
|
+
# Corresponds to the JSON property `keyAlgorithm`
|
227
|
+
# @return [String]
|
228
|
+
attr_accessor :key_algorithm
|
229
|
+
|
230
|
+
# Set of labels associated with a CertificateIssuanceConfig.
|
231
|
+
# Corresponds to the JSON property `labels`
|
232
|
+
# @return [Hash<String,String>]
|
233
|
+
attr_accessor :labels
|
234
|
+
|
235
|
+
# Required. Workload certificate lifetime requested.
|
236
|
+
# Corresponds to the JSON property `lifetime`
|
237
|
+
# @return [String]
|
238
|
+
attr_accessor :lifetime
|
239
|
+
|
240
|
+
# A user-defined name of the certificate issuance config.
|
241
|
+
# CertificateIssuanceConfig names must be unique globally and match pattern `
|
242
|
+
# projects/*/locations/*/certificateIssuanceConfigs/*`.
|
243
|
+
# Corresponds to the JSON property `name`
|
244
|
+
# @return [String]
|
245
|
+
attr_accessor :name
|
246
|
+
|
247
|
+
# Required. Specifies the percentage of elapsed time of the certificate lifetime
|
248
|
+
# to wait before renewing the certificate. Must be a number between 1-99,
|
249
|
+
# inclusive.
|
250
|
+
# Corresponds to the JSON property `rotationWindowPercentage`
|
251
|
+
# @return [Fixnum]
|
252
|
+
attr_accessor :rotation_window_percentage
|
253
|
+
|
254
|
+
# Output only. The last update timestamp of a CertificateIssuanceConfig.
|
255
|
+
# Corresponds to the JSON property `updateTime`
|
256
|
+
# @return [String]
|
257
|
+
attr_accessor :update_time
|
258
|
+
|
259
|
+
def initialize(**args)
|
260
|
+
update!(**args)
|
261
|
+
end
|
262
|
+
|
263
|
+
# Update properties of this object
|
264
|
+
def update!(**args)
|
265
|
+
@certificate_authority_config = args[:certificate_authority_config] if args.key?(:certificate_authority_config)
|
266
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
267
|
+
@description = args[:description] if args.key?(:description)
|
268
|
+
@key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
|
269
|
+
@labels = args[:labels] if args.key?(:labels)
|
270
|
+
@lifetime = args[:lifetime] if args.key?(:lifetime)
|
271
|
+
@name = args[:name] if args.key?(:name)
|
272
|
+
@rotation_window_percentage = args[:rotation_window_percentage] if args.key?(:rotation_window_percentage)
|
273
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
164
277
|
# Defines a collection of certificate configurations.
|
165
278
|
class CertificateMap
|
166
279
|
include Google::Apis::Core::Hashable
|
@@ -175,7 +288,8 @@ module Google
|
|
175
288
|
# @return [String]
|
176
289
|
attr_accessor :description
|
177
290
|
|
178
|
-
# Output only. A list of GCLB targets which use this Certificate Map.
|
291
|
+
# Output only. A list of GCLB targets which use this Certificate Map. A Target
|
292
|
+
# Proxy is only present on this list if it's attached to a Forwarding Rule.
|
179
293
|
# Corresponds to the JSON property `gclbTargets`
|
180
294
|
# @return [Array<Google::Apis::CertificatemanagerV1::GclbTarget>]
|
181
295
|
attr_accessor :gclb_targets
|
@@ -453,6 +567,39 @@ module Google
|
|
453
567
|
end
|
454
568
|
end
|
455
569
|
|
570
|
+
# Response for the `ListCertificateIssuanceConfigs` method.
|
571
|
+
class ListCertificateIssuanceConfigsResponse
|
572
|
+
include Google::Apis::Core::Hashable
|
573
|
+
|
574
|
+
# A list of certificate configs for the parent resource.
|
575
|
+
# Corresponds to the JSON property `certificateIssuanceConfigs`
|
576
|
+
# @return [Array<Google::Apis::CertificatemanagerV1::CertificateIssuanceConfig>]
|
577
|
+
attr_accessor :certificate_issuance_configs
|
578
|
+
|
579
|
+
# If there might be more results than those appearing in this response, then `
|
580
|
+
# next_page_token` is included. To get the next set of results, call this method
|
581
|
+
# again using the value of `next_page_token` as `page_token`.
|
582
|
+
# Corresponds to the JSON property `nextPageToken`
|
583
|
+
# @return [String]
|
584
|
+
attr_accessor :next_page_token
|
585
|
+
|
586
|
+
# Locations that could not be reached.
|
587
|
+
# Corresponds to the JSON property `unreachable`
|
588
|
+
# @return [Array<String>]
|
589
|
+
attr_accessor :unreachable
|
590
|
+
|
591
|
+
def initialize(**args)
|
592
|
+
update!(**args)
|
593
|
+
end
|
594
|
+
|
595
|
+
# Update properties of this object
|
596
|
+
def update!(**args)
|
597
|
+
@certificate_issuance_configs = args[:certificate_issuance_configs] if args.key?(:certificate_issuance_configs)
|
598
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
599
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
456
603
|
# Response for the `ListCertificateMapEntries` method.
|
457
604
|
class ListCertificateMapEntriesResponse
|
458
605
|
include Google::Apis::Core::Hashable
|
@@ -706,6 +853,15 @@ module Google
|
|
706
853
|
# @return [Array<String>]
|
707
854
|
attr_accessor :domains
|
708
855
|
|
856
|
+
# Immutable. The resource name for a CertificateIssuanceConfig used to configure
|
857
|
+
# private PKI certificates in the format `projects/*/locations/*/
|
858
|
+
# certificateIssuanceConfigs/*`. If this field is not set, the certificates will
|
859
|
+
# instead be publicly signed as documented at https://cloud.google.com/load-
|
860
|
+
# balancing/docs/ssl-certificates/google-managed-certs#caa.
|
861
|
+
# Corresponds to the JSON property `issuanceConfig`
|
862
|
+
# @return [String]
|
863
|
+
attr_accessor :issuance_config
|
864
|
+
|
709
865
|
# Information about issues with provisioning a Managed Certificate.
|
710
866
|
# Corresponds to the JSON property `provisioningIssue`
|
711
867
|
# @return [Google::Apis::CertificatemanagerV1::ProvisioningIssue]
|
@@ -725,6 +881,7 @@ module Google
|
|
725
881
|
@authorization_attempt_info = args[:authorization_attempt_info] if args.key?(:authorization_attempt_info)
|
726
882
|
@dns_authorizations = args[:dns_authorizations] if args.key?(:dns_authorizations)
|
727
883
|
@domains = args[:domains] if args.key?(:domains)
|
884
|
+
@issuance_config = args[:issuance_config] if args.key?(:issuance_config)
|
728
885
|
@provisioning_issue = args[:provisioning_issue] if args.key?(:provisioning_issue)
|
729
886
|
@state = args[:state] if args.key?(:state)
|
730
887
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CertificatemanagerV1
|
18
18
|
# Version of the google-apis-certificatemanager_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220927"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,24 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class CertificateAuthorityConfig
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class CertificateAuthorityServiceConfig
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class CertificateIssuanceConfig
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
43
61
|
class CertificateMap
|
44
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
63
|
|
@@ -82,6 +100,12 @@ module Google
|
|
82
100
|
include Google::Apis::Core::JsonObjectSupport
|
83
101
|
end
|
84
102
|
|
103
|
+
class ListCertificateIssuanceConfigsResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
85
109
|
class ListCertificateMapEntriesResponse
|
86
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
111
|
|
@@ -195,6 +219,37 @@ module Google
|
|
195
219
|
end
|
196
220
|
end
|
197
221
|
|
222
|
+
class CertificateAuthorityConfig
|
223
|
+
# @private
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
225
|
+
property :certificate_authority_service_config, as: 'certificateAuthorityServiceConfig', class: Google::Apis::CertificatemanagerV1::CertificateAuthorityServiceConfig, decorator: Google::Apis::CertificatemanagerV1::CertificateAuthorityServiceConfig::Representation
|
226
|
+
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
class CertificateAuthorityServiceConfig
|
231
|
+
# @private
|
232
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
233
|
+
property :ca_pool, as: 'caPool'
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
class CertificateIssuanceConfig
|
238
|
+
# @private
|
239
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
240
|
+
property :certificate_authority_config, as: 'certificateAuthorityConfig', class: Google::Apis::CertificatemanagerV1::CertificateAuthorityConfig, decorator: Google::Apis::CertificatemanagerV1::CertificateAuthorityConfig::Representation
|
241
|
+
|
242
|
+
property :create_time, as: 'createTime'
|
243
|
+
property :description, as: 'description'
|
244
|
+
property :key_algorithm, as: 'keyAlgorithm'
|
245
|
+
hash :labels, as: 'labels'
|
246
|
+
property :lifetime, as: 'lifetime'
|
247
|
+
property :name, as: 'name'
|
248
|
+
property :rotation_window_percentage, as: 'rotationWindowPercentage'
|
249
|
+
property :update_time, as: 'updateTime'
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
198
253
|
class CertificateMap
|
199
254
|
# @private
|
200
255
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -270,6 +325,16 @@ module Google
|
|
270
325
|
end
|
271
326
|
end
|
272
327
|
|
328
|
+
class ListCertificateIssuanceConfigsResponse
|
329
|
+
# @private
|
330
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
331
|
+
collection :certificate_issuance_configs, as: 'certificateIssuanceConfigs', class: Google::Apis::CertificatemanagerV1::CertificateIssuanceConfig, decorator: Google::Apis::CertificatemanagerV1::CertificateIssuanceConfig::Representation
|
332
|
+
|
333
|
+
property :next_page_token, as: 'nextPageToken'
|
334
|
+
collection :unreachable, as: 'unreachable'
|
335
|
+
end
|
336
|
+
end
|
337
|
+
|
273
338
|
class ListCertificateMapEntriesResponse
|
274
339
|
# @private
|
275
340
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -346,6 +411,7 @@ module Google
|
|
346
411
|
|
347
412
|
collection :dns_authorizations, as: 'dnsAuthorizations'
|
348
413
|
collection :domains, as: 'domains'
|
414
|
+
property :issuance_config, as: 'issuanceConfig'
|
349
415
|
property :provisioning_issue, as: 'provisioningIssue', class: Google::Apis::CertificatemanagerV1::ProvisioningIssue, decorator: Google::Apis::CertificatemanagerV1::ProvisioningIssue::Representation
|
350
416
|
|
351
417
|
property :state, as: 'state'
|
@@ -122,6 +122,153 @@ module Google
|
|
122
122
|
execute_or_queue_command(command, &block)
|
123
123
|
end
|
124
124
|
|
125
|
+
# Creates a new CertificateIssuanceConfig in a given project and location.
|
126
|
+
# @param [String] parent
|
127
|
+
# Required. The parent resource of the certificate issuance config. Must be in
|
128
|
+
# the format `projects/*/locations/*`.
|
129
|
+
# @param [Google::Apis::CertificatemanagerV1::CertificateIssuanceConfig] certificate_issuance_config_object
|
130
|
+
# @param [String] certificate_issuance_config_id
|
131
|
+
# Required. A user-provided name of the certificate config.
|
132
|
+
# @param [String] fields
|
133
|
+
# Selector specifying which fields to include in a partial response.
|
134
|
+
# @param [String] quota_user
|
135
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
136
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
137
|
+
# @param [Google::Apis::RequestOptions] options
|
138
|
+
# Request-specific options
|
139
|
+
#
|
140
|
+
# @yield [result, err] Result & error if block supplied
|
141
|
+
# @yieldparam result [Google::Apis::CertificatemanagerV1::Operation] parsed result object
|
142
|
+
# @yieldparam err [StandardError] error object if request failed
|
143
|
+
#
|
144
|
+
# @return [Google::Apis::CertificatemanagerV1::Operation]
|
145
|
+
#
|
146
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
147
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
148
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
149
|
+
def create_project_location_certificate_issuance_config(parent, certificate_issuance_config_object = nil, certificate_issuance_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
150
|
+
command = make_simple_command(:post, 'v1/{+parent}/certificateIssuanceConfigs', options)
|
151
|
+
command.request_representation = Google::Apis::CertificatemanagerV1::CertificateIssuanceConfig::Representation
|
152
|
+
command.request_object = certificate_issuance_config_object
|
153
|
+
command.response_representation = Google::Apis::CertificatemanagerV1::Operation::Representation
|
154
|
+
command.response_class = Google::Apis::CertificatemanagerV1::Operation
|
155
|
+
command.params['parent'] = parent unless parent.nil?
|
156
|
+
command.query['certificateIssuanceConfigId'] = certificate_issuance_config_id unless certificate_issuance_config_id.nil?
|
157
|
+
command.query['fields'] = fields unless fields.nil?
|
158
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
159
|
+
execute_or_queue_command(command, &block)
|
160
|
+
end
|
161
|
+
|
162
|
+
# Deletes a single CertificateIssuanceConfig.
|
163
|
+
# @param [String] name
|
164
|
+
# Required. A name of the certificate issuance config to delete. Must be in the
|
165
|
+
# format `projects/*/locations/*/certificateIssuanceConfigs/*`.
|
166
|
+
# @param [String] fields
|
167
|
+
# Selector specifying which fields to include in a partial response.
|
168
|
+
# @param [String] quota_user
|
169
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
170
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
171
|
+
# @param [Google::Apis::RequestOptions] options
|
172
|
+
# Request-specific options
|
173
|
+
#
|
174
|
+
# @yield [result, err] Result & error if block supplied
|
175
|
+
# @yieldparam result [Google::Apis::CertificatemanagerV1::Operation] parsed result object
|
176
|
+
# @yieldparam err [StandardError] error object if request failed
|
177
|
+
#
|
178
|
+
# @return [Google::Apis::CertificatemanagerV1::Operation]
|
179
|
+
#
|
180
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
181
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
182
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
183
|
+
def delete_project_location_certificate_issuance_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
184
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
185
|
+
command.response_representation = Google::Apis::CertificatemanagerV1::Operation::Representation
|
186
|
+
command.response_class = Google::Apis::CertificatemanagerV1::Operation
|
187
|
+
command.params['name'] = name unless name.nil?
|
188
|
+
command.query['fields'] = fields unless fields.nil?
|
189
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
190
|
+
execute_or_queue_command(command, &block)
|
191
|
+
end
|
192
|
+
|
193
|
+
# Gets details of a single CertificateIssuanceConfig.
|
194
|
+
# @param [String] name
|
195
|
+
# Required. A name of the certificate issuance config to describe. Must be in
|
196
|
+
# the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
|
197
|
+
# @param [String] fields
|
198
|
+
# Selector specifying which fields to include in a partial response.
|
199
|
+
# @param [String] quota_user
|
200
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
201
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
202
|
+
# @param [Google::Apis::RequestOptions] options
|
203
|
+
# Request-specific options
|
204
|
+
#
|
205
|
+
# @yield [result, err] Result & error if block supplied
|
206
|
+
# @yieldparam result [Google::Apis::CertificatemanagerV1::CertificateIssuanceConfig] parsed result object
|
207
|
+
# @yieldparam err [StandardError] error object if request failed
|
208
|
+
#
|
209
|
+
# @return [Google::Apis::CertificatemanagerV1::CertificateIssuanceConfig]
|
210
|
+
#
|
211
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
212
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
213
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
214
|
+
def get_project_location_certificate_issuance_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
215
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
216
|
+
command.response_representation = Google::Apis::CertificatemanagerV1::CertificateIssuanceConfig::Representation
|
217
|
+
command.response_class = Google::Apis::CertificatemanagerV1::CertificateIssuanceConfig
|
218
|
+
command.params['name'] = name unless name.nil?
|
219
|
+
command.query['fields'] = fields unless fields.nil?
|
220
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
221
|
+
execute_or_queue_command(command, &block)
|
222
|
+
end
|
223
|
+
|
224
|
+
# Lists CertificateIssuanceConfigs in a given project and location.
|
225
|
+
# @param [String] parent
|
226
|
+
# Required. The project and location from which the certificate should be listed,
|
227
|
+
# specified in the format `projects/*/locations/*`.
|
228
|
+
# @param [String] filter
|
229
|
+
# Filter expression to restrict the Certificates Configs returned.
|
230
|
+
# @param [String] order_by
|
231
|
+
# A list of Certificate Config field names used to specify the order of the
|
232
|
+
# returned results. The default sorting order is ascending. To specify
|
233
|
+
# descending order for a field, add a suffix " desc".
|
234
|
+
# @param [Fixnum] page_size
|
235
|
+
# Maximum number of certificate configs to return per call.
|
236
|
+
# @param [String] page_token
|
237
|
+
# The value returned by the last `ListCertificateIssuanceConfigsResponse`.
|
238
|
+
# Indicates that this is a continuation of a prior `
|
239
|
+
# ListCertificateIssuanceConfigs` call, and that the system should return the
|
240
|
+
# next page of data.
|
241
|
+
# @param [String] fields
|
242
|
+
# Selector specifying which fields to include in a partial response.
|
243
|
+
# @param [String] quota_user
|
244
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
245
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
246
|
+
# @param [Google::Apis::RequestOptions] options
|
247
|
+
# Request-specific options
|
248
|
+
#
|
249
|
+
# @yield [result, err] Result & error if block supplied
|
250
|
+
# @yieldparam result [Google::Apis::CertificatemanagerV1::ListCertificateIssuanceConfigsResponse] parsed result object
|
251
|
+
# @yieldparam err [StandardError] error object if request failed
|
252
|
+
#
|
253
|
+
# @return [Google::Apis::CertificatemanagerV1::ListCertificateIssuanceConfigsResponse]
|
254
|
+
#
|
255
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
256
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
257
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
258
|
+
def list_project_location_certificate_issuance_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
259
|
+
command = make_simple_command(:get, 'v1/{+parent}/certificateIssuanceConfigs', options)
|
260
|
+
command.response_representation = Google::Apis::CertificatemanagerV1::ListCertificateIssuanceConfigsResponse::Representation
|
261
|
+
command.response_class = Google::Apis::CertificatemanagerV1::ListCertificateIssuanceConfigsResponse
|
262
|
+
command.params['parent'] = parent unless parent.nil?
|
263
|
+
command.query['filter'] = filter unless filter.nil?
|
264
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
265
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
266
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
267
|
+
command.query['fields'] = fields unless fields.nil?
|
268
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
269
|
+
execute_or_queue_command(command, &block)
|
270
|
+
end
|
271
|
+
|
125
272
|
# Creates a new CertificateMap in a given project and location.
|
126
273
|
# @param [String] parent
|
127
274
|
# Required. The parent resource of the certificate map. Must be in the format `
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-certificatemanager_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.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-
|
11
|
+
date: 2022-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.9.0
|
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:
|
29
|
+
version: 0.9.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-certificatemanager_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-certificatemanager_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-certificatemanager_v1/v0.14.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-certificatemanager_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|