From 8a23a34e0ada509d20183e07f17d80da7e76ad18 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 21 Sep 2025 10:25:16 +0000 Subject: [PATCH] feat: Automated regeneration of networkconnectivity v1 client --- api_names_out.yaml | 21 +++ .../CHANGELOG.md | 4 + .../apis/networkconnectivity_v1/classes.rb | 170 ++++++++++++++++-- .../networkconnectivity_v1/gem_version.rb | 4 +- .../networkconnectivity_v1/representations.rb | 20 +++ .../apis/networkconnectivity_v1/service.rb | 24 +-- 6 files changed, 216 insertions(+), 27 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 88c83e32632..8f33e669690 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -297087,9 +297087,18 @@ "/networkconnectivity:v1/RejectSpokeUpdateRequest/spokeUri": spoke_uri "/networkconnectivity:v1/RemoteTransportProfile": remote_transport_profile "/networkconnectivity:v1/RemoteTransportProfile/createTime": create_time +"/networkconnectivity:v1/RemoteTransportProfile/description": description +"/networkconnectivity:v1/RemoteTransportProfile/flow": flow "/networkconnectivity:v1/RemoteTransportProfile/labels": labels "/networkconnectivity:v1/RemoteTransportProfile/labels/label": label "/networkconnectivity:v1/RemoteTransportProfile/name": name +"/networkconnectivity:v1/RemoteTransportProfile/orderState": order_state +"/networkconnectivity:v1/RemoteTransportProfile/provider": provider +"/networkconnectivity:v1/RemoteTransportProfile/providerSite": provider_site +"/networkconnectivity:v1/RemoteTransportProfile/region": region +"/networkconnectivity:v1/RemoteTransportProfile/sla": sla +"/networkconnectivity:v1/RemoteTransportProfile/supportedBandwidths": supported_bandwidths +"/networkconnectivity:v1/RemoteTransportProfile/supportedBandwidths/supported_bandwidth": supported_bandwidth "/networkconnectivity:v1/RemoteTransportProfile/updateTime": update_time "/networkconnectivity:v1/Route": route "/networkconnectivity:v1/Route/createTime": create_time @@ -297241,10 +297250,22 @@ "/networkconnectivity:v1/TestIamPermissionsResponse/permissions": permissions "/networkconnectivity:v1/TestIamPermissionsResponse/permissions/permission": permission "/networkconnectivity:v1/Transport": transport +"/networkconnectivity:v1/Transport/adminEnabled": admin_enabled +"/networkconnectivity:v1/Transport/advertisedRoutes": advertised_routes +"/networkconnectivity:v1/Transport/bandwidth": bandwidth "/networkconnectivity:v1/Transport/createTime": create_time +"/networkconnectivity:v1/Transport/description": description +"/networkconnectivity:v1/Transport/generatedActivationKey": generated_activation_key "/networkconnectivity:v1/Transport/labels": labels "/networkconnectivity:v1/Transport/labels/label": label +"/networkconnectivity:v1/Transport/mtuLimit": mtu_limit "/networkconnectivity:v1/Transport/name": name +"/networkconnectivity:v1/Transport/network": network +"/networkconnectivity:v1/Transport/providedActivationKey": provided_activation_key +"/networkconnectivity:v1/Transport/region": region +"/networkconnectivity:v1/Transport/remoteProfile": remote_profile +"/networkconnectivity:v1/Transport/stackType": stack_type +"/networkconnectivity:v1/Transport/state": state "/networkconnectivity:v1/Transport/updateTime": update_time "/networkconnectivity:v1/VirtualMachine": virtual_machine "/networkconnectivity:v1/VirtualMachine/tags": tags diff --git a/generated/google-apis-networkconnectivity_v1/CHANGELOG.md b/generated/google-apis-networkconnectivity_v1/CHANGELOG.md index b0be2171a57..20aeb62d750 100644 --- a/generated/google-apis-networkconnectivity_v1/CHANGELOG.md +++ b/generated/google-apis-networkconnectivity_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-networkconnectivity_v1 +### v0.65.0 (2025-09-21) + +* Regenerated from discovery document revision 20250910 + ### v0.64.0 (2025-09-07) * Regenerated from discovery document revision 20250829 diff --git a/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/classes.rb b/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/classes.rb index 4eb9aeaadbe..c273795fe67 100644 --- a/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/classes.rb +++ b/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/classes.rb @@ -1998,7 +1998,7 @@ class ListRemoteTransportProfilesResponse # @return [String] attr_accessor :next_page_token - # The list of RemoteTransportProfiles + # The list of RemoteTransportProfiles. # Corresponds to the JSON property `remoteTransportProfiles` # @return [Array] attr_accessor :remote_transport_profiles @@ -2247,7 +2247,7 @@ def update!(**args) end end - # Message for response to listing Transports + # Message for response to listing Transports. class ListTransportsResponse include Google::Apis::Core::Hashable @@ -2256,7 +2256,7 @@ class ListTransportsResponse # @return [String] attr_accessor :next_page_token - # The list of Transport + # The list of Transport. # Corresponds to the JSON property `transports` # @return [Array] attr_accessor :transports @@ -3394,26 +3394,72 @@ def update!(**args) end end - # Message describing RemoteTransportProfile object + # Message describing RemoteTransportProfile object. class RemoteTransportProfile include Google::Apis::Core::Hashable - # Output only. [Output only] Create time stamp + # Output only. [Output only] Create time stamp. # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time - # Optional. Labels as key value pairs + # Output only. Description of the profile. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Output only. [Output only] Type of provisioning flows supported by this + # profile. + # Corresponds to the JSON property `flow` + # @return [String] + attr_accessor :flow + + # Output only. Labels as key value pairs. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels - # Identifier. name of resource + # Identifier. Name of the resource in the format of $provider-$site. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Output only. [Output only] Update time stamp + # Output only. [Output only] Order state for this profile. + # Corresponds to the JSON property `orderState` + # @return [String] + attr_accessor :order_state + + # Output only. Name of the provider on the other end of this profile. E.g. “ + # Amazon Web Services” or “Microsoft Azure”. + # Corresponds to the JSON property `provider` + # @return [String] + attr_accessor :provider + + # Output only. If the profile is a Cloud Service Provider with compute resources, + # this is populated with the region where connectivity is being established. If + # the profile provides facility-level selection, this is an identity of the + # facility any connections on this profile are going through. + # Corresponds to the JSON property `providerSite` + # @return [String] + attr_accessor :provider_site + + # Output only. GCP Region where this profile is available. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # Output only. [Output only] Availability class that will be configured for this + # particular RemoteTransportProfile. + # Corresponds to the JSON property `sla` + # @return [String] + attr_accessor :sla + + # Output only. List of bandwidth enum values that are supported by this profile. + # Corresponds to the JSON property `supportedBandwidths` + # @return [Array] + attr_accessor :supported_bandwidths + + # Output only. [Output only] Update time stamp. # Corresponds to the JSON property `updateTime` # @return [String] attr_accessor :update_time @@ -3425,8 +3471,16 @@ def initialize(**args) # Update properties of this object def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) + @description = args[:description] if args.key?(:description) + @flow = args[:flow] if args.key?(:flow) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) + @order_state = args[:order_state] if args.key?(:order_state) + @provider = args[:provider] if args.key?(:provider) + @provider_site = args[:provider_site] if args.key?(:provider_site) + @region = args[:region] if args.key?(:region) + @sla = args[:sla] if args.key?(:sla) + @supported_bandwidths = args[:supported_bandwidths] if args.key?(:supported_bandwidths) @update_time = args[:update_time] if args.key?(:update_time) end end @@ -4460,26 +4514,104 @@ def update!(**args) end end - # Message describing Transport object + # Message describing Transport object. class Transport include Google::Apis::Core::Hashable - # Output only. [Output only] Create time stamp + # Optional. Administrative state of the underlying connectivity. If set to true ( + # default), connectivity should be available between your environments. If set + # to false, the connectivity over these links is disabled. Disabling your + # Transport does not affect billing, and retains the underlying network + # bandwidth associated with the connectivity. + # Corresponds to the JSON property `adminEnabled` + # @return [Boolean] + attr_accessor :admin_enabled + alias_method :admin_enabled?, :admin_enabled + + # Optional. [Preview only] List of IP Prefixes that will be advertised to the + # remote provider. Both IPv4 and IPv6 addresses are supported. + # Corresponds to the JSON property `advertisedRoutes` + # @return [String] + attr_accessor :advertised_routes + + # Required. Bandwidth of the Transport. This must be one of the supported + # bandwidths for the remote profile. + # Corresponds to the JSON property `bandwidth` + # @return [String] + attr_accessor :bandwidth + + # Output only. [Output only] Create time stamp. # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time - # Optional. Labels as key value pairs + # Optional. Description of the Transport. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Output only. [Output only] Google-generated activation key. This is only + # output if the selected profile supports an OUTPUT key flow. Inputting this to + # the provider is only valid while the resource is in a PENDING_KEY state. Once + # the provider has accepted the key, the resource will move to the CONFIGURING + # state. + # Corresponds to the JSON property `generatedActivationKey` + # @return [String] + attr_accessor :generated_activation_key + + # Optional. Labels as key value pairs. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels - # Identifier. name of resource + # Output only. [Output only] The maximum transmission unit (MTU) of a packet + # that can be sent over this transport. + # Corresponds to the JSON property `mtuLimit` + # @return [Fixnum] + attr_accessor :mtu_limit + + # Identifier. Name of the resource, see google.aip.dev/122 for resource naming. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Output only. [Output only] Update time stamp + # Required. [Preview only] Resource URL of the Network that will be peered with + # this Transport. This field must be provided during resource creation and + # cannot be changed. + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + + # Optional. Key used for establishing a connection with the remote transport. + # This key can only be provided if the profile supports an INPUT key flow and + # the resource is in the PENDING_KEY state. + # Corresponds to the JSON property `providedActivationKey` + # @return [String] + attr_accessor :provided_activation_key + + # Required. GCP Region where this Transport is located. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # Required. Resource URL of the remoteTransportProfile that this Transport is + # connecting to. Format: projects/`project`/locations/`location`/ + # remoteTransportProfiles/`remote_transport_profile` + # Corresponds to the JSON property `remoteProfile` + # @return [String] + attr_accessor :remote_profile + + # Optional. IP version stack for the established connectivity. + # Corresponds to the JSON property `stackType` + # @return [String] + attr_accessor :stack_type + + # Output only. [Output only] State of the underlying connectivity. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output only. [Output only] Update time stamp. # Corresponds to the JSON property `updateTime` # @return [String] attr_accessor :update_time @@ -4490,9 +4622,21 @@ def initialize(**args) # Update properties of this object def update!(**args) + @admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled) + @advertised_routes = args[:advertised_routes] if args.key?(:advertised_routes) + @bandwidth = args[:bandwidth] if args.key?(:bandwidth) @create_time = args[:create_time] if args.key?(:create_time) + @description = args[:description] if args.key?(:description) + @generated_activation_key = args[:generated_activation_key] if args.key?(:generated_activation_key) @labels = args[:labels] if args.key?(:labels) + @mtu_limit = args[:mtu_limit] if args.key?(:mtu_limit) @name = args[:name] if args.key?(:name) + @network = args[:network] if args.key?(:network) + @provided_activation_key = args[:provided_activation_key] if args.key?(:provided_activation_key) + @region = args[:region] if args.key?(:region) + @remote_profile = args[:remote_profile] if args.key?(:remote_profile) + @stack_type = args[:stack_type] if args.key?(:stack_type) + @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end end diff --git a/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/gem_version.rb b/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/gem_version.rb index b7c89da3846..6942659b685 100644 --- a/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/gem_version.rb +++ b/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module NetworkconnectivityV1 # Version of the google-apis-networkconnectivity_v1 gem - GEM_VERSION = "0.64.0" + GEM_VERSION = "0.65.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250829" + REVISION = "20250910" end end end diff --git a/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/representations.rb b/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/representations.rb index 49a8ec03751..99cf8dc6584 100644 --- a/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/representations.rb +++ b/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/representations.rb @@ -1390,8 +1390,16 @@ class RemoteTransportProfile # @private class Representation < Google::Apis::Core::JsonRepresentation property :create_time, as: 'createTime' + property :description, as: 'description' + property :flow, as: 'flow' hash :labels, as: 'labels' property :name, as: 'name' + property :order_state, as: 'orderState' + property :provider, as: 'provider' + property :provider_site, as: 'providerSite' + property :region, as: 'region' + property :sla, as: 'sla' + collection :supported_bandwidths, as: 'supportedBandwidths' property :update_time, as: 'updateTime' end end @@ -1649,9 +1657,21 @@ class Representation < Google::Apis::Core::JsonRepresentation class Transport # @private class Representation < Google::Apis::Core::JsonRepresentation + property :admin_enabled, as: 'adminEnabled' + property :advertised_routes, as: 'advertisedRoutes' + property :bandwidth, as: 'bandwidth' property :create_time, as: 'createTime' + property :description, as: 'description' + property :generated_activation_key, as: 'generatedActivationKey' hash :labels, as: 'labels' + property :mtu_limit, as: 'mtuLimit' property :name, as: 'name' + property :network, as: 'network' + property :provided_activation_key, as: 'providedActivationKey' + property :region, as: 'region' + property :remote_profile, as: 'remoteProfile' + property :stack_type, as: 'stackType' + property :state, as: 'state' property :update_time, as: 'updateTime' end end diff --git a/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/service.rb b/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/service.rb index 0218c8d4c84..c84a82bea16 100644 --- a/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/service.rb +++ b/generated/google-apis-networkconnectivity_v1/lib/google/apis/networkconnectivity_v1/service.rb @@ -85,8 +85,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc # @param [String] name # The resource that owns the locations collection, if applicable. # @param [Array, String] extra_location_types - # Optional. Do not use this field. It is unsupported and is ignored unless - # explicitly documented otherwise. This is primarily for internal usage. + # Optional. Unless explicitly documented otherwise, don't use this unsupported + # field which is primarily intended for internal usage. # @param [String] filter # A filter to narrow down results to a preferred subset. The filtering language # accepts strings like `"displayName=tokyo"`, and is documented in more detail @@ -2570,7 +2570,7 @@ def list_project_location_regional_endpoints(parent, filter: nil, order_by: nil, # Gets details of a single RemoteTransportProfile. # @param [String] name - # Required. Name of the resource + # Required. Name of the resource. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2600,11 +2600,11 @@ def get_project_location_remote_transport_profile(name, fields: nil, quota_user: # Lists RemoteTransportProfiles in a given project and location. # @param [String] parent - # Required. Parent value for ListRemoteTransportProfilesRequest + # Required. Parent value for ListRemoteTransportProfilesRequest. # @param [String] filter - # Optional. Filtering results + # Optional. Filtering results. # @param [String] order_by - # Optional. Hint for how to order the results + # Optional. Hint for how to order the results. # @param [Fixnum] page_size # Optional. Requested page size. Server may return fewer items than requested. # If unspecified, server will pick an appropriate default. @@ -4200,7 +4200,7 @@ def create_project_location_transport(parent, transport_object = nil, request_id # Deletes a single Transport. # @param [String] name - # Required. Name of the resource + # Required. Name of the resource. # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique # request ID so that if you must retry your request, the server will know to @@ -4242,7 +4242,7 @@ def delete_project_location_transport(name, request_id: nil, fields: nil, quota_ # Gets details of a single Transport. # @param [String] name - # Required. Name of the resource + # Required. Name of the resource. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4272,11 +4272,11 @@ def get_project_location_transport(name, fields: nil, quota_user: nil, options: # Lists Transports in a given project and location. # @param [String] parent - # Required. Parent value for ListTransportsRequest + # Required. Parent value for ListTransportsRequest. # @param [String] filter - # Optional. Filtering results + # Optional. Filtering results. # @param [String] order_by - # Optional. Hint for how to order the results + # Optional. Hint for how to order the results. # @param [Fixnum] page_size # Optional. Requested page size. Server may return fewer items than requested. # If unspecified, server will pick an appropriate default. @@ -4315,7 +4315,7 @@ def list_project_location_transports(parent, filter: nil, order_by: nil, page_si # Updates the parameters of a single Transport. # @param [String] name - # Identifier. name of resource + # Identifier. Name of the resource, see google.aip.dev/122 for resource naming. # @param [Google::Apis::NetworkconnectivityV1::Transport] transport_object # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique