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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of servicenetworking v1 client #1627

Merged
merged 1 commit into from Dec 3, 2020
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions api_names_out.yaml
Expand Up @@ -138084,6 +138084,8 @@
"/servicenetworking:v1/AddSubnetworkRequest/privateIpv6GoogleAccess": private_ipv6_google_access
"/servicenetworking:v1/AddSubnetworkRequest/region": region
"/servicenetworking:v1/AddSubnetworkRequest/requestedAddress": requested_address
"/servicenetworking:v1/AddSubnetworkRequest/requestedRanges": requested_ranges
"/servicenetworking:v1/AddSubnetworkRequest/requestedRanges/requested_range": requested_range
"/servicenetworking:v1/AddSubnetworkRequest/secondaryIpRangeSpecs": secondary_ip_range_specs
"/servicenetworking:v1/AddSubnetworkRequest/secondaryIpRangeSpecs/secondary_ip_range_spec": secondary_ip_range_spec
"/servicenetworking:v1/AddSubnetworkRequest/subnetwork": subnetwork
Expand Down Expand Up @@ -138416,6 +138418,8 @@
"/servicenetworking:v1/Range/network": network
"/servicenetworking:v1/RangeReservation": range_reservation
"/servicenetworking:v1/RangeReservation/ipPrefixLength": ip_prefix_length
"/servicenetworking:v1/RangeReservation/requestedRanges": requested_ranges
"/servicenetworking:v1/RangeReservation/requestedRanges/requested_range": requested_range
"/servicenetworking:v1/RangeReservation/secondaryRangeIpPrefixLengths": secondary_range_ip_prefix_lengths
"/servicenetworking:v1/RangeReservation/secondaryRangeIpPrefixLengths/secondary_range_ip_prefix_length": secondary_range_ip_prefix_length
"/servicenetworking:v1/RemoveDnsRecordSetMetadata": remove_dns_record_set_metadata
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/servicenetworking_v1.rb
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1
VERSION = 'V1'
REVISION = '20201117'
REVISION = '20201201'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
20 changes: 20 additions & 0 deletions generated/google/apis/servicenetworking_v1/classes.rb
Expand Up @@ -261,6 +261,15 @@ class AddSubnetworkRequest
# @return [String]
attr_accessor :requested_address

# Optional. The name of one or more allocated IP address ranges associated with
# this private service access connection. If no range names are provided all
# ranges associated with this connection will be considered. If a CIDR range
# with the specified IP prefix length is not available within these ranges, the
# call fails.
# Corresponds to the JSON property `requestedRanges`
# @return [Array<String>]
attr_accessor :requested_ranges

# Optional. A list of secondary IP ranges to be created within the new
# subnetwork.
# Corresponds to the JSON property `secondaryIpRangeSpecs`
Expand Down Expand Up @@ -292,6 +301,7 @@ def update!(**args)
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
@region = args[:region] if args.key?(:region)
@requested_address = args[:requested_address] if args.key?(:requested_address)
@requested_ranges = args[:requested_ranges] if args.key?(:requested_ranges)
@secondary_ip_range_specs = args[:secondary_ip_range_specs] if args.key?(:secondary_ip_range_specs)
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
@subnetwork_users = args[:subnetwork_users] if args.key?(:subnetwork_users)
Expand Down Expand Up @@ -3038,6 +3048,15 @@ class RangeReservation
# @return [Fixnum]
attr_accessor :ip_prefix_length

# Optional. The name of one or more allocated IP address ranges associated with
# this private service access connection. If no range names are provided all
# ranges associated with this connection will be considered. If a CIDR range
# with the specified IP prefix length is not available within these ranges the
# validation fails.
# Corresponds to the JSON property `requestedRanges`
# @return [Array<String>]
attr_accessor :requested_ranges

# Optional. DO NOT USE - Under development. The size of the desired secondary
# ranges for the subnet. Use usual CIDR range notation. For example, '30' to
# find unused x.x.x.x/30 CIDR range. The goal is to determine that the allocated
Expand All @@ -3053,6 +3072,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
@requested_ranges = args[:requested_ranges] if args.key?(:requested_ranges)
@secondary_range_ip_prefix_lengths = args[:secondary_range_ip_prefix_lengths] if args.key?(:secondary_range_ip_prefix_lengths)
end
end
Expand Down
2 changes: 2 additions & 0 deletions generated/google/apis/servicenetworking_v1/representations.rb
Expand Up @@ -683,6 +683,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :ip_prefix_length, as: 'ipPrefixLength'
property :region, as: 'region'
property :requested_address, as: 'requestedAddress'
collection :requested_ranges, as: 'requestedRanges'
collection :secondary_ip_range_specs, as: 'secondaryIpRangeSpecs', class: Google::Apis::ServicenetworkingV1::SecondaryIpRangeSpec, decorator: Google::Apis::ServicenetworkingV1::SecondaryIpRangeSpec::Representation

property :subnetwork, as: 'subnetwork'
Expand Down Expand Up @@ -1308,6 +1309,7 @@ class RangeReservation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ip_prefix_length, as: 'ipPrefixLength'
collection :requested_ranges, as: 'requestedRanges'
collection :secondary_range_ip_prefix_lengths, as: 'secondaryRangeIpPrefixLengths'
end
end
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/servicenetworking_v1/synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "bfe4570ea817b38ad143eba0c5435d3a2a398a7e"
"sha": "0940da26fa91b8e41483fe7174655b756724ea41"
}
}
]
Expand Down