Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of networkconnectivity v1 client #20310

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257612,6 +257612,13 @@
"/networkconnectivity:v1/LinkedInterconnectAttachments/uris": uris
"/networkconnectivity:v1/LinkedInterconnectAttachments/uris/uri": uri
"/networkconnectivity:v1/LinkedInterconnectAttachments/vpcNetwork": vpc_network
"/networkconnectivity:v1/LinkedProducerVpcNetwork": linked_producer_vpc_network
"/networkconnectivity:v1/LinkedProducerVpcNetwork/excludeExportRanges": exclude_export_ranges
"/networkconnectivity:v1/LinkedProducerVpcNetwork/excludeExportRanges/exclude_export_range": exclude_export_range
"/networkconnectivity:v1/LinkedProducerVpcNetwork/network": network
"/networkconnectivity:v1/LinkedProducerVpcNetwork/peering": peering
"/networkconnectivity:v1/LinkedProducerVpcNetwork/producerNetwork": producer_network
"/networkconnectivity:v1/LinkedProducerVpcNetwork/serviceConsumerVpcSpoke": service_consumer_vpc_spoke
"/networkconnectivity:v1/LinkedRouterApplianceInstances": linked_router_appliance_instances
"/networkconnectivity:v1/LinkedRouterApplianceInstances/includeImportRanges": include_import_ranges
"/networkconnectivity:v1/LinkedRouterApplianceInstances/includeImportRanges/include_import_range": include_import_range
Expand Down Expand Up @@ -257922,6 +257929,7 @@
"/networkconnectivity:v1/Spoke/labels": labels
"/networkconnectivity:v1/Spoke/labels/label": label
"/networkconnectivity:v1/Spoke/linkedInterconnectAttachments": linked_interconnect_attachments
"/networkconnectivity:v1/Spoke/linkedProducerVpcNetwork": linked_producer_vpc_network
"/networkconnectivity:v1/Spoke/linkedRouterApplianceInstances": linked_router_appliance_instances
"/networkconnectivity:v1/Spoke/linkedVpcNetwork": linked_vpc_network
"/networkconnectivity:v1/Spoke/linkedVpnTunnels": linked_vpn_tunnels
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-networkconnectivity_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-networkconnectivity_v1

### v0.48.0 (2024-09-29)

* Regenerated from discovery document revision 20240923

### v0.47.0 (2024-09-22)

* Regenerated from discovery document revision 20240911
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1121,8 +1121,8 @@ def update!(**args)
class LinkedInterconnectAttachments
include Google::Apis::Core::Hashable

# Optional. IP ranges allowed to be included during import from hub.(does not
# control transit connectivity) The only allowed value for now is "
# Optional. IP ranges allowed to be included during import from hub (does not
# control transit connectivity). The only allowed value for now is "
# ALL_IPV4_RANGES".
# Corresponds to the JSON property `includeImportRanges`
# @return [Array<String>]
Expand Down Expand Up @@ -1160,15 +1160,61 @@ def update!(**args)
end
end

# Next ID: 7
class LinkedProducerVpcNetwork
include Google::Apis::Core::Hashable

# Optional. IP ranges encompassing the subnets to be excluded from peering.
# Corresponds to the JSON property `excludeExportRanges`
# @return [Array<String>]
attr_accessor :exclude_export_ranges

# Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered
# with.
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network

# Immutable. The name of the VPC peering between the Service Consumer VPC and
# the Producer VPC (defined in the Tenant project) which is added to the NCC hub.
# This peering must be in ACTIVE state.
# Corresponds to the JSON property `peering`
# @return [String]
attr_accessor :peering

# Output only. The URI of the Producer VPC.
# Corresponds to the JSON property `producerNetwork`
# @return [String]
attr_accessor :producer_network

# Output only. The Service Consumer Network spoke.
# Corresponds to the JSON property `serviceConsumerVpcSpoke`
# @return [String]
attr_accessor :service_consumer_vpc_spoke

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@exclude_export_ranges = args[:exclude_export_ranges] if args.key?(:exclude_export_ranges)
@network = args[:network] if args.key?(:network)
@peering = args[:peering] if args.key?(:peering)
@producer_network = args[:producer_network] if args.key?(:producer_network)
@service_consumer_vpc_spoke = args[:service_consumer_vpc_spoke] if args.key?(:service_consumer_vpc_spoke)
end
end

# A collection of router appliance instances. If you configure multiple router
# appliance instances to receive data from the same set of sites outside of
# Google Cloud, we recommend that you associate those instances with the same
# spoke.
class LinkedRouterApplianceInstances
include Google::Apis::Core::Hashable

# Optional. IP ranges allowed to be included during import from hub.(does not
# control transit connectivity) The only allowed value for now is "
# Optional. IP ranges allowed to be included during import from hub (does not
# control transit connectivity). The only allowed value for now is "
# ALL_IPV4_RANGES".
# Corresponds to the JSON property `includeImportRanges`
# @return [Array<String>]
Expand Down Expand Up @@ -1253,8 +1299,8 @@ def update!(**args)
class LinkedVpnTunnels
include Google::Apis::Core::Hashable

# Optional. IP ranges allowed to be included during import from hub.(does not
# control transit connectivity) The only allowed value for now is "
# Optional. IP ranges allowed to be included during import from hub (does not
# control transit connectivity). The only allowed value for now is "
# ALL_IPV4_RANGES".
# Corresponds to the JSON property `includeImportRanges`
# @return [Array<String>]
Expand Down Expand Up @@ -3230,6 +3276,11 @@ class Spoke
# @return [Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments]
attr_accessor :linked_interconnect_attachments

# Next ID: 7
# Corresponds to the JSON property `linkedProducerVpcNetwork`
# @return [Google::Apis::NetworkconnectivityV1::LinkedProducerVpcNetwork]
attr_accessor :linked_producer_vpc_network

# A collection of router appliance instances. If you configure multiple router
# appliance instances to receive data from the same set of sites outside of
# Google Cloud, we recommend that you associate those instances with the same
Expand Down Expand Up @@ -3298,6 +3349,7 @@ def update!(**args)
@hub = args[:hub] if args.key?(:hub)
@labels = args[:labels] if args.key?(:labels)
@linked_interconnect_attachments = args[:linked_interconnect_attachments] if args.key?(:linked_interconnect_attachments)
@linked_producer_vpc_network = args[:linked_producer_vpc_network] if args.key?(:linked_producer_vpc_network)
@linked_router_appliance_instances = args[:linked_router_appliance_instances] if args.key?(:linked_router_appliance_instances)
@linked_vpc_network = args[:linked_vpc_network] if args.key?(:linked_vpc_network)
@linked_vpn_tunnels = args[:linked_vpn_tunnels] if args.key?(:linked_vpn_tunnels)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module NetworkconnectivityV1
# Version of the google-apis-networkconnectivity_v1 gem
GEM_VERSION = "0.47.0"
GEM_VERSION = "0.48.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.15.1"

# Revision of the discovery document this client was generated from
REVISION = "20240911"
REVISION = "20240923"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class LinkedProducerVpcNetwork
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class LinkedRouterApplianceInstances
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -692,6 +698,17 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class LinkedProducerVpcNetwork
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :exclude_export_ranges, as: 'excludeExportRanges'
property :network, as: 'network'
property :peering, as: 'peering'
property :producer_network, as: 'producerNetwork'
property :service_consumer_vpc_spoke, as: 'serviceConsumerVpcSpoke'
end
end

class LinkedRouterApplianceInstances
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -1188,6 +1205,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
hash :labels, as: 'labels'
property :linked_interconnect_attachments, as: 'linkedInterconnectAttachments', class: Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments, decorator: Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments::Representation

property :linked_producer_vpc_network, as: 'linkedProducerVpcNetwork', class: Google::Apis::NetworkconnectivityV1::LinkedProducerVpcNetwork, decorator: Google::Apis::NetworkconnectivityV1::LinkedProducerVpcNetwork::Representation

property :linked_router_appliance_instances, as: 'linkedRouterApplianceInstances', class: Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances, decorator: Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances::Representation

property :linked_vpc_network, as: 'linkedVpcNetwork', class: Google::Apis::NetworkconnectivityV1::LinkedVpcNetwork, decorator: Google::Apis::NetworkconnectivityV1::LinkedVpcNetwork::Representation
Expand Down
Loading