google-apis-networksecurity_v1 0.39.0 → 0.40.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 +4 -0
- data/lib/google/apis/networksecurity_v1/classes.rb +120 -0
- data/lib/google/apis/networksecurity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networksecurity_v1/representations.rb +37 -0
- data/lib/google/apis/networksecurity_v1/service.rb +190 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edbfb5c426fbca4613b789fda55829772c8896b402b9f642e5a109fbbdffe268
|
4
|
+
data.tar.gz: '061699d42676321974c889379c3dc3171dec49cdab1769b9e733d180738f2998'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99d07c9470fe7da57befdcec0c43286abd6845ec078d29ea692b067c8d5fad3d842007a97c927f60d25ab274dc41102576d413d3c0c639a2de2cefe1340872cb
|
7
|
+
data.tar.gz: a63d98c37bace9079dc6446be1c05187e836a635a40e66db4064df8a7d9715a45723e0648c2f756afe80a80ac267f8deb71cdfb4748c6707972972cee4cb568c
|
data/CHANGELOG.md
CHANGED
@@ -749,6 +749,93 @@ module Google
|
|
749
749
|
end
|
750
750
|
end
|
751
751
|
|
752
|
+
# BackendAuthenticationConfig message groups the TrustConfig together with other
|
753
|
+
# settings that control how the load balancer authenticates, and expresses its
|
754
|
+
# identity to, the backend: * `trustConfig` is the attached TrustConfig. * `
|
755
|
+
# wellKnownRoots` indicates whether the load balance should trust backend server
|
756
|
+
# certificates that are issued by public certificate authorities, in addition to
|
757
|
+
# certificates trusted by the TrustConfig. * `clientCertificate` is a client
|
758
|
+
# certificate that the load balancer uses to express its identity to the backend,
|
759
|
+
# if the connection to the backend uses mTLS. You can attach the
|
760
|
+
# BackendAuthenticationConfig to the load balancer’s BackendService directly
|
761
|
+
# determining how that BackendService negotiates TLS.
|
762
|
+
class BackendAuthenticationConfig
|
763
|
+
include Google::Apis::Core::Hashable
|
764
|
+
|
765
|
+
# Optional. A reference to a certificatemanager.googleapis.com.Certificate
|
766
|
+
# resource. This is a relative resource path following the form "projects/`
|
767
|
+
# project`/locations/`location`/certificates/`certificate`". Used by a
|
768
|
+
# BackendService to negotiate mTLS when the backend connection uses TLS and the
|
769
|
+
# backend requests a client certificate. Must have a CLIENT_AUTH scope.
|
770
|
+
# Corresponds to the JSON property `clientCertificate`
|
771
|
+
# @return [String]
|
772
|
+
attr_accessor :client_certificate
|
773
|
+
|
774
|
+
# Output only. The timestamp when the resource was created.
|
775
|
+
# Corresponds to the JSON property `createTime`
|
776
|
+
# @return [String]
|
777
|
+
attr_accessor :create_time
|
778
|
+
|
779
|
+
# Optional. Free-text description of the resource.
|
780
|
+
# Corresponds to the JSON property `description`
|
781
|
+
# @return [String]
|
782
|
+
attr_accessor :description
|
783
|
+
|
784
|
+
# Output only. Etag of the resource.
|
785
|
+
# Corresponds to the JSON property `etag`
|
786
|
+
# @return [String]
|
787
|
+
attr_accessor :etag
|
788
|
+
|
789
|
+
# Set of label tags associated with the resource.
|
790
|
+
# Corresponds to the JSON property `labels`
|
791
|
+
# @return [Hash<String,String>]
|
792
|
+
attr_accessor :labels
|
793
|
+
|
794
|
+
# Required. Name of the BackendAuthenticationConfig resource. It matches the
|
795
|
+
# pattern `projects/*/locations/`location`/backendAuthenticationConfigs/`
|
796
|
+
# backend_authentication_config``
|
797
|
+
# Corresponds to the JSON property `name`
|
798
|
+
# @return [String]
|
799
|
+
attr_accessor :name
|
800
|
+
|
801
|
+
# Optional. A reference to a TrustConfig resource from the certificatemanager.
|
802
|
+
# googleapis.com namespace. This is a relative resource path following the form "
|
803
|
+
# projects/`project`/locations/`location`/trustConfigs/`trust_config`". A
|
804
|
+
# BackendService uses the chain of trust represented by this TrustConfig, if
|
805
|
+
# specified, to validate the server certificates presented by the backend.
|
806
|
+
# Required unless wellKnownRoots is set to PUBLIC_ROOTS.
|
807
|
+
# Corresponds to the JSON property `trustConfig`
|
808
|
+
# @return [String]
|
809
|
+
attr_accessor :trust_config
|
810
|
+
|
811
|
+
# Output only. The timestamp when the resource was updated.
|
812
|
+
# Corresponds to the JSON property `updateTime`
|
813
|
+
# @return [String]
|
814
|
+
attr_accessor :update_time
|
815
|
+
|
816
|
+
# Well known roots to use for server certificate validation.
|
817
|
+
# Corresponds to the JSON property `wellKnownRoots`
|
818
|
+
# @return [String]
|
819
|
+
attr_accessor :well_known_roots
|
820
|
+
|
821
|
+
def initialize(**args)
|
822
|
+
update!(**args)
|
823
|
+
end
|
824
|
+
|
825
|
+
# Update properties of this object
|
826
|
+
def update!(**args)
|
827
|
+
@client_certificate = args[:client_certificate] if args.key?(:client_certificate)
|
828
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
829
|
+
@description = args[:description] if args.key?(:description)
|
830
|
+
@etag = args[:etag] if args.key?(:etag)
|
831
|
+
@labels = args[:labels] if args.key?(:labels)
|
832
|
+
@name = args[:name] if args.key?(:name)
|
833
|
+
@trust_config = args[:trust_config] if args.key?(:trust_config)
|
834
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
835
|
+
@well_known_roots = args[:well_known_roots] if args.key?(:well_known_roots)
|
836
|
+
end
|
837
|
+
end
|
838
|
+
|
752
839
|
# The request message for Operations.CancelOperation.
|
753
840
|
class CancelOperationRequest
|
754
841
|
include Google::Apis::Core::Hashable
|
@@ -2482,6 +2569,39 @@ module Google
|
|
2482
2569
|
end
|
2483
2570
|
end
|
2484
2571
|
|
2572
|
+
# Response returned by the ListBackendAuthenticationConfigs method.
|
2573
|
+
class ListBackendAuthenticationConfigsResponse
|
2574
|
+
include Google::Apis::Core::Hashable
|
2575
|
+
|
2576
|
+
# List of BackendAuthenticationConfig resources.
|
2577
|
+
# Corresponds to the JSON property `backendAuthenticationConfigs`
|
2578
|
+
# @return [Array<Google::Apis::NetworksecurityV1::BackendAuthenticationConfig>]
|
2579
|
+
attr_accessor :backend_authentication_configs
|
2580
|
+
|
2581
|
+
# If there might be more results than those appearing in this response, then `
|
2582
|
+
# next_page_token` is included. To get the next set of results, call this method
|
2583
|
+
# again using the value of `next_page_token` as `page_token`.
|
2584
|
+
# Corresponds to the JSON property `nextPageToken`
|
2585
|
+
# @return [String]
|
2586
|
+
attr_accessor :next_page_token
|
2587
|
+
|
2588
|
+
# Locations that could not be reached.
|
2589
|
+
# Corresponds to the JSON property `unreachable`
|
2590
|
+
# @return [Array<String>]
|
2591
|
+
attr_accessor :unreachable
|
2592
|
+
|
2593
|
+
def initialize(**args)
|
2594
|
+
update!(**args)
|
2595
|
+
end
|
2596
|
+
|
2597
|
+
# Update properties of this object
|
2598
|
+
def update!(**args)
|
2599
|
+
@backend_authentication_configs = args[:backend_authentication_configs] if args.key?(:backend_authentication_configs)
|
2600
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2601
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2602
|
+
end
|
2603
|
+
end
|
2604
|
+
|
2485
2605
|
# Response returned by the ListClientTlsPolicies method.
|
2486
2606
|
class ListClientTlsPoliciesResponse
|
2487
2607
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworksecurityV1
|
18
18
|
# Version of the google-apis-networksecurity_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.40.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250604"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -142,6 +142,12 @@ module Google
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
143
143
|
end
|
144
144
|
|
145
|
+
class BackendAuthenticationConfig
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
145
151
|
class CancelOperationRequest
|
146
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
153
|
|
@@ -376,6 +382,12 @@ module Google
|
|
376
382
|
include Google::Apis::Core::JsonObjectSupport
|
377
383
|
end
|
378
384
|
|
385
|
+
class ListBackendAuthenticationConfigsResponse
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
379
391
|
class ListClientTlsPoliciesResponse
|
380
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
393
|
|
@@ -860,6 +872,21 @@ module Google
|
|
860
872
|
end
|
861
873
|
end
|
862
874
|
|
875
|
+
class BackendAuthenticationConfig
|
876
|
+
# @private
|
877
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
878
|
+
property :client_certificate, as: 'clientCertificate'
|
879
|
+
property :create_time, as: 'createTime'
|
880
|
+
property :description, as: 'description'
|
881
|
+
property :etag, as: 'etag'
|
882
|
+
hash :labels, as: 'labels'
|
883
|
+
property :name, as: 'name'
|
884
|
+
property :trust_config, as: 'trustConfig'
|
885
|
+
property :update_time, as: 'updateTime'
|
886
|
+
property :well_known_roots, as: 'wellKnownRoots'
|
887
|
+
end
|
888
|
+
end
|
889
|
+
|
863
890
|
class CancelOperationRequest
|
864
891
|
# @private
|
865
892
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1262,6 +1289,16 @@ module Google
|
|
1262
1289
|
end
|
1263
1290
|
end
|
1264
1291
|
|
1292
|
+
class ListBackendAuthenticationConfigsResponse
|
1293
|
+
# @private
|
1294
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1295
|
+
collection :backend_authentication_configs, as: 'backendAuthenticationConfigs', class: Google::Apis::NetworksecurityV1::BackendAuthenticationConfig, decorator: Google::Apis::NetworksecurityV1::BackendAuthenticationConfig::Representation
|
1296
|
+
|
1297
|
+
property :next_page_token, as: 'nextPageToken'
|
1298
|
+
collection :unreachable, as: 'unreachable'
|
1299
|
+
end
|
1300
|
+
end
|
1301
|
+
|
1265
1302
|
class ListClientTlsPoliciesResponse
|
1266
1303
|
# @private
|
1267
1304
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2357,6 +2357,196 @@ module Google
|
|
2357
2357
|
execute_or_queue_command(command, &block)
|
2358
2358
|
end
|
2359
2359
|
|
2360
|
+
# Creates a new BackendAuthenticationConfig in a given project and location.
|
2361
|
+
# @param [String] parent
|
2362
|
+
# Required. The parent resource of the BackendAuthenticationConfig. Must be in
|
2363
|
+
# the format `projects/*/locations/`location``.
|
2364
|
+
# @param [Google::Apis::NetworksecurityV1::BackendAuthenticationConfig] backend_authentication_config_object
|
2365
|
+
# @param [String] backend_authentication_config_id
|
2366
|
+
# Required. Short name of the BackendAuthenticationConfig resource to be created.
|
2367
|
+
# This value should be 1-63 characters long, containing only letters, numbers,
|
2368
|
+
# hyphens, and underscores, and should not start with a number. E.g. "backend-
|
2369
|
+
# auth-config".
|
2370
|
+
# @param [String] fields
|
2371
|
+
# Selector specifying which fields to include in a partial response.
|
2372
|
+
# @param [String] quota_user
|
2373
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2374
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2375
|
+
# @param [Google::Apis::RequestOptions] options
|
2376
|
+
# Request-specific options
|
2377
|
+
#
|
2378
|
+
# @yield [result, err] Result & error if block supplied
|
2379
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
2380
|
+
# @yieldparam err [StandardError] error object if request failed
|
2381
|
+
#
|
2382
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
2383
|
+
#
|
2384
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2385
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2386
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2387
|
+
def create_project_location_backend_authentication_config(parent, backend_authentication_config_object = nil, backend_authentication_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2388
|
+
command = make_simple_command(:post, 'v1/{+parent}/backendAuthenticationConfigs', options)
|
2389
|
+
command.request_representation = Google::Apis::NetworksecurityV1::BackendAuthenticationConfig::Representation
|
2390
|
+
command.request_object = backend_authentication_config_object
|
2391
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
2392
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
2393
|
+
command.params['parent'] = parent unless parent.nil?
|
2394
|
+
command.query['backendAuthenticationConfigId'] = backend_authentication_config_id unless backend_authentication_config_id.nil?
|
2395
|
+
command.query['fields'] = fields unless fields.nil?
|
2396
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2397
|
+
execute_or_queue_command(command, &block)
|
2398
|
+
end
|
2399
|
+
|
2400
|
+
# Deletes a single BackendAuthenticationConfig to BackendAuthenticationConfig.
|
2401
|
+
# @param [String] name
|
2402
|
+
# Required. A name of the BackendAuthenticationConfig to delete. Must be in the
|
2403
|
+
# format `projects/*/locations/`location`/backendAuthenticationConfigs/*`.
|
2404
|
+
# @param [String] etag
|
2405
|
+
# Optional. Etag of the resource. If this is provided, it must match the server'
|
2406
|
+
# s etag.
|
2407
|
+
# @param [String] fields
|
2408
|
+
# Selector specifying which fields to include in a partial response.
|
2409
|
+
# @param [String] quota_user
|
2410
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2411
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2412
|
+
# @param [Google::Apis::RequestOptions] options
|
2413
|
+
# Request-specific options
|
2414
|
+
#
|
2415
|
+
# @yield [result, err] Result & error if block supplied
|
2416
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
2417
|
+
# @yieldparam err [StandardError] error object if request failed
|
2418
|
+
#
|
2419
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
2420
|
+
#
|
2421
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2422
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2423
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2424
|
+
def delete_project_location_backend_authentication_config(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2425
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2426
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
2427
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
2428
|
+
command.params['name'] = name unless name.nil?
|
2429
|
+
command.query['etag'] = etag unless etag.nil?
|
2430
|
+
command.query['fields'] = fields unless fields.nil?
|
2431
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2432
|
+
execute_or_queue_command(command, &block)
|
2433
|
+
end
|
2434
|
+
|
2435
|
+
# Gets details of a single BackendAuthenticationConfig to
|
2436
|
+
# BackendAuthenticationConfig.
|
2437
|
+
# @param [String] name
|
2438
|
+
# Required. A name of the BackendAuthenticationConfig to get. Must be in the
|
2439
|
+
# format `projects/*/locations/`location`/backendAuthenticationConfigs/*`.
|
2440
|
+
# @param [String] fields
|
2441
|
+
# Selector specifying which fields to include in a partial response.
|
2442
|
+
# @param [String] quota_user
|
2443
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2444
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2445
|
+
# @param [Google::Apis::RequestOptions] options
|
2446
|
+
# Request-specific options
|
2447
|
+
#
|
2448
|
+
# @yield [result, err] Result & error if block supplied
|
2449
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::BackendAuthenticationConfig] parsed result object
|
2450
|
+
# @yieldparam err [StandardError] error object if request failed
|
2451
|
+
#
|
2452
|
+
# @return [Google::Apis::NetworksecurityV1::BackendAuthenticationConfig]
|
2453
|
+
#
|
2454
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2455
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2456
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2457
|
+
def get_project_location_backend_authentication_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
2458
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2459
|
+
command.response_representation = Google::Apis::NetworksecurityV1::BackendAuthenticationConfig::Representation
|
2460
|
+
command.response_class = Google::Apis::NetworksecurityV1::BackendAuthenticationConfig
|
2461
|
+
command.params['name'] = name unless name.nil?
|
2462
|
+
command.query['fields'] = fields unless fields.nil?
|
2463
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2464
|
+
execute_or_queue_command(command, &block)
|
2465
|
+
end
|
2466
|
+
|
2467
|
+
# Lists BackendAuthenticationConfigs in a given project and location.
|
2468
|
+
# @param [String] parent
|
2469
|
+
# Required. The project and location from which the BackendAuthenticationConfigs
|
2470
|
+
# should be listed, specified in the format `projects/*/locations/`location``.
|
2471
|
+
# @param [Fixnum] page_size
|
2472
|
+
# Maximum number of BackendAuthenticationConfigs to return per call.
|
2473
|
+
# @param [String] page_token
|
2474
|
+
# The value returned by the last `ListBackendAuthenticationConfigsResponse`
|
2475
|
+
# Indicates that this is a continuation of a prior `
|
2476
|
+
# ListBackendAuthenticationConfigs` call, and that the system should return the
|
2477
|
+
# next page of data.
|
2478
|
+
# @param [String] fields
|
2479
|
+
# Selector specifying which fields to include in a partial response.
|
2480
|
+
# @param [String] quota_user
|
2481
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2482
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2483
|
+
# @param [Google::Apis::RequestOptions] options
|
2484
|
+
# Request-specific options
|
2485
|
+
#
|
2486
|
+
# @yield [result, err] Result & error if block supplied
|
2487
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::ListBackendAuthenticationConfigsResponse] parsed result object
|
2488
|
+
# @yieldparam err [StandardError] error object if request failed
|
2489
|
+
#
|
2490
|
+
# @return [Google::Apis::NetworksecurityV1::ListBackendAuthenticationConfigsResponse]
|
2491
|
+
#
|
2492
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2493
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2494
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2495
|
+
def list_project_location_backend_authentication_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2496
|
+
command = make_simple_command(:get, 'v1/{+parent}/backendAuthenticationConfigs', options)
|
2497
|
+
command.response_representation = Google::Apis::NetworksecurityV1::ListBackendAuthenticationConfigsResponse::Representation
|
2498
|
+
command.response_class = Google::Apis::NetworksecurityV1::ListBackendAuthenticationConfigsResponse
|
2499
|
+
command.params['parent'] = parent unless parent.nil?
|
2500
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2501
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2502
|
+
command.query['fields'] = fields unless fields.nil?
|
2503
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2504
|
+
execute_or_queue_command(command, &block)
|
2505
|
+
end
|
2506
|
+
|
2507
|
+
# Updates the parameters of a single BackendAuthenticationConfig to
|
2508
|
+
# BackendAuthenticationConfig.
|
2509
|
+
# @param [String] name
|
2510
|
+
# Required. Name of the BackendAuthenticationConfig resource. It matches the
|
2511
|
+
# pattern `projects/*/locations/`location`/backendAuthenticationConfigs/`
|
2512
|
+
# backend_authentication_config``
|
2513
|
+
# @param [Google::Apis::NetworksecurityV1::BackendAuthenticationConfig] backend_authentication_config_object
|
2514
|
+
# @param [String] update_mask
|
2515
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
2516
|
+
# BackendAuthenticationConfig resource by the update. The fields specified in
|
2517
|
+
# the update_mask are relative to the resource, not the full request. A field
|
2518
|
+
# will be overwritten if it is in the mask. If the user does not provide a mask
|
2519
|
+
# then all fields will be overwritten.
|
2520
|
+
# @param [String] fields
|
2521
|
+
# Selector specifying which fields to include in a partial response.
|
2522
|
+
# @param [String] quota_user
|
2523
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2524
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2525
|
+
# @param [Google::Apis::RequestOptions] options
|
2526
|
+
# Request-specific options
|
2527
|
+
#
|
2528
|
+
# @yield [result, err] Result & error if block supplied
|
2529
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
2530
|
+
# @yieldparam err [StandardError] error object if request failed
|
2531
|
+
#
|
2532
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
2533
|
+
#
|
2534
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2535
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2536
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2537
|
+
def patch_project_location_backend_authentication_config(name, backend_authentication_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2538
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2539
|
+
command.request_representation = Google::Apis::NetworksecurityV1::BackendAuthenticationConfig::Representation
|
2540
|
+
command.request_object = backend_authentication_config_object
|
2541
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
2542
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
2543
|
+
command.params['name'] = name unless name.nil?
|
2544
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2545
|
+
command.query['fields'] = fields unless fields.nil?
|
2546
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2547
|
+
execute_or_queue_command(command, &block)
|
2548
|
+
end
|
2549
|
+
|
2360
2550
|
# Creates a new ClientTlsPolicy in a given project and location.
|
2361
2551
|
# @param [String] parent
|
2362
2552
|
# Required. The parent resource of the ClientTlsPolicy. Must be in the format `
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networksecurity_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.40.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|