Skip to content

Commit

Permalink
feat: Automated regeneration of servicenetworking v1beta client (goog…
Browse files Browse the repository at this point in the history
…leapis#14418)

Auto-created at 2023-04-02 10:05:43 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Apr 2, 2023
1 parent d7d77e5 commit ea4f363
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 2 deletions.
10 changes: 10 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246180,6 +246180,16 @@
"/servicenetworking:v1beta/DocumentationRule/selector": selector
"/servicenetworking:v1beta/DotnetSettings": dotnet_settings
"/servicenetworking:v1beta/DotnetSettings/common": common
"/servicenetworking:v1beta/DotnetSettings/forcedNamespaceAliases": forced_namespace_aliases
"/servicenetworking:v1beta/DotnetSettings/forcedNamespaceAliases/forced_namespace_alias": forced_namespace_alias
"/servicenetworking:v1beta/DotnetSettings/handwrittenSignatures": handwritten_signatures
"/servicenetworking:v1beta/DotnetSettings/handwrittenSignatures/handwritten_signature": handwritten_signature
"/servicenetworking:v1beta/DotnetSettings/ignoredResources": ignored_resources
"/servicenetworking:v1beta/DotnetSettings/ignoredResources/ignored_resource": ignored_resource
"/servicenetworking:v1beta/DotnetSettings/renamedResources": renamed_resources
"/servicenetworking:v1beta/DotnetSettings/renamedResources/renamed_resource": renamed_resource
"/servicenetworking:v1beta/DotnetSettings/renamedServices": renamed_services
"/servicenetworking:v1beta/DotnetSettings/renamedServices/renamed_service": renamed_service
"/servicenetworking:v1beta/Endpoint": endpoint
"/servicenetworking:v1beta/Endpoint/aliases": aliases
"/servicenetworking:v1beta/Endpoint/aliases/alias": alias
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-servicenetworking_v1beta/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-servicenetworking_v1beta

### v0.36.0 (2023-04-02)

* Regenerated from discovery document revision 20230329

### v0.35.0 (2023-03-26)

* Regenerated from discovery document revision 20230321
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1388,13 +1388,54 @@ class DotnetSettings
# @return [Google::Apis::ServicenetworkingV1beta::CommonLanguageSettings]
attr_accessor :common

# Namespaces which must be aliased in snippets due to a known (but non-generator-
# predictable) naming collision
# Corresponds to the JSON property `forcedNamespaceAliases`
# @return [Array<String>]
attr_accessor :forced_namespace_aliases

# Method signatures (in the form "service.method(signature)") which are provided
# separately, so shouldn't be generated. Snippets *calling* these methods are
# still generated, however.
# Corresponds to the JSON property `handwrittenSignatures`
# @return [Array<String>]
attr_accessor :handwritten_signatures

# List of full resource types to ignore during generation. This is typically
# used for API-specific Location resources, which should be handled by the
# generator as if they were actually the common Location resources. Example
# entry: "documentai.googleapis.com/Location"
# Corresponds to the JSON property `ignoredResources`
# @return [Array<String>]
attr_accessor :ignored_resources

# Map from full resource types to the effective short name for the resource.
# This is used when otherwise resource named from different services would cause
# naming collisions. Example entry: "datalabeling.googleapis.com/Dataset": "
# DataLabelingDataset"
# Corresponds to the JSON property `renamedResources`
# @return [Hash<String,String>]
attr_accessor :renamed_resources

# Map from original service names to renamed versions. This is used when the
# default generated types would cause a naming conflict. (Neither name is fully-
# qualified.) Example: Subscriber to SubscriberServiceApi.
# Corresponds to the JSON property `renamedServices`
# @return [Hash<String,String>]
attr_accessor :renamed_services

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

# Update properties of this object
def update!(**args)
@common = args[:common] if args.key?(:common)
@forced_namespace_aliases = args[:forced_namespace_aliases] if args.key?(:forced_namespace_aliases)
@handwritten_signatures = args[:handwritten_signatures] if args.key?(:handwritten_signatures)
@ignored_resources = args[:ignored_resources] if args.key?(:ignored_resources)
@renamed_resources = args[:renamed_resources] if args.key?(:renamed_resources)
@renamed_services = args[:renamed_services] if args.key?(:renamed_services)
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ServicenetworkingV1beta
# Version of the google-apis-servicenetworking_v1beta gem
GEM_VERSION = "0.35.0"
GEM_VERSION = "0.36.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20230321"
REVISION = "20230329"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,11 @@ class DotnetSettings
class Representation < Google::Apis::Core::JsonRepresentation
property :common, as: 'common', class: Google::Apis::ServicenetworkingV1beta::CommonLanguageSettings, decorator: Google::Apis::ServicenetworkingV1beta::CommonLanguageSettings::Representation

collection :forced_namespace_aliases, as: 'forcedNamespaceAliases'
collection :handwritten_signatures, as: 'handwrittenSignatures'
collection :ignored_resources, as: 'ignoredResources'
hash :renamed_resources, as: 'renamedResources'
hash :renamed_services, as: 'renamedServices'
end
end

Expand Down

0 comments on commit ea4f363

Please sign in to comment.