forked from TrueCloudLab/restic
Update dependencies
This commit is contained in:
parent
f3b49987f8
commit
fda563d606
926 changed files with 189726 additions and 98666 deletions
84
vendor/google.golang.org/api/script/v1/script-gen.go
generated
vendored
84
vendor/google.golang.org/api/script/v1/script-gen.go
generated
vendored
|
@ -279,78 +279,6 @@ func (s *ExecutionResponse) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// JoinAsyncRequest: A request to retrieve the results from a collection
|
||||
// of requests,
|
||||
// specified by the operation resource names.
|
||||
type JoinAsyncRequest struct {
|
||||
// Names: List of operation resource names that we want to join,
|
||||
// as returned from a call to RunAsync.
|
||||
Names []string `json:"names,omitempty"`
|
||||
|
||||
// ScriptId: The script id which specifies the script which all
|
||||
// processes in the names
|
||||
// field must be from.
|
||||
ScriptId string `json:"scriptId,omitempty"`
|
||||
|
||||
// Timeout: Timeout for information retrieval in milliseconds.
|
||||
Timeout string `json:"timeout,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Names") 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. "Names") 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 *JoinAsyncRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod JoinAsyncRequest
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// JoinAsyncResponse: An object that provides the return value for the
|
||||
// JoinAsync method.
|
||||
type JoinAsyncResponse struct {
|
||||
// Results: The return values for each script function, in a map of
|
||||
// operation resource
|
||||
// names to the Operation containing the result of the process. The
|
||||
// response
|
||||
// will contain either an error or the result of the script function.
|
||||
Results map[string]Operation `json:"results,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Results") 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. "Results") 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 *JoinAsyncResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod JoinAsyncResponse
|
||||
raw := noMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Operation: The response will not arrive until the function finishes
|
||||
// executing. The maximum runtime is listed in the guide to [limitations
|
||||
// in Apps
|
||||
|
@ -370,7 +298,10 @@ func (s *JoinAsyncResponse) MarshalJSON() ([]byte, error) {
|
|||
// the response body. Client libraries will automatically convert a 4XX
|
||||
// response into an exception class.</p>
|
||||
type Operation struct {
|
||||
// Done: This field is not used.
|
||||
// Done: This field is only used with asynchronous executions and
|
||||
// indicates whether or not the script execution has completed. A
|
||||
// completed execution has a populated response field containing the
|
||||
// `ExecutionResponse` from function that was executed.
|
||||
Done bool `json:"done,omitempty"`
|
||||
|
||||
// Error: If a `run` call succeeds but the script function (or Apps
|
||||
|
@ -383,9 +314,6 @@ type Operation struct {
|
|||
// Metadata: This field is not used.
|
||||
Metadata googleapi.RawMessage `json:"metadata,omitempty"`
|
||||
|
||||
// Name: This field is not used.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// Response: If the script function returns successfully, this field
|
||||
// will contain an `ExecutionResponse` object with the function's return
|
||||
// value as the object's `result` field.
|
||||
|
@ -455,7 +383,7 @@ func (s *ScriptStackTraceElement) MarshalJSON() ([]byte, error) {
|
|||
// will contain this `Status` object.
|
||||
type Status struct {
|
||||
// Code: The status code. For this API, this value will always be 3,
|
||||
// corresponding to an INVALID_ARGUMENT error.
|
||||
// corresponding to an <code>INVALID_ARGUMENT</code> error.
|
||||
Code int64 `json:"code,omitempty"`
|
||||
|
||||
// Details: An array that contains a single `ExecutionError` object that
|
||||
|
@ -619,7 +547,7 @@ func (c *ScriptsRunCall) Do(opts ...googleapi.CallOption) (*Operation, error) {
|
|||
// ],
|
||||
// "parameters": {
|
||||
// "scriptId": {
|
||||
// "description": "The project key of the script to be executed. To find the project key, open\nthe project in the script editor and select **File \u003e Project properties**.",
|
||||
// "description": "The script ID of the script to be executed. To find the script ID, open\nthe project in the script editor and select **File \u003e Project properties**.",
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue