google-apis-networksecurity_v1 0.38.0 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6c2f3de6e89122da287f60170269ebc20884cdaeada35fd604b2e924fa5a4e0
|
4
|
+
data.tar.gz: cfd070b9d1459f6ec63d27bf3cfa215610dc67d3e9d160d85a334c4e8eaff897
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 959d1cc9b12a202bf26ec2c993342434fc13cd6ce0cac83dcd4b3e755ff8c7465773e54f8714723c9b4cca3fdf3c6e37a5eefbaeda4f387e0258765764770554
|
7
|
+
data.tar.gz: d13e276149db1f03fe04ccf04272642c8233bfd168638017a56a41bd3635405e33725a23dfec56cea48d17f522c5904db157f7d5f65b7275713dc3a76a131484
|
data/CHANGELOG.md
CHANGED
@@ -375,6 +375,12 @@ module Google
|
|
375
375
|
class AuthzPolicyAuthzRuleFromRequestSource
|
376
376
|
include Google::Apis::Core::Hashable
|
377
377
|
|
378
|
+
# Optional. A list of IPs or CIDRs to match against the source IP of a request.
|
379
|
+
# Limited to 5 ip_blocks.
|
380
|
+
# Corresponds to the JSON property `ipBlocks`
|
381
|
+
# @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleIpBlock>]
|
382
|
+
attr_accessor :ip_blocks
|
383
|
+
|
378
384
|
# Optional. A list of resources to match against the resource of the source VM
|
379
385
|
# of a request. Limited to 5 resources.
|
380
386
|
# Corresponds to the JSON property `resources`
|
@@ -387,6 +393,7 @@ module Google
|
|
387
393
|
|
388
394
|
# Update properties of this object
|
389
395
|
def update!(**args)
|
396
|
+
@ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
|
390
397
|
@resources = args[:resources] if args.key?(:resources)
|
391
398
|
end
|
392
399
|
end
|
@@ -416,6 +423,31 @@ module Google
|
|
416
423
|
end
|
417
424
|
end
|
418
425
|
|
426
|
+
# Represents a range of IP Addresses.
|
427
|
+
class AuthzPolicyAuthzRuleIpBlock
|
428
|
+
include Google::Apis::Core::Hashable
|
429
|
+
|
430
|
+
# Required. The length of the address range.
|
431
|
+
# Corresponds to the JSON property `length`
|
432
|
+
# @return [Fixnum]
|
433
|
+
attr_accessor :length
|
434
|
+
|
435
|
+
# Required. The address prefix.
|
436
|
+
# Corresponds to the JSON property `prefix`
|
437
|
+
# @return [String]
|
438
|
+
attr_accessor :prefix
|
439
|
+
|
440
|
+
def initialize(**args)
|
441
|
+
update!(**args)
|
442
|
+
end
|
443
|
+
|
444
|
+
# Update properties of this object
|
445
|
+
def update!(**args)
|
446
|
+
@length = args[:length] if args.key?(:length)
|
447
|
+
@prefix = args[:prefix] if args.key?(:prefix)
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
419
451
|
# Describes the properties of a client VM resource accessing the internal
|
420
452
|
# application load balancers.
|
421
453
|
class AuthzPolicyAuthzRuleRequestResource
|
@@ -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.39.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 = "20250527"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class AuthzPolicyAuthzRuleIpBlock
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
79
85
|
class AuthzPolicyAuthzRuleRequestResource
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
87
|
|
@@ -740,6 +746,8 @@ module Google
|
|
740
746
|
class AuthzPolicyAuthzRuleFromRequestSource
|
741
747
|
# @private
|
742
748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
749
|
+
collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleIpBlock, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleIpBlock::Representation
|
750
|
+
|
743
751
|
collection :resources, as: 'resources', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleRequestResource, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleRequestResource::Representation
|
744
752
|
|
745
753
|
end
|
@@ -754,6 +762,14 @@ module Google
|
|
754
762
|
end
|
755
763
|
end
|
756
764
|
|
765
|
+
class AuthzPolicyAuthzRuleIpBlock
|
766
|
+
# @private
|
767
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
768
|
+
property :length, as: 'length'
|
769
|
+
property :prefix, as: 'prefix'
|
770
|
+
end
|
771
|
+
end
|
772
|
+
|
757
773
|
class AuthzPolicyAuthzRuleRequestResource
|
758
774
|
# @private
|
759
775
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.39.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.39.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:
|