Skip to content

Commit acfe080

Browse files
feat: Automated regeneration of networkmanagement v1beta1 client (googleapis#23279)
Auto-created at 2025-06-01 09:43:20 +0000 using the toys pull request generator.
1 parent 2d980af commit acfe080

File tree

6 files changed

+358
-2
lines changed

6 files changed

+358
-2
lines changed

api_names_out.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288265,6 +288265,7 @@
288265288265
"/networkmanagement:v1beta1/FirewallInfo/firewallRuleType": firewall_rule_type
288266288266
"/networkmanagement:v1beta1/FirewallInfo/networkUri": network_uri
288267288267
"/networkmanagement:v1beta1/FirewallInfo/policy": policy
288268+
"/networkmanagement:v1beta1/FirewallInfo/policyPriority": policy_priority
288268288269
"/networkmanagement:v1beta1/FirewallInfo/policyUri": policy_uri
288269288270
"/networkmanagement:v1beta1/FirewallInfo/priority": priority
288270288271
"/networkmanagement:v1beta1/FirewallInfo/targetServiceAccounts": target_service_accounts
@@ -288439,6 +288440,12 @@
288439288440
"/networkmanagement:v1beta1/ProxyConnectionInfo/oldSourcePort": old_source_port
288440288441
"/networkmanagement:v1beta1/ProxyConnectionInfo/protocol": protocol
288441288442
"/networkmanagement:v1beta1/ProxyConnectionInfo/subnetUri": subnet_uri
288443+
"/networkmanagement:v1beta1/QueryOrgVpcFlowLogsConfigsResponse": query_org_vpc_flow_logs_configs_response
288444+
"/networkmanagement:v1beta1/QueryOrgVpcFlowLogsConfigsResponse/nextPageToken": next_page_token
288445+
"/networkmanagement:v1beta1/QueryOrgVpcFlowLogsConfigsResponse/unreachable": unreachable
288446+
"/networkmanagement:v1beta1/QueryOrgVpcFlowLogsConfigsResponse/unreachable/unreachable": unreachable
288447+
"/networkmanagement:v1beta1/QueryOrgVpcFlowLogsConfigsResponse/vpcFlowLogsConfigs": vpc_flow_logs_configs
288448+
"/networkmanagement:v1beta1/QueryOrgVpcFlowLogsConfigsResponse/vpcFlowLogsConfigs/vpc_flow_logs_config": vpc_flow_logs_config
288442288449
"/networkmanagement:v1beta1/ReachabilityDetails": reachability_details
288443288450
"/networkmanagement:v1beta1/ReachabilityDetails/error": error
288444288451
"/networkmanagement:v1beta1/ReachabilityDetails/result": result
@@ -288564,6 +288571,7 @@
288564288571
"/networkmanagement:v1beta1/VpcFlowLogsConfig": vpc_flow_logs_config
288565288572
"/networkmanagement:v1beta1/VpcFlowLogsConfig/aggregationInterval": aggregation_interval
288566288573
"/networkmanagement:v1beta1/VpcFlowLogsConfig/createTime": create_time
288574+
"/networkmanagement:v1beta1/VpcFlowLogsConfig/crossProjectMetadata": cross_project_metadata
288567288575
"/networkmanagement:v1beta1/VpcFlowLogsConfig/description": description
288568288576
"/networkmanagement:v1beta1/VpcFlowLogsConfig/filterExpr": filter_expr
288569288577
"/networkmanagement:v1beta1/VpcFlowLogsConfig/flowSampling": flow_sampling
@@ -288618,6 +288626,22 @@
288618288626
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.list/name": name
288619288627
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.list/pageSize": page_size
288620288628
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.list/pageToken": page_token
288629+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.create": create_organization_location_vpc_flow_logs_config
288630+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.create/parent": parent
288631+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.create/vpcFlowLogsConfigId": vpc_flow_logs_config_id
288632+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.delete": delete_organization_location_vpc_flow_logs_config
288633+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.delete/name": name
288634+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.get": get_organization_location_vpc_flow_logs_config
288635+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.get/name": name
288636+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.list": list_organization_location_vpc_flow_logs_configs
288637+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.list/filter": filter
288638+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.list/orderBy": order_by
288639+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.list/pageSize": page_size
288640+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.list/pageToken": page_token
288641+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.list/parent": parent
288642+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.patch": patch_organization_location_vpc_flow_logs_config
288643+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.patch/name": name
288644+
"/networkmanagement:v1beta1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.patch/updateMask": update_mask
288621288645
"/networkmanagement:v1beta1/networkmanagement.projects.locations.get": get_project_location
288622288646
"/networkmanagement:v1beta1/networkmanagement.projects.locations.get/name": name
288623288647
"/networkmanagement:v1beta1/networkmanagement.projects.locations.global.connectivityTests.create": create_project_location_global_connectivity_test
@@ -288679,6 +288703,11 @@
288679288703
"/networkmanagement:v1beta1/networkmanagement.projects.locations.vpcFlowLogsConfigs.patch": patch_project_location_vpc_flow_logs_config
288680288704
"/networkmanagement:v1beta1/networkmanagement.projects.locations.vpcFlowLogsConfigs.patch/name": name
288681288705
"/networkmanagement:v1beta1/networkmanagement.projects.locations.vpcFlowLogsConfigs.patch/updateMask": update_mask
288706+
"/networkmanagement:v1beta1/networkmanagement.projects.locations.vpcFlowLogsConfigs.queryOrgVpcFlowLogsConfigs": query_project_location_vpc_flow_logs_config_org_vpc_flow_logs_configs
288707+
"/networkmanagement:v1beta1/networkmanagement.projects.locations.vpcFlowLogsConfigs.queryOrgVpcFlowLogsConfigs/filter": filter
288708+
"/networkmanagement:v1beta1/networkmanagement.projects.locations.vpcFlowLogsConfigs.queryOrgVpcFlowLogsConfigs/pageSize": page_size
288709+
"/networkmanagement:v1beta1/networkmanagement.projects.locations.vpcFlowLogsConfigs.queryOrgVpcFlowLogsConfigs/pageToken": page_token
288710+
"/networkmanagement:v1beta1/networkmanagement.projects.locations.vpcFlowLogsConfigs.queryOrgVpcFlowLogsConfigs/parent": parent
288682288711
"/networkmanagement:v1beta1/quotaUser": quota_user
288683288712
"/networksecurity:v1/AddAddressGroupItemsRequest": add_address_group_items_request
288684288713
"/networksecurity:v1/AddAddressGroupItemsRequest/items": items

generated/google-apis-networkmanagement_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-networkmanagement_v1beta1
22

3+
### v0.60.0 (2025-06-01)
4+
5+
* Regenerated from discovery document revision 20250527
6+
37
### v0.59.0 (2025-05-25)
48

59
* Regenerated from discovery document revision 20250521

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

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,6 +1050,12 @@ class FirewallInfo
10501050
# @return [String]
10511051
attr_accessor :policy
10521052

1053+
# The priority of the firewall policy that this rule is associated with. This
1054+
# field is not applicable to VPC firewall rules and implied VPC firewall rules.
1055+
# Corresponds to the JSON property `policyPriority`
1056+
# @return [Fixnum]
1057+
attr_accessor :policy_priority
1058+
10531059
# The URI of the firewall policy that this rule is associated with. This field
10541060
# is not applicable to VPC firewall rules and implied VPC firewall rules.
10551061
# Corresponds to the JSON property `policyUri`
@@ -1090,6 +1096,7 @@ def update!(**args)
10901096
@firewall_rule_type = args[:firewall_rule_type] if args.key?(:firewall_rule_type)
10911097
@network_uri = args[:network_uri] if args.key?(:network_uri)
10921098
@policy = args[:policy] if args.key?(:policy)
1099+
@policy_priority = args[:policy_priority] if args.key?(:policy_priority)
10931100
@policy_uri = args[:policy_uri] if args.key?(:policy_uri)
10941101
@priority = args[:priority] if args.key?(:priority)
10951102
@target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
@@ -2246,6 +2253,37 @@ def update!(**args)
22462253
end
22472254
end
22482255

2256+
# Response for the `QueryVpcFlowLogsConfigs` method.
2257+
class QueryOrgVpcFlowLogsConfigsResponse
2258+
include Google::Apis::Core::Hashable
2259+
2260+
# Page token to fetch the next set of configurations.
2261+
# Corresponds to the JSON property `nextPageToken`
2262+
# @return [String]
2263+
attr_accessor :next_page_token
2264+
2265+
# Locations that could not be reached (when querying all locations with `-`).
2266+
# Corresponds to the JSON property `unreachable`
2267+
# @return [Array<String>]
2268+
attr_accessor :unreachable
2269+
2270+
# List of VPC Flow Log configurations.
2271+
# Corresponds to the JSON property `vpcFlowLogsConfigs`
2272+
# @return [Array<Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig>]
2273+
attr_accessor :vpc_flow_logs_configs
2274+
2275+
def initialize(**args)
2276+
update!(**args)
2277+
end
2278+
2279+
# Update properties of this object
2280+
def update!(**args)
2281+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2282+
@unreachable = args[:unreachable] if args.key?(:unreachable)
2283+
@vpc_flow_logs_configs = args[:vpc_flow_logs_configs] if args.key?(:vpc_flow_logs_configs)
2284+
end
2285+
end
2286+
22492287
# Results of the configuration analysis from the last run of the test.
22502288
class ReachabilityDetails
22512289
include Google::Apis::Core::Hashable
@@ -3130,6 +3168,13 @@ class VpcFlowLogsConfig
31303168
# @return [String]
31313169
attr_accessor :create_time
31323170

3171+
# Optional. Determines whether to include cross project annotations in the logs.
3172+
# This field is available only for organization configurations. If not specified
3173+
# in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.
3174+
# Corresponds to the JSON property `crossProjectMetadata`
3175+
# @return [String]
3176+
attr_accessor :cross_project_metadata
3177+
31333178
# Optional. The user-supplied description of the VPC Flow Logs configuration.
31343179
# Maximum of 512 characters.
31353180
# Corresponds to the JSON property `description`
@@ -3180,13 +3225,25 @@ class VpcFlowLogsConfig
31803225
# @return [String]
31813226
attr_accessor :name
31823227

3228+
# Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments
3229+
# within the network. Format: projects/`project_id`/global/networks/`name`
3230+
# Corresponds to the JSON property `network`
3231+
# @return [String]
3232+
attr_accessor :network
3233+
31833234
# Optional. The state of the VPC Flow Log configuration. Default value is
31843235
# ENABLED. When creating a new configuration, it must be enabled. Setting state=
31853236
# DISABLED will pause the log generation for this config.
31863237
# Corresponds to the JSON property `state`
31873238
# @return [String]
31883239
attr_accessor :state
31893240

3241+
# Traffic will be logged from VMs within the subnetwork. Format: projects/`
3242+
# project_id`/regions/`region`/subnetworks/`name`
3243+
# Corresponds to the JSON property `subnet`
3244+
# @return [String]
3245+
attr_accessor :subnet
3246+
31903247
# Output only. A diagnostic bit - describes the state of the configured target
31913248
# resource for diagnostic purposes.
31923249
# Corresponds to the JSON property `targetResourceState`
@@ -3212,6 +3269,7 @@ def initialize(**args)
32123269
def update!(**args)
32133270
@aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
32143271
@create_time = args[:create_time] if args.key?(:create_time)
3272+
@cross_project_metadata = args[:cross_project_metadata] if args.key?(:cross_project_metadata)
32153273
@description = args[:description] if args.key?(:description)
32163274
@filter_expr = args[:filter_expr] if args.key?(:filter_expr)
32173275
@flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
@@ -3220,7 +3278,9 @@ def update!(**args)
32203278
@metadata = args[:metadata] if args.key?(:metadata)
32213279
@metadata_fields = args[:metadata_fields] if args.key?(:metadata_fields)
32223280
@name = args[:name] if args.key?(:name)
3281+
@network = args[:network] if args.key?(:network)
32233282
@state = args[:state] if args.key?(:state)
3283+
@subnet = args[:subnet] if args.key?(:subnet)
32243284
@target_resource_state = args[:target_resource_state] if args.key?(:target_resource_state)
32253285
@update_time = args[:update_time] if args.key?(:update_time)
32263286
@vpn_tunnel = args[:vpn_tunnel] if args.key?(:vpn_tunnel)

generated/google-apis-networkmanagement_v1beta1/lib/google/apis/networkmanagement_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 NetworkmanagementV1beta1
1818
# Version of the google-apis-networkmanagement_v1beta1 gem
19-
GEM_VERSION = "0.59.0"
19+
GEM_VERSION = "0.60.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 = "20250521"
25+
REVISION = "20250527"
2626
end
2727
end
2828
end

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
286286
include Google::Apis::Core::JsonObjectSupport
287287
end
288288

289+
class QueryOrgVpcFlowLogsConfigsResponse
290+
class Representation < Google::Apis::Core::JsonRepresentation; end
291+
292+
include Google::Apis::Core::JsonObjectSupport
293+
end
294+
289295
class ReachabilityDetails
290296
class Representation < Google::Apis::Core::JsonRepresentation; end
291297

@@ -640,6 +646,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
640646
property :firewall_rule_type, as: 'firewallRuleType'
641647
property :network_uri, as: 'networkUri'
642648
property :policy, as: 'policy'
649+
property :policy_priority, as: 'policyPriority'
643650
property :policy_uri, as: 'policyUri'
644651
property :priority, as: 'priority'
645652
collection :target_service_accounts, as: 'targetServiceAccounts'
@@ -919,6 +926,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
919926
end
920927
end
921928

929+
class QueryOrgVpcFlowLogsConfigsResponse
930+
# @private
931+
class Representation < Google::Apis::Core::JsonRepresentation
932+
property :next_page_token, as: 'nextPageToken'
933+
collection :unreachable, as: 'unreachable'
934+
collection :vpc_flow_logs_configs, as: 'vpcFlowLogsConfigs', class: Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig, decorator: Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
935+
936+
end
937+
end
938+
922939
class ReachabilityDetails
923940
# @private
924941
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1151,6 +1168,7 @@ class VpcFlowLogsConfig
11511168
class Representation < Google::Apis::Core::JsonRepresentation
11521169
property :aggregation_interval, as: 'aggregationInterval'
11531170
property :create_time, as: 'createTime'
1171+
property :cross_project_metadata, as: 'crossProjectMetadata'
11541172
property :description, as: 'description'
11551173
property :filter_expr, as: 'filterExpr'
11561174
property :flow_sampling, as: 'flowSampling'
@@ -1159,7 +1177,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
11591177
property :metadata, as: 'metadata'
11601178
collection :metadata_fields, as: 'metadataFields'
11611179
property :name, as: 'name'
1180+
property :network, as: 'network'
11621181
property :state, as: 'state'
1182+
property :subnet, as: 'subnet'
11631183
property :target_resource_state, as: 'targetResourceState'
11641184
property :update_time, as: 'updateTime'
11651185
property :vpn_tunnel, as: 'vpnTunnel'

0 commit comments

Comments
 (0)