vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2017-09-30 15:27:27 +01:00
parent 911d121bb9
commit b017fcfe9a
3048 changed files with 537055 additions and 189679 deletions
+9 -9
View File
@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/p-RysYnjE2Jp5kxjC09O1FcghzI\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/3Wqk_k4XWB3JARQsnkZ477HngjY\"",
"discoveryVersion": "v1",
"id": "dfareporting:v2.7",
"name": "dfareporting",
"version": "v2.7",
"revision": "20170428",
"revision": "20170818",
"title": "DCM/DFA Reporting And Trafficking API",
"description": "Manages your DoubleClick Campaign Manager ad campaigns and reports.",
"ownerDomain": "google.com",
@@ -20,7 +20,7 @@
"basePath": "/dfareporting/v2.7/",
"rootUrl": "https://www.googleapis.com/",
"servicePath": "dfareporting/v2.7/",
"batchPath": "batch",
"batchPath": "batch/dfareporting/v2.7",
"parameters": {
"alt": {
"type": "string",
@@ -2229,7 +2229,7 @@
},
"htmlCode": {
"type": "string",
"description": "HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA."
"description": "HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA."
},
"htmlCodeLocked": {
"type": "boolean",
@@ -4569,7 +4569,7 @@
},
"videoActiveViewOptOut": {
"type": "boolean",
"description": "Whether this directory site has disabled active view for in-stream video creatives."
"description": "Whether this directory site has disabled active view for in-stream video creatives. This is a read-only field."
}
}
},
@@ -5200,7 +5200,7 @@
},
"userDefinedVariableTypes": {
"type": "array",
"description": "List of the user-defined variables used by this conversion tag. These map to the \"u[1-20]=\" in the tags. Each of these can have a user defined type.\nAcceptable values are:\n- \"U1\"\n- \"U2\"\n- \"U3\"\n- \"U4\"\n- \"U5\"\n- \"U6\"\n- \"U7\"\n- \"U8\"\n- \"U9\"\n- \"U10\"\n- \"U11\"\n- \"U12\"\n- \"U13\"\n- \"U14\"\n- \"U15\"\n- \"U16\"\n- \"U17\"\n- \"U18\"\n- \"U19\"\n- \"U20\"",
"description": "List of the user-defined variables used by this conversion tag. These map to the \"u[1-100]=\" in the tags. Each of these can have a user defined type.\nAcceptable values are U1 to U100, inclusive.",
"items": {
"type": "string",
"enum": [
@@ -7125,7 +7125,7 @@
},
"vpaidAdapterChoice": {
"type": "string",
"description": "VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement.",
"description": "VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement.\n\nNote: Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.",
"enum": [
"BOTH",
"DEFAULT",
@@ -9017,7 +9017,7 @@
},
"vpaidAdapterChoiceTemplate": {
"type": "string",
"description": "Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter, and Flash VPAID creatives use the Flash adapter).",
"description": "Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter).\n\nNote: Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.",
"enum": [
"BOTH",
"DEFAULT",
@@ -16824,7 +16824,7 @@
},
"tagFormats": {
"type": "string",
"description": "Tag formats to generate for these placements.",
"description": "Tag formats to generate for these placements.\n\nNote: PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements.",
"enum": [
"PLACEMENT_TAG_CLICK_COMMANDS",
"PLACEMENT_TAG_IFRAME_ILAYER",
+29 -74
View File
@@ -3740,7 +3740,7 @@ type Creative struct {
FsCommand *FsCommand `json:"fsCommand,omitempty"`
// HtmlCode: HTML code for the creative. This is a required field when
// applicable. This field is ignored if htmlCodeLocked is false.
// applicable. This field is ignored if htmlCodeLocked is true.
// Applicable to the following creative types: all CUSTOM, FLASH_INPAGE,
// and HTML5_BANNER, and all RICH_MEDIA.
HtmlCode string `json:"htmlCode,omitempty"`
@@ -6413,7 +6413,7 @@ type DirectorySiteSettings struct {
VerificationTagOptOut bool `json:"verificationTagOptOut,omitempty"`
// VideoActiveViewOptOut: Whether this directory site has disabled
// active view for in-stream video creatives.
// active view for in-stream video creatives. This is a read-only field.
VideoActiveViewOptOut bool `json:"videoActiveViewOptOut,omitempty"`
// ForceSendFields is a list of field names (e.g. "ActiveViewOptOut") to
@@ -7228,29 +7228,9 @@ type FloodlightActivity struct {
TagString string `json:"tagString,omitempty"`
// UserDefinedVariableTypes: List of the user-defined variables used by
// this conversion tag. These map to the "u[1-20]=" in the tags. Each of
// these can have a user defined type.
// Acceptable values are:
// - "U1"
// - "U2"
// - "U3"
// - "U4"
// - "U5"
// - "U6"
// - "U7"
// - "U8"
// - "U9"
// - "U10"
// - "U11"
// - "U12"
// - "U13"
// - "U14"
// - "U15"
// - "U16"
// - "U17"
// - "U18"
// - "U19"
// - "U20"
// this conversion tag. These map to the "u[1-100]=" in the tags. Each
// of these can have a user defined type.
// Acceptable values are U1 to U100, inclusive.
//
// Possible values:
// "U1"
@@ -9681,6 +9661,9 @@ type Placement struct {
// Controls which VPAID format the measurement adapter will use for
// in-stream video creatives assigned to this placement.
//
// Note: Flash is no longer supported. This field now defaults to HTML5
// when the following values are provided: FLASH, BOTH.
//
// Possible values:
// "BOTH"
// "DEFAULT"
@@ -12087,8 +12070,11 @@ type SiteSettings struct {
// measurement adapter will use for in-stream video creatives assigned
// to the placement. The publisher's specifications will typically
// determine this setting. For VPAID creatives, the adapter format will
// match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter,
// and Flash VPAID creatives use the Flash adapter).
// match the VPAID format (HTML5 VPAID creatives use the HTML5
// adapter).
//
// Note: Flash is no longer supported. This field now defaults to HTML5
// when the following values are provided: FLASH, BOTH.
//
// Possible values:
// "BOTH"
@@ -23017,11 +23003,7 @@ type CreativeAssetsInsertCall struct {
advertiserId int64
creativeassetmetadata *CreativeAssetMetadata
urlParams_ gensupport.URLParams
media_ io.Reader
mediaBuffer_ *gensupport.MediaBuffer
mediaType_ string
mediaSize_ int64 // mediaSize, if known. Used only for calls to progressUpdater_.
progressUpdater_ googleapi.ProgressUpdater
mediaInfo_ *gensupport.MediaInfo
ctx_ context.Context
header_ http.Header
}
@@ -23044,12 +23026,7 @@ func (r *CreativeAssetsService) Insert(profileId int64, advertiserId int64, crea
// supplied.
// At most one of Media and ResumableMedia may be set.
func (c *CreativeAssetsInsertCall) Media(r io.Reader, options ...googleapi.MediaOption) *CreativeAssetsInsertCall {
opts := googleapi.ProcessMediaOptions(options)
chunkSize := opts.ChunkSize
if !opts.ForceEmptyContentType {
r, c.mediaType_ = gensupport.DetermineContentType(r, opts.ContentType)
}
c.media_, c.mediaBuffer_ = gensupport.PrepareUpload(r, chunkSize)
c.mediaInfo_ = gensupport.NewInfoFromMedia(r, options)
return c
}
@@ -23064,11 +23041,7 @@ func (c *CreativeAssetsInsertCall) Media(r io.Reader, options ...googleapi.Media
// supersede any context previously provided to the Context method.
func (c *CreativeAssetsInsertCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *CreativeAssetsInsertCall {
c.ctx_ = ctx
rdr := gensupport.ReaderAtToReader(r, size)
rdr, c.mediaType_ = gensupport.DetermineContentType(rdr, mediaType)
c.mediaBuffer_ = gensupport.NewMediaBuffer(rdr, googleapi.DefaultUploadChunkSize)
c.media_ = nil
c.mediaSize_ = size
c.mediaInfo_ = gensupport.NewInfoFromResumableMedia(r, size, mediaType)
return c
}
@@ -23077,7 +23050,7 @@ func (c *CreativeAssetsInsertCall) ResumableMedia(ctx context.Context, r io.Read
// not slow down the upload operation. This should only be called when
// using ResumableMedia (as opposed to Media).
func (c *CreativeAssetsInsertCall) ProgressUpdater(pu googleapi.ProgressUpdater) *CreativeAssetsInsertCall {
c.progressUpdater_ = pu
c.mediaInfo_.SetProgressUpdater(pu)
return c
}
@@ -23122,27 +23095,16 @@ func (c *CreativeAssetsInsertCall) doRequest(alt string) (*http.Response, error)
reqHeaders.Set("Content-Type", "application/json")
c.urlParams_.Set("alt", alt)
urls := googleapi.ResolveRelative(c.s.BasePath, "userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets")
if c.media_ != nil || c.mediaBuffer_ != nil {
if c.mediaInfo_ != nil {
urls = strings.Replace(urls, "https://www.googleapis.com/", "https://www.googleapis.com/upload/", 1)
protocol := "multipart"
if c.mediaBuffer_ != nil {
protocol = "resumable"
}
c.urlParams_.Set("uploadType", protocol)
c.urlParams_.Set("uploadType", c.mediaInfo_.UploadType())
}
if body == nil {
body = new(bytes.Buffer)
reqHeaders.Set("Content-Type", "application/json")
}
if c.media_ != nil {
combined, ctype := gensupport.CombineBodyMedia(body, "application/json", c.media_, c.mediaType_)
defer combined.Close()
reqHeaders.Set("Content-Type", ctype)
body = combined
}
if c.mediaBuffer_ != nil && c.mediaType_ != "" {
reqHeaders.Set("X-Upload-Content-Type", c.mediaType_)
}
body, cleanup := c.mediaInfo_.UploadRequest(reqHeaders, body)
defer cleanup()
urls += "?" + c.urlParams_.Encode()
req, _ := http.NewRequest("POST", urls, body)
req.Header = reqHeaders
@@ -23179,20 +23141,10 @@ func (c *CreativeAssetsInsertCall) Do(opts ...googleapi.CallOption) (*CreativeAs
if err := googleapi.CheckResponse(res); err != nil {
return nil, err
}
if c.mediaBuffer_ != nil {
loc := res.Header.Get("Location")
rx := &gensupport.ResumableUpload{
Client: c.s.client,
UserAgent: c.s.userAgent(),
URI: loc,
Media: c.mediaBuffer_,
MediaType: c.mediaType_,
Callback: func(curr int64) {
if c.progressUpdater_ != nil {
c.progressUpdater_(curr, c.mediaSize_)
}
},
}
rx := c.mediaInfo_.ResumableUpload(res.Header.Get("Location"))
if rx != nil {
rx.Client = c.s.client
rx.UserAgent = c.s.userAgent()
ctx := c.ctx_
if ctx == nil {
ctx = context.TODO()
@@ -38552,6 +38504,9 @@ func (c *PlacementsGeneratetagsCall) PlacementIds(placementIds ...int64) *Placem
// TagFormats sets the optional parameter "tagFormats": Tag formats to
// generate for these placements.
//
// Note: PLACEMENT_TAG_STANDARD can only be generated for 1x1
// placements.
//
// Possible values:
// "PLACEMENT_TAG_CLICK_COMMANDS"
// "PLACEMENT_TAG_IFRAME_ILAYER"
@@ -38686,7 +38641,7 @@ func (c *PlacementsGeneratetagsCall) Do(opts ...googleapi.CallOption) (*Placemen
// "type": "string"
// },
// "tagFormats": {
// "description": "Tag formats to generate for these placements.",
// "description": "Tag formats to generate for these placements.\n\nNote: PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements.",
// "enum": [
// "PLACEMENT_TAG_CLICK_COMMANDS",
// "PLACEMENT_TAG_IFRAME_ILAYER",