generated/google/apis/servicenetworking_v1/classes.rb in google-api-client-0.50.0 vs generated/google/apis/servicenetworking_v1/classes.rb in google-api-client-0.51.0

- old
+ new

@@ -259,10 +259,19 @@ # the call fails. # Corresponds to the JSON property `requestedAddress` # @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` # @return [Array<Google::Apis::ServicenetworkingV1::SecondaryIpRangeSpec>] attr_accessor :secondary_ip_range_specs @@ -290,10 +299,11 @@ @consumer_network = args[:consumer_network] if args.key?(:consumer_network) @description = args[:description] if args.key?(:description) @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) end end @@ -870,14 +880,14 @@ # project` is the project number e.g. '12345' and `network` is the network name. # Corresponds to the JSON property `producerNetwork` # @return [String] attr_accessor :producer_network - # Output only. The name of the allocated IP address ranges for this private - # service access connection. + # Output only. The reserved ranges associated with this private service access + # connection. # Corresponds to the JSON property `reservedRanges` - # @return [Array<String>] + # @return [Array<Google::Apis::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange>] attr_accessor :reserved_ranges def initialize(**args) update!(**args) end @@ -1576,10 +1586,43 @@ @packed = args[:packed] if args.key?(:packed) @type_url = args[:type_url] if args.key?(:type_url) end end + # Allocated IP address ranges for this private service access connection. + class GoogleCloudServicenetworkingV1ConsumerConfigReservedRange + include Google::Apis::Core::Hashable + + # The starting address of the reserved range. The address must be a valid IPv4 + # address in the x.x.x.x format. This value combined with the IP prefix length + # is the CIDR range for the reserved range. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # The prefix length of the reserved range. + # Corresponds to the JSON property `ipPrefixLength` + # @return [Fixnum] + attr_accessor :ip_prefix_length + + # The name of the reserved range. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address = args[:address] if args.key?(:address) + @ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length) + @name = args[:name] if args.key?(:name) + end + end + # Represents a subnet that was created or discovered by a private access # management service. class GoogleCloudServicenetworkingV1betaSubnetwork include Google::Apis::Core::Hashable @@ -3003,10 +3046,19 @@ # requested size. # Corresponds to the JSON property `ipPrefixLength` # @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 # ranges have enough free space for all the requested secondary ranges. # Corresponds to the JSON property `secondaryRangeIpPrefixLengths` @@ -3018,9 +3070,10 @@ end # 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 # Metadata provided through GetOperation request for the LRO generated by