generated/google/apis/serviceusage_v1/classes.rb in google-api-client-0.28.4 vs generated/google/apis/serviceusage_v1/classes.rb in google-api-client-0.28.5
- old
+ new
@@ -101,12 +101,12 @@
@version = args[:version] if args.key?(:version)
end
end
# Configuration for an anthentication provider, including support for
- # [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-
- # token-32).
+ # [JSON Web Token
+ # (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
class AuthProvider
include Google::Apis::Core::Hashable
# The list of JWT
# [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#
@@ -146,19 +146,20 @@
# Corresponds to the JSON property `issuer`
# @return [String]
attr_accessor :issuer
# URL of the provider's public key set to validate signature of the JWT. See
- # [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#
+ # [OpenID
+ # Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#
# ProviderMetadata).
# Optional if the key set document:
# - can be retrieved from
- # [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.
- # html
- # of the issuer.
- # - can be inferred from the email domain of the issuer (e.g. a Google service
- # account).
+ # [OpenID
+ # Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
+ # the issuer.
+ # - can be inferred from the email domain of the issuer (e.g. a Google
+ # service account).
# Example: https://www.googleapis.com/oauth2/v1/certs
# Corresponds to the JSON property `jwksUri`
# @return [String]
attr_accessor :jwks_uri
@@ -175,12 +176,12 @@
@jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri)
end
end
# User-defined authentication requirements, including support for
- # [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-
- # token-32).
+ # [JSON Web Token
+ # (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
class AuthRequirement
include Google::Apis::Core::Hashable
# NOTE: This will be deprecated soon, once AuthProvider.audiences is
# implemented and accepted in all the runtime components.
@@ -911,12 +912,12 @@
# A documentation rule provides information about individual API elements.
class DocumentationRule
include Google::Apis::Core::Hashable
- # Deprecation description of the selected element(s). It can be provided if an
- # element is marked as `deprecated`.
+ # Deprecation description of the selected element(s). It can be provided if
+ # an element is marked as `deprecated`.
# Corresponds to the JSON property `deprecationDescription`
# @return [String]
attr_accessor :deprecation_description
# Description of the selected API(s).
@@ -1069,14 +1070,14 @@
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The specification of an Internet routable address of API frontend that will
- # handle requests to this [API Endpoint](https://cloud.google.com/apis/design/
- # glossary).
- # It should be either a valid IPv4 address or a fully-qualified domain name.
- # For example, "8.8.8.8" or "myservice.appspot.com".
+ # handle requests to this [API
+ # Endpoint](https://cloud.google.com/apis/design/glossary). It should be
+ # either a valid IPv4 address or a fully-qualified domain name. For example,
+ # "8.8.8.8" or "myservice.appspot.com".
# Corresponds to the JSON property `target`
# @return [String]
attr_accessor :target
def initialize(**args)
@@ -1594,50 +1595,11 @@
# The Google project that owns this service.
# Corresponds to the JSON property `producerProjectId`
# @return [String]
attr_accessor :producer_project_id
- # Quota configuration helps to achieve fairness and budgeting in service
- # usage.
- # The quota configuration works this way:
- # - The service configuration defines a set of metrics.
- # - For API calls, the quota.metric_rules maps methods to metrics with
- # corresponding costs.
- # - The quota.limits defines limits on the metrics, which will be used for
- # quota checks at runtime.
- # An example quota configuration in yaml format:
- # quota:
- # limits:
- # - name: apiWriteQpsPerProject
- # metric: library.googleapis.com/write_calls
- # unit: "1/min/`project`" # rate limit for consumer projects
- # values:
- # STANDARD: 10000
- # # The metric rules bind all methods to the read_calls metric,
- # # except for the UpdateBook and DeleteBook methods. These two methods
- # # are mapped to the write_calls metric, with the UpdateBook method
- # # consuming at twice rate as the DeleteBook method.
- # metric_rules:
- # - selector: "*"
- # metric_costs:
- # library.googleapis.com/read_calls: 1
- # - selector: google.example.library.v1.LibraryService.UpdateBook
- # metric_costs:
- # library.googleapis.com/write_calls: 2
- # - selector: google.example.library.v1.LibraryService.DeleteBook
- # metric_costs:
- # library.googleapis.com/write_calls: 1
- # Corresponding Metric definition:
- # metrics:
- # - name: library.googleapis.com/read_calls
- # display_name: Read requests
- # metric_kind: DELTA
- # value_type: INT64
- # - name: library.googleapis.com/write_calls
- # display_name: Write requests
- # metric_kind: DELTA
- # value_type: INT64
+ # Quota configuration.
# Corresponds to the JSON property `quota`
# @return [Google::Apis::ServiceusageV1::Quota]
attr_accessor :quota
# Source information used to create a Service Config
@@ -1873,50 +1835,11 @@
# `calendar.googleapis.com`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- # Quota configuration helps to achieve fairness and budgeting in service
- # usage.
- # The quota configuration works this way:
- # - The service configuration defines a set of metrics.
- # - For API calls, the quota.metric_rules maps methods to metrics with
- # corresponding costs.
- # - The quota.limits defines limits on the metrics, which will be used for
- # quota checks at runtime.
- # An example quota configuration in yaml format:
- # quota:
- # limits:
- # - name: apiWriteQpsPerProject
- # metric: library.googleapis.com/write_calls
- # unit: "1/min/`project`" # rate limit for consumer projects
- # values:
- # STANDARD: 10000
- # # The metric rules bind all methods to the read_calls metric,
- # # except for the UpdateBook and DeleteBook methods. These two methods
- # # are mapped to the write_calls metric, with the UpdateBook method
- # # consuming at twice rate as the DeleteBook method.
- # metric_rules:
- # - selector: "*"
- # metric_costs:
- # library.googleapis.com/read_calls: 1
- # - selector: google.example.library.v1.LibraryService.UpdateBook
- # metric_costs:
- # library.googleapis.com/write_calls: 2
- # - selector: google.example.library.v1.LibraryService.DeleteBook
- # metric_costs:
- # library.googleapis.com/write_calls: 1
- # Corresponding Metric definition:
- # metrics:
- # - name: library.googleapis.com/read_calls
- # display_name: Read requests
- # metric_kind: DELTA
- # value_type: INT64
- # - name: library.googleapis.com/write_calls
- # display_name: Write requests
- # metric_kind: DELTA
- # value_type: INT64
+ # Quota configuration.
# Corresponds to the JSON property `quota`
# @return [Google::Apis::ServiceusageV1::Quota]
attr_accessor :quota
# The product title for this service.
@@ -1950,11 +1873,11 @@
# HttpRule, each specifying the mapping of an RPC method
# to one or more HTTP REST API methods.
class Http
include Google::Apis::Core::Hashable
- # When set to true, URL path parmeters will be fully URI-decoded except in
+ # When set to true, URL path parameters will be fully URI-decoded except in
# cases of single segment matches in reserved expansion, where "%2F" will be
# left encoded.
# The default behavior is to not decode RFC 6570 reserved characters in multi
# segment matches.
# Corresponds to the JSON property `fullyDecodeReservedExpansion`
@@ -3056,18 +2979,18 @@
# Corresponds to the JSON property `done`
# @return [Boolean]
attr_accessor :done
alias_method :done?, :done
- # The `Status` type defines a logical error model that is suitable for different
- # programming environments, including REST APIs and RPC APIs. It is used by
- # [gRPC](https://github.com/grpc). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
# error message is needed, put the localized message in the error details or
# localize it in the client. The optional error details may contain arbitrary
@@ -3197,13 +3120,12 @@
# Represents a documentation page. A page can contain subpages to represent
# nested documentation set structure.
class Page
include Google::Apis::Core::Hashable
- # The Markdown content of the page. You can use <code>(== include `path` ==&#
- # 41;</code>
- # to include content from a Markdown file.
+ # The Markdown content of the page. You can use <code>(== include `path`
+ # ==)</code> to include content from a Markdown file.
# Corresponds to the JSON property `content`
# @return [String]
attr_accessor :content
# The name of the page. It will be used as an identity of the page to
@@ -3240,50 +3162,11 @@
@name = args[:name] if args.key?(:name)
@subpages = args[:subpages] if args.key?(:subpages)
end
end
- # Quota configuration helps to achieve fairness and budgeting in service
- # usage.
- # The quota configuration works this way:
- # - The service configuration defines a set of metrics.
- # - For API calls, the quota.metric_rules maps methods to metrics with
- # corresponding costs.
- # - The quota.limits defines limits on the metrics, which will be used for
- # quota checks at runtime.
- # An example quota configuration in yaml format:
- # quota:
- # limits:
- # - name: apiWriteQpsPerProject
- # metric: library.googleapis.com/write_calls
- # unit: "1/min/`project`" # rate limit for consumer projects
- # values:
- # STANDARD: 10000
- # # The metric rules bind all methods to the read_calls metric,
- # # except for the UpdateBook and DeleteBook methods. These two methods
- # # are mapped to the write_calls metric, with the UpdateBook method
- # # consuming at twice rate as the DeleteBook method.
- # metric_rules:
- # - selector: "*"
- # metric_costs:
- # library.googleapis.com/read_calls: 1
- # - selector: google.example.library.v1.LibraryService.UpdateBook
- # metric_costs:
- # library.googleapis.com/write_calls: 2
- # - selector: google.example.library.v1.LibraryService.DeleteBook
- # metric_costs:
- # library.googleapis.com/write_calls: 1
- # Corresponding Metric definition:
- # metrics:
- # - name: library.googleapis.com/read_calls
- # display_name: Read requests
- # metric_kind: DELTA
- # value_type: INT64
- # - name: library.googleapis.com/write_calls
- # display_name: Write requests
- # metric_kind: DELTA
- # value_type: INT64
+ #
class Quota
include Google::Apis::Core::Hashable
# List of `QuotaLimit` definitions for the service.
# Corresponds to the JSON property `limits`
@@ -3461,17 +3344,17 @@
def update!(**args)
@source_files = args[:source_files] if args.key?(:source_files)
end
end
- # The `Status` type defines a logical error model that is suitable for different
- # programming environments, including REST APIs and RPC APIs. It is used by
- # [gRPC](https://github.com/grpc). The error model is designed to be:
+ # The `Status` type defines a logical error model that is suitable for
+ # different programming environments, including REST APIs and RPC APIs. It is
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
- # The `Status` message contains three pieces of data: error code, error message,
- # and error details. The error code should be an enum value of
+ # The `Status` message contains three pieces of data: error code, error
+ # message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
# error message is needed, put the localized message in the error details or
# localize it in the client. The optional error details may contain arbitrary