proto_docs/google/api/client.rb in google-cloud-trace-v2-0.5.0 vs proto_docs/google/api/client.rb in google-cloud-trace-v2-0.6.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]
@@ -79,11 +81,11 @@
# @return [::Array<::Google::Api::MethodSettings>]
# A list of API method settings, e.g. the behavior for methods that use the
# long-running operation pattern.
# @!attribute [rw] new_issue_uri
# @return [::String]
- # Link to a place that API users can report issues. Example:
+ # Link to a *public* URI where users can report issues. Example:
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
# @!attribute [rw] documentation_uri
# @return [::String]
# Link to product home page. Example:
# https://cloud.google.com/asset-inventory/docs/overview
@@ -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,12 +292,12 @@
# 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:
@@ -297,9 +351,18 @@
# Photos Org.
PHOTOS = 3
# Street View Org.
STREET_VIEW = 4
+
+ # Shopping Org.
+ SHOPPING = 5
+
+ # Geo Org.
+ GEO = 6
+
+ # Generative AI - https://developers.generativeai.google
+ GENERATIVE_AI = 7
end
# To where should client libraries be published?
module ClientLibraryDestination
# Client libraries will neither be generated nor published to package