feat: Automated regeneration of servicenetworking v1 client (#2245)

This commit is contained in:
Yoshi Automation Bot 2021-01-07 08:34:35 -08:00 committed by GitHub
parent ce7dbf3b55
commit 4c0a8b5682
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 6 deletions

View File

@ -142993,6 +142993,7 @@
"/servicenetworking:v1/ConsumerConfig/producerNetwork": producer_network "/servicenetworking:v1/ConsumerConfig/producerNetwork": producer_network
"/servicenetworking:v1/ConsumerConfig/reservedRanges": reserved_ranges "/servicenetworking:v1/ConsumerConfig/reservedRanges": reserved_ranges
"/servicenetworking:v1/ConsumerConfig/reservedRanges/reserved_range": reserved_range "/servicenetworking:v1/ConsumerConfig/reservedRanges/reserved_range": reserved_range
"/servicenetworking:v1/ConsumerConfig/vpcScReferenceArchitectureEnabled": vpc_sc_reference_architecture_enabled
"/servicenetworking:v1/ConsumerConfigMetadata": consumer_config_metadata "/servicenetworking:v1/ConsumerConfigMetadata": consumer_config_metadata
"/servicenetworking:v1/ConsumerProject": consumer_project "/servicenetworking:v1/ConsumerProject": consumer_project
"/servicenetworking:v1/ConsumerProject/projectNum": project_num "/servicenetworking:v1/ConsumerProject/projectNum": project_num

View File

@ -1,7 +1,7 @@
# Release history for google-apis-servicenetworking_v1 # Release history for google-apis-servicenetworking_v1
### v0.1.0 (2021-01-01) ### v0.1.0 (2021-01-07)
* Regenerated from discovery document revision 20201208 * Regenerated from discovery document revision 20210105
* Regenerated using generator version 0.1.0 * Regenerated using generator version 0.1.1

View File

@ -888,6 +888,13 @@ module Google
# @return [Array<Google::Apis::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange>] # @return [Array<Google::Apis::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange>]
attr_accessor :reserved_ranges attr_accessor :reserved_ranges
# Output only. Indicates whether the VPC Service Controls reference architecture
# is configured for the producer VPC host network.
# Corresponds to the JSON property `vpcScReferenceArchitectureEnabled`
# @return [Boolean]
attr_accessor :vpc_sc_reference_architecture_enabled
alias_method :vpc_sc_reference_architecture_enabled?, :vpc_sc_reference_architecture_enabled
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -904,6 +911,7 @@ module Google
@producer_import_subnet_routes_with_public_ip = args[:producer_import_subnet_routes_with_public_ip] if args.key?(:producer_import_subnet_routes_with_public_ip) @producer_import_subnet_routes_with_public_ip = args[:producer_import_subnet_routes_with_public_ip] if args.key?(:producer_import_subnet_routes_with_public_ip)
@producer_network = args[:producer_network] if args.key?(:producer_network) @producer_network = args[:producer_network] if args.key?(:producer_network)
@reserved_ranges = args[:reserved_ranges] if args.key?(:reserved_ranges) @reserved_ranges = args[:reserved_ranges] if args.key?(:reserved_ranges)
@vpc_sc_reference_architecture_enabled = args[:vpc_sc_reference_architecture_enabled] if args.key?(:vpc_sc_reference_architecture_enabled)
end end
end end

View File

@ -19,10 +19,10 @@ module Google
GEM_VERSION = "0.1.0" GEM_VERSION = "0.1.0"
# Version of the code generator used to generate this client # Version of the code generator used to generate this client
GENERATOR_VERSION = "0.1.0" GENERATOR_VERSION = "0.1.1"
# Revision of the discovery document this client was generated from # Revision of the discovery document this client was generated from
REVISION = "20201208" REVISION = "20210105"
end end
end end
end end

View File

@ -820,6 +820,7 @@ module Google
property :producer_network, as: 'producerNetwork' property :producer_network, as: 'producerNetwork'
collection :reserved_ranges, as: 'reservedRanges', class: Google::Apis::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange, decorator: Google::Apis::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange::Representation collection :reserved_ranges, as: 'reservedRanges', class: Google::Apis::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange, decorator: Google::Apis::ServicenetworkingV1::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange::Representation
property :vpc_sc_reference_architecture_enabled, as: 'vpcScReferenceArchitectureEnabled'
end end
end end

View File

@ -4,7 +4,7 @@
"git": { "git": {
"name": ".", "name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git", "remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "45b72912d96f684c2e983639707e59d5eb184128" "sha": "6de8b4ee653db67c0e789203767a89b32fcf8a51"
} }
} }
] ]