Skip to content

Commit afd261d

Browse files
feat: Automated regeneration of networksecurity v1beta1 client (googleapis#21456)
Auto-created at 2025-01-26 09:33:46 +0000 using the toys pull request generator.
1 parent 33e0d3f commit afd261d

File tree

5 files changed

+71
-2
lines changed

5 files changed

+71
-2
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274892,6 +274892,8 @@
274892274892
"/networksecurity:v1beta1/MirroringDeploymentGroupConnectedEndpointGroup": mirroring_deployment_group_connected_endpoint_group
274893274893
"/networksecurity:v1beta1/MirroringDeploymentGroupConnectedEndpointGroup/name": name
274894274894
"/networksecurity:v1beta1/MirroringEndpointGroup": mirroring_endpoint_group
274895+
"/networksecurity:v1beta1/MirroringEndpointGroup/associations": associations
274896+
"/networksecurity:v1beta1/MirroringEndpointGroup/associations/association": association
274895274897
"/networksecurity:v1beta1/MirroringEndpointGroup/createTime": create_time
274896274898
"/networksecurity:v1beta1/MirroringEndpointGroup/labels": labels
274897274899
"/networksecurity:v1beta1/MirroringEndpointGroup/labels/label": label
@@ -274912,6 +274914,10 @@
274912274914
"/networksecurity:v1beta1/MirroringEndpointGroupAssociation/reconciling": reconciling
274913274915
"/networksecurity:v1beta1/MirroringEndpointGroupAssociation/state": state
274914274916
"/networksecurity:v1beta1/MirroringEndpointGroupAssociation/updateTime": update_time
274917+
"/networksecurity:v1beta1/MirroringEndpointGroupAssociationDetails": mirroring_endpoint_group_association_details
274918+
"/networksecurity:v1beta1/MirroringEndpointGroupAssociationDetails/name": name
274919+
"/networksecurity:v1beta1/MirroringEndpointGroupAssociationDetails/network": network
274920+
"/networksecurity:v1beta1/MirroringEndpointGroupAssociationDetails/state": state
274915274921
"/networksecurity:v1beta1/MirroringEndpointGroupAssociationLocationDetails": mirroring_endpoint_group_association_location_details
274916274922
"/networksecurity:v1beta1/MirroringEndpointGroupAssociationLocationDetails/location": location
274917274923
"/networksecurity:v1beta1/MirroringEndpointGroupAssociationLocationDetails/state": state

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.42.0 (2025-01-26)
4+
5+
* Regenerated from discovery document revision 20250118
6+
37
### v0.41.0 (2025-01-12)
48

59
* Regenerated from discovery document revision 20250101

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3067,6 +3067,12 @@ def update!(**args)
30673067
class MirroringEndpointGroup
30683068
include Google::Apis::Core::Hashable
30693069

3070+
# Output only. List of Mirroring Endpoint Group Associations that are associated
3071+
# to this endpoint group.
3072+
# Corresponds to the JSON property `associations`
3073+
# @return [Array<Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociationDetails>]
3074+
attr_accessor :associations
3075+
30703076
# Output only. [Output only] Create time stamp
30713077
# Corresponds to the JSON property `createTime`
30723078
# @return [String]
@@ -3112,6 +3118,7 @@ def initialize(**args)
31123118

31133119
# Update properties of this object
31143120
def update!(**args)
3121+
@associations = args[:associations] if args.key?(:associations)
31153122
@create_time = args[:create_time] if args.key?(:create_time)
31163123
@labels = args[:labels] if args.key?(:labels)
31173124
@mirroring_deployment_group = args[:mirroring_deployment_group] if args.key?(:mirroring_deployment_group)
@@ -3194,6 +3201,41 @@ def update!(**args)
31943201
end
31953202
end
31963203

3204+
# This is a subset of the MirroringEndpointGroupAssociation message, containing
3205+
# fields to be used by the consumer.
3206+
class MirroringEndpointGroupAssociationDetails
3207+
include Google::Apis::Core::Hashable
3208+
3209+
# Output only. The resource name of the MirroringEndpointGroupAssociation.
3210+
# Format: projects/`project`/locations/`location`/
3211+
# mirroringEndpointGroupAssociations/`mirroringEndpointGroupAssociation`
3212+
# Corresponds to the JSON property `name`
3213+
# @return [String]
3214+
attr_accessor :name
3215+
3216+
# Output only. The VPC network associated. Format: projects/`project`/global/
3217+
# networks/`name`.
3218+
# Corresponds to the JSON property `network`
3219+
# @return [String]
3220+
attr_accessor :network
3221+
3222+
# Output only. Current state of the association.
3223+
# Corresponds to the JSON property `state`
3224+
# @return [String]
3225+
attr_accessor :state
3226+
3227+
def initialize(**args)
3228+
update!(**args)
3229+
end
3230+
3231+
# Update properties of this object
3232+
def update!(**args)
3233+
@name = args[:name] if args.key?(:name)
3234+
@network = args[:network] if args.key?(:network)
3235+
@state = args[:state] if args.key?(:state)
3236+
end
3237+
end
3238+
31973239
# Details about the association status in a specific cloud location.
31983240
class MirroringEndpointGroupAssociationLocationDetails
31993241
include Google::Apis::Core::Hashable

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.41.0"
19+
GEM_VERSION = "0.42.0"
2020

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

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

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
508508
include Google::Apis::Core::JsonObjectSupport
509509
end
510510

511+
class MirroringEndpointGroupAssociationDetails
512+
class Representation < Google::Apis::Core::JsonRepresentation; end
513+
514+
include Google::Apis::Core::JsonObjectSupport
515+
end
516+
511517
class MirroringEndpointGroupAssociationLocationDetails
512518
class Representation < Google::Apis::Core::JsonRepresentation; end
513519

@@ -1404,6 +1410,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
14041410
class MirroringEndpointGroup
14051411
# @private
14061412
class Representation < Google::Apis::Core::JsonRepresentation
1413+
collection :associations, as: 'associations', class: Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociationDetails, decorator: Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociationDetails::Representation
1414+
14071415
property :create_time, as: 'createTime'
14081416
hash :labels, as: 'labels'
14091417
property :mirroring_deployment_group, as: 'mirroringDeploymentGroup'
@@ -1430,6 +1438,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
14301438
end
14311439
end
14321440

1441+
class MirroringEndpointGroupAssociationDetails
1442+
# @private
1443+
class Representation < Google::Apis::Core::JsonRepresentation
1444+
property :name, as: 'name'
1445+
property :network, as: 'network'
1446+
property :state, as: 'state'
1447+
end
1448+
end
1449+
14331450
class MirroringEndpointGroupAssociationLocationDetails
14341451
# @private
14351452
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)