google-apis-networksecurity_v1 0.39.0 → 0.41.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 +8 -0
- data/lib/google/apis/networksecurity_v1/classes.rb +161 -3
- data/lib/google/apis/networksecurity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networksecurity_v1/representations.rb +54 -0
- data/lib/google/apis/networksecurity_v1/service.rb +191 -1
- 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: 282f740c69d5a42e54a30ffcade9d66dd491dff51f3721f0e97fbb173f3ba846
|
4
|
+
data.tar.gz: 0fa9a8849ff196bc408c486ecc5e129512741533d5a5b127c7e99a807a291558
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 225a8fdd443949de343cbd10b72469fdd2d5e45ade159b7041a30877b1b7fe66a81b65c80e6860307b18d445de52820f6456bd2859dcad5a766c835e05678df1
|
7
|
+
data.tar.gz: d0cb7a3f718305b5c5a7aaaef97ead4e93a6a99c7604069b0ead5ea5ed6be7273870b7b6257a6e16181dfbc03f8973924a03092015e167a1ba2dc4edce800a03
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networksecurity_v1
|
2
2
|
|
3
|
+
### v0.41.0 (2025-07-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250714
|
6
|
+
|
7
|
+
### v0.40.0 (2025-06-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250604
|
10
|
+
|
3
11
|
### v0.39.0 (2025-06-08)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250527
|
@@ -375,12 +375,23 @@ module Google
|
|
375
375
|
class AuthzPolicyAuthzRuleFromRequestSource
|
376
376
|
include Google::Apis::Core::Hashable
|
377
377
|
|
378
|
-
# Optional. A list of
|
379
|
-
# Limited to 5 ip_blocks.
|
378
|
+
# Optional. A list of IP addresses or IP address ranges to match against the
|
379
|
+
# source IP address of the request. Limited to 5 ip_blocks.
|
380
380
|
# Corresponds to the JSON property `ipBlocks`
|
381
381
|
# @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleIpBlock>]
|
382
382
|
attr_accessor :ip_blocks
|
383
383
|
|
384
|
+
# Optional. A list of identities derived from the client's certificate. This
|
385
|
+
# field will not match on a request unless frontend mutual TLS is enabled for
|
386
|
+
# the forwarding rule or Gateway and the client certificate has been
|
387
|
+
# successfully validated by mTLS. Each identity is a string whose value is
|
388
|
+
# matched against a list of URI SANs, DNS Name SANs, or the common name in the
|
389
|
+
# client's certificate. A match happens when any principal matches with the rule.
|
390
|
+
# Limited to 5 principals.
|
391
|
+
# Corresponds to the JSON property `principals`
|
392
|
+
# @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRulePrincipal>]
|
393
|
+
attr_accessor :principals
|
394
|
+
|
384
395
|
# Optional. A list of resources to match against the resource of the source VM
|
385
396
|
# of a request. Limited to 5 resources.
|
386
397
|
# Corresponds to the JSON property `resources`
|
@@ -394,6 +405,7 @@ module Google
|
|
394
405
|
# Update properties of this object
|
395
406
|
def update!(**args)
|
396
407
|
@ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
|
408
|
+
@principals = args[:principals] if args.key?(:principals)
|
397
409
|
@resources = args[:resources] if args.key?(:resources)
|
398
410
|
end
|
399
411
|
end
|
@@ -448,6 +460,32 @@ module Google
|
|
448
460
|
end
|
449
461
|
end
|
450
462
|
|
463
|
+
# Describes the properties of a principal to be matched against.
|
464
|
+
class AuthzPolicyAuthzRulePrincipal
|
465
|
+
include Google::Apis::Core::Hashable
|
466
|
+
|
467
|
+
# Determines how a string value should be matched.
|
468
|
+
# Corresponds to the JSON property `principal`
|
469
|
+
# @return [Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch]
|
470
|
+
attr_accessor :principal
|
471
|
+
|
472
|
+
# Optional. An enum to decide what principal value the principal rule will match
|
473
|
+
# against. If not specified, the PrincipalSelector is CLIENT_CERT_URI_SAN.
|
474
|
+
# Corresponds to the JSON property `principalSelector`
|
475
|
+
# @return [String]
|
476
|
+
attr_accessor :principal_selector
|
477
|
+
|
478
|
+
def initialize(**args)
|
479
|
+
update!(**args)
|
480
|
+
end
|
481
|
+
|
482
|
+
# Update properties of this object
|
483
|
+
def update!(**args)
|
484
|
+
@principal = args[:principal] if args.key?(:principal)
|
485
|
+
@principal_selector = args[:principal_selector] if args.key?(:principal_selector)
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
451
489
|
# Describes the properties of a client VM resource accessing the internal
|
452
490
|
# application load balancers.
|
453
491
|
class AuthzPolicyAuthzRuleRequestResource
|
@@ -749,6 +787,93 @@ module Google
|
|
749
787
|
end
|
750
788
|
end
|
751
789
|
|
790
|
+
# BackendAuthenticationConfig message groups the TrustConfig together with other
|
791
|
+
# settings that control how the load balancer authenticates, and expresses its
|
792
|
+
# identity to, the backend: * `trustConfig` is the attached TrustConfig. * `
|
793
|
+
# wellKnownRoots` indicates whether the load balance should trust backend server
|
794
|
+
# certificates that are issued by public certificate authorities, in addition to
|
795
|
+
# certificates trusted by the TrustConfig. * `clientCertificate` is a client
|
796
|
+
# certificate that the load balancer uses to express its identity to the backend,
|
797
|
+
# if the connection to the backend uses mTLS. You can attach the
|
798
|
+
# BackendAuthenticationConfig to the load balancer's BackendService directly
|
799
|
+
# determining how that BackendService negotiates TLS.
|
800
|
+
class BackendAuthenticationConfig
|
801
|
+
include Google::Apis::Core::Hashable
|
802
|
+
|
803
|
+
# Optional. A reference to a certificatemanager.googleapis.com.Certificate
|
804
|
+
# resource. This is a relative resource path following the form "projects/`
|
805
|
+
# project`/locations/`location`/certificates/`certificate`". Used by a
|
806
|
+
# BackendService to negotiate mTLS when the backend connection uses TLS and the
|
807
|
+
# backend requests a client certificate. Must have a CLIENT_AUTH scope.
|
808
|
+
# Corresponds to the JSON property `clientCertificate`
|
809
|
+
# @return [String]
|
810
|
+
attr_accessor :client_certificate
|
811
|
+
|
812
|
+
# Output only. The timestamp when the resource was created.
|
813
|
+
# Corresponds to the JSON property `createTime`
|
814
|
+
# @return [String]
|
815
|
+
attr_accessor :create_time
|
816
|
+
|
817
|
+
# Optional. Free-text description of the resource.
|
818
|
+
# Corresponds to the JSON property `description`
|
819
|
+
# @return [String]
|
820
|
+
attr_accessor :description
|
821
|
+
|
822
|
+
# Output only. Etag of the resource.
|
823
|
+
# Corresponds to the JSON property `etag`
|
824
|
+
# @return [String]
|
825
|
+
attr_accessor :etag
|
826
|
+
|
827
|
+
# Set of label tags associated with the resource.
|
828
|
+
# Corresponds to the JSON property `labels`
|
829
|
+
# @return [Hash<String,String>]
|
830
|
+
attr_accessor :labels
|
831
|
+
|
832
|
+
# Required. Name of the BackendAuthenticationConfig resource. It matches the
|
833
|
+
# pattern `projects/*/locations/`location`/backendAuthenticationConfigs/`
|
834
|
+
# backend_authentication_config``
|
835
|
+
# Corresponds to the JSON property `name`
|
836
|
+
# @return [String]
|
837
|
+
attr_accessor :name
|
838
|
+
|
839
|
+
# Optional. A reference to a TrustConfig resource from the certificatemanager.
|
840
|
+
# googleapis.com namespace. This is a relative resource path following the form "
|
841
|
+
# projects/`project`/locations/`location`/trustConfigs/`trust_config`". A
|
842
|
+
# BackendService uses the chain of trust represented by this TrustConfig, if
|
843
|
+
# specified, to validate the server certificates presented by the backend.
|
844
|
+
# Required unless wellKnownRoots is set to PUBLIC_ROOTS.
|
845
|
+
# Corresponds to the JSON property `trustConfig`
|
846
|
+
# @return [String]
|
847
|
+
attr_accessor :trust_config
|
848
|
+
|
849
|
+
# Output only. The timestamp when the resource was updated.
|
850
|
+
# Corresponds to the JSON property `updateTime`
|
851
|
+
# @return [String]
|
852
|
+
attr_accessor :update_time
|
853
|
+
|
854
|
+
# Well known roots to use for server certificate validation.
|
855
|
+
# Corresponds to the JSON property `wellKnownRoots`
|
856
|
+
# @return [String]
|
857
|
+
attr_accessor :well_known_roots
|
858
|
+
|
859
|
+
def initialize(**args)
|
860
|
+
update!(**args)
|
861
|
+
end
|
862
|
+
|
863
|
+
# Update properties of this object
|
864
|
+
def update!(**args)
|
865
|
+
@client_certificate = args[:client_certificate] if args.key?(:client_certificate)
|
866
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
867
|
+
@description = args[:description] if args.key?(:description)
|
868
|
+
@etag = args[:etag] if args.key?(:etag)
|
869
|
+
@labels = args[:labels] if args.key?(:labels)
|
870
|
+
@name = args[:name] if args.key?(:name)
|
871
|
+
@trust_config = args[:trust_config] if args.key?(:trust_config)
|
872
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
873
|
+
@well_known_roots = args[:well_known_roots] if args.key?(:well_known_roots)
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
752
877
|
# The request message for Operations.CancelOperation.
|
753
878
|
class CancelOperationRequest
|
754
879
|
include Google::Apis::Core::Hashable
|
@@ -814,7 +939,7 @@ module Google
|
|
814
939
|
attr_accessor :labels
|
815
940
|
|
816
941
|
# Required. Name of the ClientTlsPolicy resource. It matches the pattern `
|
817
|
-
# projects
|
942
|
+
# projects/`project`/locations/`location`/clientTlsPolicies/`client_tls_policy``
|
818
943
|
# Corresponds to the JSON property `name`
|
819
944
|
# @return [String]
|
820
945
|
attr_accessor :name
|
@@ -2482,6 +2607,39 @@ module Google
|
|
2482
2607
|
end
|
2483
2608
|
end
|
2484
2609
|
|
2610
|
+
# Response returned by the ListBackendAuthenticationConfigs method.
|
2611
|
+
class ListBackendAuthenticationConfigsResponse
|
2612
|
+
include Google::Apis::Core::Hashable
|
2613
|
+
|
2614
|
+
# List of BackendAuthenticationConfig resources.
|
2615
|
+
# Corresponds to the JSON property `backendAuthenticationConfigs`
|
2616
|
+
# @return [Array<Google::Apis::NetworksecurityV1::BackendAuthenticationConfig>]
|
2617
|
+
attr_accessor :backend_authentication_configs
|
2618
|
+
|
2619
|
+
# If there might be more results than those appearing in this response, then `
|
2620
|
+
# next_page_token` is included. To get the next set of results, call this method
|
2621
|
+
# again using the value of `next_page_token` as `page_token`.
|
2622
|
+
# Corresponds to the JSON property `nextPageToken`
|
2623
|
+
# @return [String]
|
2624
|
+
attr_accessor :next_page_token
|
2625
|
+
|
2626
|
+
# Locations that could not be reached.
|
2627
|
+
# Corresponds to the JSON property `unreachable`
|
2628
|
+
# @return [Array<String>]
|
2629
|
+
attr_accessor :unreachable
|
2630
|
+
|
2631
|
+
def initialize(**args)
|
2632
|
+
update!(**args)
|
2633
|
+
end
|
2634
|
+
|
2635
|
+
# Update properties of this object
|
2636
|
+
def update!(**args)
|
2637
|
+
@backend_authentication_configs = args[:backend_authentication_configs] if args.key?(:backend_authentication_configs)
|
2638
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2639
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2640
|
+
end
|
2641
|
+
end
|
2642
|
+
|
2485
2643
|
# Response returned by the ListClientTlsPolicies method.
|
2486
2644
|
class ListClientTlsPoliciesResponse
|
2487
2645
|
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.41.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 = "20250714"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class AuthzPolicyAuthzRulePrincipal
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class AuthzPolicyAuthzRuleRequestResource
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -142,6 +148,12 @@ module Google
|
|
142
148
|
include Google::Apis::Core::JsonObjectSupport
|
143
149
|
end
|
144
150
|
|
151
|
+
class BackendAuthenticationConfig
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
145
157
|
class CancelOperationRequest
|
146
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
159
|
|
@@ -376,6 +388,12 @@ module Google
|
|
376
388
|
include Google::Apis::Core::JsonObjectSupport
|
377
389
|
end
|
378
390
|
|
391
|
+
class ListBackendAuthenticationConfigsResponse
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
379
397
|
class ListClientTlsPoliciesResponse
|
380
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
399
|
|
@@ -748,6 +766,8 @@ module Google
|
|
748
766
|
class Representation < Google::Apis::Core::JsonRepresentation
|
749
767
|
collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleIpBlock, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleIpBlock::Representation
|
750
768
|
|
769
|
+
collection :principals, as: 'principals', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRulePrincipal, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRulePrincipal::Representation
|
770
|
+
|
751
771
|
collection :resources, as: 'resources', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleRequestResource, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleRequestResource::Representation
|
752
772
|
|
753
773
|
end
|
@@ -770,6 +790,15 @@ module Google
|
|
770
790
|
end
|
771
791
|
end
|
772
792
|
|
793
|
+
class AuthzPolicyAuthzRulePrincipal
|
794
|
+
# @private
|
795
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
796
|
+
property :principal, as: 'principal', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch::Representation
|
797
|
+
|
798
|
+
property :principal_selector, as: 'principalSelector'
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
773
802
|
class AuthzPolicyAuthzRuleRequestResource
|
774
803
|
# @private
|
775
804
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -860,6 +889,21 @@ module Google
|
|
860
889
|
end
|
861
890
|
end
|
862
891
|
|
892
|
+
class BackendAuthenticationConfig
|
893
|
+
# @private
|
894
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
895
|
+
property :client_certificate, as: 'clientCertificate'
|
896
|
+
property :create_time, as: 'createTime'
|
897
|
+
property :description, as: 'description'
|
898
|
+
property :etag, as: 'etag'
|
899
|
+
hash :labels, as: 'labels'
|
900
|
+
property :name, as: 'name'
|
901
|
+
property :trust_config, as: 'trustConfig'
|
902
|
+
property :update_time, as: 'updateTime'
|
903
|
+
property :well_known_roots, as: 'wellKnownRoots'
|
904
|
+
end
|
905
|
+
end
|
906
|
+
|
863
907
|
class CancelOperationRequest
|
864
908
|
# @private
|
865
909
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1262,6 +1306,16 @@ module Google
|
|
1262
1306
|
end
|
1263
1307
|
end
|
1264
1308
|
|
1309
|
+
class ListBackendAuthenticationConfigsResponse
|
1310
|
+
# @private
|
1311
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1312
|
+
collection :backend_authentication_configs, as: 'backendAuthenticationConfigs', class: Google::Apis::NetworksecurityV1::BackendAuthenticationConfig, decorator: Google::Apis::NetworksecurityV1::BackendAuthenticationConfig::Representation
|
1313
|
+
|
1314
|
+
property :next_page_token, as: 'nextPageToken'
|
1315
|
+
collection :unreachable, as: 'unreachable'
|
1316
|
+
end
|
1317
|
+
end
|
1318
|
+
|
1265
1319
|
class ListClientTlsPoliciesResponse
|
1266
1320
|
# @private
|
1267
1321
|
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 `
|
@@ -2545,7 +2735,7 @@ module Google
|
|
2545
2735
|
# Updates the parameters of a single ClientTlsPolicy.
|
2546
2736
|
# @param [String] name
|
2547
2737
|
# Required. Name of the ClientTlsPolicy resource. It matches the pattern `
|
2548
|
-
# projects
|
2738
|
+
# projects/`project`/locations/`location`/clientTlsPolicies/`client_tls_policy``
|
2549
2739
|
# @param [Google::Apis::NetworksecurityV1::ClientTlsPolicy] client_tls_policy_object
|
2550
2740
|
# @param [String] update_mask
|
2551
2741
|
# Optional. Field mask is used to specify the fields to be overwritten in the
|
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.41.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.41.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:
|