vendor: update all dependencies
This commit is contained in:
+59
-29
@@ -1,4 +1,4 @@
|
||||
// Package serviceuser provides access to the Google Service User API.
|
||||
// Package serviceuser provides access to the Service User API.
|
||||
//
|
||||
// See https://cloud.google.com/service-management/
|
||||
//
|
||||
@@ -43,7 +43,7 @@ var _ = ctxhttp.Do
|
||||
const apiId = "serviceuser:v1"
|
||||
const apiName = "serviceuser"
|
||||
const apiVersion = "v1"
|
||||
const basePath = "https://serviceuser.googleapis.com/"
|
||||
const basePath = "https://content-serviceuser.googleapis.com/"
|
||||
|
||||
// OAuth2 scopes used by this API.
|
||||
const (
|
||||
@@ -727,8 +727,35 @@ func (s *BillingDestination) MarshalJSON() ([]byte, error) {
|
||||
// and
|
||||
// `google.rpc.context.OriginContext`.
|
||||
//
|
||||
// Available context types are defined in package
|
||||
// Available context types are defined in
|
||||
// package
|
||||
// `google.rpc.context`.
|
||||
//
|
||||
// This also provides mechanism to whitelist any protobuf message
|
||||
// extension that
|
||||
// can be sent in grpc metadata using
|
||||
// “x-goog-ext-<extension_id>-bin”
|
||||
// and
|
||||
// “x-goog-ext-<extension_id>-jspb” format. For example, list any
|
||||
// service
|
||||
// specific protobuf types that can appear in grpc metadata as follows
|
||||
// in your
|
||||
// yaml file:
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// context:
|
||||
// rules:
|
||||
// - selector:
|
||||
// "google.example.library.v1.LibraryService.CreateBook"
|
||||
// allowed_request_extensions:
|
||||
// - google.foo.v1.NewExtension
|
||||
// allowed_response_extensions:
|
||||
// - google.foo.v1.NewExtension
|
||||
//
|
||||
// You can also specify extension ID instead of fully qualified
|
||||
// extension name
|
||||
// here.
|
||||
type Context struct {
|
||||
// Rules: A list of RPC context rules that apply to individual API
|
||||
// methods.
|
||||
@@ -764,6 +791,16 @@ func (s *Context) MarshalJSON() ([]byte, error) {
|
||||
// for an individual API
|
||||
// element.
|
||||
type ContextRule struct {
|
||||
// AllowedRequestExtensions: A list of full type names or extension IDs
|
||||
// of extensions allowed in grpc
|
||||
// side channel from client to backend.
|
||||
AllowedRequestExtensions []string `json:"allowedRequestExtensions,omitempty"`
|
||||
|
||||
// AllowedResponseExtensions: A list of full type names or extension IDs
|
||||
// of extensions allowed in grpc
|
||||
// side channel from backend to client.
|
||||
AllowedResponseExtensions []string `json:"allowedResponseExtensions,omitempty"`
|
||||
|
||||
// Provided: A list of full type names of provided contexts.
|
||||
Provided []string `json:"provided,omitempty"`
|
||||
|
||||
@@ -775,20 +812,22 @@ type ContextRule struct {
|
||||
// Refer to selector for syntax details.
|
||||
Selector string `json:"selector,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Provided") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "AllowedRequestExtensions") to unconditionally include in API
|
||||
// requests. By default, fields with empty values are omitted from API
|
||||
// requests. However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Provided") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
// NullFields is a list of field names (e.g. "AllowedRequestExtensions")
|
||||
// to include in API requests with the JSON null value. By default,
|
||||
// fields with empty values are omitted from API requests. However, any
|
||||
// field with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
@@ -1817,17 +1856,6 @@ type HttpRule struct {
|
||||
// Put: Used for updating a resource.
|
||||
Put string `json:"put,omitempty"`
|
||||
|
||||
// ResponseBody: The name of the response field whose value is mapped to
|
||||
// the HTTP body of
|
||||
// response. Other response fields are ignored. This field is optional.
|
||||
// When
|
||||
// not set, the response message will be used as HTTP body of
|
||||
// response.
|
||||
// NOTE: the referred field must be not a repeated field and must be
|
||||
// present
|
||||
// at the top-level of response message type.
|
||||
ResponseBody string `json:"responseBody,omitempty"`
|
||||
|
||||
// Selector: Selects methods to which this rule applies.
|
||||
//
|
||||
// Refer to selector for syntax details.
|
||||
@@ -2388,8 +2416,6 @@ type MetricDescriptor struct {
|
||||
//
|
||||
// **Grammar**
|
||||
//
|
||||
// The grammar includes the dimensionless unit `1`, such as `1/s`.
|
||||
//
|
||||
// The grammar also includes these connectors:
|
||||
//
|
||||
// * `/` division (as an infix operator, e.g. `1/s`).
|
||||
@@ -2399,7 +2425,7 @@ type MetricDescriptor struct {
|
||||
//
|
||||
// Expression = Component { "." Component } { "/" Component } ;
|
||||
//
|
||||
// Component = [ PREFIX ] UNIT [ Annotation ]
|
||||
// Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
||||
// | Annotation
|
||||
// | "1"
|
||||
// ;
|
||||
@@ -2413,6 +2439,10 @@ type MetricDescriptor struct {
|
||||
// `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.
|
||||
// * `NAME` is a sequence of non-blank printable ASCII characters not
|
||||
// containing '{' or '}'.
|
||||
// * `1` represents dimensionless value 1, such as in `1/s`.
|
||||
// * `%` represents dimensionless value 1/100, and annotates values
|
||||
// giving
|
||||
// a percentage.
|
||||
Unit string `json:"unit,omitempty"`
|
||||
|
||||
// ValueType: Whether the measurement is an integer, a floating-point
|
||||
|
||||
Reference in New Issue
Block a user