proto_docs/google/api/client.rb in grafeas-v1-0.9.0 vs proto_docs/google/api/client.rb in grafeas-v1-0.10.0
- old
+ new
@@ -33,11 +33,13 @@
end
# Details about how and where to publish client libraries.
# @!attribute [rw] version
# @return [::String]
- # Version of the API to apply these settings to.
+ # Version of the API to apply these settings to. This is the full protobuf
+ # package for the API, ending in the version element.
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
# @!attribute [rw] launch_stage
# @return [::Google::Api::LaunchStage]
# Launch stage of this version of the API.
# @!attribute [rw] rest_numeric_enums
# @return [::Boolean]
@@ -109,10 +111,14 @@
# @!attribute [rw] library_settings
# @return [::Array<::Google::Api::ClientLibrarySettings>]
# Client library settings. If the same version string appears multiple
# times in this list, then the last one wins. Settings from earlier
# settings with the same version string are discarded.
+ # @!attribute [rw] proto_reference_documentation_uri
+ # @return [::String]
+ # Optional link to proto reference documentation. Example:
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
class Publishing
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end
@@ -201,13 +207,61 @@
# Settings for Dotnet client libraries.
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] renamed_services
+ # @return [::Google::Protobuf::Map{::String => ::String}]
+ # 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.
+ # @!attribute [rw] renamed_resources
+ # @return [::Google::Protobuf::Map{::String => ::String}]
+ # 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"
+ # @!attribute [rw] ignored_resources
+ # @return [::Array<::String>]
+ # 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"
+ # @!attribute [rw] forced_namespace_aliases
+ # @return [::Array<::String>]
+ # Namespaces which must be aliased in snippets due to
+ # a known (but non-generator-predictable) naming collision
+ # @!attribute [rw] handwritten_signatures
+ # @return [::Array<::String>]
+ # 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.
class DotnetSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
+
+ # @!attribute [rw] key
+ # @return [::String]
+ # @!attribute [rw] value
+ # @return [::String]
+ class RenamedServicesEntry
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # @!attribute [rw] key
+ # @return [::String]
+ # @!attribute [rw] value
+ # @return [::String]
+ class RenamedResourcesEntry
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
end
# Settings for Ruby client libraries.
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
@@ -238,11 +292,11 @@
# google/longrunning/operations.proto.
#
# Example of a YAML configuration::
#
# publishing:
- # method_behavior:
- # - selector: CreateAdDomain
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
# long_running:
# initial_poll_delay:
# seconds: 60 # 1 minute
# poll_delay_multiplier: 1.5
# max_poll_delay: