Skip to content

Commit 1761ad9

Browse files
feat: Automated regeneration of networksecurity v1beta1 client (googleapis#23338)
Auto-created at 2025-06-08 09:43:48 +0000 using the toys pull request generator.
1 parent 70f8328 commit 1761ad9

File tree

5 files changed

+64
-5
lines changed

5 files changed

+64
-5
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290194,13 +290194,18 @@
290194290194
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleFrom/sources": sources
290195290195
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleFrom/sources/source": source
290196290196
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleFromRequestSource": authz_policy_authz_rule_from_request_source
290197+
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleFromRequestSource/ipBlocks": ip_blocks
290198+
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleFromRequestSource/ipBlocks/ip_block": ip_block
290197290199
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleFromRequestSource/principals": principals
290198290200
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleFromRequestSource/principals/principal": principal
290199290201
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleFromRequestSource/resources": resources
290200290202
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleFromRequestSource/resources/resource": resource
290201290203
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleHeaderMatch": authz_policy_authz_rule_header_match
290202290204
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleHeaderMatch/name": name
290203290205
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleHeaderMatch/value": value
290206+
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleIpBlock": authz_policy_authz_rule_ip_block
290207+
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleIpBlock/length": length
290208+
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleIpBlock/prefix": prefix
290204290209
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleRequestResource": authz_policy_authz_rule_request_resource
290205290210
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleRequestResource/iamServiceAccount": iam_service_account
290206290211
"/networksecurity:v1beta1/AuthzPolicyAuthzRuleRequestResource/tagValueIdSet": tag_value_id_set

generated/google-apis-networksecurity_v1beta1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-networksecurity_v1beta1
22

3+
### v0.48.0 (2025-06-08)
4+
5+
* Regenerated from discovery document revision 20250527
6+
37
### v0.47.0 (2025-06-01)
48

59
* Regenerated from discovery document revision 20250514

generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/classes.rb

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,12 @@ def update!(**args)
375375
class AuthzPolicyAuthzRuleFromRequestSource
376376
include Google::Apis::Core::Hashable
377377

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::NetworksecurityV1beta1::AuthzPolicyAuthzRuleIpBlock>]
382+
attr_accessor :ip_blocks
383+
378384
# Optional. A list of resources to match against the resource of the source VM
379385
# of a request. Limited to 5 resources.
380386
# Corresponds to the JSON property `resources`
@@ -387,6 +393,7 @@ def initialize(**args)
387393

388394
# Update properties of this object
389395
def update!(**args)
396+
@ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
390397
@resources = args[:resources] if args.key?(:resources)
391398
end
392399
end
@@ -416,6 +423,31 @@ def update!(**args)
416423
end
417424
end
418425

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+
419451
# Describes the properties of a client VM resource accessing the internal
420452
# application load balancers.
421453
class AuthzPolicyAuthzRuleRequestResource
@@ -4224,9 +4256,11 @@ class SacRealmSacRealmSymantecOptions
42244256
# @return [Array<String>]
42254257
attr_accessor :available_symantec_sites
42264258

4227-
# Optional. A secret ID or secret name can be specified, but it will be parsed
4228-
# and stored as secret URI in the format of "projects/`PROJECT_NUMBER`/secrets/
4229-
# my-secret".
4259+
# Optional. API Key used to call Symantec APIs on the user's behalf. Required if
4260+
# using SYMANTEC_CLOUD_SWG. P4SA account needs permissions granted to read this
4261+
# secret. A secret ID, secret name, or secret URI can be specified, but it will
4262+
# be parsed and stored as secret URI in the format of "projects/`PROJECT_NUMBER`/
4263+
# secrets/my-secret".
42304264
# Corresponds to the JSON property `secretPath`
42314265
# @return [String]
42324266
attr_accessor :secret_path

generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module NetworksecurityV1beta1
1818
# Version of the google-apis-networksecurity_v1beta1 gem
19-
GEM_VERSION = "0.47.0"
19+
GEM_VERSION = "0.48.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250514"
25+
REVISION = "20250527"
2626
end
2727
end
2828
end

generated/google-apis-networksecurity_v1beta1/lib/google/apis/networksecurity_v1beta1/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
7676
include Google::Apis::Core::JsonObjectSupport
7777
end
7878

79+
class AuthzPolicyAuthzRuleIpBlock
80+
class Representation < Google::Apis::Core::JsonRepresentation; end
81+
82+
include Google::Apis::Core::JsonObjectSupport
83+
end
84+
7985
class AuthzPolicyAuthzRuleRequestResource
8086
class Representation < Google::Apis::Core::JsonRepresentation; end
8187

@@ -794,6 +800,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
794800
class AuthzPolicyAuthzRuleFromRequestSource
795801
# @private
796802
class Representation < Google::Apis::Core::JsonRepresentation
803+
collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleIpBlock, decorator: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleIpBlock::Representation
804+
797805
collection :resources, as: 'resources', class: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleRequestResource, decorator: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleRequestResource::Representation
798806

799807
end
@@ -808,6 +816,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
808816
end
809817
end
810818

819+
class AuthzPolicyAuthzRuleIpBlock
820+
# @private
821+
class Representation < Google::Apis::Core::JsonRepresentation
822+
property :length, as: 'length'
823+
property :prefix, as: 'prefix'
824+
end
825+
end
826+
811827
class AuthzPolicyAuthzRuleRequestResource
812828
# @private
813829
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)