google-apis-networksecurity_v1 0.52.0 → 0.53.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 +232 -4
- data/lib/google/apis/networksecurity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networksecurity_v1/representations.rb +89 -0
- data/lib/google/apis/networksecurity_v1/service.rb +465 -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: 41b3aafd36566e93ad2d3afed5a42f40de334b3acc52ae9be5b6644ef1046e59
|
|
4
|
+
data.tar.gz: 299f9f6f22c9ceb7d65ef8fc659535c0b71ededc6182365ca0adb62dd52f68a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5366905bf64d59263356f939c5dae9e6d41e64ed3f4793f959e9513feb0a3fb17b1eff8167a8cc3bdc65142978495cbb854447a8d7d0f241d51d462694980a39
|
|
7
|
+
data.tar.gz: f01558c828f2a4282e6ed45f053bccc7cb3ecf2273ec3e7cb098c251a9cd92c69431095b0fd75fc6542aef77c902a3f760ed15ef2b6c7d8537012daf849a5896
|
data/CHANGELOG.md
CHANGED
|
@@ -278,6 +278,15 @@ module Google
|
|
|
278
278
|
# @return [String]
|
|
279
279
|
attr_accessor :name
|
|
280
280
|
|
|
281
|
+
# Optional. A list of authorization network rules to match against the incoming
|
|
282
|
+
# request. A policy match occurs when at least one network rule matches the
|
|
283
|
+
# request. At least one network rule is required for Allow or Deny Action if no
|
|
284
|
+
# HTTP rules are provided. Network rules are mutually exclusive with HTTP rules.
|
|
285
|
+
# Limited to 5 rules.
|
|
286
|
+
# Corresponds to the JSON property `networkRules`
|
|
287
|
+
# @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRule>]
|
|
288
|
+
attr_accessor :network_rules
|
|
289
|
+
|
|
281
290
|
# Optional. Immutable. Defines the type of authorization being performed. If not
|
|
282
291
|
# specified, `REQUEST_AUTHZ` is applied. This field cannot be changed once
|
|
283
292
|
# AuthzPolicy is created.
|
|
@@ -308,6 +317,7 @@ module Google
|
|
|
308
317
|
@http_rules = args[:http_rules] if args.key?(:http_rules)
|
|
309
318
|
@labels = args[:labels] if args.key?(:labels)
|
|
310
319
|
@name = args[:name] if args.key?(:name)
|
|
320
|
+
@network_rules = args[:network_rules] if args.key?(:network_rules)
|
|
311
321
|
@policy_profile = args[:policy_profile] if args.key?(:policy_profile)
|
|
312
322
|
@target = args[:target] if args.key?(:target)
|
|
313
323
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
@@ -674,6 +684,15 @@ module Google
|
|
|
674
684
|
# @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch>]
|
|
675
685
|
attr_accessor :paths
|
|
676
686
|
|
|
687
|
+
# Optional. A list of SNIs to match against. The match can be one of exact,
|
|
688
|
+
# prefix, suffix, or contains (substring match). If there is no SNI (i.e.
|
|
689
|
+
# plaintext HTTP traffic), the request will be denied. Matches are always case
|
|
690
|
+
# sensitive unless the ignoreCase is set. Limited to 10 SNIs per Authorization
|
|
691
|
+
# Policy.
|
|
692
|
+
# Corresponds to the JSON property `snis`
|
|
693
|
+
# @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch>]
|
|
694
|
+
attr_accessor :snis
|
|
695
|
+
|
|
677
696
|
def initialize(**args)
|
|
678
697
|
update!(**args)
|
|
679
698
|
end
|
|
@@ -685,6 +704,7 @@ module Google
|
|
|
685
704
|
@mcp = args[:mcp] if args.key?(:mcp)
|
|
686
705
|
@methods_prop = args[:methods_prop] if args.key?(:methods_prop)
|
|
687
706
|
@paths = args[:paths] if args.key?(:paths)
|
|
707
|
+
@snis = args[:snis] if args.key?(:snis)
|
|
688
708
|
end
|
|
689
709
|
end
|
|
690
710
|
|
|
@@ -1316,10 +1336,11 @@ module Google
|
|
|
1316
1336
|
class FirewallEndpoint
|
|
1317
1337
|
include Google::Apis::Core::Hashable
|
|
1318
1338
|
|
|
1319
|
-
# Output only. List of networks that are associated with this
|
|
1320
|
-
# local zone. This is a projection of the
|
|
1321
|
-
# at this endpoint. A network will only
|
|
1322
|
-
# routing is fully configured. Format:
|
|
1339
|
+
# Output only. Deprecated: List of networks that are associated with this
|
|
1340
|
+
# endpoint in the local zone. This is a projection of the
|
|
1341
|
+
# FirewallEndpointAssociations pointing at this endpoint. A network will only
|
|
1342
|
+
# appear in this list after traffic routing is fully configured. Format:
|
|
1343
|
+
# projects/`project`/global/networks/`name`.
|
|
1323
1344
|
# Corresponds to the JSON property `associatedNetworks`
|
|
1324
1345
|
# @return [Array<String>]
|
|
1325
1346
|
attr_accessor :associated_networks
|
|
@@ -3294,6 +3315,68 @@ module Google
|
|
|
3294
3315
|
end
|
|
3295
3316
|
end
|
|
3296
3317
|
|
|
3318
|
+
# Response for `ListSACAttachments` method.
|
|
3319
|
+
class ListSacAttachmentsResponse
|
|
3320
|
+
include Google::Apis::Core::Hashable
|
|
3321
|
+
|
|
3322
|
+
# A token identifying a page of results the server should return.
|
|
3323
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3324
|
+
# @return [String]
|
|
3325
|
+
attr_accessor :next_page_token
|
|
3326
|
+
|
|
3327
|
+
# The list of SACAttachments.
|
|
3328
|
+
# Corresponds to the JSON property `sacAttachments`
|
|
3329
|
+
# @return [Array<Google::Apis::NetworksecurityV1::SacAttachment>]
|
|
3330
|
+
attr_accessor :sac_attachments
|
|
3331
|
+
|
|
3332
|
+
# Locations that could not be reached.
|
|
3333
|
+
# Corresponds to the JSON property `unreachable`
|
|
3334
|
+
# @return [Array<String>]
|
|
3335
|
+
attr_accessor :unreachable
|
|
3336
|
+
|
|
3337
|
+
def initialize(**args)
|
|
3338
|
+
update!(**args)
|
|
3339
|
+
end
|
|
3340
|
+
|
|
3341
|
+
# Update properties of this object
|
|
3342
|
+
def update!(**args)
|
|
3343
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3344
|
+
@sac_attachments = args[:sac_attachments] if args.key?(:sac_attachments)
|
|
3345
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
3346
|
+
end
|
|
3347
|
+
end
|
|
3348
|
+
|
|
3349
|
+
# Response for `ListSACRealms` method.
|
|
3350
|
+
class ListSacRealmsResponse
|
|
3351
|
+
include Google::Apis::Core::Hashable
|
|
3352
|
+
|
|
3353
|
+
# A token identifying a page of results the server should return.
|
|
3354
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3355
|
+
# @return [String]
|
|
3356
|
+
attr_accessor :next_page_token
|
|
3357
|
+
|
|
3358
|
+
# The list of SACRealms.
|
|
3359
|
+
# Corresponds to the JSON property `sacRealms`
|
|
3360
|
+
# @return [Array<Google::Apis::NetworksecurityV1::SacRealm>]
|
|
3361
|
+
attr_accessor :sac_realms
|
|
3362
|
+
|
|
3363
|
+
# Locations that could not be reached.
|
|
3364
|
+
# Corresponds to the JSON property `unreachable`
|
|
3365
|
+
# @return [Array<String>]
|
|
3366
|
+
attr_accessor :unreachable
|
|
3367
|
+
|
|
3368
|
+
def initialize(**args)
|
|
3369
|
+
update!(**args)
|
|
3370
|
+
end
|
|
3371
|
+
|
|
3372
|
+
# Update properties of this object
|
|
3373
|
+
def update!(**args)
|
|
3374
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3375
|
+
@sac_realms = args[:sac_realms] if args.key?(:sac_realms)
|
|
3376
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
3377
|
+
end
|
|
3378
|
+
end
|
|
3379
|
+
|
|
3297
3380
|
# Response returned by the ListSecurityProfileGroups method.
|
|
3298
3381
|
class ListSecurityProfileGroupsResponse
|
|
3299
3382
|
include Google::Apis::Core::Hashable
|
|
@@ -4252,6 +4335,151 @@ module Google
|
|
|
4252
4335
|
end
|
|
4253
4336
|
end
|
|
4254
4337
|
|
|
4338
|
+
# Represents a Secure Access Connect (SAC) attachment resource. A Secure Access
|
|
4339
|
+
# Connect attachment enables NCC Gateway to process traffic with an SSE product.
|
|
4340
|
+
class SacAttachment
|
|
4341
|
+
include Google::Apis::Core::Hashable
|
|
4342
|
+
|
|
4343
|
+
# Output only. Timestamp when the attachment was created.
|
|
4344
|
+
# Corresponds to the JSON property `createTime`
|
|
4345
|
+
# @return [String]
|
|
4346
|
+
attr_accessor :create_time
|
|
4347
|
+
|
|
4348
|
+
# Optional. Optional list of labels applied to the resource.
|
|
4349
|
+
# Corresponds to the JSON property `labels`
|
|
4350
|
+
# @return [Hash<String,String>]
|
|
4351
|
+
attr_accessor :labels
|
|
4352
|
+
|
|
4353
|
+
# Identifier. Resource name, in the form `projects/`project`/locations/`location`
|
|
4354
|
+
# /sacAttachments/`sac_attachment``.
|
|
4355
|
+
# Corresponds to the JSON property `name`
|
|
4356
|
+
# @return [String]
|
|
4357
|
+
attr_accessor :name
|
|
4358
|
+
|
|
4359
|
+
# Required. NCC Gateway associated with the attachment. This can be input as an
|
|
4360
|
+
# ID or a full resource name. The output always has the form `projects/`
|
|
4361
|
+
# project_number`/locations/`location`/spokes/`ncc_gateway``.
|
|
4362
|
+
# Corresponds to the JSON property `nccGateway`
|
|
4363
|
+
# @return [String]
|
|
4364
|
+
attr_accessor :ncc_gateway
|
|
4365
|
+
|
|
4366
|
+
# Required. SAC Realm which owns the attachment. This can be input as an ID or a
|
|
4367
|
+
# full resource name. The output always has the form `projects/`project_number`/
|
|
4368
|
+
# locations/`location`/sacRealms/`sac_realm``.
|
|
4369
|
+
# Corresponds to the JSON property `sacRealm`
|
|
4370
|
+
# @return [String]
|
|
4371
|
+
attr_accessor :sac_realm
|
|
4372
|
+
|
|
4373
|
+
# Output only. State of the attachment.
|
|
4374
|
+
# Corresponds to the JSON property `state`
|
|
4375
|
+
# @return [String]
|
|
4376
|
+
attr_accessor :state
|
|
4377
|
+
|
|
4378
|
+
# Output only. Timestamp when the attachment was last updated.
|
|
4379
|
+
# Corresponds to the JSON property `updateTime`
|
|
4380
|
+
# @return [String]
|
|
4381
|
+
attr_accessor :update_time
|
|
4382
|
+
|
|
4383
|
+
def initialize(**args)
|
|
4384
|
+
update!(**args)
|
|
4385
|
+
end
|
|
4386
|
+
|
|
4387
|
+
# Update properties of this object
|
|
4388
|
+
def update!(**args)
|
|
4389
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
4390
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
4391
|
+
@name = args[:name] if args.key?(:name)
|
|
4392
|
+
@ncc_gateway = args[:ncc_gateway] if args.key?(:ncc_gateway)
|
|
4393
|
+
@sac_realm = args[:sac_realm] if args.key?(:sac_realm)
|
|
4394
|
+
@state = args[:state] if args.key?(:state)
|
|
4395
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
4396
|
+
end
|
|
4397
|
+
end
|
|
4398
|
+
|
|
4399
|
+
# Represents a Secure Access Connect (SAC) realm resource. A Secure Access
|
|
4400
|
+
# Connect realm establishes a connection between your Google Cloud project and
|
|
4401
|
+
# an SSE service.
|
|
4402
|
+
class SacRealm
|
|
4403
|
+
include Google::Apis::Core::Hashable
|
|
4404
|
+
|
|
4405
|
+
# Output only. Timestamp when the realm was created.
|
|
4406
|
+
# Corresponds to the JSON property `createTime`
|
|
4407
|
+
# @return [String]
|
|
4408
|
+
attr_accessor :create_time
|
|
4409
|
+
|
|
4410
|
+
# Optional. Optional list of labels applied to the resource.
|
|
4411
|
+
# Corresponds to the JSON property `labels`
|
|
4412
|
+
# @return [Hash<String,String>]
|
|
4413
|
+
attr_accessor :labels
|
|
4414
|
+
|
|
4415
|
+
# Identifier. Resource name, in the form `projects/`project`/locations/global/
|
|
4416
|
+
# sacRealms/`sacRealm``.
|
|
4417
|
+
# Corresponds to the JSON property `name`
|
|
4418
|
+
# @return [String]
|
|
4419
|
+
attr_accessor :name
|
|
4420
|
+
|
|
4421
|
+
# Key to be shared with SSE service provider to establish global handshake.
|
|
4422
|
+
# Corresponds to the JSON property `pairingKey`
|
|
4423
|
+
# @return [Google::Apis::NetworksecurityV1::SacRealmPairingKey]
|
|
4424
|
+
attr_accessor :pairing_key
|
|
4425
|
+
|
|
4426
|
+
# Immutable. SSE service provider associated with the realm.
|
|
4427
|
+
# Corresponds to the JSON property `securityService`
|
|
4428
|
+
# @return [String]
|
|
4429
|
+
attr_accessor :security_service
|
|
4430
|
+
|
|
4431
|
+
# Output only. State of the realm.
|
|
4432
|
+
# Corresponds to the JSON property `state`
|
|
4433
|
+
# @return [String]
|
|
4434
|
+
attr_accessor :state
|
|
4435
|
+
|
|
4436
|
+
# Output only. Timestamp when the realm was last updated.
|
|
4437
|
+
# Corresponds to the JSON property `updateTime`
|
|
4438
|
+
# @return [String]
|
|
4439
|
+
attr_accessor :update_time
|
|
4440
|
+
|
|
4441
|
+
def initialize(**args)
|
|
4442
|
+
update!(**args)
|
|
4443
|
+
end
|
|
4444
|
+
|
|
4445
|
+
# Update properties of this object
|
|
4446
|
+
def update!(**args)
|
|
4447
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
4448
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
4449
|
+
@name = args[:name] if args.key?(:name)
|
|
4450
|
+
@pairing_key = args[:pairing_key] if args.key?(:pairing_key)
|
|
4451
|
+
@security_service = args[:security_service] if args.key?(:security_service)
|
|
4452
|
+
@state = args[:state] if args.key?(:state)
|
|
4453
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
4454
|
+
end
|
|
4455
|
+
end
|
|
4456
|
+
|
|
4457
|
+
# Key to be shared with SSE service provider to establish global handshake.
|
|
4458
|
+
class SacRealmPairingKey
|
|
4459
|
+
include Google::Apis::Core::Hashable
|
|
4460
|
+
|
|
4461
|
+
# Output only. Timestamp in UTC of when this resource is considered expired. It
|
|
4462
|
+
# expires 7 days after creation.
|
|
4463
|
+
# Corresponds to the JSON property `expireTime`
|
|
4464
|
+
# @return [String]
|
|
4465
|
+
attr_accessor :expire_time
|
|
4466
|
+
|
|
4467
|
+
# Output only. Key value.
|
|
4468
|
+
# Corresponds to the JSON property `key`
|
|
4469
|
+
# @return [String]
|
|
4470
|
+
attr_accessor :key
|
|
4471
|
+
|
|
4472
|
+
def initialize(**args)
|
|
4473
|
+
update!(**args)
|
|
4474
|
+
end
|
|
4475
|
+
|
|
4476
|
+
# Update properties of this object
|
|
4477
|
+
def update!(**args)
|
|
4478
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
4479
|
+
@key = args[:key] if args.key?(:key)
|
|
4480
|
+
end
|
|
4481
|
+
end
|
|
4482
|
+
|
|
4255
4483
|
# SecurityProfile is a resource that defines the behavior for one of many
|
|
4256
4484
|
# ProfileTypes.
|
|
4257
4485
|
class SecurityProfile
|
|
@@ -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.53.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 = "20260518"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -514,6 +514,18 @@ module Google
|
|
|
514
514
|
include Google::Apis::Core::JsonObjectSupport
|
|
515
515
|
end
|
|
516
516
|
|
|
517
|
+
class ListSacAttachmentsResponse
|
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
519
|
+
|
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
521
|
+
end
|
|
522
|
+
|
|
523
|
+
class ListSacRealmsResponse
|
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
525
|
+
|
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
527
|
+
end
|
|
528
|
+
|
|
517
529
|
class ListSecurityProfileGroupsResponse
|
|
518
530
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
519
531
|
|
|
@@ -640,6 +652,24 @@ module Google
|
|
|
640
652
|
include Google::Apis::Core::JsonObjectSupport
|
|
641
653
|
end
|
|
642
654
|
|
|
655
|
+
class SacAttachment
|
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
657
|
+
|
|
658
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
659
|
+
end
|
|
660
|
+
|
|
661
|
+
class SacRealm
|
|
662
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
663
|
+
|
|
664
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
665
|
+
end
|
|
666
|
+
|
|
667
|
+
class SacRealmPairingKey
|
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
|
+
|
|
670
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
671
|
+
end
|
|
672
|
+
|
|
643
673
|
class SecurityProfile
|
|
644
674
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
645
675
|
|
|
@@ -776,6 +806,8 @@ module Google
|
|
|
776
806
|
|
|
777
807
|
hash :labels, as: 'labels'
|
|
778
808
|
property :name, as: 'name'
|
|
809
|
+
collection :network_rules, as: 'networkRules', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRule, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRule::Representation
|
|
810
|
+
|
|
779
811
|
property :policy_profile, as: 'policyProfile'
|
|
780
812
|
property :target, as: 'target', class: Google::Apis::NetworksecurityV1::AuthzPolicyTarget, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyTarget::Representation
|
|
781
813
|
|
|
@@ -892,6 +924,8 @@ module Google
|
|
|
892
924
|
collection :methods_prop, as: 'methods'
|
|
893
925
|
collection :paths, as: 'paths', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch::Representation
|
|
894
926
|
|
|
927
|
+
collection :snis, as: 'snis', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch::Representation
|
|
928
|
+
|
|
895
929
|
end
|
|
896
930
|
end
|
|
897
931
|
|
|
@@ -1553,6 +1587,26 @@ module Google
|
|
|
1553
1587
|
end
|
|
1554
1588
|
end
|
|
1555
1589
|
|
|
1590
|
+
class ListSacAttachmentsResponse
|
|
1591
|
+
# @private
|
|
1592
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1593
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1594
|
+
collection :sac_attachments, as: 'sacAttachments', class: Google::Apis::NetworksecurityV1::SacAttachment, decorator: Google::Apis::NetworksecurityV1::SacAttachment::Representation
|
|
1595
|
+
|
|
1596
|
+
collection :unreachable, as: 'unreachable'
|
|
1597
|
+
end
|
|
1598
|
+
end
|
|
1599
|
+
|
|
1600
|
+
class ListSacRealmsResponse
|
|
1601
|
+
# @private
|
|
1602
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1603
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1604
|
+
collection :sac_realms, as: 'sacRealms', class: Google::Apis::NetworksecurityV1::SacRealm, decorator: Google::Apis::NetworksecurityV1::SacRealm::Representation
|
|
1605
|
+
|
|
1606
|
+
collection :unreachable, as: 'unreachable'
|
|
1607
|
+
end
|
|
1608
|
+
end
|
|
1609
|
+
|
|
1556
1610
|
class ListSecurityProfileGroupsResponse
|
|
1557
1611
|
# @private
|
|
1558
1612
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1786,6 +1840,41 @@ module Google
|
|
|
1786
1840
|
end
|
|
1787
1841
|
end
|
|
1788
1842
|
|
|
1843
|
+
class SacAttachment
|
|
1844
|
+
# @private
|
|
1845
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1846
|
+
property :create_time, as: 'createTime'
|
|
1847
|
+
hash :labels, as: 'labels'
|
|
1848
|
+
property :name, as: 'name'
|
|
1849
|
+
property :ncc_gateway, as: 'nccGateway'
|
|
1850
|
+
property :sac_realm, as: 'sacRealm'
|
|
1851
|
+
property :state, as: 'state'
|
|
1852
|
+
property :update_time, as: 'updateTime'
|
|
1853
|
+
end
|
|
1854
|
+
end
|
|
1855
|
+
|
|
1856
|
+
class SacRealm
|
|
1857
|
+
# @private
|
|
1858
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1859
|
+
property :create_time, as: 'createTime'
|
|
1860
|
+
hash :labels, as: 'labels'
|
|
1861
|
+
property :name, as: 'name'
|
|
1862
|
+
property :pairing_key, as: 'pairingKey', class: Google::Apis::NetworksecurityV1::SacRealmPairingKey, decorator: Google::Apis::NetworksecurityV1::SacRealmPairingKey::Representation
|
|
1863
|
+
|
|
1864
|
+
property :security_service, as: 'securityService'
|
|
1865
|
+
property :state, as: 'state'
|
|
1866
|
+
property :update_time, as: 'updateTime'
|
|
1867
|
+
end
|
|
1868
|
+
end
|
|
1869
|
+
|
|
1870
|
+
class SacRealmPairingKey
|
|
1871
|
+
# @private
|
|
1872
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1873
|
+
property :expire_time, as: 'expireTime'
|
|
1874
|
+
property :key, as: 'key'
|
|
1875
|
+
end
|
|
1876
|
+
end
|
|
1877
|
+
|
|
1789
1878
|
class SecurityProfile
|
|
1790
1879
|
# @private
|
|
1791
1880
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -51,6 +51,92 @@ module Google
|
|
|
51
51
|
@batch_path = 'batch'
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
# Gets information about a location.
|
|
55
|
+
# @param [String] name
|
|
56
|
+
# Resource name for the location.
|
|
57
|
+
# @param [String] fields
|
|
58
|
+
# Selector specifying which fields to include in a partial response.
|
|
59
|
+
# @param [String] quota_user
|
|
60
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
61
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
62
|
+
# @param [Google::Apis::RequestOptions] options
|
|
63
|
+
# Request-specific options
|
|
64
|
+
#
|
|
65
|
+
# @yield [result, err] Result & error if block supplied
|
|
66
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Location] parsed result object
|
|
67
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
68
|
+
#
|
|
69
|
+
# @return [Google::Apis::NetworksecurityV1::Location]
|
|
70
|
+
#
|
|
71
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
72
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
73
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
74
|
+
def get_organization_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
75
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
76
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Location::Representation
|
|
77
|
+
command.response_class = Google::Apis::NetworksecurityV1::Location
|
|
78
|
+
command.params['name'] = name unless name.nil?
|
|
79
|
+
command.query['fields'] = fields unless fields.nil?
|
|
80
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
81
|
+
execute_or_queue_command(command, &block)
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# Lists information about the supported locations for this service. This method
|
|
85
|
+
# lists locations based on the resource scope provided in the
|
|
86
|
+
# ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
|
|
87
|
+
# the method lists the public locations available to all projects. * **Project-
|
|
88
|
+
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
89
|
+
# method lists locations visible to that specific project. This includes public,
|
|
90
|
+
# private, or other project-specific locations enabled for the project. For gRPC
|
|
91
|
+
# and client library implementations, the resource name is passed as the `name`
|
|
92
|
+
# field. For direct service calls, the resource name is incorporated into the
|
|
93
|
+
# request path based on the specific service implementation and version.
|
|
94
|
+
# @param [String] name
|
|
95
|
+
# The resource that owns the locations collection, if applicable.
|
|
96
|
+
# @param [Array<String>, String] extra_location_types
|
|
97
|
+
# Optional. Do not use this field unless explicitly documented otherwise. This
|
|
98
|
+
# is primarily for internal usage.
|
|
99
|
+
# @param [String] filter
|
|
100
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
|
101
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
102
|
+
# in [AIP-160](https://google.aip.dev/160).
|
|
103
|
+
# @param [Fixnum] page_size
|
|
104
|
+
# The maximum number of results to return. If not set, the service selects a
|
|
105
|
+
# default.
|
|
106
|
+
# @param [String] page_token
|
|
107
|
+
# A page token received from the `next_page_token` field in the response. Send
|
|
108
|
+
# that page token to receive the subsequent page.
|
|
109
|
+
# @param [String] fields
|
|
110
|
+
# Selector specifying which fields to include in a partial response.
|
|
111
|
+
# @param [String] quota_user
|
|
112
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
113
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
114
|
+
# @param [Google::Apis::RequestOptions] options
|
|
115
|
+
# Request-specific options
|
|
116
|
+
#
|
|
117
|
+
# @yield [result, err] Result & error if block supplied
|
|
118
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::ListLocationsResponse] parsed result object
|
|
119
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
120
|
+
#
|
|
121
|
+
# @return [Google::Apis::NetworksecurityV1::ListLocationsResponse]
|
|
122
|
+
#
|
|
123
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
124
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
125
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
126
|
+
def list_organization_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
127
|
+
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
|
128
|
+
command.response_representation = Google::Apis::NetworksecurityV1::ListLocationsResponse::Representation
|
|
129
|
+
command.response_class = Google::Apis::NetworksecurityV1::ListLocationsResponse
|
|
130
|
+
command.params['name'] = name unless name.nil?
|
|
131
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
|
132
|
+
command.query['filter'] = filter unless filter.nil?
|
|
133
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
134
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
135
|
+
command.query['fields'] = fields unless fields.nil?
|
|
136
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
137
|
+
execute_or_queue_command(command, &block)
|
|
138
|
+
end
|
|
139
|
+
|
|
54
140
|
# Adds items to an address group.
|
|
55
141
|
# @param [String] address_group
|
|
56
142
|
# Required. A name of the AddressGroup to add items to. Must be in the format `
|
|
@@ -414,6 +500,45 @@ module Google
|
|
|
414
500
|
execute_or_queue_command(command, &block)
|
|
415
501
|
end
|
|
416
502
|
|
|
503
|
+
# Returns permissions that a caller has on the specified resource. If the
|
|
504
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
|
505
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
|
506
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
|
507
|
+
# This operation may "fail open" without warning.
|
|
508
|
+
# @param [String] resource
|
|
509
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
|
510
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
|
511
|
+
# appropriate value for this field.
|
|
512
|
+
# @param [Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
|
513
|
+
# @param [String] fields
|
|
514
|
+
# Selector specifying which fields to include in a partial response.
|
|
515
|
+
# @param [String] quota_user
|
|
516
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
517
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
518
|
+
# @param [Google::Apis::RequestOptions] options
|
|
519
|
+
# Request-specific options
|
|
520
|
+
#
|
|
521
|
+
# @yield [result, err] Result & error if block supplied
|
|
522
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
|
523
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
524
|
+
#
|
|
525
|
+
# @return [Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse]
|
|
526
|
+
#
|
|
527
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
528
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
529
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
530
|
+
def test_organization_location_address_group_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
531
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
532
|
+
command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
|
533
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
|
534
|
+
command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
|
535
|
+
command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
|
|
536
|
+
command.params['resource'] = resource unless resource.nil?
|
|
537
|
+
command.query['fields'] = fields unless fields.nil?
|
|
538
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
539
|
+
execute_or_queue_command(command, &block)
|
|
540
|
+
end
|
|
541
|
+
|
|
417
542
|
# Creates a new FirewallEndpoint in a given organization and location.
|
|
418
543
|
# @param [String] parent
|
|
419
544
|
# Required. Value for parent.
|
|
@@ -5669,6 +5794,346 @@ module Google
|
|
|
5669
5794
|
execute_or_queue_command(command, &block)
|
|
5670
5795
|
end
|
|
5671
5796
|
|
|
5797
|
+
# Creates a new SACAttachment in a given project and location.
|
|
5798
|
+
# @param [String] parent
|
|
5799
|
+
# Required. The parent, in the form `projects/`project`/locations/`location``.
|
|
5800
|
+
# @param [Google::Apis::NetworksecurityV1::SacAttachment] sac_attachment_object
|
|
5801
|
+
# @param [String] request_id
|
|
5802
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
5803
|
+
# request ID so that if you must retry your request, the server will know to
|
|
5804
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
5805
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
|
5806
|
+
# situation where you make an initial request and the request times out. If you
|
|
5807
|
+
# make the request again with the same request ID, the server can check if
|
|
5808
|
+
# original operation with the same request ID was received, and if so, will
|
|
5809
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
5810
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
5811
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
5812
|
+
# @param [String] sac_attachment_id
|
|
5813
|
+
# Required. ID of the created attachment. The ID must be 1-63 characters long,
|
|
5814
|
+
# and comply with RFC1035. Specifically, it must be 1-63 characters long and
|
|
5815
|
+
# match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
|
|
5816
|
+
# first character must be a lowercase letter, and all following characters must
|
|
5817
|
+
# be a dash, lowercase letter, or digit, except the last character, which cannot
|
|
5818
|
+
# be a dash.
|
|
5819
|
+
# @param [String] fields
|
|
5820
|
+
# Selector specifying which fields to include in a partial response.
|
|
5821
|
+
# @param [String] quota_user
|
|
5822
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5823
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5824
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5825
|
+
# Request-specific options
|
|
5826
|
+
#
|
|
5827
|
+
# @yield [result, err] Result & error if block supplied
|
|
5828
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
|
5829
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5830
|
+
#
|
|
5831
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
|
5832
|
+
#
|
|
5833
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5834
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5835
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5836
|
+
def create_project_location_sac_attachment(parent, sac_attachment_object = nil, request_id: nil, sac_attachment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5837
|
+
command = make_simple_command(:post, 'v1/{+parent}/sacAttachments', options)
|
|
5838
|
+
command.request_representation = Google::Apis::NetworksecurityV1::SacAttachment::Representation
|
|
5839
|
+
command.request_object = sac_attachment_object
|
|
5840
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
|
5841
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
|
5842
|
+
command.params['parent'] = parent unless parent.nil?
|
|
5843
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
5844
|
+
command.query['sacAttachmentId'] = sac_attachment_id unless sac_attachment_id.nil?
|
|
5845
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5846
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5847
|
+
execute_or_queue_command(command, &block)
|
|
5848
|
+
end
|
|
5849
|
+
|
|
5850
|
+
# Deletes the specified attachment.
|
|
5851
|
+
# @param [String] name
|
|
5852
|
+
# Required. Name of the resource, in the form `projects/`project`/locations/`
|
|
5853
|
+
# location`/sacAttachments/`sac_attachment``.
|
|
5854
|
+
# @param [String] request_id
|
|
5855
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
5856
|
+
# request ID so that if you must retry your request, the server will know to
|
|
5857
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
5858
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
|
5859
|
+
# situation where you make an initial request and the request times out. If you
|
|
5860
|
+
# make the request again with the same request ID, the server can check if
|
|
5861
|
+
# original operation with the same request ID was received, and if so, will
|
|
5862
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
5863
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
5864
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
5865
|
+
# @param [String] fields
|
|
5866
|
+
# Selector specifying which fields to include in a partial response.
|
|
5867
|
+
# @param [String] quota_user
|
|
5868
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5869
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5870
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5871
|
+
# Request-specific options
|
|
5872
|
+
#
|
|
5873
|
+
# @yield [result, err] Result & error if block supplied
|
|
5874
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
|
5875
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5876
|
+
#
|
|
5877
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
|
5878
|
+
#
|
|
5879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5882
|
+
def delete_project_location_sac_attachment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5883
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
5884
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
|
5885
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
|
5886
|
+
command.params['name'] = name unless name.nil?
|
|
5887
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
5888
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5889
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5890
|
+
execute_or_queue_command(command, &block)
|
|
5891
|
+
end
|
|
5892
|
+
|
|
5893
|
+
# Returns the specified attachment.
|
|
5894
|
+
# @param [String] name
|
|
5895
|
+
# Required. Name of the resource, in the form `projects/`project`/locations/`
|
|
5896
|
+
# location`/sacAttachments/`sac_attachment``.
|
|
5897
|
+
# @param [String] fields
|
|
5898
|
+
# Selector specifying which fields to include in a partial response.
|
|
5899
|
+
# @param [String] quota_user
|
|
5900
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5901
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5902
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5903
|
+
# Request-specific options
|
|
5904
|
+
#
|
|
5905
|
+
# @yield [result, err] Result & error if block supplied
|
|
5906
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::SacAttachment] parsed result object
|
|
5907
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5908
|
+
#
|
|
5909
|
+
# @return [Google::Apis::NetworksecurityV1::SacAttachment]
|
|
5910
|
+
#
|
|
5911
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5912
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5913
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5914
|
+
def get_project_location_sac_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
5915
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
5916
|
+
command.response_representation = Google::Apis::NetworksecurityV1::SacAttachment::Representation
|
|
5917
|
+
command.response_class = Google::Apis::NetworksecurityV1::SacAttachment
|
|
5918
|
+
command.params['name'] = name unless name.nil?
|
|
5919
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5920
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5921
|
+
execute_or_queue_command(command, &block)
|
|
5922
|
+
end
|
|
5923
|
+
|
|
5924
|
+
# Lists SACAttachments in a given project and location.
|
|
5925
|
+
# @param [String] parent
|
|
5926
|
+
# Required. The parent, in the form `projects/`project`/locations/`location``.
|
|
5927
|
+
# @param [String] filter
|
|
5928
|
+
# Optional. An expression that filters the list of results.
|
|
5929
|
+
# @param [String] order_by
|
|
5930
|
+
# Optional. Sort the results by a certain order.
|
|
5931
|
+
# @param [Fixnum] page_size
|
|
5932
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
|
5933
|
+
# If unspecified, server will pick an appropriate default.
|
|
5934
|
+
# @param [String] page_token
|
|
5935
|
+
# Optional. A token identifying a page of results the server should return.
|
|
5936
|
+
# @param [String] fields
|
|
5937
|
+
# Selector specifying which fields to include in a partial response.
|
|
5938
|
+
# @param [String] quota_user
|
|
5939
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5940
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5941
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5942
|
+
# Request-specific options
|
|
5943
|
+
#
|
|
5944
|
+
# @yield [result, err] Result & error if block supplied
|
|
5945
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::ListSacAttachmentsResponse] parsed result object
|
|
5946
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5947
|
+
#
|
|
5948
|
+
# @return [Google::Apis::NetworksecurityV1::ListSacAttachmentsResponse]
|
|
5949
|
+
#
|
|
5950
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5951
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5952
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5953
|
+
def list_project_location_sac_attachments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5954
|
+
command = make_simple_command(:get, 'v1/{+parent}/sacAttachments', options)
|
|
5955
|
+
command.response_representation = Google::Apis::NetworksecurityV1::ListSacAttachmentsResponse::Representation
|
|
5956
|
+
command.response_class = Google::Apis::NetworksecurityV1::ListSacAttachmentsResponse
|
|
5957
|
+
command.params['parent'] = parent unless parent.nil?
|
|
5958
|
+
command.query['filter'] = filter unless filter.nil?
|
|
5959
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
5960
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
5961
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
5962
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5963
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5964
|
+
execute_or_queue_command(command, &block)
|
|
5965
|
+
end
|
|
5966
|
+
|
|
5967
|
+
# Creates a new SACRealm in a given project.
|
|
5968
|
+
# @param [String] parent
|
|
5969
|
+
# Required. The parent, in the form `projects/`project`/locations/global`.
|
|
5970
|
+
# @param [Google::Apis::NetworksecurityV1::SacRealm] sac_realm_object
|
|
5971
|
+
# @param [String] request_id
|
|
5972
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
5973
|
+
# request ID so that if you must retry your request, the server will know to
|
|
5974
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
5975
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
|
5976
|
+
# situation where you make an initial request and the request times out. If you
|
|
5977
|
+
# make the request again with the same request ID, the server can check if
|
|
5978
|
+
# original operation with the same request ID was received, and if so, will
|
|
5979
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
5980
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
5981
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
5982
|
+
# @param [String] sac_realm_id
|
|
5983
|
+
# Required. ID of the created realm. The ID must be 1-63 characters long, and
|
|
5984
|
+
# comply with RFC1035. Specifically, it must be 1-63 characters long and match
|
|
5985
|
+
# the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
|
5986
|
+
# character must be a lowercase letter, and all following characters must be a
|
|
5987
|
+
# dash, lowercase letter, or digit, except the last character, which cannot be a
|
|
5988
|
+
# dash.
|
|
5989
|
+
# @param [String] fields
|
|
5990
|
+
# Selector specifying which fields to include in a partial response.
|
|
5991
|
+
# @param [String] quota_user
|
|
5992
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5993
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5994
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5995
|
+
# Request-specific options
|
|
5996
|
+
#
|
|
5997
|
+
# @yield [result, err] Result & error if block supplied
|
|
5998
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
|
5999
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
6000
|
+
#
|
|
6001
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
|
6002
|
+
#
|
|
6003
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
6004
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6005
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6006
|
+
def create_project_location_sac_realm(parent, sac_realm_object = nil, request_id: nil, sac_realm_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
6007
|
+
command = make_simple_command(:post, 'v1/{+parent}/sacRealms', options)
|
|
6008
|
+
command.request_representation = Google::Apis::NetworksecurityV1::SacRealm::Representation
|
|
6009
|
+
command.request_object = sac_realm_object
|
|
6010
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
|
6011
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
|
6012
|
+
command.params['parent'] = parent unless parent.nil?
|
|
6013
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
6014
|
+
command.query['sacRealmId'] = sac_realm_id unless sac_realm_id.nil?
|
|
6015
|
+
command.query['fields'] = fields unless fields.nil?
|
|
6016
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
6017
|
+
execute_or_queue_command(command, &block)
|
|
6018
|
+
end
|
|
6019
|
+
|
|
6020
|
+
# Deletes the specified realm.
|
|
6021
|
+
# @param [String] name
|
|
6022
|
+
# Required. Name of the resource, in the form `projects/`project`/locations/
|
|
6023
|
+
# global/sacRealms/`sacRealm``.
|
|
6024
|
+
# @param [String] request_id
|
|
6025
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
6026
|
+
# request ID so that if you must retry your request, the server will know to
|
|
6027
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
6028
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
|
6029
|
+
# situation where you make an initial request and the request times out. If you
|
|
6030
|
+
# make the request again with the same request ID, the server can check if
|
|
6031
|
+
# original operation with the same request ID was received, and if so, will
|
|
6032
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
6033
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
6034
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
6035
|
+
# @param [String] fields
|
|
6036
|
+
# Selector specifying which fields to include in a partial response.
|
|
6037
|
+
# @param [String] quota_user
|
|
6038
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
6039
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
6040
|
+
# @param [Google::Apis::RequestOptions] options
|
|
6041
|
+
# Request-specific options
|
|
6042
|
+
#
|
|
6043
|
+
# @yield [result, err] Result & error if block supplied
|
|
6044
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
|
6045
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
6046
|
+
#
|
|
6047
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
|
6048
|
+
#
|
|
6049
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
6050
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6051
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6052
|
+
def delete_project_location_sac_realm(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
6053
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
6054
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
|
6055
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
|
6056
|
+
command.params['name'] = name unless name.nil?
|
|
6057
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
6058
|
+
command.query['fields'] = fields unless fields.nil?
|
|
6059
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
6060
|
+
execute_or_queue_command(command, &block)
|
|
6061
|
+
end
|
|
6062
|
+
|
|
6063
|
+
# Returns the specified realm.
|
|
6064
|
+
# @param [String] name
|
|
6065
|
+
# Required. Name of the resource, in the form `projects/`project`/locations/
|
|
6066
|
+
# global/sacRealms/`sacRealm``.
|
|
6067
|
+
# @param [String] fields
|
|
6068
|
+
# Selector specifying which fields to include in a partial response.
|
|
6069
|
+
# @param [String] quota_user
|
|
6070
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
6071
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
6072
|
+
# @param [Google::Apis::RequestOptions] options
|
|
6073
|
+
# Request-specific options
|
|
6074
|
+
#
|
|
6075
|
+
# @yield [result, err] Result & error if block supplied
|
|
6076
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::SacRealm] parsed result object
|
|
6077
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
6078
|
+
#
|
|
6079
|
+
# @return [Google::Apis::NetworksecurityV1::SacRealm]
|
|
6080
|
+
#
|
|
6081
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
6082
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6083
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6084
|
+
def get_project_location_sac_realm(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
6085
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
6086
|
+
command.response_representation = Google::Apis::NetworksecurityV1::SacRealm::Representation
|
|
6087
|
+
command.response_class = Google::Apis::NetworksecurityV1::SacRealm
|
|
6088
|
+
command.params['name'] = name unless name.nil?
|
|
6089
|
+
command.query['fields'] = fields unless fields.nil?
|
|
6090
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
6091
|
+
execute_or_queue_command(command, &block)
|
|
6092
|
+
end
|
|
6093
|
+
|
|
6094
|
+
# Lists SACRealms in a given project.
|
|
6095
|
+
# @param [String] parent
|
|
6096
|
+
# Required. The parent, in the form `projects/`project`/locations/global`.
|
|
6097
|
+
# @param [String] filter
|
|
6098
|
+
# Optional. An expression that filters the list of results.
|
|
6099
|
+
# @param [String] order_by
|
|
6100
|
+
# Optional. Sort the results by a certain order.
|
|
6101
|
+
# @param [Fixnum] page_size
|
|
6102
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
|
6103
|
+
# If unspecified, server will pick an appropriate default.
|
|
6104
|
+
# @param [String] page_token
|
|
6105
|
+
# Optional. A token identifying a page of results the server should return.
|
|
6106
|
+
# @param [String] fields
|
|
6107
|
+
# Selector specifying which fields to include in a partial response.
|
|
6108
|
+
# @param [String] quota_user
|
|
6109
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
6110
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
6111
|
+
# @param [Google::Apis::RequestOptions] options
|
|
6112
|
+
# Request-specific options
|
|
6113
|
+
#
|
|
6114
|
+
# @yield [result, err] Result & error if block supplied
|
|
6115
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::ListSacRealmsResponse] parsed result object
|
|
6116
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
6117
|
+
#
|
|
6118
|
+
# @return [Google::Apis::NetworksecurityV1::ListSacRealmsResponse]
|
|
6119
|
+
#
|
|
6120
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
6121
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6122
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6123
|
+
def list_project_location_sac_realms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
6124
|
+
command = make_simple_command(:get, 'v1/{+parent}/sacRealms', options)
|
|
6125
|
+
command.response_representation = Google::Apis::NetworksecurityV1::ListSacRealmsResponse::Representation
|
|
6126
|
+
command.response_class = Google::Apis::NetworksecurityV1::ListSacRealmsResponse
|
|
6127
|
+
command.params['parent'] = parent unless parent.nil?
|
|
6128
|
+
command.query['filter'] = filter unless filter.nil?
|
|
6129
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
6130
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
6131
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
6132
|
+
command.query['fields'] = fields unless fields.nil?
|
|
6133
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
6134
|
+
execute_or_queue_command(command, &block)
|
|
6135
|
+
end
|
|
6136
|
+
|
|
5672
6137
|
# Creates a new SecurityProfileGroup in a given project and location.
|
|
5673
6138
|
# @param [String] parent
|
|
5674
6139
|
# Required. The parent resource of the SecurityProfileGroup. Must be 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.53.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.53.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:
|