1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-21 18:53:34 +00:00

vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood
2018-06-17 17:59:12 +01:00
parent 3f0789e2db
commit 08021c4636
2474 changed files with 435818 additions and 282709 deletions

View File

@@ -1956,7 +1956,8 @@ type JobReference struct {
JobId string `json:"jobId,omitempty"`
// Location: [Experimental] The geographic location of the job. Required
// except for US and EU.
// except for US and EU. See details at
// https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.
Location string `json:"location,omitempty"`
// ProjectId: [Required] The ID of the project containing this job.
@@ -2095,6 +2096,10 @@ type JobStatistics2 struct {
// list.
ReferencedTables []*TableReference `json:"referencedTables,omitempty"`
// ReservationUsage: [Output-only] Job resource usage breakdown by
// reservation.
ReservationUsage []*JobStatistics2ReservationUsage `json:"reservationUsage,omitempty"`
// Schema: [Output-only] The schema of the results. Present only for
// successful dry run of non-legacy SQL queries.
Schema *TableSchema `json:"schema,omitempty"`
@@ -2102,7 +2107,7 @@ type JobStatistics2 struct {
// StatementType: [Output-only, Experimental] The type of query
// statement, if valid. Possible values (new values might be added in
// the future): "SELECT": SELECT query. "INSERT": INSERT query; see
// https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "UPDATE": UPDATE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "DELETE": DELETE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "CREATE_TABLE": CREATE [OR REPLACE] TABLE without AS SELECT. "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS SELECT ... "DROP_TABLE": DROP TABLE query. "CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS SELECT ... "DROP_VIEW": DROP VIEW
// https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "UPDATE": UPDATE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "DELETE": DELETE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "MERGE": MERGE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language "CREATE_TABLE": CREATE [OR REPLACE] TABLE without AS SELECT. "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS SELECT ... "DROP_TABLE": DROP TABLE query. "CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS SELECT ... "DROP_VIEW": DROP VIEW
// query.
StatementType string `json:"statementType,omitempty"`
@@ -2151,6 +2156,38 @@ func (s *JobStatistics2) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type JobStatistics2ReservationUsage struct {
// Name: [Output-only] Reservation name or "unreserved" for on-demand
// resources usage.
Name string `json:"name,omitempty"`
// SlotMs: [Output-only] Slot-milliseconds the job spent in the given
// reservation.
SlotMs int64 `json:"slotMs,omitempty,string"`
// ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 *JobStatistics2ReservationUsage) MarshalJSON() ([]byte, error) {
type NoMethod JobStatistics2ReservationUsage
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type JobStatistics3 struct {
// BadRecords: [Output-only] The number of bad records encountered. Note
// that if the job has failed because of more bad records encountered
@@ -3393,13 +3430,16 @@ func (s *TableSchema) MarshalJSON() ([]byte, error) {
type TimePartitioning struct {
// ExpirationMs: [Optional] Number of milliseconds for which to keep the
// storage for a partition.
// storage for partitions in the table. The storage in a partition will
// have an expiration time of its partition time plus this value.
ExpirationMs int64 `json:"expirationMs,omitempty,string"`
// Field: [Experimental] [Optional] If not set, the table is partitioned
// by pseudo column '_PARTITIONTIME'; if set, the table is partitioned
// by this field. The field must be a top-level TIMESTAMP or DATE field.
// Its mode must be NULLABLE or REQUIRED.
// by pseudo column, referenced via either '_PARTITIONTIME' as TIMESTAMP
// type, or '_PARTITIONDATE' as DATE type. If field is specified, the
// table is instead partitioned by this field. The field must be a
// top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or
// REQUIRED.
Field string `json:"field,omitempty"`
// RequirePartitionFilter: [Experimental] [Optional] If set to true,
@@ -4440,7 +4480,9 @@ func (r *JobsService) Cancel(projectId string, jobId string) *JobsCancelCall {
}
// Location sets the optional parameter "location": [Experimental] The
// geographic location of the job. Required except for US and EU.
// geographic location of the job. Required except for US and EU. See
// details at
// https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.
func (c *JobsCancelCall) Location(location string) *JobsCancelCall {
c.urlParams_.Set("location", location)
return c
@@ -4543,7 +4585,7 @@ func (c *JobsCancelCall) Do(opts ...googleapi.CallOption) (*JobCancelResponse, e
// "type": "string"
// },
// "location": {
// "description": "[Experimental] The geographic location of the job. Required except for US and EU.",
// "description": "[Experimental] The geographic location of the job. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.",
// "location": "query",
// "type": "string"
// },
@@ -4589,7 +4631,9 @@ func (r *JobsService) Get(projectId string, jobId string) *JobsGetCall {
}
// Location sets the optional parameter "location": [Experimental] The
// geographic location of the job. Required except for US and EU.
// geographic location of the job. Required except for US and EU. See
// details at
// https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.
func (c *JobsGetCall) Location(location string) *JobsGetCall {
c.urlParams_.Set("location", location)
return c
@@ -4705,7 +4749,7 @@ func (c *JobsGetCall) Do(opts ...googleapi.CallOption) (*Job, error) {
// "type": "string"
// },
// "location": {
// "description": "[Experimental] The geographic location of the job. Required except for US and EU.",
// "description": "[Experimental] The geographic location of the job. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.",
// "location": "query",
// "type": "string"
// },
@@ -4751,7 +4795,8 @@ func (r *JobsService) GetQueryResults(projectId string, jobId string) *JobsGetQu
// Location sets the optional parameter "location": [Experimental] The
// geographic location where the job should run. Required except for US
// and EU.
// and EU. See details at
// https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.
func (c *JobsGetQueryResultsCall) Location(location string) *JobsGetQueryResultsCall {
c.urlParams_.Set("location", location)
return c
@@ -4897,7 +4942,7 @@ func (c *JobsGetQueryResultsCall) Do(opts ...googleapi.CallOption) (*GetQueryRes
// "type": "string"
// },
// "location": {
// "description": "[Experimental] The geographic location where the job should run. Required except for US and EU.",
// "description": "[Experimental] The geographic location where the job should run. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#specifying_your_location.",
// "location": "query",
// "type": "string"
// },