vendor: update all dependencies
This commit is contained in:
+360
-164
@@ -808,6 +808,15 @@ func (s *BackendRule) UnmarshalJSON(data []byte) error {
|
||||
|
||||
// Binding: Associates `members` with a `role`.
|
||||
type Binding struct {
|
||||
// Condition: The condition that is associated with this binding.
|
||||
// NOTE: an unsatisfied condition will not allow user access via
|
||||
// current
|
||||
// binding. Different bindings, including their conditions, are
|
||||
// examined
|
||||
// independently.
|
||||
// This field is GOOGLE_INTERNAL.
|
||||
Condition *Expr `json:"condition,omitempty"`
|
||||
|
||||
// Members: Specifies the identities requesting access for a Cloud
|
||||
// Platform resource.
|
||||
// `members` can have the following values:
|
||||
@@ -834,6 +843,7 @@ type Binding struct {
|
||||
// group.
|
||||
// For example, `admins@example.com`.
|
||||
//
|
||||
//
|
||||
// * `domain:{domain}`: A Google Apps domain name that represents all
|
||||
// the
|
||||
// users of that domain. For example, `google.com` or
|
||||
@@ -848,7 +858,7 @@ type Binding struct {
|
||||
// Required
|
||||
Role string `json:"role,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Members") to
|
||||
// ForceSendFields is a list of field names (e.g. "Condition") 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
|
||||
@@ -856,7 +866,7 @@ type Binding struct {
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Members") to include in
|
||||
// NullFields is a list of field names (e.g. "Condition") 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
|
||||
@@ -913,6 +923,37 @@ func (s *ChangeReport) MarshalJSON() ([]byte, error) {
|
||||
|
||||
// CloudAuditOptions: Write a Cloud Audit log
|
||||
type CloudAuditOptions struct {
|
||||
// LogName: The log_name to populate in the Cloud Audit Record.
|
||||
//
|
||||
// Possible values:
|
||||
// "UNSPECIFIED_LOG_NAME" - Default. Should not be used.
|
||||
// "ADMIN_ACTIVITY" - Corresponds to
|
||||
// "cloudaudit.googleapis.com/activity"
|
||||
// "DATA_ACCESS" - Corresponds to
|
||||
// "cloudaudit.googleapis.com/data_access"
|
||||
LogName string `json:"logName,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "LogName") 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. "LogName") 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:"-"`
|
||||
}
|
||||
|
||||
func (s *CloudAuditOptions) MarshalJSON() ([]byte, error) {
|
||||
type noMethod CloudAuditOptions
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Condition: A condition to be met.
|
||||
@@ -936,7 +977,6 @@ type Condition struct {
|
||||
// additional
|
||||
// access, and are thus only used in a strictly positive context
|
||||
// (e.g. ALLOW/IN or DENY/NOT_IN).
|
||||
// See: go/rpc-security-policy-dynamicauth.
|
||||
// "JUSTIFICATION_TYPE" - What types of justifications have been
|
||||
// supplied with this request.
|
||||
// String values should match enum names from
|
||||
@@ -1869,6 +1909,10 @@ type Endpoint struct {
|
||||
AllowCors bool `json:"allowCors,omitempty"`
|
||||
|
||||
// Apis: The list of APIs served by this endpoint.
|
||||
//
|
||||
// If no APIs are specified this translates to "all APIs" exported by
|
||||
// the
|
||||
// service, as defined in the top-level service configuration.
|
||||
Apis []string `json:"apis,omitempty"`
|
||||
|
||||
// Features: The list of features enabled on this endpoint.
|
||||
@@ -2017,6 +2061,60 @@ func (s *Experimental) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Expr: Represents an expression text. Example:
|
||||
//
|
||||
// title: "User account presence"
|
||||
// description: "Determines whether the request has a user account"
|
||||
// expression: "size(request.user) > 0"
|
||||
type Expr struct {
|
||||
// Description: An optional description of the expression. This is a
|
||||
// longer text which
|
||||
// describes the expression, e.g. when hovered over it in a UI.
|
||||
Description string `json:"description,omitempty"`
|
||||
|
||||
// Expression: Textual representation of an expression in
|
||||
// Common Expression Language syntax.
|
||||
//
|
||||
// The application context of the containing message determines
|
||||
// which
|
||||
// well-known feature set of CEL is supported.
|
||||
Expression string `json:"expression,omitempty"`
|
||||
|
||||
// Location: An optional string indicating the location of the
|
||||
// expression for error
|
||||
// reporting, e.g. a file name and a position in the file.
|
||||
Location string `json:"location,omitempty"`
|
||||
|
||||
// Title: An optional title for the expression, i.e. a short string
|
||||
// describing
|
||||
// its purpose. This can be used e.g. in UIs which allow to enter
|
||||
// the
|
||||
// expression.
|
||||
Title string `json:"title,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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:"-"`
|
||||
}
|
||||
|
||||
func (s *Expr) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Expr
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Field: A single field of a message type.
|
||||
type Field struct {
|
||||
// Cardinality: The field cardinality.
|
||||
@@ -2270,8 +2368,8 @@ func (s *GenerateConfigReportResponse) MarshalJSON() ([]byte, error) {
|
||||
type GetIamPolicyRequest struct {
|
||||
}
|
||||
|
||||
// Http: Defines the HTTP configuration for a service. It contains a
|
||||
// list of
|
||||
// Http: Defines the HTTP configuration for an API service. It contains
|
||||
// a list of
|
||||
// HttpRule, each specifying the mapping of an RPC method
|
||||
// to one or more HTTP REST API methods.
|
||||
type Http struct {
|
||||
@@ -2320,13 +2418,14 @@ func (s *Http) MarshalJSON() ([]byte, error) {
|
||||
|
||||
// HttpRule: `HttpRule` defines the mapping of an RPC method to one or
|
||||
// more HTTP
|
||||
// REST APIs. The mapping determines what portions of the
|
||||
// request
|
||||
// message are populated from the path, query parameters, or body of
|
||||
// the HTTP request. The mapping is typically specified as
|
||||
// REST API methods. The mapping specifies how different portions of the
|
||||
// RPC
|
||||
// request message are mapped to URL path, URL query parameters,
|
||||
// and
|
||||
// HTTP request body. The mapping is typically specified as
|
||||
// an
|
||||
// `google.api.http` annotation, see "google/api/annotations.proto"
|
||||
// for details.
|
||||
// `google.api.http` annotation on the RPC method,
|
||||
// see "google/api/annotations.proto" for details.
|
||||
//
|
||||
// The mapping consists of a field specifying the path template
|
||||
// and
|
||||
@@ -2384,6 +2483,11 @@ func (s *Http) MarshalJSON() ([]byte, error) {
|
||||
// message:
|
||||
//
|
||||
//
|
||||
// service Messaging {
|
||||
// rpc GetMessage(GetMessageRequest) returns (Message) {
|
||||
// option (google.api.http).get = "/v1/messages/{message_id}";
|
||||
// }
|
||||
// }
|
||||
// message GetMessageRequest {
|
||||
// message SubMessage {
|
||||
// string subfield = 1;
|
||||
@@ -2515,7 +2619,8 @@ func (s *Http) MarshalJSON() ([]byte, error) {
|
||||
// to the request message are as follows:
|
||||
//
|
||||
// 1. The `body` field specifies either `*` or a field path, or is
|
||||
// omitted. If omitted, it assumes there is no HTTP body.
|
||||
// omitted. If omitted, it indicates there is no HTTP request
|
||||
// body.
|
||||
// 2. Leaf fields (recursive expansion of nested messages in the
|
||||
// request) can be classified into three types:
|
||||
// (a) Matched in the URL template.
|
||||
@@ -2537,40 +2642,49 @@ func (s *Http) MarshalJSON() ([]byte, error) {
|
||||
// FieldPath = IDENT { "." IDENT } ;
|
||||
// Verb = ":" LITERAL ;
|
||||
//
|
||||
// The syntax `*` matches a single path segment. It follows the
|
||||
// semantics of
|
||||
// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple
|
||||
// String
|
||||
// Expansion.
|
||||
// The syntax `*` matches a single path segment. The syntax `**` matches
|
||||
// zero
|
||||
// or more path segments, which must be the last part of the path except
|
||||
// the
|
||||
// `Verb`. The syntax `LITERAL` matches literal text in the path.
|
||||
//
|
||||
// The syntax `**` matches zero or more path segments. It follows the
|
||||
// semantics
|
||||
// of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.3
|
||||
// Reserved
|
||||
// Expansion. NOTE: it must be the last segment in the path except the
|
||||
// Verb.
|
||||
//
|
||||
// The syntax `LITERAL` matches literal text in the URL path.
|
||||
//
|
||||
// The syntax `Variable` matches the entire path as specified by its
|
||||
// template;
|
||||
// this nested template must not contain further variables. If a
|
||||
// The syntax `Variable` matches part of the URL path as specified by
|
||||
// its
|
||||
// template. A variable template must not contain other variables. If a
|
||||
// variable
|
||||
// matches a single path segment, its template may be omitted, e.g.
|
||||
// `{var}`
|
||||
// is equivalent to `{var=*}`.
|
||||
//
|
||||
// If a variable contains exactly one path segment, such as "{var}"
|
||||
// or
|
||||
// "{var=*}", when such a variable is expanded into a URL path, all
|
||||
// characters
|
||||
// except `[-_.~0-9a-zA-Z]` are percent-encoded. Such variables show up
|
||||
// in the
|
||||
// Discovery Document as `{var}`.
|
||||
//
|
||||
// If a variable contains one or more path segments, such as
|
||||
// "{var=foo/*}"
|
||||
// or "{var=**}", when such a variable is expanded into a URL path,
|
||||
// all
|
||||
// characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. Such
|
||||
// variables
|
||||
// show up in the Discovery Document as `{+var}`.
|
||||
//
|
||||
// NOTE: While the single segment variable matches the semantics of
|
||||
// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
|
||||
// Simple String Expansion, the multi segment variable **does not**
|
||||
// match
|
||||
// RFC 6570 Reserved Expansion. The reason is that the Reserved
|
||||
// Expansion
|
||||
// does not expand special characters like `?` and `#`, which would
|
||||
// lead
|
||||
// to invalid URLs.
|
||||
//
|
||||
// NOTE: the field paths in variables and in the `body` must not refer
|
||||
// to
|
||||
// repeated fields or map fields.
|
||||
//
|
||||
// Use CustomHttpPattern to specify any HTTP method that is not included
|
||||
// in the
|
||||
// `pattern` field, such as HEAD, or "*" to leave the HTTP method
|
||||
// unspecified for
|
||||
// a given URL path rule. The wild-card rule is useful for services that
|
||||
// provide
|
||||
// content to Web (HTML) clients.
|
||||
type HttpRule struct {
|
||||
// AdditionalBindings: Additional HTTP bindings for the selector. Nested
|
||||
// bindings must
|
||||
@@ -2587,7 +2701,13 @@ type HttpRule struct {
|
||||
// present at the top-level of request message type.
|
||||
Body string `json:"body,omitempty"`
|
||||
|
||||
// Custom: Custom pattern is used for defining custom verbs.
|
||||
// Custom: The custom pattern is used for specifying an HTTP method that
|
||||
// is not
|
||||
// included in the `pattern` field, such as HEAD, or "*" to leave
|
||||
// the
|
||||
// HTTP method unspecified for this rule. The wild-card rule is
|
||||
// useful
|
||||
// for services that provide content to Web (HTML) clients.
|
||||
Custom *CustomHttpPattern `json:"custom,omitempty"`
|
||||
|
||||
// Delete: Used for deleting a resource.
|
||||
@@ -2630,6 +2750,49 @@ type HttpRule struct {
|
||||
// at the top-level of response message type.
|
||||
ResponseBody string `json:"responseBody,omitempty"`
|
||||
|
||||
// RestCollection: 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)
|
||||
// returns (AddressesAggregatedListResponse) {
|
||||
// option (google.api.http) = {
|
||||
// get: "/v1/projects/{project_id}/aggregated/addresses"
|
||||
// rest_collection: "projects.addresses"
|
||||
// };
|
||||
// }
|
||||
//
|
||||
// This method has the automatically derived collection
|
||||
// name
|
||||
// "projects.aggregated". Because, semantically, this rpc is actually
|
||||
// an
|
||||
// operation on the "projects.addresses" collection, the
|
||||
// `rest_collection`
|
||||
// field is configured to override the derived collection name.
|
||||
RestCollection string `json:"restCollection,omitempty"`
|
||||
|
||||
// RestMethodName: Optional. The rest method name is by default derived
|
||||
// from the URL
|
||||
// pattern. If specified, this field overrides the default method
|
||||
// name.
|
||||
// Example:
|
||||
//
|
||||
// rpc CreateResource(CreateResourceRequest)
|
||||
// returns (CreateResourceResponse) {
|
||||
// option (google.api.http) = {
|
||||
// post: "/v1/resources",
|
||||
// body: "resource",
|
||||
// rest_method_name: "insert"
|
||||
// };
|
||||
// }
|
||||
//
|
||||
// This method has the automatically derived rest method name "create",
|
||||
// but
|
||||
// for backwards compatability with apiary, it is specified as insert.
|
||||
RestMethodName string `json:"restMethodName,omitempty"`
|
||||
|
||||
// Selector: Selects methods to which this rule applies.
|
||||
//
|
||||
// Refer to selector for syntax details.
|
||||
@@ -2844,6 +3007,35 @@ func (s *ListServicesResponse) MarshalJSON() ([]byte, error) {
|
||||
}
|
||||
|
||||
// LogConfig: Specifies what kind of log the caller must write
|
||||
// Increment a streamz counter with the specified metric and field
|
||||
// names.
|
||||
//
|
||||
// Metric names should start with a '/', generally be
|
||||
// lowercase-only,
|
||||
// and end in "_count". Field names should not contain an initial
|
||||
// slash.
|
||||
// The actual exported metric names will have "/iam/policy"
|
||||
// prepended.
|
||||
//
|
||||
// Field names correspond to IAM request parameters and field values
|
||||
// are
|
||||
// their respective values.
|
||||
//
|
||||
// At present the only supported field names are
|
||||
// - "iam_principal", corresponding to IAMContext.principal;
|
||||
// - "" (empty string), resulting in one aggretated counter with no
|
||||
// field.
|
||||
//
|
||||
// Examples:
|
||||
// counter { metric: "/debug_access_count" field: "iam_principal" }
|
||||
// ==> increment counter /iam/policy/backend_debug_access_count
|
||||
// {iam_principal=[value of
|
||||
// IAMContext.principal]}
|
||||
//
|
||||
// At this time we do not support:
|
||||
// * multiple field names (though this may be supported in the future)
|
||||
// * decrementing the counter
|
||||
// * incrementing it by anything other than 1
|
||||
type LogConfig struct {
|
||||
// CloudAudit: Cloud audit options.
|
||||
CloudAudit *CloudAuditOptions `json:"cloudAudit,omitempty"`
|
||||
@@ -3090,30 +3282,51 @@ func (s *ManagedService) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// MediaDownload: Use this only for Scotty Requests. Do not use this for
|
||||
// media support using
|
||||
// MediaDownload: Defines the Media configuration for a service in case
|
||||
// of a download.
|
||||
// Use this only for Scotty Requests. Do not use this for media support
|
||||
// using
|
||||
// Bytestream, add instead [][google.bytestream.RestByteStream] as an
|
||||
// API to
|
||||
// your configuration for Bytestream methods.
|
||||
type MediaDownload struct {
|
||||
// DownloadService: DO NOT USE THIS FIELD UNTIL THIS WARNING IS
|
||||
// REMOVED.
|
||||
// CompleteNotification: A boolean that determines whether a
|
||||
// notification for the completion of a
|
||||
// download should be sent to the backend.
|
||||
CompleteNotification bool `json:"completeNotification,omitempty"`
|
||||
|
||||
// DownloadService: DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING
|
||||
// IS REMOVED.
|
||||
//
|
||||
// Specify name of the download service if one is used for download.
|
||||
DownloadService string `json:"downloadService,omitempty"`
|
||||
|
||||
// Dropzone: Name of the Scotty dropzone to use for the current API.
|
||||
Dropzone string `json:"dropzone,omitempty"`
|
||||
|
||||
// Enabled: Whether download is enabled.
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "DownloadService") 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.
|
||||
// MaxDirectDownloadSize: Optional maximum acceptable size for direct
|
||||
// download.
|
||||
// The size is specified in bytes.
|
||||
MaxDirectDownloadSize int64 `json:"maxDirectDownloadSize,omitempty,string"`
|
||||
|
||||
// UseDirectDownload: A boolean that determines if direct download from
|
||||
// ESF should be used for
|
||||
// download of this media.
|
||||
UseDirectDownload bool `json:"useDirectDownload,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "CompleteNotification") 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. "DownloadService") to
|
||||
// NullFields is a list of field names (e.g. "CompleteNotification") 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
|
||||
@@ -3129,35 +3342,66 @@ func (s *MediaDownload) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// MediaUpload: Use this only for Scotty Requests. Do not use this for
|
||||
// media support using
|
||||
// MediaUpload: Defines the Media configuration for a service in case of
|
||||
// an upload.
|
||||
// Use this only for Scotty Requests. Do not use this for media support
|
||||
// using
|
||||
// Bytestream, add instead [][google.bytestream.RestByteStream] as an
|
||||
// API to
|
||||
// your configuration for Bytestream methods.
|
||||
type MediaUpload struct {
|
||||
// CompleteNotification: A boolean that determines whether a
|
||||
// notification for the completion of an
|
||||
// upload should be sent to the backend. These notifications will not be
|
||||
// seen
|
||||
// by the client and will not consume quota.
|
||||
CompleteNotification bool `json:"completeNotification,omitempty"`
|
||||
|
||||
// Dropzone: Name of the Scotty dropzone to use for the current API.
|
||||
Dropzone string `json:"dropzone,omitempty"`
|
||||
|
||||
// Enabled: Whether upload is enabled.
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
|
||||
// UploadService: DO NOT USE THIS FIELD UNTIL THIS WARNING IS
|
||||
// REMOVED.
|
||||
// MaxSize: Optional maximum acceptable size for an upload.
|
||||
// The size is specified in bytes.
|
||||
MaxSize int64 `json:"maxSize,omitempty,string"`
|
||||
|
||||
// MimeTypes: An array of mimetype patterns. Esf will only accept
|
||||
// uploads that match one
|
||||
// of the given patterns.
|
||||
MimeTypes []string `json:"mimeTypes,omitempty"`
|
||||
|
||||
// ProgressNotification: Whether to receive a notification for progress
|
||||
// changes of media upload.
|
||||
ProgressNotification bool `json:"progressNotification,omitempty"`
|
||||
|
||||
// StartNotification: Whether to receive a notification on the start of
|
||||
// media upload.
|
||||
StartNotification bool `json:"startNotification,omitempty"`
|
||||
|
||||
// UploadService: DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING
|
||||
// IS REMOVED.
|
||||
//
|
||||
// Specify name of the upload service if one is used for upload.
|
||||
UploadService string `json:"uploadService,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Enabled") 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.
|
||||
// "CompleteNotification") 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. "Enabled") 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. "CompleteNotification") 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:"-"`
|
||||
}
|
||||
|
||||
@@ -3400,11 +3644,7 @@ func (s *MetricDescriptor) MarshalJSON() ([]byte, error) {
|
||||
|
||||
// MetricRule: Bind API methods to metrics. Binding a method to a metric
|
||||
// causes that
|
||||
// metric's configured quota, billing, and monitoring behaviors to apply
|
||||
// to the
|
||||
// method call.
|
||||
//
|
||||
// Used by metric-based quotas only.
|
||||
// metric's configured quota behaviors to apply to the method call.
|
||||
type MetricRule struct {
|
||||
// MetricCosts: Metrics to update when the selected methods are called,
|
||||
// and the associated
|
||||
@@ -4092,8 +4332,6 @@ type Policy struct {
|
||||
AuditConfigs []*AuditConfig `json:"auditConfigs,omitempty"`
|
||||
|
||||
// Bindings: Associates a list of `members` to a `role`.
|
||||
// Multiple `bindings` must not be specified for the same
|
||||
// `role`.
|
||||
// `bindings` with no members will result in an error.
|
||||
Bindings []*Binding `json:"bindings,omitempty"`
|
||||
|
||||
@@ -4217,15 +4455,11 @@ func (s *Policy) MarshalJSON() ([]byte, error) {
|
||||
// value_type: INT64
|
||||
type Quota struct {
|
||||
// Limits: List of `QuotaLimit` definitions for the service.
|
||||
//
|
||||
// Used by metric-based quotas only.
|
||||
Limits []*QuotaLimit `json:"limits,omitempty"`
|
||||
|
||||
// MetricRules: List of `MetricRule` definitions, each one mapping a
|
||||
// selected method to one
|
||||
// or more metrics.
|
||||
//
|
||||
// Used by metric-based quotas only.
|
||||
MetricRules []*MetricRule `json:"metricRules,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Limits") to
|
||||
@@ -4345,12 +4579,6 @@ type QuotaLimit struct {
|
||||
// when
|
||||
// overriding the default limit on per-consumer basis.
|
||||
//
|
||||
// For group-based quota limits, the name must be unique within the
|
||||
// quota
|
||||
// group. If a name is not provided, it will be generated from the
|
||||
// limit_by
|
||||
// and duration fields.
|
||||
//
|
||||
// For metric-based quota limits, the name must be provided, and it must
|
||||
// be
|
||||
// unique within the service. The name can only include
|
||||
@@ -4385,26 +4613,10 @@ type QuotaLimit struct {
|
||||
// * Otherwise the quota won't be reset by time, such as storage
|
||||
// limit.
|
||||
// * One and only one of the granted containers:
|
||||
// * "/{organization}" quota for an organization.
|
||||
// * "/{project}" quota for a project.
|
||||
// * "/{folder}" quota for a folder.
|
||||
// * "/{resource}" quota for a universal resource.
|
||||
// * Zero or more quota segmentation dimension. Not all combos are
|
||||
// valid.
|
||||
// * "/{region}" quota for every region. Not to be used with time
|
||||
// intervals.
|
||||
// * Otherwise the resources granted on the target is not segmented.
|
||||
// * "/{zone}" quota for every zone. Not to be used with time
|
||||
// intervals.
|
||||
// * Otherwise the resources granted on the target is not segmented.
|
||||
// * "/{resource}" quota for a resource associated with a project or
|
||||
// org.
|
||||
// * "/{project}" quota for a project
|
||||
//
|
||||
// Here are some examples:
|
||||
// * "1/min/{project}" for quota per minute per project.
|
||||
// * "1/min/{user}" for quota per minute per user.
|
||||
// * "1/min/{organization}" for quota per minute per
|
||||
// organization.
|
||||
//
|
||||
// Note: the order of unit components is insignificant.
|
||||
// The "1" at the beginning is required to follow the metric unit
|
||||
@@ -4413,53 +4625,7 @@ type QuotaLimit struct {
|
||||
// Used by metric-based quotas only.
|
||||
Unit string `json:"unit,omitempty"`
|
||||
|
||||
// Values: Tiered limit values. Also allows for regional or zone
|
||||
// overrides for these
|
||||
// values if "/{region}" or "/{zone}" is specified in the unit
|
||||
// field.
|
||||
//
|
||||
// Currently supported tiers from low to high:
|
||||
// VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH
|
||||
//
|
||||
// To apply different limit values for users according to their tiers,
|
||||
// specify
|
||||
// the values for the tiers you want to differentiate. For
|
||||
// example:
|
||||
// {LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}
|
||||
//
|
||||
// The limit value for each tier is optional except for the tier
|
||||
// STANDARD.
|
||||
// The limit value for an unspecified tier falls to the value of its
|
||||
// next
|
||||
// tier towards tier STANDARD. For the above example, the limit value
|
||||
// for tier
|
||||
// STANDARD is 500.
|
||||
//
|
||||
// To apply the same limit value for all users, just specify limit value
|
||||
// for
|
||||
// tier STANDARD. For example: {STANDARD:500}.
|
||||
//
|
||||
// To apply a regional overide for a tier, add a map entry with
|
||||
// key
|
||||
// "<TIER>/<region>", where <region> is a region name. Similarly, for a
|
||||
// zone
|
||||
// override, add a map entry with key "<TIER>/{zone}".
|
||||
// Further, a wildcard can be used at the end of a zone name in order
|
||||
// to
|
||||
// specify zone level overrides. For example:
|
||||
// LOW: 10, STANDARD: 50, HIGH: 100,
|
||||
// LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1:
|
||||
// 200,
|
||||
// LOW/us-central1-*: 10, STANDARD/us-central1-*: 20,
|
||||
// HIGH/us-central1-*: 80
|
||||
//
|
||||
// The regional overrides tier set for each region must be the same
|
||||
// as
|
||||
// the tier set for default limit values. Same rule applies for zone
|
||||
// overrides
|
||||
// tier as well.
|
||||
//
|
||||
// Used by metric-based quotas only.
|
||||
// Values: Tiered limit values, currently only STANDARD is supported.
|
||||
Values map[string]string `json:"values,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "DefaultLimit") to
|
||||
@@ -4764,10 +4930,7 @@ type Service struct {
|
||||
// e.g. `calendar.googleapis.com`.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// ProducerProjectId: The id of the Google developer project that owns
|
||||
// the service.
|
||||
// Members of this project can manage the service configuration,
|
||||
// manage consumption of the service, etc.
|
||||
// ProducerProjectId: The Google project that owns this service.
|
||||
ProducerProjectId string `json:"producerProjectId,omitempty"`
|
||||
|
||||
// Quota: Quota configuration.
|
||||
@@ -4791,7 +4954,7 @@ type Service struct {
|
||||
// to define system APIs in ESF.
|
||||
SystemTypes []*Type `json:"systemTypes,omitempty"`
|
||||
|
||||
// Title: The product title associated with this service.
|
||||
// Title: The product title for this service.
|
||||
Title string `json:"title,omitempty"`
|
||||
|
||||
// Types: A list of all proto message types included in this API
|
||||
@@ -4971,7 +5134,7 @@ func (s *SourceInfo) MarshalJSON() ([]byte, error) {
|
||||
// arbitrary
|
||||
// information about the error. There is a predefined set of error
|
||||
// detail types
|
||||
// in the package `google.rpc` which can be used for common error
|
||||
// in the package `google.rpc` that can be used for common error
|
||||
// conditions.
|
||||
//
|
||||
// # Language mapping
|
||||
@@ -5004,7 +5167,7 @@ func (s *SourceInfo) MarshalJSON() ([]byte, error) {
|
||||
//
|
||||
// - Workflow errors. A typical workflow has multiple steps. Each step
|
||||
// may
|
||||
// have a `Status` message for error reporting purpose.
|
||||
// have a `Status` message for error reporting.
|
||||
//
|
||||
// - Batch operations. If a client uses batch request and batch
|
||||
// response, the
|
||||
@@ -5079,9 +5242,6 @@ type Step struct {
|
||||
// rollbackable, the rollback completed with errors too.
|
||||
// "CANCELLED" - The operation or step has completed with
|
||||
// cancellation.
|
||||
// "FAILED_ROLLED_BACK" - The operation has completed with errors but
|
||||
// rolled back
|
||||
// successfully if the operation is rollbackable.
|
||||
Status string `json:"status,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Description") to
|
||||
@@ -5397,10 +5557,12 @@ func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// TrafficPercentStrategy: Strategy that specifies how Google Service
|
||||
// Control should select
|
||||
// different
|
||||
// versions of service configurations based on traffic percentage.
|
||||
// TrafficPercentStrategy: Strategy that specifies how clients of Google
|
||||
// Service Controller want to
|
||||
// send traffic to use different config versions. This is generally
|
||||
// used by API proxy to split traffic based on your configured
|
||||
// precentage for
|
||||
// each config version.
|
||||
//
|
||||
// One example of how to gradually rollout a new service configuration
|
||||
// using
|
||||
@@ -5633,6 +5795,11 @@ type UsageRule struct {
|
||||
// Refer to selector for syntax details.
|
||||
Selector string `json:"selector,omitempty"`
|
||||
|
||||
// SkipServiceControl: True, if the method should skip service control.
|
||||
// If so, no control plane
|
||||
// feature (like quota and billing) will be enabled.
|
||||
SkipServiceControl bool `json:"skipServiceControl,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "AllowUnregisteredCalls") to unconditionally include in API requests.
|
||||
// By default, fields with empty values are omitted from API requests.
|
||||
@@ -7264,7 +7431,9 @@ func (c *ServicesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, er
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/service.management"
|
||||
// "https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
// "https://www.googleapis.com/auth/service.management",
|
||||
// "https://www.googleapis.com/auth/service.management.readonly"
|
||||
// ]
|
||||
// }
|
||||
|
||||
@@ -7764,7 +7933,9 @@ func (c *ServicesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*Test
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/service.management"
|
||||
// "https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
// "https://www.googleapis.com/auth/service.management",
|
||||
// "https://www.googleapis.com/auth/service.management.readonly"
|
||||
// ]
|
||||
// }
|
||||
|
||||
@@ -8684,7 +8855,9 @@ func (c *ServicesConsumersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*P
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/service.management"
|
||||
// "https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
// "https://www.googleapis.com/auth/service.management",
|
||||
// "https://www.googleapis.com/auth/service.management.readonly"
|
||||
// ]
|
||||
// }
|
||||
|
||||
@@ -8968,7 +9141,9 @@ func (c *ServicesConsumersTestIamPermissionsCall) Do(opts ...googleapi.CallOptio
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform",
|
||||
// "https://www.googleapis.com/auth/service.management"
|
||||
// "https://www.googleapis.com/auth/cloud-platform.read-only",
|
||||
// "https://www.googleapis.com/auth/service.management",
|
||||
// "https://www.googleapis.com/auth/service.management.readonly"
|
||||
// ]
|
||||
// }
|
||||
|
||||
@@ -9294,6 +9469,22 @@ func (r *ServicesRolloutsService) List(serviceName string) *ServicesRolloutsList
|
||||
return c
|
||||
}
|
||||
|
||||
// Filter sets the optional parameter "filter": Use `filter` to return
|
||||
// subset of rollouts.
|
||||
// The following filters are supported:
|
||||
// -- To limit the results to only those in
|
||||
// [status](google.api.servicemanagement.v1.RolloutStatus)
|
||||
// 'SUCCESS',
|
||||
// use filter='status=SUCCESS'
|
||||
// -- To limit the results to those in
|
||||
// [status](google.api.servicemanagement.v1.RolloutStatus)
|
||||
// 'CANCELLED'
|
||||
// or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
|
||||
func (c *ServicesRolloutsListCall) Filter(filter string) *ServicesRolloutsListCall {
|
||||
c.urlParams_.Set("filter", filter)
|
||||
return c
|
||||
}
|
||||
|
||||
// PageSize sets the optional parameter "pageSize": The max number of
|
||||
// items to include in the response list.
|
||||
func (c *ServicesRolloutsListCall) PageSize(pageSize int64) *ServicesRolloutsListCall {
|
||||
@@ -9410,6 +9601,11 @@ func (c *ServicesRolloutsListCall) Do(opts ...googleapi.CallOption) (*ListServic
|
||||
// "serviceName"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "filter": {
|
||||
// "description": "Use `filter` to return subset of rollouts.\nThe following filters are supported:\n -- To limit the results to only those in\n [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',\n use filter='status=SUCCESS'\n -- To limit the results to those in\n [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'\n or 'FAILED', use filter='status=CANCELLED OR status=FAILED'",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "pageSize": {
|
||||
// "description": "The max number of items to include in the response list.",
|
||||
// "format": "int32",
|
||||
|
||||
Reference in New Issue
Block a user