google-apis-certificatemanager_v1 0.17.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1d2a59c25dc32e5b359be322561d070ebbd0ec30ecc8fce30dad0310273e83c
4
- data.tar.gz: c8c70fa18dec2ec0c32b866ecd386527e882644593a941c4ab4f89472a11b457
3
+ metadata.gz: 47d69638260f90b45c08efaf5a24f57a6128eb08640ff94264d4eb3e26ffdbf5
4
+ data.tar.gz: 542138a14aced26cddd8c25b014b8216da4288c18957f97bbe50f4b87338429e
5
5
  SHA512:
6
- metadata.gz: c3a8fae112cdaefcd5241b0b652ebe86e195e163964983d9fe75f0408e02c71cbb1265537be3c128ec4d1d2a47c7e28c97c8e8bd2e6ff45bef2ead80e4d2509d
7
- data.tar.gz: de925594016e5b579e5dd9fe7f14a0797eb2c9a81ca142f4cfffc7665a7bb583d6e50f51c18f31d2ec5b3e36773dc243f4f36f35f135b6d25eea147d7b9d700a
6
+ metadata.gz: 8830554452b19c306c0281e3ac92c51950456ef4f2430be009975720e761aba9c4cc1257ab86d3a1c0d3bd3274096ebcad37f46805d9b35d5bbae3dfef766a5d
7
+ data.tar.gz: fa681b52ad5c9e20475b8298032dcf7b4f7269cf5a8bae2c192b8ae5cda66016e69c6e13919fef8f05b9a6e71a6274fadeb5dbe6974a2dc0bb6404fa4ac088a6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-certificatemanager_v1
2
2
 
3
+ ### v0.19.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230407
6
+
7
+ ### v0.18.0 (2023-03-26)
8
+
9
+ * Regenerated from discovery document revision 20230312
10
+
3
11
  ### v0.17.0 (2023-02-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20230123
@@ -330,8 +330,8 @@ module Google
330
330
  include Google::Apis::Core::Hashable
331
331
 
332
332
  # A set of Certificates defines for the given `hostname`. There can be defined
333
- # up to fifteen certificates in each Certificate Map Entry. Each certificate
334
- # must match pattern `projects/*/locations/*/certificates/*`.
333
+ # up to four certificates in each Certificate Map Entry. Each certificate must
334
+ # match pattern `projects/*/locations/*/certificates/*`.
335
335
  # Corresponds to the JSON property `certificates`
336
336
  # @return [Array<String>]
337
337
  attr_accessor :certificates
@@ -542,6 +542,26 @@ module Google
542
542
  end
543
543
  end
544
544
 
545
+ # Defines an intermediate CA.
546
+ class IntermediateCa
547
+ include Google::Apis::Core::Hashable
548
+
549
+ # PEM intermediate certificate used for building up paths for validation. Each
550
+ # certificate provided in PEM format may occupy up to 5kB.
551
+ # Corresponds to the JSON property `pemCertificate`
552
+ # @return [String]
553
+ attr_accessor :pem_certificate
554
+
555
+ def initialize(**args)
556
+ update!(**args)
557
+ end
558
+
559
+ # Update properties of this object
560
+ def update!(**args)
561
+ @pem_certificate = args[:pem_certificate] if args.key?(:pem_certificate)
562
+ end
563
+ end
564
+
545
565
  # Defines IP configuration where this Certificate Map is serving.
546
566
  class IpConfig
547
567
  include Google::Apis::Core::Hashable
@@ -782,6 +802,39 @@ module Google
782
802
  end
783
803
  end
784
804
 
805
+ # Response for the `ListTrustConfigs` method.
806
+ class ListTrustConfigsResponse
807
+ include Google::Apis::Core::Hashable
808
+
809
+ # If there might be more results than those appearing in this response, then `
810
+ # next_page_token` is included. To get the next set of results, call this method
811
+ # again using the value of `next_page_token` as `page_token`.
812
+ # Corresponds to the JSON property `nextPageToken`
813
+ # @return [String]
814
+ attr_accessor :next_page_token
815
+
816
+ # A list of TrustConfigs for the parent resource.
817
+ # Corresponds to the JSON property `trustConfigs`
818
+ # @return [Array<Google::Apis::CertificatemanagerV1::TrustConfig>]
819
+ attr_accessor :trust_configs
820
+
821
+ # Locations that could not be reached.
822
+ # Corresponds to the JSON property `unreachable`
823
+ # @return [Array<String>]
824
+ attr_accessor :unreachable
825
+
826
+ def initialize(**args)
827
+ update!(**args)
828
+ end
829
+
830
+ # Update properties of this object
831
+ def update!(**args)
832
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
833
+ @trust_configs = args[:trust_configs] if args.key?(:trust_configs)
834
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
835
+ end
836
+ end
837
+
785
838
  # A resource that represents Google Cloud Platform location.
786
839
  class Location
787
840
  include Google::Apis::Core::Hashable
@@ -1100,6 +1153,115 @@ module Google
1100
1153
  @message = args[:message] if args.key?(:message)
1101
1154
  end
1102
1155
  end
1156
+
1157
+ # Defines a trust anchor.
1158
+ class TrustAnchor
1159
+ include Google::Apis::Core::Hashable
1160
+
1161
+ # PEM root certificate of the PKI used for validation. Each certificate provided
1162
+ # in PEM format may occupy up to 5kB.
1163
+ # Corresponds to the JSON property `pemCertificate`
1164
+ # @return [String]
1165
+ attr_accessor :pem_certificate
1166
+
1167
+ def initialize(**args)
1168
+ update!(**args)
1169
+ end
1170
+
1171
+ # Update properties of this object
1172
+ def update!(**args)
1173
+ @pem_certificate = args[:pem_certificate] if args.key?(:pem_certificate)
1174
+ end
1175
+ end
1176
+
1177
+ # Defines a trust config.
1178
+ class TrustConfig
1179
+ include Google::Apis::Core::Hashable
1180
+
1181
+ # Output only. The creation timestamp of a TrustConfig.
1182
+ # Corresponds to the JSON property `createTime`
1183
+ # @return [String]
1184
+ attr_accessor :create_time
1185
+
1186
+ # One or more paragraphs of text description of a TrustConfig.
1187
+ # Corresponds to the JSON property `description`
1188
+ # @return [String]
1189
+ attr_accessor :description
1190
+
1191
+ # This checksum is computed by the server based on the value of other fields,
1192
+ # and may be sent on update and delete requests to ensure the client has an up-
1193
+ # to-date value before proceeding.
1194
+ # Corresponds to the JSON property `etag`
1195
+ # @return [String]
1196
+ attr_accessor :etag
1197
+
1198
+ # Set of labels associated with a TrustConfig.
1199
+ # Corresponds to the JSON property `labels`
1200
+ # @return [Hash<String,String>]
1201
+ attr_accessor :labels
1202
+
1203
+ # A user-defined name of the trust config. TrustConfig names must be unique
1204
+ # globally and match pattern `projects/*/locations/*/trustConfigs/*`.
1205
+ # Corresponds to the JSON property `name`
1206
+ # @return [String]
1207
+ attr_accessor :name
1208
+
1209
+ # Set of trust stores to perform validation against. This field is supported
1210
+ # when TrustConfig is configured with Load Balancers, currently not supported
1211
+ # for SPIFFE certificate validation. Only one TrustStore specified is currently
1212
+ # allowed.
1213
+ # Corresponds to the JSON property `trustStores`
1214
+ # @return [Array<Google::Apis::CertificatemanagerV1::TrustStore>]
1215
+ attr_accessor :trust_stores
1216
+
1217
+ # Output only. The last update timestamp of a TrustConfig.
1218
+ # Corresponds to the JSON property `updateTime`
1219
+ # @return [String]
1220
+ attr_accessor :update_time
1221
+
1222
+ def initialize(**args)
1223
+ update!(**args)
1224
+ end
1225
+
1226
+ # Update properties of this object
1227
+ def update!(**args)
1228
+ @create_time = args[:create_time] if args.key?(:create_time)
1229
+ @description = args[:description] if args.key?(:description)
1230
+ @etag = args[:etag] if args.key?(:etag)
1231
+ @labels = args[:labels] if args.key?(:labels)
1232
+ @name = args[:name] if args.key?(:name)
1233
+ @trust_stores = args[:trust_stores] if args.key?(:trust_stores)
1234
+ @update_time = args[:update_time] if args.key?(:update_time)
1235
+ end
1236
+ end
1237
+
1238
+ # Defines a trust store.
1239
+ class TrustStore
1240
+ include Google::Apis::Core::Hashable
1241
+
1242
+ # Set of intermediate CA certificates used for the path building phase of chain
1243
+ # validation. The field is currently not supported if TrustConfig is used for
1244
+ # the workload certificate feature.
1245
+ # Corresponds to the JSON property `intermediateCas`
1246
+ # @return [Array<Google::Apis::CertificatemanagerV1::IntermediateCa>]
1247
+ attr_accessor :intermediate_cas
1248
+
1249
+ # List of Trust Anchors to be used while performing validation against a given
1250
+ # TrustStore.
1251
+ # Corresponds to the JSON property `trustAnchors`
1252
+ # @return [Array<Google::Apis::CertificatemanagerV1::TrustAnchor>]
1253
+ attr_accessor :trust_anchors
1254
+
1255
+ def initialize(**args)
1256
+ update!(**args)
1257
+ end
1258
+
1259
+ # Update properties of this object
1260
+ def update!(**args)
1261
+ @intermediate_cas = args[:intermediate_cas] if args.key?(:intermediate_cas)
1262
+ @trust_anchors = args[:trust_anchors] if args.key?(:trust_anchors)
1263
+ end
1264
+ end
1103
1265
  end
1104
1266
  end
1105
1267
  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.17.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230123"
25
+ REVISION = "20230407"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class IntermediateCa
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class IpConfig
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -142,6 +148,12 @@ module Google
142
148
  include Google::Apis::Core::JsonObjectSupport
143
149
  end
144
150
 
151
+ class ListTrustConfigsResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
145
157
  class Location
146
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
159
 
@@ -184,6 +196,24 @@ module Google
184
196
  include Google::Apis::Core::JsonObjectSupport
185
197
  end
186
198
 
199
+ class TrustAnchor
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class TrustConfig
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class TrustStore
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
187
217
  class AuthorizationAttemptInfo
188
218
  # @private
189
219
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -317,6 +347,13 @@ module Google
317
347
  end
318
348
  end
319
349
 
350
+ class IntermediateCa
351
+ # @private
352
+ class Representation < Google::Apis::Core::JsonRepresentation
353
+ property :pem_certificate, as: 'pemCertificate'
354
+ end
355
+ end
356
+
320
357
  class IpConfig
321
358
  # @private
322
359
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -393,6 +430,16 @@ module Google
393
430
  end
394
431
  end
395
432
 
433
+ class ListTrustConfigsResponse
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :next_page_token, as: 'nextPageToken'
437
+ collection :trust_configs, as: 'trustConfigs', class: Google::Apis::CertificatemanagerV1::TrustConfig, decorator: Google::Apis::CertificatemanagerV1::TrustConfig::Representation
438
+
439
+ collection :unreachable, as: 'unreachable'
440
+ end
441
+ end
442
+
396
443
  class Location
397
444
  # @private
398
445
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -467,6 +514,37 @@ module Google
467
514
  property :message, as: 'message'
468
515
  end
469
516
  end
517
+
518
+ class TrustAnchor
519
+ # @private
520
+ class Representation < Google::Apis::Core::JsonRepresentation
521
+ property :pem_certificate, as: 'pemCertificate'
522
+ end
523
+ end
524
+
525
+ class TrustConfig
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :create_time, as: 'createTime'
529
+ property :description, as: 'description'
530
+ property :etag, as: 'etag'
531
+ hash :labels, as: 'labels'
532
+ property :name, as: 'name'
533
+ collection :trust_stores, as: 'trustStores', class: Google::Apis::CertificatemanagerV1::TrustStore, decorator: Google::Apis::CertificatemanagerV1::TrustStore::Representation
534
+
535
+ property :update_time, as: 'updateTime'
536
+ end
537
+ end
538
+
539
+ class TrustStore
540
+ # @private
541
+ class Representation < Google::Apis::Core::JsonRepresentation
542
+ collection :intermediate_cas, as: 'intermediateCas', class: Google::Apis::CertificatemanagerV1::IntermediateCa, decorator: Google::Apis::CertificatemanagerV1::IntermediateCa::Representation
543
+
544
+ collection :trust_anchors, as: 'trustAnchors', class: Google::Apis::CertificatemanagerV1::TrustAnchor, decorator: Google::Apis::CertificatemanagerV1::TrustAnchor::Representation
545
+
546
+ end
547
+ end
470
548
  end
471
549
  end
472
550
  end
@@ -1121,13 +1121,7 @@ module Google
1121
1121
  end
1122
1122
 
1123
1123
  # Lists operations that match the specified filter in the request. If the server
1124
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
1125
- # binding allows API services to override the binding to use different resource
1126
- # name schemes, such as `users/*/operations`. To override the binding, API
1127
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
1128
- # service configuration. For backwards compatibility, the default name includes
1129
- # the operations collection id, however overriding users must ensure the name
1130
- # binding is the parent resource, without the operations collection id.
1124
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
1131
1125
  # @param [String] name
1132
1126
  # The name of the operation's parent resource.
1133
1127
  # @param [String] filter
@@ -1165,6 +1159,196 @@ module Google
1165
1159
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1166
1160
  execute_or_queue_command(command, &block)
1167
1161
  end
1162
+
1163
+ # Creates a new TrustConfig in a given project and location.
1164
+ # @param [String] parent
1165
+ # Required. The parent resource of the TrustConfig. Must be in the format `
1166
+ # projects/*/locations/*`.
1167
+ # @param [Google::Apis::CertificatemanagerV1::TrustConfig] trust_config_object
1168
+ # @param [String] trust_config_id
1169
+ # Required. A user-provided name of the TrustConfig.
1170
+ # @param [String] fields
1171
+ # Selector specifying which fields to include in a partial response.
1172
+ # @param [String] quota_user
1173
+ # Available to use for quota purposes for server-side applications. Can be any
1174
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1175
+ # @param [Google::Apis::RequestOptions] options
1176
+ # Request-specific options
1177
+ #
1178
+ # @yield [result, err] Result & error if block supplied
1179
+ # @yieldparam result [Google::Apis::CertificatemanagerV1::Operation] parsed result object
1180
+ # @yieldparam err [StandardError] error object if request failed
1181
+ #
1182
+ # @return [Google::Apis::CertificatemanagerV1::Operation]
1183
+ #
1184
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1185
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1186
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1187
+ def create_project_location_trust_config(parent, trust_config_object = nil, trust_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1188
+ command = make_simple_command(:post, 'v1/{+parent}/trustConfigs', options)
1189
+ command.request_representation = Google::Apis::CertificatemanagerV1::TrustConfig::Representation
1190
+ command.request_object = trust_config_object
1191
+ command.response_representation = Google::Apis::CertificatemanagerV1::Operation::Representation
1192
+ command.response_class = Google::Apis::CertificatemanagerV1::Operation
1193
+ command.params['parent'] = parent unless parent.nil?
1194
+ command.query['trustConfigId'] = trust_config_id unless trust_config_id.nil?
1195
+ command.query['fields'] = fields unless fields.nil?
1196
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1197
+ execute_or_queue_command(command, &block)
1198
+ end
1199
+
1200
+ # Deletes a single TrustConfig.
1201
+ # @param [String] name
1202
+ # Required. A name of the TrustConfig to delete. Must be in the format `projects/
1203
+ # */locations/*/trustConfigs/*`.
1204
+ # @param [String] etag
1205
+ # The current etag of the TrustConfig. If an etag is provided and does not match
1206
+ # the current etag of the resource, deletion will be blocked and an ABORTED
1207
+ # error will be returned.
1208
+ # @param [String] fields
1209
+ # Selector specifying which fields to include in a partial response.
1210
+ # @param [String] quota_user
1211
+ # Available to use for quota purposes for server-side applications. Can be any
1212
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1213
+ # @param [Google::Apis::RequestOptions] options
1214
+ # Request-specific options
1215
+ #
1216
+ # @yield [result, err] Result & error if block supplied
1217
+ # @yieldparam result [Google::Apis::CertificatemanagerV1::Operation] parsed result object
1218
+ # @yieldparam err [StandardError] error object if request failed
1219
+ #
1220
+ # @return [Google::Apis::CertificatemanagerV1::Operation]
1221
+ #
1222
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1223
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1224
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1225
+ def delete_project_location_trust_config(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
1226
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1227
+ command.response_representation = Google::Apis::CertificatemanagerV1::Operation::Representation
1228
+ command.response_class = Google::Apis::CertificatemanagerV1::Operation
1229
+ command.params['name'] = name unless name.nil?
1230
+ command.query['etag'] = etag unless etag.nil?
1231
+ command.query['fields'] = fields unless fields.nil?
1232
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1233
+ execute_or_queue_command(command, &block)
1234
+ end
1235
+
1236
+ # Gets details of a single TrustConfig.
1237
+ # @param [String] name
1238
+ # Required. A name of the TrustConfig to describe. Must be in the format `
1239
+ # projects/*/locations/*/trustConfigs/*`.
1240
+ # @param [String] fields
1241
+ # Selector specifying which fields to include in a partial response.
1242
+ # @param [String] quota_user
1243
+ # Available to use for quota purposes for server-side applications. Can be any
1244
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1245
+ # @param [Google::Apis::RequestOptions] options
1246
+ # Request-specific options
1247
+ #
1248
+ # @yield [result, err] Result & error if block supplied
1249
+ # @yieldparam result [Google::Apis::CertificatemanagerV1::TrustConfig] parsed result object
1250
+ # @yieldparam err [StandardError] error object if request failed
1251
+ #
1252
+ # @return [Google::Apis::CertificatemanagerV1::TrustConfig]
1253
+ #
1254
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1255
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1256
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1257
+ def get_project_location_trust_config(name, fields: nil, quota_user: nil, options: nil, &block)
1258
+ command = make_simple_command(:get, 'v1/{+name}', options)
1259
+ command.response_representation = Google::Apis::CertificatemanagerV1::TrustConfig::Representation
1260
+ command.response_class = Google::Apis::CertificatemanagerV1::TrustConfig
1261
+ command.params['name'] = name unless name.nil?
1262
+ command.query['fields'] = fields unless fields.nil?
1263
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1264
+ execute_or_queue_command(command, &block)
1265
+ end
1266
+
1267
+ # Lists TrustConfigs in a given project and location.
1268
+ # @param [String] parent
1269
+ # Required. The project and location from which the TrustConfigs should be
1270
+ # listed, specified in the format `projects/*/locations/*`.
1271
+ # @param [String] filter
1272
+ # Filter expression to restrict the TrustConfigs returned.
1273
+ # @param [String] order_by
1274
+ # A list of TrustConfig field names used to specify the order of the returned
1275
+ # results. The default sorting order is ascending. To specify descending order
1276
+ # for a field, add a suffix " desc".
1277
+ # @param [Fixnum] page_size
1278
+ # Maximum number of TrustConfigs to return per call.
1279
+ # @param [String] page_token
1280
+ # The value returned by the last `ListTrustConfigsResponse`. Indicates that this
1281
+ # is a continuation of a prior `ListTrustConfigs` call, and that the system
1282
+ # should return the next page of data.
1283
+ # @param [String] fields
1284
+ # Selector specifying which fields to include in a partial response.
1285
+ # @param [String] quota_user
1286
+ # Available to use for quota purposes for server-side applications. Can be any
1287
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1288
+ # @param [Google::Apis::RequestOptions] options
1289
+ # Request-specific options
1290
+ #
1291
+ # @yield [result, err] Result & error if block supplied
1292
+ # @yieldparam result [Google::Apis::CertificatemanagerV1::ListTrustConfigsResponse] parsed result object
1293
+ # @yieldparam err [StandardError] error object if request failed
1294
+ #
1295
+ # @return [Google::Apis::CertificatemanagerV1::ListTrustConfigsResponse]
1296
+ #
1297
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1298
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1299
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1300
+ def list_project_location_trust_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1301
+ command = make_simple_command(:get, 'v1/{+parent}/trustConfigs', options)
1302
+ command.response_representation = Google::Apis::CertificatemanagerV1::ListTrustConfigsResponse::Representation
1303
+ command.response_class = Google::Apis::CertificatemanagerV1::ListTrustConfigsResponse
1304
+ command.params['parent'] = parent unless parent.nil?
1305
+ command.query['filter'] = filter unless filter.nil?
1306
+ command.query['orderBy'] = order_by unless order_by.nil?
1307
+ command.query['pageSize'] = page_size unless page_size.nil?
1308
+ command.query['pageToken'] = page_token unless page_token.nil?
1309
+ command.query['fields'] = fields unless fields.nil?
1310
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1311
+ execute_or_queue_command(command, &block)
1312
+ end
1313
+
1314
+ # Updates a TrustConfig.
1315
+ # @param [String] name
1316
+ # A user-defined name of the trust config. TrustConfig names must be unique
1317
+ # globally and match pattern `projects/*/locations/*/trustConfigs/*`.
1318
+ # @param [Google::Apis::CertificatemanagerV1::TrustConfig] trust_config_object
1319
+ # @param [String] update_mask
1320
+ # Required. The update mask applies to the resource. For the `FieldMask`
1321
+ # definition, see https://developers.google.com/protocol-buffers/docs/reference/
1322
+ # google.protobuf#fieldmask.
1323
+ # @param [String] fields
1324
+ # Selector specifying which fields to include in a partial response.
1325
+ # @param [String] quota_user
1326
+ # Available to use for quota purposes for server-side applications. Can be any
1327
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1328
+ # @param [Google::Apis::RequestOptions] options
1329
+ # Request-specific options
1330
+ #
1331
+ # @yield [result, err] Result & error if block supplied
1332
+ # @yieldparam result [Google::Apis::CertificatemanagerV1::Operation] parsed result object
1333
+ # @yieldparam err [StandardError] error object if request failed
1334
+ #
1335
+ # @return [Google::Apis::CertificatemanagerV1::Operation]
1336
+ #
1337
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1338
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1339
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1340
+ def patch_project_location_trust_config(name, trust_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1341
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1342
+ command.request_representation = Google::Apis::CertificatemanagerV1::TrustConfig::Representation
1343
+ command.request_object = trust_config_object
1344
+ command.response_representation = Google::Apis::CertificatemanagerV1::Operation::Representation
1345
+ command.response_class = Google::Apis::CertificatemanagerV1::Operation
1346
+ command.params['name'] = name unless name.nil?
1347
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1348
+ command.query['fields'] = fields unless fields.nil?
1349
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1350
+ execute_or_queue_command(command, &block)
1351
+ end
1168
1352
 
1169
1353
  protected
1170
1354
 
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.17.0
4
+ version: 0.19.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: 2023-02-19 00:00:00.000000000 Z
11
+ date: 2023-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-certificatemanager_v1/v0.19.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: []