Skip to content

Commit 8a23a34

Browse files
feat: Automated regeneration of networkconnectivity v1 client
1 parent 071ddd9 commit 8a23a34

File tree

6 files changed

+216
-27
lines changed

6 files changed

+216
-27
lines changed

api_names_out.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297087,9 +297087,18 @@
297087297087
"/networkconnectivity:v1/RejectSpokeUpdateRequest/spokeUri": spoke_uri
297088297088
"/networkconnectivity:v1/RemoteTransportProfile": remote_transport_profile
297089297089
"/networkconnectivity:v1/RemoteTransportProfile/createTime": create_time
297090+
"/networkconnectivity:v1/RemoteTransportProfile/description": description
297091+
"/networkconnectivity:v1/RemoteTransportProfile/flow": flow
297090297092
"/networkconnectivity:v1/RemoteTransportProfile/labels": labels
297091297093
"/networkconnectivity:v1/RemoteTransportProfile/labels/label": label
297092297094
"/networkconnectivity:v1/RemoteTransportProfile/name": name
297095+
"/networkconnectivity:v1/RemoteTransportProfile/orderState": order_state
297096+
"/networkconnectivity:v1/RemoteTransportProfile/provider": provider
297097+
"/networkconnectivity:v1/RemoteTransportProfile/providerSite": provider_site
297098+
"/networkconnectivity:v1/RemoteTransportProfile/region": region
297099+
"/networkconnectivity:v1/RemoteTransportProfile/sla": sla
297100+
"/networkconnectivity:v1/RemoteTransportProfile/supportedBandwidths": supported_bandwidths
297101+
"/networkconnectivity:v1/RemoteTransportProfile/supportedBandwidths/supported_bandwidth": supported_bandwidth
297093297102
"/networkconnectivity:v1/RemoteTransportProfile/updateTime": update_time
297094297103
"/networkconnectivity:v1/Route": route
297095297104
"/networkconnectivity:v1/Route/createTime": create_time
@@ -297241,10 +297250,22 @@
297241297250
"/networkconnectivity:v1/TestIamPermissionsResponse/permissions": permissions
297242297251
"/networkconnectivity:v1/TestIamPermissionsResponse/permissions/permission": permission
297243297252
"/networkconnectivity:v1/Transport": transport
297253+
"/networkconnectivity:v1/Transport/adminEnabled": admin_enabled
297254+
"/networkconnectivity:v1/Transport/advertisedRoutes": advertised_routes
297255+
"/networkconnectivity:v1/Transport/bandwidth": bandwidth
297244297256
"/networkconnectivity:v1/Transport/createTime": create_time
297257+
"/networkconnectivity:v1/Transport/description": description
297258+
"/networkconnectivity:v1/Transport/generatedActivationKey": generated_activation_key
297245297259
"/networkconnectivity:v1/Transport/labels": labels
297246297260
"/networkconnectivity:v1/Transport/labels/label": label
297261+
"/networkconnectivity:v1/Transport/mtuLimit": mtu_limit
297247297262
"/networkconnectivity:v1/Transport/name": name
297263+
"/networkconnectivity:v1/Transport/network": network
297264+
"/networkconnectivity:v1/Transport/providedActivationKey": provided_activation_key
297265+
"/networkconnectivity:v1/Transport/region": region
297266+
"/networkconnectivity:v1/Transport/remoteProfile": remote_profile
297267+
"/networkconnectivity:v1/Transport/stackType": stack_type
297268+
"/networkconnectivity:v1/Transport/state": state
297248297269
"/networkconnectivity:v1/Transport/updateTime": update_time
297249297270
"/networkconnectivity:v1/VirtualMachine": virtual_machine
297250297271
"/networkconnectivity:v1/VirtualMachine/tags": tags

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

3+
### v0.65.0 (2025-09-21)
4+
5+
* Regenerated from discovery document revision 20250910
6+
37
### v0.64.0 (2025-09-07)
48

59
* Regenerated from discovery document revision 20250829

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

Lines changed: 157 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ class ListRemoteTransportProfilesResponse
19981998
# @return [String]
19991999
attr_accessor :next_page_token
20002000

2001-
# The list of RemoteTransportProfiles
2001+
# The list of RemoteTransportProfiles.
20022002
# Corresponds to the JSON property `remoteTransportProfiles`
20032003
# @return [Array<Google::Apis::NetworkconnectivityV1::RemoteTransportProfile>]
20042004
attr_accessor :remote_transport_profiles
@@ -2247,7 +2247,7 @@ def update!(**args)
22472247
end
22482248
end
22492249

2250-
# Message for response to listing Transports
2250+
# Message for response to listing Transports.
22512251
class ListTransportsResponse
22522252
include Google::Apis::Core::Hashable
22532253

@@ -2256,7 +2256,7 @@ class ListTransportsResponse
22562256
# @return [String]
22572257
attr_accessor :next_page_token
22582258

2259-
# The list of Transport
2259+
# The list of Transport.
22602260
# Corresponds to the JSON property `transports`
22612261
# @return [Array<Google::Apis::NetworkconnectivityV1::Transport>]
22622262
attr_accessor :transports
@@ -3394,26 +3394,72 @@ def update!(**args)
33943394
end
33953395
end
33963396

3397-
# Message describing RemoteTransportProfile object
3397+
# Message describing RemoteTransportProfile object.
33983398
class RemoteTransportProfile
33993399
include Google::Apis::Core::Hashable
34003400

3401-
# Output only. [Output only] Create time stamp
3401+
# Output only. [Output only] Create time stamp.
34023402
# Corresponds to the JSON property `createTime`
34033403
# @return [String]
34043404
attr_accessor :create_time
34053405

3406-
# Optional. Labels as key value pairs
3406+
# Output only. Description of the profile.
3407+
# Corresponds to the JSON property `description`
3408+
# @return [String]
3409+
attr_accessor :description
3410+
3411+
# Output only. [Output only] Type of provisioning flows supported by this
3412+
# profile.
3413+
# Corresponds to the JSON property `flow`
3414+
# @return [String]
3415+
attr_accessor :flow
3416+
3417+
# Output only. Labels as key value pairs.
34073418
# Corresponds to the JSON property `labels`
34083419
# @return [Hash<String,String>]
34093420
attr_accessor :labels
34103421

3411-
# Identifier. name of resource
3422+
# Identifier. Name of the resource in the format of $provider-$site.
34123423
# Corresponds to the JSON property `name`
34133424
# @return [String]
34143425
attr_accessor :name
34153426

3416-
# Output only. [Output only] Update time stamp
3427+
# Output only. [Output only] Order state for this profile.
3428+
# Corresponds to the JSON property `orderState`
3429+
# @return [String]
3430+
attr_accessor :order_state
3431+
3432+
# Output only. Name of the provider on the other end of this profile. E.g. “
3433+
# Amazon Web Services” or “Microsoft Azure”.
3434+
# Corresponds to the JSON property `provider`
3435+
# @return [String]
3436+
attr_accessor :provider
3437+
3438+
# Output only. If the profile is a Cloud Service Provider with compute resources,
3439+
# this is populated with the region where connectivity is being established. If
3440+
# the profile provides facility-level selection, this is an identity of the
3441+
# facility any connections on this profile are going through.
3442+
# Corresponds to the JSON property `providerSite`
3443+
# @return [String]
3444+
attr_accessor :provider_site
3445+
3446+
# Output only. GCP Region where this profile is available.
3447+
# Corresponds to the JSON property `region`
3448+
# @return [String]
3449+
attr_accessor :region
3450+
3451+
# Output only. [Output only] Availability class that will be configured for this
3452+
# particular RemoteTransportProfile.
3453+
# Corresponds to the JSON property `sla`
3454+
# @return [String]
3455+
attr_accessor :sla
3456+
3457+
# Output only. List of bandwidth enum values that are supported by this profile.
3458+
# Corresponds to the JSON property `supportedBandwidths`
3459+
# @return [Array<String>]
3460+
attr_accessor :supported_bandwidths
3461+
3462+
# Output only. [Output only] Update time stamp.
34173463
# Corresponds to the JSON property `updateTime`
34183464
# @return [String]
34193465
attr_accessor :update_time
@@ -3425,8 +3471,16 @@ def initialize(**args)
34253471
# Update properties of this object
34263472
def update!(**args)
34273473
@create_time = args[:create_time] if args.key?(:create_time)
3474+
@description = args[:description] if args.key?(:description)
3475+
@flow = args[:flow] if args.key?(:flow)
34283476
@labels = args[:labels] if args.key?(:labels)
34293477
@name = args[:name] if args.key?(:name)
3478+
@order_state = args[:order_state] if args.key?(:order_state)
3479+
@provider = args[:provider] if args.key?(:provider)
3480+
@provider_site = args[:provider_site] if args.key?(:provider_site)
3481+
@region = args[:region] if args.key?(:region)
3482+
@sla = args[:sla] if args.key?(:sla)
3483+
@supported_bandwidths = args[:supported_bandwidths] if args.key?(:supported_bandwidths)
34303484
@update_time = args[:update_time] if args.key?(:update_time)
34313485
end
34323486
end
@@ -4460,26 +4514,104 @@ def update!(**args)
44604514
end
44614515
end
44624516

4463-
# Message describing Transport object
4517+
# Message describing Transport object.
44644518
class Transport
44654519
include Google::Apis::Core::Hashable
44664520

4467-
# Output only. [Output only] Create time stamp
4521+
# Optional. Administrative state of the underlying connectivity. If set to true (
4522+
# default), connectivity should be available between your environments. If set
4523+
# to false, the connectivity over these links is disabled. Disabling your
4524+
# Transport does not affect billing, and retains the underlying network
4525+
# bandwidth associated with the connectivity.
4526+
# Corresponds to the JSON property `adminEnabled`
4527+
# @return [Boolean]
4528+
attr_accessor :admin_enabled
4529+
alias_method :admin_enabled?, :admin_enabled
4530+
4531+
# Optional. [Preview only] List of IP Prefixes that will be advertised to the
4532+
# remote provider. Both IPv4 and IPv6 addresses are supported.
4533+
# Corresponds to the JSON property `advertisedRoutes`
4534+
# @return [String]
4535+
attr_accessor :advertised_routes
4536+
4537+
# Required. Bandwidth of the Transport. This must be one of the supported
4538+
# bandwidths for the remote profile.
4539+
# Corresponds to the JSON property `bandwidth`
4540+
# @return [String]
4541+
attr_accessor :bandwidth
4542+
4543+
# Output only. [Output only] Create time stamp.
44684544
# Corresponds to the JSON property `createTime`
44694545
# @return [String]
44704546
attr_accessor :create_time
44714547

4472-
# Optional. Labels as key value pairs
4548+
# Optional. Description of the Transport.
4549+
# Corresponds to the JSON property `description`
4550+
# @return [String]
4551+
attr_accessor :description
4552+
4553+
# Output only. [Output only] Google-generated activation key. This is only
4554+
# output if the selected profile supports an OUTPUT key flow. Inputting this to
4555+
# the provider is only valid while the resource is in a PENDING_KEY state. Once
4556+
# the provider has accepted the key, the resource will move to the CONFIGURING
4557+
# state.
4558+
# Corresponds to the JSON property `generatedActivationKey`
4559+
# @return [String]
4560+
attr_accessor :generated_activation_key
4561+
4562+
# Optional. Labels as key value pairs.
44734563
# Corresponds to the JSON property `labels`
44744564
# @return [Hash<String,String>]
44754565
attr_accessor :labels
44764566

4477-
# Identifier. name of resource
4567+
# Output only. [Output only] The maximum transmission unit (MTU) of a packet
4568+
# that can be sent over this transport.
4569+
# Corresponds to the JSON property `mtuLimit`
4570+
# @return [Fixnum]
4571+
attr_accessor :mtu_limit
4572+
4573+
# Identifier. Name of the resource, see google.aip.dev/122 for resource naming.
44784574
# Corresponds to the JSON property `name`
44794575
# @return [String]
44804576
attr_accessor :name
44814577

4482-
# Output only. [Output only] Update time stamp
4578+
# Required. [Preview only] Resource URL of the Network that will be peered with
4579+
# this Transport. This field must be provided during resource creation and
4580+
# cannot be changed.
4581+
# Corresponds to the JSON property `network`
4582+
# @return [String]
4583+
attr_accessor :network
4584+
4585+
# Optional. Key used for establishing a connection with the remote transport.
4586+
# This key can only be provided if the profile supports an INPUT key flow and
4587+
# the resource is in the PENDING_KEY state.
4588+
# Corresponds to the JSON property `providedActivationKey`
4589+
# @return [String]
4590+
attr_accessor :provided_activation_key
4591+
4592+
# Required. GCP Region where this Transport is located.
4593+
# Corresponds to the JSON property `region`
4594+
# @return [String]
4595+
attr_accessor :region
4596+
4597+
# Required. Resource URL of the remoteTransportProfile that this Transport is
4598+
# connecting to. Format: projects/`project`/locations/`location`/
4599+
# remoteTransportProfiles/`remote_transport_profile`
4600+
# Corresponds to the JSON property `remoteProfile`
4601+
# @return [String]
4602+
attr_accessor :remote_profile
4603+
4604+
# Optional. IP version stack for the established connectivity.
4605+
# Corresponds to the JSON property `stackType`
4606+
# @return [String]
4607+
attr_accessor :stack_type
4608+
4609+
# Output only. [Output only] State of the underlying connectivity.
4610+
# Corresponds to the JSON property `state`
4611+
# @return [String]
4612+
attr_accessor :state
4613+
4614+
# Output only. [Output only] Update time stamp.
44834615
# Corresponds to the JSON property `updateTime`
44844616
# @return [String]
44854617
attr_accessor :update_time
@@ -4490,9 +4622,21 @@ def initialize(**args)
44904622

44914623
# Update properties of this object
44924624
def update!(**args)
4625+
@admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
4626+
@advertised_routes = args[:advertised_routes] if args.key?(:advertised_routes)
4627+
@bandwidth = args[:bandwidth] if args.key?(:bandwidth)
44934628
@create_time = args[:create_time] if args.key?(:create_time)
4629+
@description = args[:description] if args.key?(:description)
4630+
@generated_activation_key = args[:generated_activation_key] if args.key?(:generated_activation_key)
44944631
@labels = args[:labels] if args.key?(:labels)
4632+
@mtu_limit = args[:mtu_limit] if args.key?(:mtu_limit)
44954633
@name = args[:name] if args.key?(:name)
4634+
@network = args[:network] if args.key?(:network)
4635+
@provided_activation_key = args[:provided_activation_key] if args.key?(:provided_activation_key)
4636+
@region = args[:region] if args.key?(:region)
4637+
@remote_profile = args[:remote_profile] if args.key?(:remote_profile)
4638+
@stack_type = args[:stack_type] if args.key?(:stack_type)
4639+
@state = args[:state] if args.key?(:state)
44964640
@update_time = args[:update_time] if args.key?(:update_time)
44974641
end
44984642
end

generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/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 NetworkconnectivityV1
1818
# Version of the google-apis-networkconnectivity_v1 gem
19-
GEM_VERSION = "0.64.0"
19+
GEM_VERSION = "0.65.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 = "20250829"
25+
REVISION = "20250910"
2626
end
2727
end
2828
end

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1390,8 +1390,16 @@ class RemoteTransportProfile
13901390
# @private
13911391
class Representation < Google::Apis::Core::JsonRepresentation
13921392
property :create_time, as: 'createTime'
1393+
property :description, as: 'description'
1394+
property :flow, as: 'flow'
13931395
hash :labels, as: 'labels'
13941396
property :name, as: 'name'
1397+
property :order_state, as: 'orderState'
1398+
property :provider, as: 'provider'
1399+
property :provider_site, as: 'providerSite'
1400+
property :region, as: 'region'
1401+
property :sla, as: 'sla'
1402+
collection :supported_bandwidths, as: 'supportedBandwidths'
13951403
property :update_time, as: 'updateTime'
13961404
end
13971405
end
@@ -1649,9 +1657,21 @@ class Representation < Google::Apis::Core::JsonRepresentation
16491657
class Transport
16501658
# @private
16511659
class Representation < Google::Apis::Core::JsonRepresentation
1660+
property :admin_enabled, as: 'adminEnabled'
1661+
property :advertised_routes, as: 'advertisedRoutes'
1662+
property :bandwidth, as: 'bandwidth'
16521663
property :create_time, as: 'createTime'
1664+
property :description, as: 'description'
1665+
property :generated_activation_key, as: 'generatedActivationKey'
16531666
hash :labels, as: 'labels'
1667+
property :mtu_limit, as: 'mtuLimit'
16541668
property :name, as: 'name'
1669+
property :network, as: 'network'
1670+
property :provided_activation_key, as: 'providedActivationKey'
1671+
property :region, as: 'region'
1672+
property :remote_profile, as: 'remoteProfile'
1673+
property :stack_type, as: 'stackType'
1674+
property :state, as: 'state'
16551675
property :update_time, as: 'updateTime'
16561676
end
16571677
end

0 commit comments

Comments
 (0)