feat: Automated regeneration of servicenetworking v1beta client (#2246)

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

View File

@ -143531,6 +143531,7 @@
"/servicenetworking:v1beta/ConsumerConfig/producerNetwork": producer_network "/servicenetworking:v1beta/ConsumerConfig/producerNetwork": producer_network
"/servicenetworking:v1beta/ConsumerConfig/reservedRanges": reserved_ranges "/servicenetworking:v1beta/ConsumerConfig/reservedRanges": reserved_ranges
"/servicenetworking:v1beta/ConsumerConfig/reservedRanges/reserved_range": reserved_range "/servicenetworking:v1beta/ConsumerConfig/reservedRanges/reserved_range": reserved_range
"/servicenetworking:v1beta/ConsumerConfig/vpcScReferenceArchitectureEnabled": vpc_sc_reference_architecture_enabled
"/servicenetworking:v1beta/ConsumerConfigMetadata": consumer_config_metadata "/servicenetworking:v1beta/ConsumerConfigMetadata": consumer_config_metadata
"/servicenetworking:v1beta/Context": context "/servicenetworking:v1beta/Context": context
"/servicenetworking:v1beta/Context/rules": rules "/servicenetworking:v1beta/Context/rules": rules

View File

@ -1,7 +1,7 @@
# Release history for google-apis-servicenetworking_v1beta # Release history for google-apis-servicenetworking_v1beta
### 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

@ -754,6 +754,13 @@ module Google
# @return [Array<Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange>] # @return [Array<Google::Apis::ServicenetworkingV1beta::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
@ -770,6 +777,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

@ -675,6 +675,7 @@ module Google
property :producer_network, as: 'producerNetwork' property :producer_network, as: 'producerNetwork'
collection :reserved_ranges, as: 'reservedRanges', class: Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange, decorator: Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange::Representation collection :reserved_ranges, as: 'reservedRanges', class: Google::Apis::ServicenetworkingV1beta::GoogleCloudServicenetworkingV1ConsumerConfigReservedRange, decorator: Google::Apis::ServicenetworkingV1beta::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"
} }
} }
] ]