vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood
2017-07-23 08:51:42 +01:00
parent 0b6fba34a3
commit eb87cf6f12
2008 changed files with 352633 additions and 1004750 deletions

File diff suppressed because it is too large Load Diff

View File

@ -49,6 +49,12 @@ const basePath = "https://spanner.googleapis.com/"
const (
// View and manage your data across Google Cloud Platform services
CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
// Administer your Spanner databases
SpannerAdminScope = "https://www.googleapis.com/auth/spanner.admin"
// View and manage the contents of your Spanner databases
SpannerDataScope = "https://www.googleapis.com/auth/spanner.data"
)
func New(client *http.Client) (*Service, error) {
@ -160,7 +166,7 @@ type ProjectsInstancesOperationsService struct {
// The configuration determines which permission types are logged, and
// what
// identities, if any, are exempted from logging.
// An AuditConifg must have one or more AuditLogConfigs.
// An AuditConfig must have one or more AuditLogConfigs.
//
// If there are AuditConfigs for both `allServices` and a specific
// service,
@ -343,6 +349,15 @@ func (s *BeginTransactionRequest) MarshalJSON() ([]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:
@ -369,6 +384,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
@ -383,7 +399,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
@ -391,7 +407,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
@ -462,6 +478,37 @@ func (s *ChildLink) 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)
}
// CommitRequest: The request for Commit.
@ -577,7 +624,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
@ -1039,6 +1085,60 @@ func (s *ExecuteSqlRequest) 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](http://go/api-expr) 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: Message representing a single field of a struct.
type Field struct {
// Name: The name of the field. For reads, this is the column name.
@ -1177,6 +1277,8 @@ type Instance struct {
Name string `json:"name,omitempty"`
// NodeCount: Required. The number of nodes allocated to this instance.
// This may be zero
// in API responses for instances that are not yet in state `READY`.
NodeCount int64 `json:"nodeCount,omitempty"`
// State: Output only. The current instance state. For
@ -2053,8 +2155,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"`
@ -2157,7 +2257,7 @@ func (s *QueryPlan) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ReadOnly: Options for read-only transactions.
// ReadOnly: Message type to initiate a read-only transaction.
type ReadOnly struct {
// ExactStaleness: Executes all reads at a timestamp that is
// `exact_staleness`
@ -2327,7 +2427,9 @@ func (s *ReadRequest) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ReadWrite: Options for read-write transactions.
// ReadWrite: Message type to initiate a read-write transaction.
// Currently this
// transaction type has no options.
type ReadWrite struct {
}
@ -2708,7 +2810,7 @@ func (s *ShortRepresentation) 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
@ -2741,7 +2843,7 @@ func (s *ShortRepresentation) 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
@ -3777,7 +3879,8 @@ func (c *ProjectsInstanceConfigsGetCall) Do(opts ...googleapi.CallOption) (*Inst
// "$ref": "InstanceConfig"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -3945,7 +4048,8 @@ func (c *ProjectsInstanceConfigsListCall) Do(opts ...googleapi.CallOption) (*Lis
// "$ref": "ListInstanceConfigsResponse"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -4141,7 +4245,8 @@ func (c *ProjectsInstancesCreateCall) Do(opts ...googleapi.CallOption) (*Operati
// "$ref": "Operation"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -4277,7 +4382,8 @@ func (c *ProjectsInstancesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,
// "$ref": "Empty"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -4416,7 +4522,8 @@ func (c *ProjectsInstancesGetCall) Do(opts ...googleapi.CallOption) (*Instance,
// "$ref": "Instance"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -4557,7 +4664,8 @@ func (c *ProjectsInstancesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*P
// "$ref": "Policy"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -4757,7 +4865,8 @@ func (c *ProjectsInstancesListCall) Do(opts ...googleapi.CallOption) (*ListInsta
// "$ref": "ListInstancesResponse"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -4961,7 +5070,8 @@ func (c *ProjectsInstancesPatchCall) Do(opts ...googleapi.CallOption) (*Operatio
// "$ref": "Operation"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -5101,7 +5211,8 @@ func (c *ProjectsInstancesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*P
// "$ref": "Policy"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -5245,7 +5356,8 @@ func (c *ProjectsInstancesTestIamPermissionsCall) Do(opts ...googleapi.CallOptio
// "$ref": "TestIamPermissionsResponse"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -5389,7 +5501,8 @@ func (c *ProjectsInstancesDatabasesCreateCall) Do(opts ...googleapi.CallOption)
// "$ref": "Operation"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -5514,7 +5627,8 @@ func (c *ProjectsInstancesDatabasesDropDatabaseCall) Do(opts ...googleapi.CallOp
// "$ref": "Empty"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -5653,7 +5767,8 @@ func (c *ProjectsInstancesDatabasesGetCall) Do(opts ...googleapi.CallOption) (*D
// "$ref": "Database"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -5796,7 +5911,8 @@ func (c *ProjectsInstancesDatabasesGetDdlCall) Do(opts ...googleapi.CallOption)
// "$ref": "GetDatabaseDdlResponse"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -5938,7 +6054,8 @@ func (c *ProjectsInstancesDatabasesGetIamPolicyCall) Do(opts ...googleapi.CallOp
// "$ref": "Policy"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -6105,7 +6222,8 @@ func (c *ProjectsInstancesDatabasesListCall) Do(opts ...googleapi.CallOption) (*
// "$ref": "ListDatabasesResponse"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -6267,7 +6385,8 @@ func (c *ProjectsInstancesDatabasesSetIamPolicyCall) Do(opts ...googleapi.CallOp
// "$ref": "Policy"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -6411,7 +6530,8 @@ func (c *ProjectsInstancesDatabasesTestIamPermissionsCall) Do(opts ...googleapi.
// "$ref": "TestIamPermissionsResponse"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -6555,7 +6675,8 @@ func (c *ProjectsInstancesDatabasesUpdateDdlCall) Do(opts ...googleapi.CallOptio
// "$ref": "Operation"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -6697,7 +6818,8 @@ func (c *ProjectsInstancesDatabasesOperationsCancelCall) Do(opts ...googleapi.Ca
// "$ref": "Empty"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -6828,7 +6950,8 @@ func (c *ProjectsInstancesDatabasesOperationsDeleteCall) Do(opts ...googleapi.Ca
// "$ref": "Empty"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -6971,7 +7094,8 @@ func (c *ProjectsInstancesDatabasesOperationsGetCall) Do(opts ...googleapi.CallO
// "$ref": "Operation"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -6993,9 +7117,18 @@ type ProjectsInstancesDatabasesOperationsListCall struct {
// server doesn't support this method, it returns
// `UNIMPLEMENTED`.
//
// NOTE: the `name` binding below allows API services to override the
// NOTE: the `name` binding allows API services to override the
// binding
// to use different resource name schemes, such as `users/*/operations`.
// To
// override the binding, API services can add a binding such
// as
// "/v1/{name=users/*}/operations" to their service configuration.
// For backwards compatibility, the default name includes the
// operations
// collection id, however overriding users must ensure the name
// binding
// is the parent resource, without the operations collection id.
func (r *ProjectsInstancesDatabasesOperationsService) List(name string) *ProjectsInstancesDatabasesOperationsListCall {
c := &ProjectsInstancesDatabasesOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@ -7117,7 +7250,7 @@ func (c *ProjectsInstancesDatabasesOperationsListCall) Do(opts ...googleapi.Call
}
return ret, nil
// {
// "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.",
// "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.",
// "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations",
// "httpMethod": "GET",
// "id": "spanner.projects.instances.databases.operations.list",
@ -7131,7 +7264,7 @@ func (c *ProjectsInstancesDatabasesOperationsListCall) Do(opts ...googleapi.Call
// "type": "string"
// },
// "name": {
// "description": "The name of the operation collection.",
// "description": "The name of the operation's parent resource.",
// "location": "path",
// "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations$",
// "required": true,
@ -7154,7 +7287,8 @@ func (c *ProjectsInstancesDatabasesOperationsListCall) Do(opts ...googleapi.Call
// "$ref": "ListOperationsResponse"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -7314,7 +7448,8 @@ func (c *ProjectsInstancesDatabasesSessionsBeginTransactionCall) Do(opts ...goog
// "$ref": "Transaction"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.data"
// ]
// }
@ -7460,7 +7595,8 @@ func (c *ProjectsInstancesDatabasesSessionsCommitCall) Do(opts ...googleapi.Call
// "$ref": "CommitResponse"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.data"
// ]
// }
@ -7615,7 +7751,8 @@ func (c *ProjectsInstancesDatabasesSessionsCreateCall) Do(opts ...googleapi.Call
// "$ref": "Session"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.data"
// ]
// }
@ -7741,7 +7878,8 @@ func (c *ProjectsInstancesDatabasesSessionsDeleteCall) Do(opts ...googleapi.Call
// "$ref": "Empty"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.data"
// ]
// }
@ -7889,7 +8027,8 @@ func (c *ProjectsInstancesDatabasesSessionsExecuteSqlCall) Do(opts ...googleapi.
// "$ref": "ResultSet"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.data"
// ]
// }
@ -8029,7 +8168,8 @@ func (c *ProjectsInstancesDatabasesSessionsExecuteStreamingSqlCall) Do(opts ...g
// "$ref": "PartialResultSet"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.data"
// ]
// }
@ -8172,7 +8312,8 @@ func (c *ProjectsInstancesDatabasesSessionsGetCall) Do(opts ...googleapi.CallOpt
// "$ref": "Session"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.data"
// ]
// }
@ -8322,7 +8463,8 @@ func (c *ProjectsInstancesDatabasesSessionsReadCall) Do(opts ...googleapi.CallOp
// "$ref": "ResultSet"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.data"
// ]
// }
@ -8466,7 +8608,8 @@ func (c *ProjectsInstancesDatabasesSessionsRollbackCall) Do(opts ...googleapi.Ca
// "$ref": "Empty"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.data"
// ]
// }
@ -8605,7 +8748,8 @@ func (c *ProjectsInstancesDatabasesSessionsStreamingReadCall) Do(opts ...googlea
// "$ref": "PartialResultSet"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.data"
// ]
// }
@ -8747,7 +8891,8 @@ func (c *ProjectsInstancesOperationsCancelCall) Do(opts ...googleapi.CallOption)
// "$ref": "Empty"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -8878,7 +9023,8 @@ func (c *ProjectsInstancesOperationsDeleteCall) Do(opts ...googleapi.CallOption)
// "$ref": "Empty"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -9021,7 +9167,8 @@ func (c *ProjectsInstancesOperationsGetCall) Do(opts ...googleapi.CallOption) (*
// "$ref": "Operation"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }
@ -9043,9 +9190,18 @@ type ProjectsInstancesOperationsListCall struct {
// server doesn't support this method, it returns
// `UNIMPLEMENTED`.
//
// NOTE: the `name` binding below allows API services to override the
// NOTE: the `name` binding allows API services to override the
// binding
// to use different resource name schemes, such as `users/*/operations`.
// To
// override the binding, API services can add a binding such
// as
// "/v1/{name=users/*}/operations" to their service configuration.
// For backwards compatibility, the default name includes the
// operations
// collection id, however overriding users must ensure the name
// binding
// is the parent resource, without the operations collection id.
func (r *ProjectsInstancesOperationsService) List(name string) *ProjectsInstancesOperationsListCall {
c := &ProjectsInstancesOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.name = name
@ -9167,7 +9323,7 @@ func (c *ProjectsInstancesOperationsListCall) Do(opts ...googleapi.CallOption) (
}
return ret, nil
// {
// "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.",
// "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards compatibility, the default name includes the operations\ncollection id, however overriding users must ensure the name binding\nis the parent resource, without the operations collection id.",
// "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations",
// "httpMethod": "GET",
// "id": "spanner.projects.instances.operations.list",
@ -9181,7 +9337,7 @@ func (c *ProjectsInstancesOperationsListCall) Do(opts ...googleapi.CallOption) (
// "type": "string"
// },
// "name": {
// "description": "The name of the operation collection.",
// "description": "The name of the operation's parent resource.",
// "location": "path",
// "pattern": "^projects/[^/]+/instances/[^/]+/operations$",
// "required": true,
@ -9204,7 +9360,8 @@ func (c *ProjectsInstancesOperationsListCall) Do(opts ...googleapi.CallOption) (
// "$ref": "ListOperationsResponse"
// },
// "scopes": [
// "https://www.googleapis.com/auth/cloud-platform"
// "https://www.googleapis.com/auth/cloud-platform",
// "https://www.googleapis.com/auth/spanner.admin"
// ]
// }