generated/google/apis/serviceusage_v1/classes.rb in google-api-client-0.23.4 vs generated/google/apis/serviceusage_v1/classes.rb in google-api-client-0.23.5
- old
+ new
@@ -1514,11 +1514,11 @@
# @return [Google::Apis::ServiceusageV1::Http]
attr_accessor :http
# A unique ID for a specific instance of this message, typically assigned
# by the client for tracking purpose. If empty, the server may choose to
- # generate one instead.
+ # generate one instead. Must be no longer than 60 characters.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# Logging configuration of the service.
@@ -2249,10 +2249,17 @@
# Used for updating a resource.
# Corresponds to the JSON property `put`
# @return [String]
attr_accessor :put
+ # Optional. The name of the response field whose value is mapped to the HTTP
+ # body of response. Other response fields are ignored. When
+ # not set, the response message will be used as HTTP body of response.
+ # Corresponds to the JSON property `responseBody`
+ # @return [String]
+ attr_accessor :response_body
+
# DO NOT USE. This is an experimental field.
# Optional. The REST collection name is by default derived from the URL
# pattern. If specified, this field overrides the default collection name.
# Example:
# rpc AddressesAggregatedList(AddressesAggregatedListRequest)
@@ -2310,10 +2317,11 @@
@media_download = args[:media_download] if args.key?(:media_download)
@media_upload = args[:media_upload] if args.key?(:media_upload)
@patch = args[:patch] if args.key?(:patch)
@post = args[:post] if args.key?(:post)
@put = args[:put] if args.key?(:put)
+ @response_body = args[:response_body] if args.key?(:response_body)
@rest_collection = args[:rest_collection] if args.key?(:rest_collection)
@rest_method_name = args[:rest_method_name] if args.key?(:rest_method_name)
@selector = args[:selector] if args.key?(:selector)
end
end
@@ -2770,13 +2778,14 @@
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The metric type, including its DNS name prefix. The type is not
- # URL-encoded. All user-defined custom metric types have the DNS name
- # `custom.googleapis.com`. Metric types should use a natural hierarchical
- # grouping. For example:
+ # URL-encoded. All user-defined metric types have the DNS name
+ # `custom.googleapis.com` or `external.googleapis.com`. Metric types should
+ # use a natural hierarchical grouping. For example:
# "custom.googleapis.com/invoice/paid/amount"
+ # "external.googleapis.com/prometheus/up"
# "appengine.googleapis.com/http/server/response_latencies"
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type